_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c26100 | train | // GetOrganizationDefaultIsolationSegment returns the relationship between an
// organization and it's default isolation segment. | {
"resource": ""
} | ||
c26101 | train | // GetSpaceIsolationSegment returns the relationship between a space and it's
// isolation segment. | {
"resource": ""
} | ||
c26102 | train | // SetApplicationDroplet sets the specified droplet on the given application. | {
"resource": ""
} | ||
c26103 | train | // UpdateOrganizationDefaultIsolationSegmentRelationship sets the default isolation segment
// for an organization on the controller.
// If isoSegGuid is empty it will reset the default isolation segment. | {
"resource": ""
} | ||
c26104 | train | // UpdateSpaceIsolationSegmentRelationship assigns an isolation segment to a space and
// returns the relationship. | {
"resource": ""
} | ||
c26105 | train | // echoOn turns back on the terminal echo. | {
"resource": ""
} | ||
c26106 | train | // catchSignal tries to catch SIGKILL, SIGQUIT and SIGINT so that we can turn terminal
// echo back on before the program ends. Otherwise the user is left with echo off on
// their terminal. | {
"resource": ""
} | ||
c26107 | train | // RunTask runs the provided command in the application environment associated
// with the provided application GUID. | {
"resource": ""
} | ||
c26108 | train | // GetApplicationTasks returns a list of tasks associated with the provided
// appplication GUID. | {
"resource": ""
} | ||
c26109 | train | // UnmarshalJSON helps unmarshal a Cloud Controller Organization response. | {
"resource": ""
} | ||
c26110 | train | // GetOrganization returns an Organization associated with the provided GUID. | {
"resource": ""
} | ||
c26111 | train | // GetOrganizations returns back a list of Organizations based off of the
// provided filters. | {
"resource": ""
} | ||
c26112 | train | // UpdateOrganizationManager assigns the org manager role to the UAA user or client with the provided ID. | {
"resource": ""
} | ||
c26113 | train | // UpdateOrganizationManagerByUsername assigns the org manager role to the user with the provided name. | {
"resource": ""
} | ||
c26114 | train | // UpdateOrganizationUserByUsername makes the user with the given username a member of
// the org. | {
"resource": ""
} | ||
c26115 | train | // FormatQueryParameters converts a Query object into a collection that
// cloudcontroller.Request can accept. | {
"resource": ""
} | ||
c26116 | train | // NewTokenRefresher returns back a pointer to a TokenRefresher. | {
"resource": ""
} | ||
c26117 | train | // RefreshAuthToken refreshes the current Authorization Token and stores the
// Access and Refresh token in it's cache. The returned Authorization Token
// includes the type prefixed by a space. | {
"resource": ""
} | ||
c26118 | train | // Seek returns a PipeSeekError; allowing the top level calling function to
// handle the retry instead of seeking back to the beginning of the Reader. | {
"resource": ""
} | ||
c26119 | train | // NewPipeBomb returns an io.WriteCloser that can be used to stream data to a
// the Pipebomb. | {
"resource": ""
} | ||
c26120 | train | // BindServiceByApplicationAndServiceInstance binds the service instance to an application. | {
"resource": ""
} | ||
c26121 | train | // BindServiceBySpace binds the service instance to an application for a given space. | {
"resource": ""
} | ||
c26122 | train | // GetServiceBindingByApplicationAndServiceInstance returns a service binding
// given an application GUID and and service instance GUID. | {
"resource": ""
} | ||
c26123 | train | // UnbindServiceBySpace deletes the service binding between an application and
// service instance for a given space. | {
"resource": ""
} | ||
c26124 | train | // Sha1Sum calculates the SHA1 sum of a file. | {
"resource": ""
} | ||
c26125 | train | // GetCommandLineSettings generates a push CommandLineSettings object from the
// command's command line flags. It also validates those settings, preventing
// contradictory flags. | {
"resource": ""
} | ||
c26126 | train | // NewNOAAClient returns back a configured NOAA Client. | {
"resource": ""
} | ||
c26127 | train | // Wrap wraps a UAA connection in this error handling wrapper. | {
"resource": ""
} | ||
c26128 | train | // WriteFailureSummary aggregates test failures from all parallel nodes, sorts
// them, and writes the result to a file. | {
"resource": ""
} | ||
c26129 | train | // Print formats the table and then prints it to the UI specified at
// the time of the construction. Afterwards the table is cleared,
// becoming ready for another round of rows and printing. | {
"resource": ""
} | ||
c26130 | train | // GetStack returns the stack information associated with the provided stack GUID. | {
"resource": ""
} | ||
c26131 | train | // GetStackByName returns the provided stack | {
"resource": ""
} | ||
c26132 | train | // UnmarshalJSON helps unmarshal a Cloud Controller Job response. | {
"resource": ""
} | ||
c26133 | train | // UploadDroplet defines and uploads a previously staged droplet that an
// application will run, using a multipart PUT request. The uploaded file
// should be a gzipped tar file. | {
"resource": ""
} | ||
c26134 | train | // UnmarshalJSON helps unmarshal a V3 Cloud Controller Instance response. | {
"resource": ""
} | ||
c26135 | train | // GetProcessInstances lists instance stats for a given process. | {
"resource": ""
} | ||
c26136 | train | // GetApplicationsByGUIDs returns all applications with the provided GUIDs. | {
"resource": ""
} | ||
c26137 | train | // RestartApplication restarts an application. | {
"resource": ""
} | ||
c26138 | train | // UpdateApplication updates the buildpacks on an application | {
"resource": ""
} | ||
c26139 | train | // NewUAAAuthentication returns a pointer to a UAAAuthentication wrapper with
// the client and a token cache. | {
"resource": ""
} | ||
c26140 | train | // WriteConfig creates the .cf directory and then writes the config.json. The
// location of .cf directory is written in the same way LoadConfig reads .cf
// directory. | {
"resource": ""
} | ||
c26141 | train | // ResetSpaceIsolationSegment disassociates a space from an isolation segment.
//
// If the space's organization has a default isolation segment, return its
// name. Otherwise return the empty string. | {
"resource": ""
} | ||
c26142 | train | // NewV3BasedClients creates a new V3 Cloud Controller client and UAA client using the
// passed in config. | {
"resource": ""
} | ||
c26143 | train | // CreateServiceBroker returns a ServiceBroker and any warnings or errors. | {
"resource": ""
} | ||
c26144 | train | // GetServiceBrokers returns all ServiceBrokers and any warnings or errors. | {
"resource": ""
} | ||
c26145 | train | // GetServiceBrokerByName returns a ServiceBroker and any warnings or errors. | {
"resource": ""
} | ||
c26146 | train | // UnmarshalJSON helps unmarshal a Cloud Controller Space Summary response. | {
"resource": ""
} | ||
c26147 | train | // GetSpaceSummary returns the summary of the space with the given GUID. | {
"resource": ""
} | ||
c26148 | train | // setOrg sets organization | {
"resource": ""
} | ||
c26149 | train | // autoTargetSpace targets the space if there is only one space in the org
// and no space arg was provided. | {
"resource": ""
} | ||
c26150 | train | // setSpace sets space | {
"resource": ""
} | ||
c26151 | train | // displayTargetTable neatly displays target information. | {
"resource": ""
} | ||
c26152 | train | // Error outputs the plugin not found in repository error message. | {
"resource": ""
} | ||
c26153 | train | // UnmarshalJSON helps unmarshal a Cloud Controller Service Plan response. | {
"resource": ""
} | ||
c26154 | train | // GetServicePlan returns the service plan with the given GUID. | {
"resource": ""
} | ||
c26155 | train | // CreateIsolationSegmentByName creates a given isolation segment. | {
"resource": ""
} | ||
c26156 | train | // DeleteIsolationSegmentByName deletes the given isolation segment. | {
"resource": ""
} | ||
c26157 | train | // EntitleIsolationSegmentToOrganizationByName entitles the given organization
// to use the specified isolation segment | {
"resource": ""
} | ||
c26158 | train | // GetIsolationSegmentByName returns the requested isolation segment. | {
"resource": ""
} | ||
c26159 | train | // GetIsolationSegmentSummaries returns all isolation segments and their entitled orgs | {
"resource": ""
} | ||
c26160 | train | // SetOrganizationDefaultIsolationSegment sets a default isolation segment on
// an organization. | {
"resource": ""
} | ||
c26161 | train | // ResetOrganizationDefaultIsolationSegment resets the default isolation segment fon
// an organization. | {
"resource": ""
} | ||
c26162 | train | // UnmarshalJSON helps unmarshal a Cloud Controller Package response. | {
"resource": ""
} | ||
c26163 | train | // CreatePackage creates a package with the given settings, Type and the
// ApplicationRelationship must be set. | {
"resource": ""
} | ||
c26164 | train | // GetPackage returns the package with the given GUID. | {
"resource": ""
} | ||
c26165 | train | // GetPackages returns the list of packages. | {
"resource": ""
} | ||
c26166 | train | // UnmarshalJSON helps unmarshal a Cloud Controller Service Broker response. | {
"resource": ""
} | ||
c26167 | train | // CreateServiceBroker posts a service broker resource with the provided
// attributes to the api and returns the result. | {
"resource": ""
} | ||
c26168 | train | // GetServiceBrokers returns back a list of Service Brokers given the provided
// filters. | {
"resource": ""
} | ||
c26169 | train | // MustCompileGlob is like CompileGlob, but it panics if an error occurs,
// simplifying safe initialization of global variables holding glob patterns. | {
"resource": ""
} | ||
c26170 | train | // GetBuildpackByNameAndStack returns a buildpack with the provided name and
// stack. If `buildpackStack` is not specified, and there are multiple
// buildpacks with the same name, it will return the one with no stack, if
// present. | {
"resource": ""
} | ||
c26171 | train | // SetApplicationDropletByApplicationNameAndSpace sets the droplet for an application. | {
"resource": ""
} | ||
c26172 | train | // GetApplicationDroplets returns the list of droplets that belong to applicaiton. | {
"resource": ""
} | ||
c26173 | train | // UpdateResourceMatch returns the resources that exist on the cloud foundry instance
// from the set of resources given. | {
"resource": ""
} | ||
c26174 | train | // CreateUser creates a new UAA user account with the provided password. | {
"resource": ""
} | ||
c26175 | train | // ResourceMatch returns a set of matched resources and unmatched resources in
// the order they were given in allResources. | {
"resource": ""
} | ||
c26176 | train | // NewConnection returns a new CloudControllerConnection with provided
// configuration. | {
"resource": ""
} | ||
c26177 | train | // handleWarnings looks for the "X-Cf-Warnings" header in the cloud controller
// response and URI decodes them. The value can contain multiple warnings that
// are comma separated. | {
"resource": ""
} | ||
c26178 | train | // ProcessPath takes in a director of app files or a zip file which contains
// the app files. If given a zip file, it will extract the zip to a temporary
// location, call the provided callback with that location, and then clean up
// the location after the callback has been executed.
//
// This was done so that the c... | {
"resource": ""
} | ||
c26179 | train | // IsLoggedIn checks whether a user has authenticated with CF | {
"resource": ""
} | ||
c26180 | train | // newGETRequest returns a constructed HTTP.Request with some defaults.
// Defaults are applied when Request options are not filled in. | {
"resource": ""
} | ||
c26181 | train | // MinimumAPIVersionCheck compares `current` to `minimum`. If `current` is
// older than `minimum` then an error is returned; otherwise, nil is returned. | {
"resource": ""
} | ||
c26182 | train | // RequestLoggerFileWriter returns a RequestLoggerFileWriter that cannot
// overwrite another RequestLoggerFileWriter. | {
"resource": ""
} | ||
c26183 | train | // UnmarshalJSON helps unmarshal a Cloud Controller Stack response. | {
"resource": ""
} | ||
c26184 | train | // GetStack returns the requested stack. | {
"resource": ""
} | ||
c26185 | train | // GetStacks returns a list of Stacks based off of the provided filters. | {
"resource": ""
} | ||
c26186 | train | // refreshToken refreshes the JWT access token if it is expired or about to expire.
// If the access token is not yet expired, no action is performed. | {
"resource": ""
} | ||
c26187 | train | // EnableServiceForOrg enables access for the given service in a specific org. | {
"resource": ""
} | ||
c26188 | train | // EnablePlanForOrg enables access to a specific plan of the given service in a specific org. | {
"resource": ""
} | ||
c26189 | train | // DisableServiceForAllOrgs disables access for the given service in all orgs. | {
"resource": ""
} | ||
c26190 | train | // DisablePlanForAllOrgs disables access to a specific plan of the given service, from the given broker in all orgs. | {
"resource": ""
} | ||
c26191 | train | // DisableServiceForOrg disables access for the given service in a specific org. | {
"resource": ""
} | ||
c26192 | train | // DisablePlanForOrg disables access to a specific plan of the given service from the given broker in a specific org. | {
"resource": ""
} | ||
c26193 | train | // ManagedServiceInstanceGUID returns the GUID for a managed service instance. | {
"resource": ""
} | ||
c26194 | train | // Make adds authentication headers to the passed in request and then calls the
// wrapped connection's Make | {
"resource": ""
} | ||
c26195 | train | // The authentication header is not added to token refresh requests or login
// requests. | {
"resource": ""
} | ||
c26196 | train | // NewConnection returns a new PluginConnection | {
"resource": ""
} | ||
c26197 | train | // GetService fetches a service by GUID. | {
"resource": ""
} | ||
c26198 | train | // GetServicesWithPlans returns a map of Services to ServicePlans for a particular broker.
// A particular service with associated plans from a broker can be fetched by additionally providing
// a service label filter. | {
"resource": ""
} | ||
c26199 | train | // ServiceExistsWithName returns true if there is an Organization with the
// provided name, otherwise false. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.