{"modulePath":"github.com/randomtask1155/cli","version":"v6.41.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package internal\n\n## Constants\n\n```go\nconst (\n\tDeleteOrganizationRequest                            = \"DeleteOrganization\"\n\tDeleteRouteAppRequest                                = \"DeleteRouteApp\"\n\tDeleteRouteRequest                                   = \"DeleteRoute\"\n\tDeleteSecurityGroupSpaceRequest                      = \"DeleteSecurityGroupSpace\"\n\tDeleteSecurityGroupStagingSpaceRequest               = \"DeleteSecurityGroupStagingSpace\"\n\tDeleteServiceBindingRequest                          = \"DeleteServiceBinding\"\n\tDeleteServicePlanVisibilityRequest                   = \"DeleteServicePlanVisibility\"\n\tDeleteSpaceRequest                                   = \"DeleteSpace\"\n\tGetAppInstancesRequest                               = \"GetAppInstances\"\n\tGetAppRequest                                        = \"GetApp\"\n\tGetAppRoutesRequest                                  = \"GetAppRoutes\"\n\tGetAppsRequest                                       = \"GetApps\"\n\tGetAppStatsRequest                                   = \"GetAppStats\"\n\tGetBuildpacksRequest                                 = \"GetBuildpacks\"\n\tGetConfigFeatureFlagsRequest                         = \"GetConfigFeatureFlags\"\n\tGetEventsRequest                                     = \"GetEvents\"\n\tGetInfoRequest                                       = \"GetInfo\"\n\tGetJobRequest                                        = \"GetJob\"\n\tGetOrganizationPrivateDomainsRequest                 = \"GetOrganizationPrivateDomains\"\n\tGetOrganizationQuotaDefinitionsRequest               = \"GetOrganizationQuotaDefinitions\"\n\tGetOrganizationQuotaDefinitionRequest                = \"GetOrganizationQuotaDefinition\"\n\tGetOrganizationRequest                               = \"GetOrganization\"\n\tGetOrganizationsRequest                              = \"GetOrganizations\"\n\tGetPrivateDomainRequest                              = \"GetPrivateDomain\"\n\tGetPrivateDomainsRequest                             = \"GetPrivateDomains\"\n\tGetRouteAppsRequest                                  = \"GetRouteApps\"\n\tGetRouteMappingRequest                               = \"GetRouteMapping\"\n\tGetRouteMappingsRequest                              = \"GetRouteMappings\"\n\tGetRouteRequest                                      = \"GetRoute\"\n\tGetRouteReservedDeprecatedRequest                    = \"GetRouteReservedDeprecated\"\n\tGetRouteReservedRequest                              = \"GetRouteReserved\"\n\tGetRouteRouteMappingsRequest                         = \"GetRouteRouteMappings\"\n\tGetRoutesRequest                                     = \"GetRoutes\"\n\tGetSecurityGroupSpacesRequest                        = \"GetSecurityGroupSpaces\"\n\tGetSecurityGroupsRequest                             = \"GetSecurityGroups\"\n\tGetSecurityGroupStagingSpacesRequest                 = \"GetSecurityGroupStagingSpaces\"\n\tGetServiceBindingRequest                             = \"GetServiceBinding\"\n\tGetServiceBindingsRequest                            = \"GetServiceBindings\"\n\tGetServiceBrokersRequest                             = \"GetServiceBrokers\"\n\tGetServiceInstanceRequest                            = \"GetServiceInstance\"\n\tGetServiceInstanceServiceBindingsRequest             = \"GetServiceInstanceServiceBindings\"\n\tGetServiceInstanceSharedFromRequest                  = \"GetServiceInstanceSharedFrom\"\n\tGetServiceInstanceSharedToRequest                    = \"GetServiceInstanceSharedTo\"\n\tGetServiceInstancesRequest                           = \"GetServiceInstances\"\n\tGetServicePlanRequest                                = \"GetServicePlan\"\n\tGetServicePlansRequest                               = \"GetServicePlans\"\n\tGetServicePlanVisibilitiesRequest                    = \"GetServicePlanVisibilities\"\n\tGetServiceRequest                                    = \"GetService\"\n\tGetServicesRequest                                   = \"GetServices\"\n\tGetSharedDomainRequest                               = \"GetSharedDomain\"\n\tGetSharedDomainsRequest                              = \"GetSharedDomains\"\n\tGetOrganizationSpaceQuotasRequest                    = \"GetOrganizationSpaceQuotas\"\n\tGetSpaceQuotaDefinitionRequest                       = \"GetSpaceQuotaDefinition\"\n\tGetSpaceRoutesRequest                                = \"GetSpaceRoutes\"\n\tGetSpaceSecurityGroupsRequest                        = \"GetSpaceSecurityGroups\"\n\tGetSpaceServicesRequest                              = \"GetSpaceServices\"\n\tGetSpaceServiceInstancesRequest                      = \"GetSpaceServiceInstances\"\n\tGetSpacesRequest                                     = \"GetSpaces\"\n\tGetSpaceStagingSecurityGroupsRequest                 = \"GetSpaceStagingSecurityGroups\"\n\tGetStackRequest                                      = \"GetStack\"\n\tGetStacksRequest                                     = \"GetStacks\"\n\tGetUserProvidedServiceInstanceServiceBindingsRequest = \"GetUserProvidedServiceInstanceServiceBindings\"\n\tGetUserProvidedServiceInstancesRequest               = \"GetUserProvidedServiceInstances\"\n\tGetUsersRequest                                      = \"GetUsers\"\n\tPostAppRequest                                       = \"PostApp\"\n\tPostAppRestageRequest                                = \"PostAppRestage\"\n\tPostBuildpackRequest                                 = \"PostBuildpack\"\n\tPostOrganizationRequest                              = \"PostOrganization\"\n\tPostRouteRequest                                     = \"PostRoute\"\n\tPostServiceBindingRequest                            = \"PostServiceBinding\"\n\tPostSharedDomainRequest                              = \"PostSharedDomain\"\n\tPostServiceBrokerRequest                             = \"PostServiceBroker\"\n\tPostServiceKeyRequest                                = \"PostServiceKey\"\n\tPostServicePlanVisibilityRequest                     = \"PostServicePlanVisibility\"\n\tPostSpaceRequest                                     = \"PostSpace\"\n\tPostUserRequest                                      = \"PostUser\"\n\tPutAppBitsRequest                                    = \"PutAppBits\"\n\tPutAppRequest                                        = \"PutApp\"\n\tPutBuildpackRequest                                  = \"PutBuildpack\"\n\tPutBuildpackBitsRequest                              = \"PutBuildpackBits\"\n\tPutDropletRequest                                    = \"PutDroplet\"\n\tPutOrganizationManagerByUsernameRequest              = \"PutOrganizationManagerByUsername\"\n\tPutOrganizationManagerRequest                        = \"PutOrganizationManager\"\n\tPutOrganizationUserRequest                           = \"PutOrganizationUser\"\n\tPutOrganizationUserByUsernameRequest                 = \"PutOrganizationUserByUsername\"\n\tPutResourceMatchRequest                              = \"PutResourceMatch\"\n\tPutRouteAppRequest                                   = \"PutRouteApp\"\n\tPutServicePlanRequest                                = \"PutServicePlan\"\n\tPutSpaceQuotaRequest                                 = \"PutSpaceQuotaRequest\"\n\tPutSpaceDeveloperRequest                             = \"PutSpaceDeveloper\"\n\tPutSpaceDeveloperByUsernameRequest                   = \"PutSpaceDeveloperByUsername\"\n\tPutSpaceManagerRequest                               = \"PutSpaceManager\"\n\tPutSpaceManagerByUsernameRequest                     = \"PutSpaceManagerByUsername\"\n\tPutSecurityGroupSpaceRequest                         = \"PutSecurityGroupSpace\"\n\tPutSecurityGroupStagingSpaceRequest                  = \"PutSecurityGroupStagingSpace\"\n)\n```\nNaming convention:\n\nMethod + non-parameter parts of the path\n\nIf the request returns a single entity by GUID, use the singular (for example /v2/organizations/:organization\\_guid is GetOrganization).\n\nThe const name should always be the const value + Request.\n\n## Variables\n\n```go\nvar APIRoutes = rata.Routes{\n\t{Path: \"/v2/apps\", Method: http.MethodGet, Name: GetAppsRequest},\n\t{Path: \"/v2/apps\", Method: http.MethodPost, Name: PostAppRequest},\n\t{Path: \"/v2/apps/:app_guid\", Method: http.MethodGet, Name: GetAppRequest},\n\t{Path: \"/v2/apps/:app_guid\", Method: http.MethodPut, Name: PutAppRequest},\n\t{Path: \"/v2/apps/:app_guid/bits\", Method: http.MethodPut, Name: PutAppBitsRequest},\n\t{Path: \"/v2/apps/:app_guid/droplet/upload\", Method: http.MethodPut, Name: PutDropletRequest},\n\t{Path: \"/v2/apps/:app_guid/instances\", Method: http.MethodGet, Name: GetAppInstancesRequest},\n\t{Path: \"/v2/apps/:app_guid/restage\", Method: http.MethodPost, Name: PostAppRestageRequest},\n\t{Path: \"/v2/apps/:app_guid/routes\", Method: http.MethodGet, Name: GetAppRoutesRequest},\n\t{Path: \"/v2/apps/:app_guid/stats\", Method: http.MethodGet, Name: GetAppStatsRequest},\n\t{Path: \"/v2/buildpacks\", Method: http.MethodPost, Name: PostBuildpackRequest},\n\t{Path: \"/v2/buildpacks\", Method: http.MethodGet, Name: GetBuildpacksRequest},\n\t{Path: \"/v2/buildpacks/:buildpack_guid\", Method: http.MethodPut, Name: PutBuildpackRequest},\n\t{Path: \"/v2/buildpacks/:buildpack_guid/bits\", Method: http.MethodPut, Name: PutBuildpackBitsRequest},\n\t{Path: \"/v2/config/feature_flags\", Method: http.MethodGet, Name: GetConfigFeatureFlagsRequest},\n\t{Path: \"/v2/events\", Method: http.MethodGet, Name: GetEventsRequest},\n\t{Path: \"/v2/info\", Method: http.MethodGet, Name: GetInfoRequest},\n\t{Path: \"/v2/jobs/:job_guid\", Method: http.MethodGet, Name: GetJobRequest},\n\t{Path: \"/v2/organizations\", Method: http.MethodGet, Name: GetOrganizationsRequest},\n\t{Path: \"/v2/organizations\", Method: http.MethodPost, Name: PostOrganizationRequest},\n\t{Path: \"/v2/organizations/:organization_guid\", Method: http.MethodDelete, Name: DeleteOrganizationRequest},\n\t{Path: \"/v2/organizations/:organization_guid\", Method: http.MethodGet, Name: GetOrganizationRequest},\n\t{Path: \"/v2/organizations/:organization_guid/managers\", Method: http.MethodPut, Name: PutOrganizationManagerByUsernameRequest},\n\t{Path: \"/v2/organizations/:organization_guid/managers/:manager_guid\", Method: http.MethodPut, Name: PutOrganizationManagerRequest},\n\t{Path: \"/v2/organizations/:organization_guid/private_domains\", Method: http.MethodGet, Name: GetOrganizationPrivateDomainsRequest},\n\t{Path: \"/v2/organizations/:organization_guid/users\", Method: http.MethodPut, Name: PutOrganizationUserByUsernameRequest},\n\t{Path: \"/v2/organizations/:organization_guid/users/:user_guid\", Method: http.MethodPut, Name: PutOrganizationUserRequest},\n\t{Path: \"/v2/private_domains\", Method: http.MethodGet, Name: GetPrivateDomainsRequest},\n\t{Path: \"/v2/private_domains/:private_domain_guid\", Method: http.MethodGet, Name: GetPrivateDomainRequest},\n\t{Path: \"/v2/quota_definitions/:organization_quota_guid\", Method: http.MethodGet, Name: GetOrganizationQuotaDefinitionRequest},\n\t{Path: \"/v2/quota_definitions\", Method: http.MethodGet, Name: GetOrganizationQuotaDefinitionsRequest},\n\t{Path: \"/v2/resource_match\", Method: http.MethodPut, Name: PutResourceMatchRequest},\n\t{Path: \"/v2/route_mappings\", Method: http.MethodGet, Name: GetRouteMappingsRequest},\n\t{Path: \"/v2/route_mappings/:route_mapping_guid\", Method: http.MethodGet, Name: GetRouteMappingRequest},\n\t{Path: \"/v2/routes\", Method: http.MethodGet, Name: GetRoutesRequest},\n\t{Path: \"/v2/routes\", Method: http.MethodPost, Name: PostRouteRequest},\n\t{Path: \"/v2/routes/:route_guid\", Method: http.MethodDelete, Name: DeleteRouteRequest},\n\t{Path: \"/v2/routes/:route_guid\", Method: http.MethodGet, Name: GetRouteRequest},\n\t{Path: \"/v2/routes/:route_guid/apps\", Method: http.MethodGet, Name: GetRouteAppsRequest},\n\t{Path: \"/v2/routes/:route_guid/apps/:app_guid\", Method: http.MethodDelete, Name: DeleteRouteAppRequest},\n\t{Path: \"/v2/routes/:route_guid/apps/:app_guid\", Method: http.MethodPut, Name: PutRouteAppRequest},\n\t{Path: \"/v2/routes/:route_guid/route_mappings\", Method: http.MethodGet, Name: GetRouteRouteMappingsRequest},\n\t{Path: \"/v2/routes/reserved/domain/:domain_guid\", Method: http.MethodGet, Name: GetRouteReservedRequest},\n\t{Path: \"/v2/routes/reserved/domain/:domain_guid/host/:host\", Method: http.MethodGet, Name: GetRouteReservedDeprecatedRequest},\n\t{Path: \"/v2/security_groups\", Method: http.MethodGet, Name: GetSecurityGroupsRequest},\n\t{Path: \"/v2/security_groups/:security_group_guid/spaces\", Method: http.MethodGet, Name: GetSecurityGroupSpacesRequest},\n\t{Path: \"/v2/security_groups/:security_group_guid/spaces/:space_guid\", Method: http.MethodDelete, Name: DeleteSecurityGroupSpaceRequest},\n\t{Path: \"/v2/security_groups/:security_group_guid/spaces/:space_guid\", Method: http.MethodPut, Name: PutSecurityGroupSpaceRequest},\n\t{Path: \"/v2/security_groups/:security_group_guid/staging_spaces\", Method: http.MethodGet, Name: GetSecurityGroupStagingSpacesRequest},\n\t{Path: \"/v2/security_groups/:security_group_guid/staging_spaces/:space_guid\", Method: http.MethodDelete, Name: DeleteSecurityGroupStagingSpaceRequest},\n\t{Path: \"/v2/security_groups/:security_group_guid/staging_spaces/:space_guid\", Method: http.MethodPut, Name: PutSecurityGroupStagingSpaceRequest},\n\t{Path: \"/v2/service_bindings\", Method: http.MethodGet, Name: GetServiceBindingsRequest},\n\t{Path: \"/v2/service_bindings\", Method: http.MethodPost, Name: PostServiceBindingRequest},\n\t{Path: \"/v2/service_bindings/:service_binding_guid\", Method: http.MethodDelete, Name: DeleteServiceBindingRequest},\n\t{Path: \"/v2/service_bindings/:service_binding_guid\", Method: http.MethodGet, Name: GetServiceBindingRequest},\n\t{Path: \"/v2/service_brokers\", Method: http.MethodGet, Name: GetServiceBrokersRequest},\n\t{Path: \"/v2/service_brokers\", Method: http.MethodPost, Name: PostServiceBrokerRequest},\n\t{Path: \"/v2/service_instances\", Method: http.MethodGet, Name: GetServiceInstancesRequest},\n\t{Path: \"/v2/service_instances/:service_instance_guid\", Method: http.MethodGet, Name: GetServiceInstanceRequest},\n\t{Path: \"/v2/service_instances/:service_instance_guid/service_bindings\", Method: http.MethodGet, Name: GetServiceInstanceServiceBindingsRequest},\n\t{Path: \"/v2/service_instances/:service_instance_guid/shared_from\", Method: http.MethodGet, Name: GetServiceInstanceSharedFromRequest},\n\t{Path: \"/v2/service_instances/:service_instance_guid/shared_to\", Method: http.MethodGet, Name: GetServiceInstanceSharedToRequest},\n\t{Path: \"/v2/service_keys\", Method: http.MethodPost, Name: PostServiceKeyRequest},\n\t{Path: \"/v2/service_plan_visibilities\", Method: http.MethodGet, Name: GetServicePlanVisibilitiesRequest},\n\t{Path: \"/v2/service_plan_visibilities\", Method: http.MethodPost, Name: PostServicePlanVisibilityRequest},\n\t{Path: \"/v2/service_plan_visibilities/:service_plan_visibility_guid\", Method: http.MethodDelete, Name: DeleteServicePlanVisibilityRequest},\n\t{Path: \"/v2/service_plans\", Method: http.MethodGet, Name: GetServicePlansRequest},\n\t{Path: \"/v2/service_plans/:service_plan_guid\", Method: http.MethodPut, Name: PutServicePlanRequest},\n\t{Path: \"/v2/service_plans/:service_plan_guid\", Method: http.MethodGet, Name: GetServicePlanRequest},\n\t{Path: \"/v2/services\", Method: http.MethodGet, Name: GetServicesRequest},\n\t{Path: \"/v2/services/:service_guid\", Method: http.MethodGet, Name: GetServiceRequest},\n\t{Path: \"/v2/shared_domains\", Method: http.MethodGet, Name: GetSharedDomainsRequest},\n\t{Path: \"/v2/shared_domains\", Method: http.MethodPost, Name: PostSharedDomainRequest},\n\t{Path: \"/v2/shared_domains/:shared_domain_guid\", Method: http.MethodGet, Name: GetSharedDomainRequest},\n\t{Path: \"/v2/organizations/:organization_guid/space_quota_definitions\", Method: http.MethodGet, Name: GetOrganizationSpaceQuotasRequest},\n\t{Path: \"/v2/space_quota_definitions/:space_quota_guid/spaces/:space_guid\", Method: http.MethodPut, Name: PutSpaceQuotaRequest},\n\t{Path: \"/v2/space_quota_definitions/:space_quota_guid\", Method: http.MethodGet, Name: GetSpaceQuotaDefinitionRequest},\n\t{Path: \"/v2/spaces\", Method: http.MethodGet, Name: GetSpacesRequest},\n\t{Path: \"/v2/spaces\", Method: http.MethodPost, Name: PostSpaceRequest},\n\t{Path: \"/v2/spaces/:space_guid/developers\", Method: http.MethodPut, Name: PutSpaceDeveloperByUsernameRequest},\n\t{Path: \"/v2/spaces/:space_guid/developers/:developer_guid\", Method: http.MethodPut, Name: PutSpaceDeveloperRequest},\n\t{Path: \"/v2/spaces/:guid/service_instances\", Method: http.MethodGet, Name: GetSpaceServiceInstancesRequest},\n\t{Path: \"/v2/spaces/:space_guid/services\", Method: http.MethodGet, Name: GetSpaceServicesRequest},\n\t{Path: \"/v2/spaces/:space_guid\", Method: http.MethodDelete, Name: DeleteSpaceRequest},\n\t{Path: \"/v2/spaces/:space_guid/routes\", Method: http.MethodGet, Name: GetSpaceRoutesRequest},\n\t{Path: \"/v2/spaces/:space_guid/security_groups\", Method: http.MethodGet, Name: GetSpaceSecurityGroupsRequest},\n\t{Path: \"/v2/spaces/:space_guid/staging_security_groups\", Method: http.MethodGet, Name: GetSpaceStagingSecurityGroupsRequest},\n\t{Path: \"/v2/spaces/:space_guid/managers\", Method: http.MethodPut, Name: PutSpaceManagerByUsernameRequest},\n\t{Path: \"/v2/spaces/:space_guid/managers/:manager_guid\", Method: http.MethodPut, Name: PutSpaceManagerRequest},\n\t{Path: \"/v2/stacks\", Method: http.MethodGet, Name: GetStacksRequest},\n\t{Path: \"/v2/stacks/:stack_guid\", Method: http.MethodGet, Name: GetStackRequest},\n\t{Path: \"/v2/user_provided_service_instances\", Method: http.MethodGet, Name: GetUserProvidedServiceInstancesRequest},\n\t{Path: \"/v2/user_provided_service_instances/:user_provided_service_instance_guid/service_bindings\", Method: http.MethodGet, Name: GetUserProvidedServiceInstanceServiceBindingsRequest},\n\t{Path: \"/v2/users\", Method: http.MethodPost, Name: PostUserRequest},\n}\n```\nAPIRoutes is a list of routes used by the rata library to construct request URLs.\n\n## Types\n\n```go\ntype Metadata struct {\n\tGUID      string    `json:\"guid\"`\n\tURL       string    `json:\"url\"`\n\tCreatedAt time.Time `json:\"created_at\"`\n\n\t// UpdatedAt is the update time for a given object, it can be null\n\tUpdatedAt *time.Time `json:\"updated_at\"`\n}\n```\nMetadata represents the \"metadata\" object of a resource item in a Cloud Controller response.\n\n","path":"github.com/randomtask1155/cli/api/cloudcontroller/ccv2/internal","name":"internal","synopsis":"","isRedistributable":true}
