{"modulePath":"github.com/dcarley/cf-cli","version":"v6.24.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ccv2\n\nPackage ccv2 represents a Cloud Controller V2 client.\n\nThese sets of packages are still under development/pre-pre-pre...alpha. Use at your own risk! Functionality and design may change without warning.\n\nIt is currently designed to support Cloud Controller API 2.23.0. However, it may include features and endpoints of later API versions.\n\nFor more information on the Cloud Controller API see [https://apidocs.cloudfoundry.org/](https://apidocs.cloudfoundry.org/)\n\n### Method Naming Conventions {#hdr-Method_Naming_Conventions}\n\nThe client takes a '\\\u003cAction Name\u003e\\\u003cTop Level Endpoint\u003e\\\u003cReturn Value\u003e' approach to method names.  If the \\\u003cTop Level Endpoint\u003e and \\\u003cReturn Value\u003e are similar, they do not need to be repeated. If a GUID is required for the \\\u003cTop Level Endpoint\u003e, the pluralization is removed from said endpoint in the method name.\n\nFor Example:\n\n\tMethod Name: GetApplication\n\tEndpoint: /v2/applications/:guid\n\tAction Name: Get\n\tTop Level Endpoint: applications\n\tReturn Value: Application\n\n\tMethod Name: GetServiceInstances\n\tEndpoint: /v2/service_instances\n\tAction Name: Get\n\tTop Level Endpoint: service_instances\n\tReturn Value: []ServiceInstance\n\n\tMethod Name: GetSpaceServiceInstances\n\tEndpoint: /v2/spaces/:guid/service_instances\n\tAction Name: Get\n\tTop Level Endpoint: spaces\n\tReturn Value: []ServiceInstance\n\nUse the following table to determine which HTTP Command equates to which Action Name:\n\n\tHTTP Command -\u003e Action Name\n\tPOST -\u003e New\n\tGET -\u003e Get\n\tPUT -\u003e Update\n\tDELETE -\u003e Delete\n\n### Method Locations {#hdr-Method_Locations}\n\nMethods exist in the same file as their return type, regardless of which endpoint they use.\n\n### Error Handling {#hdr-Error_Handling}\n\nAll error handling that requires parsing the error\\_code/code returned back from the Cloud Controller should be placed in the errorWrapper. Everything else can be handled in the individual operations. All parsed cloud controller errors should exist in errors.go, all generic HTTP errors should exist in the cloudcontroller's errors.go. Errors related to the individaul operation should exist at the top of that operation's file.\n\n### No inline-relations-depth And summary Endpoints {#hdr-No_inline_relations_depth_And_summary_Endpoints}\n\nThis package will not use ever use 'inline-relations-depth' or the '/summary' endpoints for any operations. These requests can be extremely taxing on the Cloud Controller and are avoided at all costs. Additionally, the objects returned back from these requests can become extremely inconsistant across versions and are problematic to deal with in general.\n\n## Functions\n\n```go\nfunc FormatQueryParameters(queries []Query) url.Values\n```\nFormatQueryParameters converts a Query object into a collection that cloudcontroller.Request can accept.\n\n## Types\n\n```go\ntype APIInformation struct {\n\tAPIVersion                   string `json:\"api_version\"`\n\tAuthorizationEndpoint        string `json:\"authorization_endpoint\"`\n\tDopplerEndpoint              string `json:\"doppler_logging_endpoint\"`\n\tMinCLIVersion                string `json:\"min_cli_version\"`\n\tMinimumRecommendedCLIVersion string `json:\"min_recommended_cli_version\"`\n\tName                         string `json:\"name\"`\n\tRoutingEndpoint              string `json:\"routing_endpoint\"`\n\tTokenEndpoint                string `json:\"token_endpoint\"`\n}\n```\nAPIInformation represents the information returned back from /v2/info\n\n```go\ntype AppStoppedStatsError struct {\n\tMessage string\n}\n```\nAppStoppedStatsError is returned when requesting instance information from a stopped app.\n\n```go\nfunc (e AppStoppedStatsError) Error() string\n```\n\n```go\ntype Application struct {\n\t// Buildpack is the buildpack set by the user.\n\tBuildpack string `json:\"-\"`\n\n\t// DetectedBuildpack is the buildpack automatically detected.\n\tDetectedBuildpack string `json:\"-\"`\n\n\t// DetectedStartCommand is the command used to start the application.\n\tDetectedStartCommand string `json:\"-\"`\n\n\t// DiskQuota is the disk given to each instance, in megabytes.\n\tDiskQuota int `json:\"-\"`\n\n\t// GUID is the unique application identifier.\n\tGUID string `json:\"-\"`\n\n\t// HealthCheckType is the type of health check that will be done to the app.\n\tHealthCheckType string `json:\"health_check_type,omitempty\"`\n\n\t// HealthCheckHTTPEndpoint is the url of the http health check endpoint.\n\tHealthCheckHTTPEndpoint string `json:\"health_check_http_endpoint,omitempty\"`\n\n\t// Instances is the total number of app instances.\n\tInstances int `json:\"-\"`\n\n\t// Memory is the memory given to each instance, in megabytes.\n\tMemory int `json:\"-\"`\n\n\t// Name is the name given to the application.\n\tName string `json:\"-\"`\n\n\t// PackageState represents the staging state of the application bits.\n\tPackageState ApplicationPackageState `json:\"-\"`\n\n\t// PackageUpdatedAt is the last time the app bits were updated. In RFC3339.\n\tPackageUpdatedAt time.Time `json:\"-\"`\n\n\t// StackGUID is the GUID for the Stack the application is running on.\n\tStackGUID string `json:\"-\"`\n\n\t// StagingFailedReason is the reason why the package failed to stage.\n\tStagingFailedReason string `json:\"-\"`\n\n\t// State is the desired state of the application.\n\tState ApplicationState `json:\"-\"`\n}\n```\nApplication represents a Cloud Controller Application.\n\n```go\nfunc (application *Application) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON helps unmarshal a Cloud Controller Application response.\n\n```go\ntype ApplicationInstance struct {\n\t// Details are arbitrary information about the instance.\n\tDetails string\n\n\t// ID is the instance ID.\n\tID int\n\n\t// Since is the Unix time stamp that represents the time the instance was\n\t// created.\n\tSince float64\n\n\t// State is the instance's state.\n\tState ApplicationInstanceState\n}\n```\nApplicationInstance represents a Cloud Controller Application Instance.\n\n```go\nfunc (instance *ApplicationInstance) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON helps unmarshal a Cloud Controller application instance response.\n\n```go\ntype ApplicationInstanceState string\n```\nApplicationInstanceState reflects the state of the individual app instance.\n\n```go\nconst (\n\tApplicationInstanceCrashed  ApplicationInstanceState = \"CRASHED\"\n\tApplicationInstanceDown     ApplicationInstanceState = \"DOWN\"\n\tApplicationInstanceFlapping ApplicationInstanceState = \"FLAPPING\"\n\tApplicationInstanceRunning  ApplicationInstanceState = \"RUNNING\"\n\tApplicationInstanceStarting ApplicationInstanceState = \"STARTING\"\n\tApplicationInstanceUnknown  ApplicationInstanceState = \"UNKNOWN\"\n)\n```\n\n```go\ntype ApplicationInstanceStatus struct {\n\t// CPU is the instance's CPU utilization percentage.\n\tCPU float64\n\n\t// Disk is the instance's disk usage in bytes.\n\tDisk int\n\n\t// DiskQuota is the instance's allowed disk usage in bytes.\n\tDiskQuota int\n\n\t// ID is the instance ID.\n\tID int\n\n\t// Memory is the instance's memory usage in bytes.\n\tMemory int\n\n\t// MemoryQuota is the instance's allowed memory usage in bytes.\n\tMemoryQuota int\n\n\t// State is the instance's state.\n\tState ApplicationInstanceState\n\n\t// Uptime is the number of seconds the instance has been running.\n\tUptime int\n}\n```\nApplicationInstanceStatus represents a Cloud Controller Application Instance.\n\n```go\nfunc (instance *ApplicationInstanceStatus) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON helps unmarshal a Cloud Controller application instance response.\n\n```go\ntype ApplicationPackageState string\n```\nApplicationPackageState is the staging state of application bits.\n\n```go\nconst (\n\tApplicationPackageStaged  ApplicationPackageState = \"STAGED\"\n\tApplicationPackagePending ApplicationPackageState = \"PENDING\"\n\tApplicationPackageFailed  ApplicationPackageState = \"FAILED\"\n\tApplicationPackageUnknown ApplicationPackageState = \"UNKNOWN\"\n)\n```\n\n```go\ntype ApplicationState string\n```\nApplicationState is the running state of an application.\n\n```go\nconst (\n\tApplicationStarted ApplicationState = \"STARTED\"\n\tApplicationStopped ApplicationState = \"STOPPED\"\n)\n```\n\n```go\ntype CCErrorResponse struct {\n\tCode        int    `json:\"code\"`\n\tDescription string `json:\"description\"`\n\tErrorCode   string `json:\"error_code\"`\n}\n```\nCCErrorResponse represents a generic Cloud Controller V2 error response.\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\nClient is a client that can be used to talk to a Cloud Controller's V2 Endpoints.\n\n```go\nfunc NewClient(config Config) *Client\n```\nNewClient returns a new Cloud Controller Client.\n\n```go\nfunc (client *Client) API() string\n```\nAPI returns the Cloud Controller API URL for the targeted Cloud Controller.\n\n```go\nfunc (client *Client) APIVersion() string\n```\nAPIVersion returns Cloud Controller API Version for the targeted Cloud Controller.\n\n```go\nfunc (client *Client) AuthorizationEndpoint() string\n```\nAuthorizationEndpoint returns the authorization endpoint for the targeted Cloud Controller.\n\n```go\nfunc (client *Client) DeleteOrganization(orgGUID string) (Job, Warnings, error)\n```\nDeleteOrganization deletes the Organization associated with the provided GUID. It will return the Cloud Controller job that is assigned to the organization deletion.\n\n```go\nfunc (client *Client) DeleteRoute(routeGUID string) (Warnings, error)\n```\nDeleteRoute deletes the Route associated with the provided Route GUID.\n\n```go\nfunc (client *Client) DeleteServiceBinding(serviceBindingGUID string) (Warnings, error)\n```\nDeleteServiceBinding will destroy the requested Service Binding.\n\n```go\nfunc (client *Client) DopplerEndpoint() string\n```\nDopplerEndpoint returns the Doppler endpoint for the targetd Cloud Controller.\n\n```go\nfunc (client *Client) GetApplicationInstanceStatusesByApplication(guid string) (map[int]ApplicationInstanceStatus, Warnings, error)\n```\nGetApplicationInstanceStatusesByApplication returns a list of ApplicationInstance for a given application. Given the state of an application, it might skip some application instances.\n\n```go\nfunc (client *Client) GetApplicationInstancesByApplication(guid string) (map[int]ApplicationInstance, Warnings, error)\n```\nGetApplicationInstancesByApplication returns a list of ApplicationInstance for a given application. Given the state of an application, it might skip some application instances.\n\n```go\nfunc (client *Client) GetApplicationRoutes(appGUID string, queryParams []Query) ([]Route, Warnings, error)\n```\nGetApplicationRoutes returns a list of Routes associated with the provided Application GUID, and filtered by the provided queries.\n\n```go\nfunc (client *Client) GetApplications(queries []Query) ([]Application, Warnings, error)\n```\nGetApplications returns back a list of Applications based off of the provided queries.\n\n```go\nfunc (client *Client) GetJob(jobGUID string) (Job, Warnings, error)\n```\nGetJob returns a job for the provided GUID.\n\n```go\nfunc (client *Client) GetOrganizations(queries []Query) ([]Organization, Warnings, error)\n```\nGetOrganizations returns back a list of Organizations based off of the provided queries.\n\n```go\nfunc (client *Client) GetPrivateDomain(domainGUID string) (Domain, Warnings, error)\n```\nGetPrivateDomain returns the Private Domain associated with the provided Domain GUID.\n\n```go\nfunc (client *Client) GetRouteApplications(routeGUID string, queryParams []Query) ([]Application, Warnings, error)\n```\nGetRouteApplications returns a list of Applications associated with a route GUID, filtered by provided queries.\n\n```go\nfunc (client *Client) GetServiceBindings(queries []Query) ([]ServiceBinding, Warnings, error)\n```\nGetServiceBindings returns back a list of Service Bindings based off of the provided queries.\n\n```go\nfunc (client *Client) GetServiceInstances(queries []Query) ([]ServiceInstance, Warnings, error)\n```\nGetServiceInstances returns back a list of \\*managed\\* Service Instances based off of the provided queries.\n\n```go\nfunc (client *Client) GetSharedDomain(domainGUID string) (Domain, Warnings, error)\n```\nGetSharedDomain returns the Shared Domain associated with the provided Domain GUID.\n\n```go\nfunc (client *Client) GetSpaceRoutes(spaceGUID string, queryParams []Query) ([]Route, Warnings, error)\n```\nGetSpaceRoutes returns a list of Routes associated with the provided Space GUID, and filtered by the provided queries.\n\n```go\nfunc (client *Client) GetSpaceServiceInstances(spaceGUID string, includeUserProvidedServices bool, queries []Query) ([]ServiceInstance, Warnings, error)\n```\nGetSpaceServiceInstances returns back a list of Service Instances based off of the space and queries provided. User provided services will be included if includeUserProvidedServices is set to true.\n\n```go\nfunc (client *Client) GetSpaces(queries []Query) ([]Space, Warnings, error)\n```\nGetSpaces returns back a list of Spaces based off of the provided queries.\n\n```go\nfunc (client *Client) GetStack(guid string) (Stack, Warnings, error)\n```\nGetStack returns the requested stack.\n\n```go\nfunc (client *Client) Info() (APIInformation, Warnings, error)\n```\nInfo returns back endpoint and API information from /v2/info.\n\n```go\nfunc (client *Client) MinCLIVersion() string\n```\nMinCLIVersion returns the minimum CLI version required for the targeted Cloud Controller\n\n```go\nfunc (client *Client) NewUser(uaaUserID string) (User, Warnings, error)\n```\nNewUser creates a new Cloud Controller User from the provided UAA user ID.\n\n```go\nfunc (client *Client) PollJob(job Job) (Warnings, error)\n```\nPollJob will keep polling the given job until the job has terminated, an error is encountered, or config.OverallPollingTimeout is reached. In the last case, a JobTimeoutError is returned.\n\n```go\nfunc (client *Client) RoutingEndpoint() string\n```\nRoutingEndpoint returns the Routing endpoint for the targeted Cloud Controller.\n\n```go\nfunc (client *Client) TargetCF(settings TargetSettings) (Warnings, error)\n```\nTargetCF sets the client to use the Cloud Controller specified in the configuration. Any other configuration is also applied to the client.\n\n```go\nfunc (client *Client) TokenEndpoint() string\n```\nTokenEndpoint returns the Token endpoint for the targeted Cloud Controller.\n\n```go\nfunc (client *Client) UpdateApplication(app Application) (Application, Warnings, error)\n```\n\n```go\nfunc (client *Client) WrapConnection(wrapper ConnectionWrapper)\n```\nWrapConnection wraps the current Client connection in the wrapper.\n\n```go\ntype Config struct {\n\t// AppName is the name of the application/process using the client.\n\tAppName string\n\n\t// AppVersion is the version of the application/process using the client.\n\tAppVersion string\n\n\t// JobPollingTimeout is the maximum amount of time a job polls for.\n\tJobPollingTimeout time.Duration\n\n\t// JobPollingInterval is the wait time between job polls.\n\tJobPollingInterval time.Duration\n}\n```\nConfig allows the Client to be configured\n\n```go\ntype ConnectionWrapper interface {\n\tcloudcontroller.Connection\n\tWrap(innerconnection cloudcontroller.Connection) cloudcontroller.Connection\n}\n```\nConnectionWrapper can wrap a given connection allowing the wrapper to modify all requests going in and out of the given connection.\n\n```go\ntype Domain struct {\n\tGUID string\n\tName string\n}\n```\nDomain represents a Cloud Controller Domain.\n\n```go\nfunc (domain *Domain) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON helps unmarshal a Cloud Controller Domain response.\n\n```go\ntype InstancesError struct {\n\tMessage string\n}\n```\nInstancesError is returned when requesting instance information encounters an error.\n\n```go\nfunc (e InstancesError) Error() string\n```\n\n```go\ntype Job struct {\n\tError  string\n\tGUID   string\n\tStatus JobStatus\n}\n```\nJob represents a Cloud Controller Job.\n\n```go\nfunc (job Job) Failed() bool\n```\nFailed returns true when the job has completed with an error/failure.\n\n```go\nfunc (job Job) Finished() bool\n```\nFinished returns true when the job has completed successfully.\n\n```go\nfunc (job *Job) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON helps unmarshal a Cloud Controller Job response.\n\n```go\ntype JobFailedError struct {\n\tJobGUID string\n\tMessage string\n}\n```\nJobFailedError represents a failed Cloud Controller Job. It wraps the error returned back from the Cloud Controller.\n\n```go\nfunc (e JobFailedError) Error() string\n```\n\n```go\ntype JobStatus string\n```\nJobStatus is the current state of a job.\n\n```go\nconst (\n\t// JobStatusFailed is when the job is no longer running due to a failure.\n\tJobStatusFailed JobStatus = \"failed\"\n\n\t// JobStatusFinished is when the job is no longer and it was successful.\n\tJobStatusFinished JobStatus = \"finished\"\n\n\t// JobStatusQueued is when the job is waiting to be run.\n\tJobStatusQueued JobStatus = \"queued\"\n\n\t// JobStatusRunning is when the job is running.\n\tJobStatusRunning JobStatus = \"running\"\n)\n```\n\n```go\ntype JobTimeoutError struct {\n\tJobGUID string\n\tTimeout time.Duration\n}\n```\nJobTimeoutError is returned from PollJob when the OverallPollingTimeout has been reached.\n\n```go\nfunc (e JobTimeoutError) Error() string\n```\n\n```go\ntype NotStagedError struct {\n\tMessage string\n}\n```\nNotStagedError is returned when requesting instance information from a not staged app.\n\n```go\nfunc (e NotStagedError) Error() string\n```\n\n```go\ntype Organization struct {\n\tGUID string\n\tName string\n}\n```\nOrganization represents a Cloud Controller Organization.\n\n```go\nfunc (org *Organization) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON helps unmarshal a Cloud Controller Organization response.\n\n```go\ntype PaginatedResources struct {\n\tNextURL        string          `json:\"next_url\"`\n\tResourcesBytes json.RawMessage `json:\"resources\"`\n\t// contains filtered or unexported fields\n}\n```\nPaginatedResources represents a page of resources returned by the Cloud Controller.\n\n```go\nfunc NewPaginatedResources(exampleResource interface{}) PaginatedResources\n```\nNewPaginatedResources returns a new PaginatedResources struct with the given resource type.\n\n```go\nfunc (pr PaginatedResources) Resources() ([]interface{}, error)\n```\nResources unmarshals JSON representing a page of resources and returns a slice of the given resource type.\n\n```go\ntype Params map[string]string\n```\nParams represents URI parameters for a request.\n\n```go\ntype Query struct {\n\tFilter   QueryFilter\n\tOperator QueryOperator\n\tValue    string\n}\n```\nQuery is a type of filter that can be passed to specific request to narrow down the return set.\n\n```go\ntype QueryFilter string\n```\nQueryFilter is the type of filter a Query uses.\n\n```go\nconst (\n\t// AppGUIDFilter is the name of the App GUID filter.\n\tAppGUIDFilter QueryFilter = \"app_guid\"\n\t// OrganizationGUIDFilter is the name of the organization GUID filter.\n\tOrganizationGUIDFilter QueryFilter = \"organization_guid\"\n\t// RouteGUIDFilter is the name of the route GUID filter.\n\tRouteGUIDFilter QueryFilter = \"route_guid\"\n\t// ServiceInstanceGUIDFilter is the name of the service instance GUID filter.\n\tServiceInstanceGUIDFilter QueryFilter = \"service_instance_guid\"\n\t// SpaceGUIDFilter is the name of the space GUID filter.\n\tSpaceGUIDFilter QueryFilter = \"space_guid\"\n\n\t// NameFilter is the name of the name filter.\n\tNameFilter QueryFilter = \"name\"\n)\n```\n\n```go\ntype QueryOperator string\n```\nQueryOperator is the type of operation a Query uses.\n\n```go\nconst (\n\t// EqualOperator is the query equal operator.\n\tEqualOperator QueryOperator = \":\"\n)\n```\n\n```go\ntype Route struct {\n\tGUID       string\n\tHost       string\n\tPath       string\n\tPort       int\n\tDomainGUID string\n}\n```\nRoute represents a Cloud Controller Route.\n\n```go\nfunc (route *Route) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON helps unmarshal a Cloud Controller Route response.\n\n```go\ntype ServiceBinding struct {\n\tGUID string\n}\n```\nServiceBinding represents a Cloud Controller Service Binding.\n\n```go\nfunc (serviceBinding *ServiceBinding) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON helps unmarshal a Cloud Controller Service Binding response.\n\n```go\ntype ServiceInstance struct {\n\tGUID string\n\tName string\n\tType ServiceInstanceType\n}\n```\nServiceInstance represents a Cloud Controller Service Instance.\n\n```go\nfunc (serviceInstance ServiceInstance) Managed() bool\n```\nManaged returns true if the Service Instance is a managed service.\n\n```go\nfunc (serviceInstance *ServiceInstance) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON helps unmarshal a Cloud Controller Service Instance response.\n\n```go\nfunc (serviceInstance ServiceInstance) UserProvided() bool\n```\nUserProvidedService returns true if the Service Instance is a user provided service.\n\n```go\ntype ServiceInstanceType string\n```\nServiceInstanceType is the type of the Service Instance.\n\n```go\nconst (\n\t// UserProvidedService is a Service Instance that is created by a user.\n\tUserProvidedService ServiceInstanceType = \"user_provided_service_instance\"\n\n\t// ManagedService is a Service Instance that is managed by a service broker.\n\tManagedService ServiceInstanceType = \"managed_service_instance\"\n)\n```\n\n```go\ntype Space struct {\n\tGUID     string\n\tName     string\n\tAllowSSH bool\n}\n```\nSpace represents a Cloud Controller Space.\n\n```go\nfunc (space *Space) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON helps unmarshal a Cloud Controller Space response.\n\n```go\ntype Stack struct {\n\tGUID        string\n\tName        string\n\tDescription string\n}\n```\nStack represents a Cloud Controller Stack.\n\n```go\nfunc (stack *Stack) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON helps unmarshal a Cloud Controller Stack response.\n\n```go\ntype TargetSettings struct {\n\t// DialTimeout is the DNS timeout used to make all requests to the Cloud\n\t// Controller.\n\tDialTimeout time.Duration\n\n\t// SkipSSLValidation controls whether a client verifies the server's\n\t// certificate chain and host name. If SkipSSLValidation is true, TLS accepts\n\t// any certificate presented by the server and any host name in that\n\t// certificate for *all* client requests going forward.\n\t//\n\t// In this mode, TLS is susceptible to man-in-the-middle attacks. This should\n\t// be used only for testing.\n\tSkipSSLValidation bool\n\n\t// URL is a fully qualified URL to the Cloud Controller API.\n\tURL string\n}\n```\nTargetSettings represents configuration for establishing a connection to the Cloud Controller server.\n\n```go\ntype UnexpectedResponseError struct {\n\tCCErrorResponse\n\n\tRequestIDs   []string\n\tResponseCode int\n}\n```\nUnexpectedResponseError is returned when the client gets an error that has not been accounted for.\n\n```go\nfunc (e UnexpectedResponseError) Error() string\n```\n\n```go\ntype User struct {\n\tGUID string\n}\n```\nUser represents a Cloud Controller User.\n\n```go\nfunc (user *User) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON helps unmarshal a Cloud Controller User response.\n\n```go\ntype Warnings []string\n```\nWarnings are a collection of warnings that the Cloud Controller can return back from an API request.\n\n","path":"github.com/dcarley/cf-cli/api/cloudcontroller/ccv2","name":"ccv2","synopsis":"Package ccv2 represents a Cloud Controller V2 client.","isRedistributable":true}
