_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c26000
train
// GetRoutes returns a list of Routes based off of the provided filters.
{ "resource": "" }
c26001
train
// GetSpaceRoutes returns a list of Routes associated with the provided Space // GUID, and filtered by the provided filters.
{ "resource": "" }
c26002
train
// UpdateRouteApplication creates a link between the route and application.
{ "resource": "" }
c26003
train
// CreateApplicationProcessScale updates process instances count, memory or disk
{ "resource": "" }
c26004
train
// GetApplicationProcessByType returns application process of specified type
{ "resource": "" }
c26005
train
// UpdateProcess updates the process's command or health check settings. GUID // is always required; HealthCheckType is only required when updating health // check settings.
{ "resource": "" }
c26006
train
// GetServiceInstanceSharedTos returns a list of ServiceInstanceSharedTo objects.
{ "resource": "" }
c26007
train
// NewConnection returns a pointer to a new UAA Connection
{ "resource": "" }
c26008
train
// Make takes a passedRequest, converts it into an HTTP request and then // executes it. The response is then injected into passedResponse.
{ "resource": "" }
c26009
train
// UnmarshalJSON helps unmarshal a Cloud Controller Event response.
{ "resource": "" }
c26010
train
// GetEvents returns back a list of Events based off of the provided queries.
{ "resource": "" }
c26011
train
// UnmarshalJSON helps unmarshal a Cloud Controller V2FormattedResource response.
{ "resource": "" }
c26012
train
// Authenticate sends a username and password to UAA then returns an access // token and a refresh token.
{ "resource": "" }
c26013
train
// UnmarshalJSON helps unmarshal a Cloud Controller organization quota response.
{ "resource": "" }
c26014
train
// GetOrganizationQuota returns an Organization Quota associated with the // provided GUID.
{ "resource": "" }
c26015
train
// GetOrganizationQuotas returns an Organization Quota list associated with the // provided filters.
{ "resource": "" }
c26016
train
// GetProcessByTypeAndApplication returns a process for the given application // and type.
{ "resource": "" }
c26017
train
// ParseValue is used to parse a user provided flag argument.
{ "resource": "" }
c26018
train
// MarshalJSON marshals the value field if it's not empty, otherwise returns an // null.
{ "resource": "" }
c26019
train
// DecodeJSON unmarshals JSON into the given object with the appropriate // settings.
{ "resource": "" }
c26020
train
// MarshalJSON converts a Deployment into a Cloud Controller Deployment.
{ "resource": "" }
c26021
train
// UnmarshalJSON helps unmarshal a Cloud Controller Deployment response.
{ "resource": "" }
c26022
train
// CheckEnvironmentTargetedCorrectly will confirm if the command requires an // API to be targeted and logged in to run. It can optionally check if the // command requires org and space to be targeted.
{ "resource": "" }
c26023
train
// ReadAndInterpolateManifest reads the manifest at the provided paths, // interpolates variables if a vars file is provided, and returns a fully // merged set of applications.
{ "resource": "" }
c26024
train
// ReadAndInterpolateRawManifest reads the manifest at the provided paths, // interpolates variables if a vars file is provided, and returns the // Unmarshalled result.
{ "resource": "" }
c26025
train
// WriteApplicationManifest writes the provided application to the given // filepath. If the filepath does not exist, it will create it.
{ "resource": "" }
c26026
train
// GetIsolationSegment returns back the requested isolation segment that // matches the GUID.
{ "resource": "" }
c26027
train
// GetIsolationSegments lists isolation segments with optional filters.
{ "resource": "" }
c26028
train
// tested via the ccv2.buildpack_test.go file at this point
{ "resource": "" }
c26029
train
// UnmarshalJSON helps unmarshal a Cloud Controller Security Group response
{ "resource": "" }
c26030
train
// DeleteSecurityGroupSpace disassociates a security group in the running phase // for the lifecycle, specified by its GUID, from a space, which is also // specified by its GUID.
{ "resource": "" }
c26031
train
// GetSecurityGroups returns a list of Security Groups based off the provided // filters.
{ "resource": "" }
c26032
train
// GetSpaceSecurityGroups returns the running Security Groups associated with // the provided Space GUID.
{ "resource": "" }
c26033
train
// GetSpaceStagingSecurityGroups returns the staging Security Groups // associated with the provided Space GUID.
{ "resource": "" }
c26034
train
// Errors returns back a list of
{ "resource": "" }
c26035
train
// CreateApplicationInSpace creates and returns the application with the given // name in the given space.
{ "resource": "" }
c26036
train
// SetApplicationProcessHealthCheckTypeByNameAndSpace sets the health check // information of the provided processType for an application with the given // name and space GUID.
{ "resource": "" }
c26037
train
// StopApplication stops an application.
{ "resource": "" }
c26038
train
// StartApplication starts an application.
{ "resource": "" }
c26039
train
// RestartApplication restarts an application and waits for it to start.
{ "resource": "" }
c26040
train
// Error method to display the error message.
{ "resource": "" }
c26041
train
// WithProcfileApp creates an application to use with your CLI command // that contains Procfile defining web and worker processes.
{ "resource": "" }
c26042
train
// AppGUID returns the GUID for an app in the currently targeted space.
{ "resource": "" }
c26043
train
// WriteManifest will write out a YAML manifest file at the specified path.
{ "resource": "" }
c26044
train
// Zipit zips the source into a .zip file in the target dir
{ "resource": "" }
c26045
train
// ConvertFilterParameters converts a Filter object into a collection that // cloudcontroller.Request can accept.
{ "resource": "" }
c26046
train
// GetPluginInfoFromRepositoriesForPlatform returns the newest version of the specified plugin // and all the repositories that contain that version.
{ "resource": "" }
c26047
train
// GetPlatformString exists solely for the purposes of mocking it out for command-layers tests.
{ "resource": "" }
c26048
train
// getPluginInfoFromRepositoryForPlatform returns the plugin info, if found, from // the specified repository for the specified platform.
{ "resource": "" }
c26049
train
// ExecutableFilename appends '.exe' to a filename when necessary in order to // make it executable on Windows
{ "resource": "" }
c26050
train
// EntitleIsolationSegmentToOrganizations will create a link between the // isolation segment and the list of organizations provided.
{ "resource": "" }
c26051
train
// ShareServiceInstanceToSpaces will create a sharing relationship between // the service instance and the shared-to space for each space provided.
{ "resource": "" }
c26052
train
// HandlePanic will recover from any panics and display a friendly error // message with additional information used for debugging the panic.
{ "resource": "" }
c26053
train
// UnmarshalJSON helps unmarshal a Cloud Controller Domain response.
{ "resource": "" }
c26054
train
// GetPrivateDomain returns the Private Domain associated with the provided // Domain GUID.
{ "resource": "" }
c26055
train
// GetPrivateDomains returns the private domains this client has access to.
{ "resource": "" }
c26056
train
// HasCommand returns true if the command name is in the command list.
{ "resource": "" }
c26057
train
// DisplayLogMessage formats and outputs a given log message.
{ "resource": "" }
c26058
train
// These are specific errors that we output to the user in the context of // installing from any repository.
{ "resource": "" }
c26059
train
// GetApplicationEnvironment fetches all the environment variables on // an application by groups.
{ "resource": "" }
c26060
train
// NewClients creates a new V2 Cloud Controller client and UAA client using the // passed in config.
{ "resource": "" }
c26061
train
// CheckTarget confirms that the user is logged in. Optionally it will also // check if an organization and space are targeted.
{ "resource": "" }
c26062
train
// CreateApplicationTask runs a command in the Application environment // associated with the provided Application GUID.
{ "resource": "" }
c26063
train
// GetApplicationTasks returns a list of tasks associated with the provided // application GUID. Results can be filtered by providing URL queries.
{ "resource": "" }
c26064
train
// UpdateTaskCancel cancels a task.
{ "resource": "" }
c26065
train
// GetFeatureFlagByName returns a featureFlag with the provided name.
{ "resource": "" }
c26066
train
// UnmarshalJSON helps unmarshal a Cloud Controller Service Instance response.
{ "resource": "" }
c26067
train
// CreateServiceInstance posts a service instance resource with the provided // attributes to the api and returns the result.
{ "resource": "" }
c26068
train
// GetServiceInstance returns the service instance with the given GUID. This // service can be either a managed or user provided.
{ "resource": "" }
c26069
train
// GetSpaceServiceInstances returns back a list of Service Instances based off // of the space and filters provided. User provided services will be included // if includeUserProvidedServices is set to true.
{ "resource": "" }
c26070
train
// getAndSetSharedInformation gets a service instance's shared from or shared to information,
{ "resource": "" }
c26071
train
// GetApplicationPackages returns a list of package of an app.
{ "resource": "" }
c26072
train
// PollPackage returns a package of an app.
{ "resource": "" }
c26073
train
// GetCredentials returns back the username and the password.
{ "resource": "" }
c26074
train
// SkipIfOIDCCredentialsNotSet returns back the username and the password for // OIDC origin, or skips the test if those values are not set.
{ "resource": "" }
c26075
train
// DefaultDomain looks up the shared and then private domains and returns back // the first one in the list as the default.
{ "resource": "" }
c26076
train
// SayPath is used to assert that a path is printed. On Windows, it uses a // case-insensitive match and escapes the path. On non-Windows, it evaluates // the base directory of the path for symlniks.
{ "resource": "" }
c26077
train
// CreateBuildpack creates a new buildpack.
{ "resource": "" }
c26078
train
// GetBuildpacks searches for a buildpack with the given name and returns it if it exists.
{ "resource": "" }
c26079
train
// UploadBuildpack uploads the contents of a buildpack zip to the server.
{ "resource": "" }
c26080
train
// LessIgnoreCase returns true if first is alphabetically less than second.
{ "resource": "" }
c26081
train
// GetSpaceRunningSecurityGroupsBySpace returns a list of all security groups // bound to this space in the 'running' lifecycle phase.
{ "resource": "" }
c26082
train
// GetSpaceStagingSecurityGroupsBySpace returns a list of all security groups // bound to this space in the 'staging' lifecycle phase. with an optional
{ "resource": "" }
c26083
train
//this func returns byte written, filename and error
{ "resource": "" }
c26084
train
// Resources unmarshals JSON representing a page of resources and returns a // slice of the given resource type.
{ "resource": "" }
c26085
train
// GetSpaceByOrganizationAndName returns an Space based on the org and name.
{ "resource": "" }
c26086
train
// GrantSpaceManagerByUsername makes the provided user a Space Manager in the // space with the provided guid.
{ "resource": "" }
c26087
train
// GrantSpaceDeveloperByUsername makes the provided user a Space Developer in the // space with the provided guid.
{ "resource": "" }
c26088
train
// CreateUser creates a new user in UAA and registers it with cloud controller.
{ "resource": "" }
c26089
train
// NewNetworkingClient creates a new cfnetworking client.
{ "resource": "" }
c26090
train
// GetServicePlansForService returns a list of plans associated with the service and the broker if provided
{ "resource": "" }
c26091
train
// NewTable is the constructor function creating a new printable table // from a list of headers. The table is also connected to a UI, which // is where it will print itself to on demand.
{ "resource": "" }
c26092
train
// SetTransformer specifies a string transformer to apply to the // content of the given column in the specified table.
{ "resource": "" }
c26093
train
// Add extends the table by another row.
{ "resource": "" }
c26094
train
// printRow is responsible for the layouting, transforming and // printing of the string in a single row
{ "resource": "" }
c26095
train
// printCellValue pads the specified string to the width of the given // column, adds the spacing bewtween columns, and returns the result.
{ "resource": "" }
c26096
train
// Transform performs the Header highlighting for transformHeader
{ "resource": "" }
c26097
train
// visibleSize returns the number of columns the string will cover // when displayed in the terminal. This is the number of runes, // i.e. characters, not the number of bytes it consists of.
{ "resource": "" }
c26098
train
// DeleteIsolationSegmentOrganization will delete the relationship between // the isolation segment and the organization provided.
{ "resource": "" }
c26099
train
// DeleteServiceInstanceRelationshipsSharedSpace will delete the sharing relationship // between the service instance and the shared-to space provided.
{ "resource": "" }