Versions in this module Expand all Collapse all v8 v8.4.4 Aug 24, 2022 v8.4.3 Aug 24, 2022 Changes in this version + func FormatQueryParameters(queries []Query) url.Values + type Checksum struct + Value string + type Client struct + CloudControllerURL string + func NewClient(config Config) *Client + func TestClient(config Config, clock Clock, requester Requester) *Client + func (client *Client) ApplyOrganizationQuota(quotaGuid, orgGuid string) (resources.RelationshipList, Warnings, error) + func (client *Client) CancelDeployment(deploymentGUID string) (Warnings, error) + func (client *Client) CopyPackage(sourcePkgGUID string, targetAppGUID string) (resources.Package, Warnings, error) + func (client *Client) CreateApplication(app resources.Application) (resources.Application, Warnings, error) + func (client *Client) CreateApplicationDeployment(appGUID string, dropletGUID string) (string, Warnings, error) + func (client *Client) CreateApplicationDeploymentByRevision(appGUID string, revisionGUID string) (string, Warnings, error) + func (client *Client) CreateApplicationProcessScale(appGUID string, process resources.Process) (resources.Process, Warnings, error) + func (client *Client) CreateApplicationTask(appGUID string, task resources.Task) (resources.Task, Warnings, error) + func (client *Client) CreateBuild(build resources.Build) (resources.Build, Warnings, error) + func (client *Client) CreateBuildpack(bp resources.Buildpack) (resources.Buildpack, Warnings, error) + func (client *Client) CreateDroplet(appGUID string) (resources.Droplet, Warnings, error) + func (client *Client) CreateIsolationSegment(isolationSegment resources.IsolationSegment) (resources.IsolationSegment, Warnings, error) + func (client *Client) CreateOrganization(orgName string) (resources.Organization, Warnings, error) + func (client *Client) CreateOrganizationQuota(orgQuota resources.OrganizationQuota) (resources.OrganizationQuota, Warnings, error) + func (client *Client) CreatePackage(pkg resources.Package) (resources.Package, Warnings, error) + func (client *Client) CreateRole(roleSpec resources.Role) (resources.Role, Warnings, error) + func (client *Client) CreateRouteBinding(binding resources.RouteBinding) (JobURL, Warnings, error) + func (client *Client) CreateSecurityGroup(securityGroup resources.SecurityGroup) (resources.SecurityGroup, Warnings, error) + func (client *Client) CreateServiceBroker(serviceBroker resources.ServiceBroker) (JobURL, Warnings, error) + func (client *Client) CreateServiceCredentialBinding(binding resources.ServiceCredentialBinding) (JobURL, Warnings, error) + func (client *Client) CreateServiceInstance(serviceInstance resources.ServiceInstance) (JobURL, Warnings, error) + func (client *Client) CreateSpace(space resources.Space) (resources.Space, Warnings, error) + func (client *Client) CreateUser(uaaUserID string) (resources.User, Warnings, error) + func (client *Client) DeleteApplication(appGUID string) (JobURL, Warnings, error) + func (client *Client) DeleteApplicationProcessInstance(appGUID string, processType string, instanceIndex int) (Warnings, error) + func (client *Client) DeleteIsolationSegment(guid string) (Warnings, error) + func (client *Client) DeleteIsolationSegmentOrganization(isolationSegmentGUID string, orgGUID string) (Warnings, error) + func (client *Client) DeleteOrganization(orgGUID string) (JobURL, Warnings, error) + func (client *Client) DeleteOrganizationQuota(quotaGUID string) (JobURL, Warnings, error) + func (client *Client) DeleteRole(roleGUID string) (JobURL, Warnings, error) + func (client *Client) DeleteRouteBinding(guid string) (JobURL, Warnings, error) + func (client *Client) DeleteSecurityGroup(securityGroupGUID string) (JobURL, Warnings, error) + func (client *Client) DeleteServiceBroker(serviceBrokerGUID string) (JobURL, Warnings, error) + func (client *Client) DeleteServiceCredentialBinding(guid string) (JobURL, Warnings, error) + func (client *Client) DeleteServiceInstance(serviceInstanceGUID string, query ...Query) (JobURL, Warnings, error) + func (client *Client) DeleteServicePlanVisibility(servicePlanGUID, organizationGUID string) (Warnings, error) + func (client *Client) DeleteSpace(spaceGUID string) (JobURL, Warnings, error) + func (client *Client) DeleteUser(uaaUserID string) (JobURL, Warnings, error) + func (client *Client) DownloadDroplet(dropletGUID string) ([]byte, Warnings, error) + func (client *Client) EntitleIsolationSegmentToOrganizations(isolationSegmentGUID string, organizationGUIDs []string) (resources.RelationshipList, Warnings, error) + func (client *Client) GetAppFeature(appGUID string, featureName string) (resources.ApplicationFeature, Warnings, error) + func (client *Client) GetApplicationByNameAndSpace(appName string, spaceGUID string) (resources.Application, Warnings, error) + func (client *Client) GetApplicationDropletCurrent(appGUID string) (resources.Droplet, Warnings, error) + func (client *Client) GetApplicationEnvironment(appGUID string) (Environment, Warnings, error) + func (client *Client) GetApplicationManifest(appGUID string) ([]byte, Warnings, error) + func (client *Client) GetApplicationProcessByType(appGUID string, processType string) (resources.Process, Warnings, error) + func (client *Client) GetApplicationProcesses(appGUID string) ([]resources.Process, Warnings, error) + func (client *Client) GetApplicationRevisions(appGUID string, query ...Query) ([]resources.Revision, Warnings, error) + func (client *Client) GetApplicationRevisionsDeployed(appGUID string) ([]resources.Revision, Warnings, error) + func (client *Client) GetApplicationTasks(appGUID string, query ...Query) ([]resources.Task, Warnings, error) + func (client *Client) GetApplications(query ...Query) ([]resources.Application, Warnings, error) + func (client *Client) GetBuild(guid string) (resources.Build, Warnings, error) + func (client *Client) GetBuildpacks(query ...Query) ([]resources.Buildpack, Warnings, error) + func (client *Client) GetDefaultDomain(orgGUID string) (resources.Domain, Warnings, error) + func (client *Client) GetDeployment(deploymentGUID string) (resources.Deployment, Warnings, error) + func (client *Client) GetDeployments(query ...Query) ([]resources.Deployment, Warnings, error) + func (client *Client) GetDomain(domainGUID string) (resources.Domain, Warnings, error) + func (client *Client) GetDroplet(dropletGUID string) (resources.Droplet, Warnings, error) + func (client *Client) GetDroplets(query ...Query) ([]resources.Droplet, Warnings, error) + func (client *Client) GetEnvironmentVariableGroup(group constant.EnvironmentVariableGroupName) (resources.EnvironmentVariables, Warnings, error) + func (client *Client) GetEvents(query ...Query) ([]Event, Warnings, error) + func (client *Client) GetFeatureFlag(flagName string) (resources.FeatureFlag, Warnings, error) + func (client *Client) GetFeatureFlags() ([]resources.FeatureFlag, Warnings, error) + func (client *Client) GetInfo() (Info, Warnings, error) + func (client *Client) GetIsolationSegment(guid string) (resources.IsolationSegment, Warnings, error) + func (client *Client) GetIsolationSegmentOrganizations(isolationSegmentGUID string) ([]resources.Organization, Warnings, error) + func (client *Client) GetIsolationSegments(query ...Query) ([]resources.IsolationSegment, Warnings, error) + func (client *Client) GetJob(jobURL JobURL) (Job, Warnings, error) + func (client *Client) GetNewApplicationProcesses(appGUID string, deploymentGUID string) ([]resources.Process, Warnings, error) + func (client *Client) GetOrganization(orgGUID string) (resources.Organization, Warnings, error) + func (client *Client) GetOrganizationDefaultIsolationSegment(orgGUID string) (resources.Relationship, Warnings, error) + func (client *Client) GetOrganizationQuota(quotaGUID string) (resources.OrganizationQuota, Warnings, error) + func (client *Client) GetOrganizationQuotas(query ...Query) ([]resources.OrganizationQuota, Warnings, error) + func (client *Client) GetOrganizations(query ...Query) ([]resources.Organization, Warnings, error) + func (client *Client) GetPackage(packageGUID string) (resources.Package, Warnings, error) + func (client *Client) GetPackageDroplets(packageGUID string, query ...Query) ([]resources.Droplet, Warnings, error) + func (client *Client) GetPackages(query ...Query) ([]resources.Package, Warnings, error) + func (client *Client) GetProcess(processGUID string) (resources.Process, Warnings, error) + func (client *Client) GetProcessInstances(processGUID string) ([]ProcessInstance, Warnings, error) + func (client *Client) GetProcessSidecars(processGuid string) ([]resources.Sidecar, Warnings, error) + func (client *Client) GetRoles(query ...Query) ([]resources.Role, IncludedResources, Warnings, error) + func (client *Client) GetRouteBindings(query ...Query) ([]resources.RouteBinding, IncludedResources, Warnings, error) + func (client *Client) GetRunningSecurityGroups(spaceGUID string, queries ...Query) ([]resources.SecurityGroup, Warnings, error) + func (client *Client) GetSSHEnabled(appGUID string) (SSHEnabled, Warnings, error) + func (client *Client) GetSecurityGroups(queries ...Query) ([]resources.SecurityGroup, Warnings, error) + func (client *Client) GetServiceBrokers(query ...Query) ([]resources.ServiceBroker, Warnings, error) + func (client *Client) GetServiceCredentialBindingDetails(guid string) (details resources.ServiceCredentialBindingDetails, warnings Warnings, ...) + func (client *Client) GetServiceCredentialBindings(query ...Query) ([]resources.ServiceCredentialBinding, Warnings, error) + func (client *Client) GetServiceInstanceByNameAndSpace(name, spaceGUID string, query ...Query) (resources.ServiceInstance, IncludedResources, Warnings, error) + func (client *Client) GetServiceInstanceParameters(serviceInstanceGUID string) (parameters types.JSONObject, warnings Warnings, err error) + func (client *Client) GetServiceInstanceSharedSpaces(serviceInstanceGUID string) ([]SpaceWithOrganization, Warnings, error) + func (client *Client) GetServiceInstanceUsageSummary(serviceInstanceGUID string) ([]resources.ServiceInstanceUsageSummary, Warnings, error) + func (client *Client) GetServiceInstances(query ...Query) ([]resources.ServiceInstance, IncludedResources, Warnings, error) + func (client *Client) GetServiceOfferingByGUID(guid string) (resources.ServiceOffering, Warnings, error) + func (client *Client) GetServiceOfferingByNameAndBroker(serviceOfferingName, serviceBrokerName string) (resources.ServiceOffering, Warnings, error) + func (client *Client) GetServiceOfferings(query ...Query) ([]resources.ServiceOffering, Warnings, error) + func (client *Client) GetServicePlanByGUID(guid string) (resources.ServicePlan, Warnings, error) + func (client *Client) GetServicePlanVisibility(servicePlanGUID string) (resources.ServicePlanVisibility, Warnings, error) + func (client *Client) GetServicePlans(query ...Query) ([]resources.ServicePlan, Warnings, error) + func (client *Client) GetServicePlansWithOfferings(query ...Query) ([]ServiceOfferingWithPlans, Warnings, error) + func (client *Client) GetServicePlansWithSpaceAndOrganization(query ...Query) ([]ServicePlanWithSpaceAndOrganization, Warnings, error) + func (client *Client) GetSpaceFeature(spaceGUID string, featureName string) (bool, Warnings, error) + func (client *Client) GetSpaceIsolationSegment(spaceGUID string) (resources.Relationship, Warnings, error) + func (client *Client) GetSpaceManifestDiff(spaceGUID string, rawManifest []byte) (resources.ManifestDiff, Warnings, error) + func (client *Client) GetSpaceQuotas(query ...Query) ([]resources.SpaceQuota, Warnings, error) + func (client *Client) GetSpaces(query ...Query) ([]resources.Space, IncludedResources, Warnings, error) + func (client *Client) GetStacks(query ...Query) ([]resources.Stack, Warnings, error) + func (client *Client) GetStagingSecurityGroups(spaceGUID string, queries ...Query) ([]resources.SecurityGroup, Warnings, error) + func (client *Client) GetUser(userGUID string) (resources.User, Warnings, error) + func (client *Client) GetUsers(query ...Query) ([]resources.User, Warnings, error) + func (client *Client) PollJob(jobURL JobURL) (Warnings, error) + func (client *Client) PollJobForState(jobURL JobURL, state constant.JobState) (Warnings, error) + func (client *Client) PollJobToEventStream(jobURL JobURL) chan PollJobEvent + func (client *Client) PurgeServiceOffering(serviceOfferingGUID string) (Warnings, error) + func (client *Client) RootResponse() (Info, Warnings, error) + func (client *Client) SetApplicationDroplet(appGUID string, dropletGUID string) (resources.Relationship, Warnings, error) + func (client *Client) ShareServiceInstanceToSpaces(serviceInstanceGUID string, spaceGUIDs []string) (resources.RelationshipList, Warnings, error) + func (client *Client) TargetCF(settings TargetSettings) + func (client *Client) UnbindSecurityGroupRunningSpace(securityGroupGUID string, spaceGUID string) (Warnings, error) + func (client *Client) UnbindSecurityGroupStagingSpace(securityGroupGUID string, spaceGUID string) (Warnings, error) + func (client *Client) UnsetSpaceQuota(spaceQuotaGUID, spaceGUID string) (Warnings, error) + func (client *Client) UnshareServiceInstanceFromSpace(serviceInstanceGUID string, spaceGUID string) (Warnings, error) + func (client *Client) UpdateAppFeature(appGUID string, enabled bool, featureName string) (Warnings, error) + func (client *Client) UpdateApplication(app resources.Application) (resources.Application, Warnings, error) + func (client *Client) UpdateApplicationApplyManifest(appGUID string, rawManifest []byte) (JobURL, Warnings, error) + func (client *Client) UpdateApplicationEnvironmentVariables(appGUID string, envVars resources.EnvironmentVariables) (resources.EnvironmentVariables, Warnings, error) + func (client *Client) UpdateApplicationRestart(appGUID string) (resources.Application, Warnings, error) + func (client *Client) UpdateApplicationStart(appGUID string) (resources.Application, Warnings, error) + func (client *Client) UpdateApplicationStop(appGUID string) (resources.Application, Warnings, error) + func (client *Client) UpdateEnvironmentVariableGroup(group constant.EnvironmentVariableGroupName, ...) (resources.EnvironmentVariables, Warnings, error) + func (client *Client) UpdateFeatureFlag(flag resources.FeatureFlag) (resources.FeatureFlag, Warnings, error) + func (client *Client) UpdateOrganization(org resources.Organization) (resources.Organization, Warnings, error) + func (client *Client) UpdateOrganizationDefaultIsolationSegmentRelationship(orgGUID string, isoSegGUID string) (resources.Relationship, Warnings, error) + func (client *Client) UpdateOrganizationQuota(orgQuota resources.OrganizationQuota) (resources.OrganizationQuota, Warnings, error) + func (client *Client) UpdateProcess(process resources.Process) (resources.Process, Warnings, error) + func (client *Client) UpdateResourceMetadata(resource string, resourceGUID string, metadata resources.Metadata) (JobURL, Warnings, error) + func (client *Client) UpdateSecurityGroup(securityGroup resources.SecurityGroup) (resources.SecurityGroup, Warnings, error) + func (client *Client) UpdateSecurityGroupRunningSpace(securityGroupGUID string, spaceGUIDs []string) (Warnings, error) + func (client *Client) UpdateSecurityGroupStagingSpace(securityGroupGUID string, spaceGUIDs []string) (Warnings, error) + func (client *Client) UpdateServiceBroker(serviceBrokerGUID string, serviceBroker resources.ServiceBroker) (JobURL, Warnings, error) + func (client *Client) UpdateServiceInstance(serviceInstanceGUID string, serviceInstanceUpdates resources.ServiceInstance) (JobURL, Warnings, error) + func (client *Client) UpdateServicePlanVisibility(servicePlanGUID string, planVisibility resources.ServicePlanVisibility) (resources.ServicePlanVisibility, Warnings, error) + func (client *Client) UpdateSpace(space resources.Space) (resources.Space, Warnings, error) + func (client *Client) UpdateSpaceApplyManifest(spaceGUID string, rawManifest []byte) (JobURL, Warnings, error) + func (client *Client) UpdateSpaceFeature(spaceGUID string, enabled bool, featureName string) (Warnings, error) + func (client *Client) UpdateSpaceIsolationSegmentRelationship(spaceGUID string, isolationSegmentGUID string) (resources.Relationship, Warnings, error) + func (client *Client) UpdateSpaceQuota(spaceQuota resources.SpaceQuota) (resources.SpaceQuota, Warnings, error) + func (client *Client) UpdateTaskCancel(taskGUID string) (resources.Task, Warnings, error) + func (client *Client) UploadBitsPackage(pkg resources.Package, matchedResources []Resource, newResources io.Reader, ...) (resources.Package, Warnings, error) + func (client *Client) UploadBuildpack(buildpackGUID string, buildpackPath string, buildpack io.Reader, ...) (JobURL, Warnings, error) + func (client *Client) UploadDropletBits(dropletGUID string, dropletPath string, droplet io.Reader, dropletLength int64) (JobURL, Warnings, error) + func (client *Client) UploadPackage(pkg resources.Package, fileToUpload string) (resources.Package, Warnings, error) + func (client *Client) WhoAmI() (resources.K8sUser, Warnings, error) + func (client Client) ApplySpaceQuota(quotaGUID string, spaceGUID string) (resources.RelationshipList, Warnings, error) + func (client Client) CheckRoute(domainGUID string, hostname string, path string, port int) (bool, Warnings, error) + func (client Client) CreateDomain(domain resources.Domain) (resources.Domain, Warnings, error) + func (client Client) CreateRoute(route resources.Route) (resources.Route, Warnings, error) + func (client Client) CreateSpaceQuota(spaceQuota resources.SpaceQuota) (resources.SpaceQuota, Warnings, error) + func (client Client) DeleteBuildpack(buildpackGUID string) (JobURL, Warnings, error) + func (client Client) DeleteDomain(domainGUID string) (JobURL, Warnings, error) + func (client Client) DeleteOrphanedRoutes(spaceGUID string) (JobURL, Warnings, error) + func (client Client) DeleteRoute(routeGUID string) (JobURL, Warnings, error) + func (client Client) DeleteSpaceQuota(spaceQuotaGUID string) (JobURL, Warnings, error) + func (client Client) GetApplicationRoutes(appGUID string) ([]resources.Route, Warnings, error) + func (client Client) GetDomains(query ...Query) ([]resources.Domain, Warnings, error) + func (client Client) GetOrganizationDomains(orgGUID string, query ...Query) ([]resources.Domain, Warnings, error) + func (client Client) GetProcesses(query ...Query) ([]resources.Process, Warnings, error) + func (client Client) GetRouteDestinations(routeGUID string) ([]resources.RouteDestination, Warnings, error) + func (client Client) GetRoutes(query ...Query) ([]resources.Route, Warnings, error) + func (client Client) GetSpaceQuota(spaceQuotaGUID string) (resources.SpaceQuota, Warnings, error) + func (client Client) MapRoute(routeGUID string, appGUID string, destinationProtocol string) (Warnings, error) + func (client Client) ResourceMatch(resources []Resource) ([]Resource, Warnings, error) + func (client Client) SharePrivateDomainToOrgs(domainGuid string, sharedOrgs SharedOrgs) (Warnings, error) + func (client Client) ShareRoute(routeGUID string, spaceGUID string) (Warnings, error) + func (client Client) UnmapRoute(routeGUID string, destinationGUID string) (Warnings, error) + func (client Client) UnsharePrivateDomainFromOrg(domainGuid string, orgGUID string) (Warnings, error) + func (client Client) UpdateBuildpack(buildpack resources.Buildpack) (resources.Buildpack, Warnings, error) + func (client Client) UpdateDestination(routeGUID string, destinationGUID string, protocol string) (Warnings, error) + type Clock interface + Now func() time.Time + type Config struct + AppName string + AppVersion string + JobPollingInterval time.Duration + JobPollingTimeout time.Duration + Wrappers []ConnectionWrapper + type ConnectionWrapper interface + Wrap func(innerconnection cloudcontroller.Connection) cloudcontroller.Connection + type DropletCreateRequest struct + Relationships resources.Relationships + type Environment struct + Application map[string]interface{} + EnvironmentVariables map[string]interface{} + Running map[string]interface{} + Staging map[string]interface{} + System map[string]interface{} + type Event struct + ActorName string + CreatedAt time.Time + Data map[string]interface{} + GUID string + Type string + func (e *Event) UnmarshalJSON(data []byte) error + type IncludedResources struct + Apps []resources.Application + Organizations []resources.Organization + ServiceBrokers []resources.ServiceBroker + ServiceInstances []resources.ServiceInstance + ServiceOfferings []resources.ServiceOffering + ServicePlans []resources.ServicePlan + Spaces []resources.Space + Users []resources.User + type Info struct + CFOnK8s bool + Links InfoLinks + func (info Info) AppSSHEndpoint() string + func (info Info) AppSSHHostKeyFingerprint() string + func (info Info) CloudControllerAPIVersion() string + func (info Info) LogCache() string + func (info Info) Logging() string + func (info Info) Login() string + func (info Info) NetworkPolicyV1() string + func (info Info) OAuthClient() string + func (info Info) Routing() string + func (info Info) UAA() string + type InfoLinks struct + AppSSH resources.APILink + CCV3 resources.APILink + LogCache resources.APILink + Logging resources.APILink + Login resources.APILink + NetworkPolicyV1 resources.APILink + Routing resources.APILink + UAA resources.APILink + type Job struct + GUID string + RawErrors []JobErrorDetails + State constant.JobState + Warnings []jobWarning + func (job Job) Errors() []error + func (job Job) HasFailed() bool + func (job Job) IsAt(state constant.JobState) bool + func (job Job) IsComplete() bool + type JobErrorDetails struct + Code constant.JobErrorCode + Detail string + Title string + type JobURL string + type PaginatedResources struct + IncludedResources IncludedResources + Pagination struct{ ... } + ResourcesBytes json.RawMessage + func NewPaginatedResources(exampleResource interface{}) *PaginatedResources + func (pr PaginatedResources) NextPage() string + func (pr PaginatedResources) Resources() ([]interface{}, error) + type PollJobEvent struct + Err error + State constant.JobState + Warnings Warnings + type ProcessInstance struct + CPU float64 + Details string + DiskQuota uint64 + DiskUsage uint64 + Index int64 + IsolationSegment string + MemoryQuota uint64 + MemoryUsage uint64 + State constant.ProcessInstanceState + Type string + Uptime time.Duration + func (instance *ProcessInstance) UnmarshalJSON(data []byte) error + type Query struct + Key QueryKey + Values []string + type QueryKey string + const AppGUIDFilter + const AvailableFilter + const CreatedAtDescendingOrder + const DomainGUIDFilter + const FieldsServiceBroker + const FieldsServiceOfferingServiceBroker + const FieldsServicePlan + const FieldsServicePlanServiceOffering + const FieldsServicePlanServiceOfferingServiceBroker + const FieldsSpace + const FieldsSpaceOrganization + const GUIDFilter + const GloballyEnabledRunning + const GloballyEnabledStaging + const HostFilter + const HostsFilter + const Include + const LabelSelectorFilter + const MaxPerPage + const NameFilter + const NameOrder + const NoRouteFilter + const OrderBy + const OrganizationGUIDFilter + const OriginsFilter + const PathFilter + const PathsFilter + const PerPage + const PortFilter + const PortsFilter + const PositionOrder + const Purge + const RoleTypesFilter + const RouteGUIDFilter + const SequenceIDFilter + const ServiceBrokerGUIDsFilter + const ServiceBrokerNamesFilter + const ServiceInstanceGUIDFilter + const ServiceOfferingGUIDsFilter + const ServiceOfferingNamesFilter + const SourceGUID + const SpaceGUIDFilter + const StackFilter + const StatesFilter + const StatusValueFilter + const TargetGUIDFilter + const TypeFilter + const UnmappedFilter + const UserGUIDFilter + const UsernamesFilter + const VersionsFilter + type RealRequester struct + func NewRequester(config Config) *RealRequester + func (requester *RealRequester) InitializeConnection(settings TargetSettings) + func (requester *RealRequester) InitializeRouter(baseURL string) + func (requester *RealRequester) MakeListRequest(requestParams RequestParams) (IncludedResources, Warnings, error) + func (requester *RealRequester) MakeRequest(requestParams RequestParams) (JobURL, Warnings, error) + func (requester *RealRequester) MakeRequestReceiveRaw(requestName string, uriParams internal.Params, responseBodyMimeType string) ([]byte, Warnings, error) + func (requester *RealRequester) MakeRequestSendRaw(requestName string, uriParams internal.Params, requestBody []byte, ...) (string, Warnings, error) + func (requester *RealRequester) MakeRequestSendReceiveRaw(Method string, URL string, headers http.Header, requestBody []byte) ([]byte, *http.Response, error) + func (requester *RealRequester) MakeRequestUploadAsync(requestName string, uriParams internal.Params, requestBodyMimeType string, ...) (string, Warnings, error) + func (requester *RealRequester) WrapConnection(wrapper ConnectionWrapper) + type RequestParams struct + AppendToList func(item interface{}) error + Query []Query + RequestBody interface{} + RequestName string + ResponseBody interface{} + URIParams internal.Params + URL string + type Requester interface + InitializeConnection func(settings TargetSettings) + InitializeRouter func(baseURL string) + MakeListRequest func(requestParams RequestParams) (IncludedResources, Warnings, error) + MakeRequest func(requestParams RequestParams) (JobURL, Warnings, error) + MakeRequestReceiveRaw func(requestName string, uriParams internal.Params, responseBodyMimeType string) ([]byte, Warnings, error) + MakeRequestSendRaw func(requestName string, uriParams internal.Params, requestBody []byte, ...) (string, Warnings, error) + MakeRequestSendReceiveRaw func(Method string, URL string, headers http.Header, requestBody []byte) ([]byte, *http.Response, error) + MakeRequestUploadAsync func(requestName string, uriParams internal.Params, requestBodyMimeType string, ...) (string, Warnings, error) + WrapConnection func(wrapper ConnectionWrapper) + type Resource struct + Checksum Checksum + FilePath string + Mode os.FileMode + SizeInBytes int64 + func (r *Resource) UnmarshalJSON(data []byte) error + func (r Resource) MarshalJSON() ([]byte, error) + func (r Resource) ToV2FormattedResource() V2FormattedResource + type ResourceLinks map[string]resources.APILink + func (links ResourceLinks) UnmarshalJSON(data []byte) error + type SSHEnabled struct + Enabled bool + Reason string + type ServiceOfferingWithPlans struct + Description string + GUID string + Name string + Plans []resources.ServicePlan + ServiceBrokerName string + type ServicePlanWithSpaceAndOrganization struct + GUID string + Name string + OrganizationName string + ServiceOfferingGUID string + SpaceGUID string + SpaceName string + VisibilityType resources.ServicePlanVisibilityType + type SharedOrgs struct + GUIDs []string + func (sharedOrgs *SharedOrgs) UnmarshalJSON(data []byte) error + func (sharedOrgs SharedOrgs) MarshalJSON() ([]byte, error) + type SpaceWithOrganization struct + OrganizationName string + SpaceGUID string + SpaceName string + type TargetSettings struct + DialTimeout time.Duration + SkipSSLValidation bool + URL string + type V2FormattedResource struct + Filename string + Mode os.FileMode + SHA1 string + Size int64 + func (r *V2FormattedResource) UnmarshalJSON(data []byte) error + func (r V2FormattedResource) MarshalJSON() ([]byte, error) + type Warnings []string Other modules containing this package github.com/LukasHeimann/cloudfoundrycli