Documentation ¶
Index ¶
Constants ¶
View Source
const ( DeleteOrganizationRequest = "DeleteOrganization" DeleteRouteAppRequest = "DeleteRouteApp" DeleteRouteRequest = "DeleteRoute" DeleteSecurityGroupSpaceRequest = "DeleteSecurityGroupSpace" DeleteSecurityGroupStagingSpaceRequest = "DeleteSecurityGroupStagingSpace" DeleteServiceBindingRequest = "DeleteServiceBinding" DeleteServicePlanVisibilityRequest = "DeleteServicePlanVisibility" DeleteServiceRequest = "DeleteService" DeleteSpaceRequest = "DeleteSpace" DeleteSpaceUnmappedRoutesRequest = "DeleteUnmappedRoutes" GetAppInstancesRequest = "GetAppInstances" GetAppRequest = "GetApp" GetAppRoutesRequest = "GetAppRoutes" GetAppsRequest = "GetApps" GetAppStatsRequest = "GetAppStats" GetBuildpacksRequest = "GetBuildpacks" GetConfigFeatureFlagsRequest = "GetConfigFeatureFlags" GetEventsRequest = "GetEvents" GetInfoRequest = "GetInfo" GetJobRequest = "GetJob" GetOrganizationPrivateDomainsRequest = "GetOrganizationPrivateDomains" GetOrganizationQuotaDefinitionsRequest = "GetOrganizationQuotaDefinitions" GetOrganizationQuotaDefinitionRequest = "GetOrganizationQuotaDefinition" GetOrganizationRequest = "GetOrganization" GetOrganizationsRequest = "GetOrganizations" GetPrivateDomainRequest = "GetPrivateDomain" GetPrivateDomainsRequest = "GetPrivateDomains" GetRootRequest = "GetRoot" GetRouteAppsRequest = "GetRouteApps" GetRouteMappingRequest = "GetRouteMapping" GetRouteMappingsRequest = "GetRouteMappings" GetRouteRequest = "GetRoute" GetRouteReservedDeprecatedRequest = "GetRouteReservedDeprecated" GetRouteReservedRequest = "GetRouteReserved" GetRouteRouteMappingsRequest = "GetRouteRouteMappings" GetRoutesRequest = "GetRoutes" GetSecurityGroupSpacesRequest = "GetSecurityGroupSpaces" GetSecurityGroupsRequest = "GetSecurityGroups" GetSecurityGroupStagingSpacesRequest = "GetSecurityGroupStagingSpaces" GetServiceBindingRequest = "GetServiceBinding" GetServiceBindingsRequest = "GetServiceBindings" GetServiceBrokersRequest = "GetServiceBrokers" GetServiceInstanceRequest = "GetServiceInstance" GetServiceInstanceServiceBindingsRequest = "GetServiceInstanceServiceBindings" GetServiceInstancesRequest = "GetServiceInstances" GetServicePlanRequest = "GetServicePlan" GetServicePlansRequest = "GetServicePlans" GetServicePlanVisibilitiesRequest = "GetServicePlanVisibilities" GetServiceRequest = "GetService" GetServicesRequest = "GetServices" GetOrganizationSpaceQuotasRequest = "GetOrganizationSpaceQuotas" GetSpaceQuotaDefinitionRequest = "GetSpaceQuotaDefinition" GetSpaceRoutesRequest = "GetSpaceRoutes" GetSpaceSecurityGroupsRequest = "GetSpaceSecurityGroups" GetSpaceServicesRequest = "GetSpaceServices" GetSpaceServiceInstancesRequest = "GetSpaceServiceInstances" GetSpaceSummaryRequest = "GetSpaceSummary" GetSpacesRequest = "GetSpaces" GetSpaceStagingSecurityGroupsRequest = "GetSpaceStagingSecurityGroups" GetStackRequest = "GetStack" GetStacksRequest = "GetStacks" GetUserProvidedServiceInstanceServiceBindingsRequest = "GetUserProvidedServiceInstanceServiceBindings" GetUserProvidedServiceInstancesRequest = "GetUserProvidedServiceInstances" GetUsersRequest = "ListUsers" PostAppRequest = "PostApp" PostAppRestageRequest = "PostAppRestage" PostBuildpackRequest = "PostBuildpack" PostOrganizationRequest = "PostOrganization" PostRouteRequest = "PostRoute" PostServiceBindingRequest = "PostServiceBinding" PostServiceInstancesRequest = "PostServiceInstance" PostServiceBrokerRequest = "PostServiceBroker" PostServiceKeyRequest = "PostServiceKey" PostServicePlanVisibilityRequest = "PostServicePlanVisibility" PostSpaceRequest = "PostSpace" PostUserRequest = "PostUser" PutAppBitsRequest = "PutAppBits" PutAppRequest = "PutApp" PutBuildpackRequest = "PutBuildpack" PutBuildpackBitsRequest = "PutBuildpackBits" PutDropletRequest = "PutDroplet" PutOrganizationManagerByUsernameRequest = "PutOrganizationManagerByUsername" PutOrganizationManagerRequest = "PutOrganizationManager" PutOrganizationUserRequest = "PutOrganizationUser" PutOrganizationUserByUsernameRequest = "PutOrganizationUserByUsername" PutResourceMatchRequest = "PutResourceMatch" PutRouteAppRequest = "PutRouteApp" PutServiceInstanceRequest = "PutServiceInstance" PutServicePlanRequest = "PutServicePlan" PutSpaceQuotaRequest = "PutSpaceQuotaRequest" PutSpaceDeveloperRequest = "PutSpaceDeveloper" PutSpaceDeveloperByUsernameRequest = "PutSpaceDeveloperByUsername" PutSpaceManagerRequest = "PutSpaceManager" PutSpaceManagerByUsernameRequest = "PutSpaceManagerByUsername" PutSecurityGroupSpaceRequest = "PutSecurityGroupSpace" PutSecurityGroupStagingSpaceRequest = "PutSecurityGroupStagingSpace" PutUserProvidedServiceInstance = "PutUserProvidedServiceInstance" )
Naming convention:
Method + non-parameter parts of the path
If the request returns a single entity by GUID, use the singular (for example /v2/organizations/:organization_guid is GetOrganization).
The const name should always be the const value + Request.
Variables ¶
View Source
var APIRoutes = rata.Routes{}/* 101 elements not displayed */
APIRoutes is a list of routes used by the rata library to construct request URLs.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct { GUID string `json:"guid"` URL string `json:"url"` CreatedAt time.Time `json:"created_at"` // UpdatedAt is the update time for a given object, it can be null UpdatedAt *time.Time `json:"updated_at"` }
Metadata represents the "metadata" object of a resource item in a Cloud Controller response.
Click to show internal directories.
Click to hide internal directories.