Documentation ¶
Index ¶
- type CloudFoundryAPI
- func (o *CloudFoundryAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
- func (o *CloudFoundryAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
- func (o *CloudFoundryAPI) Authorizer() runtime.Authorizer
- func (o *CloudFoundryAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
- func (o *CloudFoundryAPI) Context() *middleware.Context
- func (o *CloudFoundryAPI) DefaultConsumes() string
- func (o *CloudFoundryAPI) DefaultProduces() string
- func (o *CloudFoundryAPI) Formats() strfmt.Registry
- func (o *CloudFoundryAPI) HandlerFor(method, path string) (http.Handler, bool)
- func (o *CloudFoundryAPI) Init()
- func (o *CloudFoundryAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
- func (o *CloudFoundryAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
- func (o *CloudFoundryAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
- func (o *CloudFoundryAPI) RegisterProducer(mediaType string, producer runtime.Producer)
- func (o *CloudFoundryAPI) Serve(builder middleware.Builder) http.Handler
- func (o *CloudFoundryAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
- func (o *CloudFoundryAPI) SetDefaultConsumes(mediaType string)
- func (o *CloudFoundryAPI) SetDefaultProduces(mediaType string)
- func (o *CloudFoundryAPI) SetSpec(spec *loads.Document)
- func (o *CloudFoundryAPI) UseRedoc()
- func (o *CloudFoundryAPI) UseSwaggerUI()
- func (o *CloudFoundryAPI) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudFoundryAPI ¶
type CloudFoundryAPI struct { Middleware func(middleware.Builder) http.Handler // BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator // APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator // BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator // JSONConsumer registers a consumer for the following mime types: // - application/json JSONConsumer runtime.Consumer // MultipartformConsumer registers a consumer for the following mime types: // - multipart/form-data MultipartformConsumer runtime.Consumer // UrlformConsumer registers a consumer for the following mime types: // - application/x-www-form-urlencoded UrlformConsumer runtime.Consumer // JSONProducer registers a producer for the following mime types: // - application/json JSONProducer runtime.Producer // AuthGetAuthLoginHandler sets the operation handler for the get auth login operation AuthGetAuthLoginHandler auth.GetAuthLoginHandler // AuthPostAuthOauthTokenHandler sets the operation handler for the post auth oauth token operation AuthPostAuthOauthTokenHandler auth.PostAuthOauthTokenHandler // RoutesAssociateAppWithRouteHandler sets the operation handler for the associate app with route operation RoutesAssociateAppWithRouteHandler routes.AssociateAppWithRouteHandler // UsersAssociateAuditedOrganizationWithUserHandler sets the operation handler for the associate audited organization with user operation UsersAssociateAuditedOrganizationWithUserHandler users.AssociateAuditedOrganizationWithUserHandler // UsersAssociateAuditedSpaceWithUserHandler sets the operation handler for the associate audited space with user operation UsersAssociateAuditedSpaceWithUserHandler users.AssociateAuditedSpaceWithUserHandler // OrganizationsAssociateAuditorWithOrganizationHandler sets the operation handler for the associate auditor with organization operation OrganizationsAssociateAuditorWithOrganizationHandler organizations.AssociateAuditorWithOrganizationHandler // SpacesAssociateAuditorWithSpaceHandler sets the operation handler for the associate auditor with space operation SpacesAssociateAuditorWithSpaceHandler spaces.AssociateAuditorWithSpaceHandler // UsersAssociateBillingManagedOrganizationWithUserHandler sets the operation handler for the associate billing managed organization with user operation UsersAssociateBillingManagedOrganizationWithUserHandler users.AssociateBillingManagedOrganizationWithUserHandler // OrganizationsAssociateBillingManagerWithOrganizationHandler sets the operation handler for the associate billing manager with organization operation OrganizationsAssociateBillingManagerWithOrganizationHandler organizations.AssociateBillingManagerWithOrganizationHandler // SpacesAssociateDeveloperWithSpaceHandler sets the operation handler for the associate developer with space operation SpacesAssociateDeveloperWithSpaceHandler spaces.AssociateDeveloperWithSpaceHandler // UsersAssociateManagedOrganizationWithUserHandler sets the operation handler for the associate managed organization with user operation UsersAssociateManagedOrganizationWithUserHandler users.AssociateManagedOrganizationWithUserHandler // UsersAssociateManagedSpaceWithUserHandler sets the operation handler for the associate managed space with user operation UsersAssociateManagedSpaceWithUserHandler users.AssociateManagedSpaceWithUserHandler // OrganizationsAssociateManagerWithOrganizationHandler sets the operation handler for the associate manager with organization operation OrganizationsAssociateManagerWithOrganizationHandler organizations.AssociateManagerWithOrganizationHandler // SpacesAssociateManagerWithSpaceHandler sets the operation handler for the associate manager with space operation SpacesAssociateManagerWithSpaceHandler spaces.AssociateManagerWithSpaceHandler // UsersAssociateOrganizationWithUserHandler sets the operation handler for the associate organization with user operation UsersAssociateOrganizationWithUserHandler users.AssociateOrganizationWithUserHandler // AppsAssociateRouteWithAppHandler sets the operation handler for the associate route with app operation AppsAssociateRouteWithAppHandler apps.AssociateRouteWithAppHandler // SpacesAssociateSecurityGroupWithSpaceHandler sets the operation handler for the associate security group with space operation SpacesAssociateSecurityGroupWithSpaceHandler spaces.AssociateSecurityGroupWithSpaceHandler // SecurityGroupsAssociateSpaceWithSecurityGroupHandler sets the operation handler for the associate space with security group operation SecurityGroupsAssociateSpaceWithSecurityGroupHandler security_groups.AssociateSpaceWithSecurityGroupHandler // SpaceQuotaDefinitionsAssociateSpaceWithSpaceQuotaDefinitionHandler sets the operation handler for the associate space with space quota definition operation SpaceQuotaDefinitionsAssociateSpaceWithSpaceQuotaDefinitionHandler space_quota_definitions.AssociateSpaceWithSpaceQuotaDefinitionHandler // UsersAssociateSpaceWithUserHandler sets the operation handler for the associate space with user operation UsersAssociateSpaceWithUserHandler users.AssociateSpaceWithUserHandler // OrganizationsAssociateUserWithOrganizationHandler sets the operation handler for the associate user with organization operation OrganizationsAssociateUserWithOrganizationHandler organizations.AssociateUserWithOrganizationHandler // RoutesCheckRouteExistsHandler sets the operation handler for the check route exists operation RoutesCheckRouteExistsHandler routes.CheckRouteExistsHandler // AppsCopyAppBitsForAppHandler sets the operation handler for the copy app bits for app operation AppsCopyAppBitsForAppHandler apps.CopyAppBitsForAppHandler // AppsCreateAppHandler sets the operation handler for the create app operation AppsCreateAppHandler apps.CreateAppHandler // OrganizationsCreateOrganizationHandler sets the operation handler for the create organization operation OrganizationsCreateOrganizationHandler organizations.CreateOrganizationHandler // OrganizationQuotaDefinitionsCreateOrganizationQuotaDefinitionHandler sets the operation handler for the create organization quota definition operation OrganizationQuotaDefinitionsCreateOrganizationQuotaDefinitionHandler organization_quota_definitions.CreateOrganizationQuotaDefinitionHandler // PrivateDomainsCreatePrivateDomainOwnedByGivenOrganizationHandler sets the operation handler for the create private domain owned by given organization operation PrivateDomainsCreatePrivateDomainOwnedByGivenOrganizationHandler private_domains.CreatePrivateDomainOwnedByGivenOrganizationHandler // RoutesCreateRouteHandler sets the operation handler for the create route operation RoutesCreateRouteHandler routes.CreateRouteHandler // SecurityGroupsCreateSecurityGroupHandler sets the operation handler for the create security group operation SecurityGroupsCreateSecurityGroupHandler security_groups.CreateSecurityGroupHandler // ServiceBindingsCreateServiceBindingHandler sets the operation handler for the create service binding operation ServiceBindingsCreateServiceBindingHandler service_bindings.CreateServiceBindingHandler // ServiceBrokersCreateServiceBrokerHandler sets the operation handler for the create service broker operation ServiceBrokersCreateServiceBrokerHandler service_brokers.CreateServiceBrokerHandler // ServicesCreateServiceDeprecatedHandler sets the operation handler for the create service deprecated operation ServicesCreateServiceDeprecatedHandler services.CreateServiceDeprecatedHandler // ServiceInstancesCreateServiceInstanceHandler sets the operation handler for the create service instance operation ServiceInstancesCreateServiceInstanceHandler service_instances.CreateServiceInstanceHandler // ServicePlansCreateServicePlanDeprecatedHandler sets the operation handler for the create service plan deprecated operation ServicePlansCreateServicePlanDeprecatedHandler service_plans.CreateServicePlanDeprecatedHandler // ServicePlanVisibilitiesCreateServicePlanVisibilityHandler sets the operation handler for the create service plan visibility operation ServicePlanVisibilitiesCreateServicePlanVisibilityHandler service_plan_visibilities.CreateServicePlanVisibilityHandler SharedDomainsCreateSharedDomainHandler shared_domains.CreateSharedDomainHandler // SpacesCreateSpaceHandler sets the operation handler for the create space operation SpacesCreateSpaceHandler spaces.CreateSpaceHandler // SpaceQuotaDefinitionsCreateSpaceQuotaDefinitionHandler sets the operation handler for the create space quota definition operation SpaceQuotaDefinitionsCreateSpaceQuotaDefinitionHandler space_quota_definitions.CreateSpaceQuotaDefinitionHandler // UsersCreateUserHandler sets the operation handler for the create user operation UsersCreateUserHandler users.CreateUserHandler // UserProvidedServiceInstancesCreateUserProvidedServiceInstanceHandler sets the operation handler for the create user provided service instance operation UserProvidedServiceInstancesCreateUserProvidedServiceInstanceHandler user_provided_service_instances.CreateUserProvidedServiceInstanceHandler // BuildpacksCreatesAdminBuildpackHandler sets the operation handler for the creates admin buildpack operation BuildpacksCreatesAdminBuildpackHandler buildpacks.CreatesAdminBuildpackHandler // DomainsDeprecatedCreatesDomainOwnedByGivenOrganizationDeprecatedHandler sets the operation handler for the creates domain owned by given organization deprecated operation DomainsDeprecatedCreatesDomainOwnedByGivenOrganizationDeprecatedHandler domains_deprecated.CreatesDomainOwnedByGivenOrganizationDeprecatedHandler // AppsDeleteAppHandler sets the operation handler for the delete app operation AppsDeleteAppHandler apps.DeleteAppHandler // BuildpacksDeleteBuildpackHandler sets the operation handler for the delete buildpack operation BuildpacksDeleteBuildpackHandler buildpacks.DeleteBuildpackHandler // DomainsDeprecatedDeleteDomainDeprecatedHandler sets the operation handler for the delete domain deprecated operation DomainsDeprecatedDeleteDomainDeprecatedHandler domains_deprecated.DeleteDomainDeprecatedHandler // OrganizationsDeleteOrganizationHandler sets the operation handler for the delete organization operation OrganizationsDeleteOrganizationHandler organizations.DeleteOrganizationHandler // OrganizationQuotaDefinitionsDeleteOrganizationQuotaDefinitionHandler sets the operation handler for the delete organization quota definition operation OrganizationQuotaDefinitionsDeleteOrganizationQuotaDefinitionHandler organization_quota_definitions.DeleteOrganizationQuotaDefinitionHandler // PrivateDomainsDeletePrivateDomainHandler sets the operation handler for the delete private domain operation PrivateDomainsDeletePrivateDomainHandler private_domains.DeletePrivateDomainHandler // RoutesDeleteRouteHandler sets the operation handler for the delete route operation RoutesDeleteRouteHandler routes.DeleteRouteHandler // SecurityGroupsDeleteSecurityGroupHandler sets the operation handler for the delete security group operation SecurityGroupsDeleteSecurityGroupHandler security_groups.DeleteSecurityGroupHandler // ServicesDeleteServiceHandler sets the operation handler for the delete service operation ServicesDeleteServiceHandler services.DeleteServiceHandler // ServiceAuthTokensDeprecatedDeleteServiceAuthTokenDeprecatedHandler sets the operation handler for the delete service auth token deprecated operation ServiceAuthTokensDeprecatedDeleteServiceAuthTokenDeprecatedHandler service_auth_tokens_deprecated.DeleteServiceAuthTokenDeprecatedHandler // ServiceBindingsDeleteServiceBindingHandler sets the operation handler for the delete service binding operation ServiceBindingsDeleteServiceBindingHandler service_bindings.DeleteServiceBindingHandler // ServiceBrokersDeleteServiceBrokerHandler sets the operation handler for the delete service broker operation ServiceBrokersDeleteServiceBrokerHandler service_brokers.DeleteServiceBrokerHandler // ServiceInstancesDeleteServiceInstanceHandler sets the operation handler for the delete service instance operation ServiceInstancesDeleteServiceInstanceHandler service_instances.DeleteServiceInstanceHandler // ServicePlanVisibilitiesDeleteServicePlanVisibilitiesHandler sets the operation handler for the delete service plan visibilities operation ServicePlanVisibilitiesDeleteServicePlanVisibilitiesHandler service_plan_visibilities.DeleteServicePlanVisibilitiesHandler // ServicePlansDeleteServicePlansHandler sets the operation handler for the delete service plans operation ServicePlansDeleteServicePlansHandler service_plans.DeleteServicePlansHandler SharedDomainsDeleteSharedDomainHandler shared_domains.DeleteSharedDomainHandler // SpacesDeleteSpaceHandler sets the operation handler for the delete space operation SpacesDeleteSpaceHandler spaces.DeleteSpaceHandler // SpaceQuotaDefinitionsDeleteSpaceQuotaDefinitionHandler sets the operation handler for the delete space quota definition operation SpaceQuotaDefinitionsDeleteSpaceQuotaDefinitionHandler space_quota_definitions.DeleteSpaceQuotaDefinitionHandler // StacksDeleteStackHandler sets the operation handler for the delete stack operation StacksDeleteStackHandler stacks.DeleteStackHandler // UsersDeleteUserHandler sets the operation handler for the delete user operation UsersDeleteUserHandler users.DeleteUserHandler // UserProvidedServiceInstancesDeleteUserProvidedServiceInstanceHandler sets the operation handler for the delete user provided service instance operation UserProvidedServiceInstancesDeleteUserProvidedServiceInstanceHandler user_provided_service_instances.DeleteUserProvidedServiceInstanceHandler // AppsDownloadsBitsForAppHandler sets the operation handler for the downloads bits for app operation AppsDownloadsBitsForAppHandler apps.DownloadsBitsForAppHandler // PrivateDomainsFilterPrivateDomainsByNameHandler sets the operation handler for the filter private domains by name operation PrivateDomainsFilterPrivateDomainsByNameHandler private_domains.FilterPrivateDomainsByNameHandler // ServiceAuthTokensDeprecatedFilterResultSetByLabelDeprecatedHandler sets the operation handler for the filter result set by label deprecated operation ServiceAuthTokensDeprecatedFilterResultSetByLabelDeprecatedHandler service_auth_tokens_deprecated.FilterResultSetByLabelDeprecatedHandler // FeatureFlagsGetAllFeatureFlagsHandler sets the operation handler for the get all feature flags operation FeatureFlagsGetAllFeatureFlagsHandler feature_flags.GetAllFeatureFlagsHandler // FeatureFlagsGetAppBitsUploadFeatureFlagHandler sets the operation handler for the get app bits upload feature flag operation FeatureFlagsGetAppBitsUploadFeatureFlagHandler feature_flags.GetAppBitsUploadFeatureFlagHandler // FeatureFlagsGetAppScalingFeatureFlagHandler sets the operation handler for the get app scaling feature flag operation FeatureFlagsGetAppScalingFeatureFlagHandler feature_flags.GetAppScalingFeatureFlagHandler // AppsGetAppSummaryHandler sets the operation handler for the get app summary operation AppsGetAppSummaryHandler apps.GetAppSummaryHandler // AppsGetDetailedStatsForStartedAppHandler sets the operation handler for the get detailed stats for started app operation AppsGetDetailedStatsForStartedAppHandler apps.GetDetailedStatsForStartedAppHandler // AppsGetEnvForAppHandler sets the operation handler for the get env for app operation AppsGetEnvForAppHandler apps.GetEnvForAppHandler // InfoGetInfoHandler sets the operation handler for the get info operation InfoGetInfoHandler info.GetInfoHandler // AppsGetInstanceInformationForStartedAppHandler sets the operation handler for the get instance information for started app operation AppsGetInstanceInformationForStartedAppHandler apps.GetInstanceInformationForStartedAppHandler // OrganizationsGetOrganizationSummaryHandler sets the operation handler for the get organization summary operation OrganizationsGetOrganizationSummaryHandler organizations.GetOrganizationSummaryHandler // FeatureFlagsGetPrivateDomainCreationFeatureFlagHandler sets the operation handler for the get private domain creation feature flag operation FeatureFlagsGetPrivateDomainCreationFeatureFlagHandler feature_flags.GetPrivateDomainCreationFeatureFlagHandler // FeatureFlagsGetRouteCreationFeatureFlagHandler sets the operation handler for the get route creation feature flag operation FeatureFlagsGetRouteCreationFeatureFlagHandler feature_flags.GetRouteCreationFeatureFlagHandler // FeatureFlagsGetServiceInstanceCreationFeatureFlagHandler sets the operation handler for the get service instance creation feature flag operation FeatureFlagsGetServiceInstanceCreationFeatureFlagHandler feature_flags.GetServiceInstanceCreationFeatureFlagHandler // SpacesGetSpaceSummaryHandler sets the operation handler for the get space summary operation SpacesGetSpaceSummaryHandler spaces.GetSpaceSummaryHandler // FeatureFlagsGetUserOrgCreationFeatureFlagHandler sets the operation handler for the get user org creation feature flag operation FeatureFlagsGetUserOrgCreationFeatureFlagHandler feature_flags.GetUserOrgCreationFeatureFlagHandler // UsersGetUserSummaryHandler sets the operation handler for the get user summary operation UsersGetUserSummaryHandler users.GetUserSummaryHandler // EnvironmentVariableGroupsGettingContentsOfRunningEnvironmentVariableGroupHandler sets the operation handler for the getting contents of running environment variable group operation EnvironmentVariableGroupsGettingContentsOfRunningEnvironmentVariableGroupHandler environment_variable_groups.GettingContentsOfRunningEnvironmentVariableGroupHandler // EnvironmentVariableGroupsGettingContentsOfStagingEnvironmentVariableGroupHandler sets the operation handler for the getting contents of staging environment variable group operation EnvironmentVariableGroupsGettingContentsOfStagingEnvironmentVariableGroupHandler environment_variable_groups.GettingContentsOfStagingEnvironmentVariableGroupHandler // AppUsageEventsListAllAppUsageEventsHandler sets the operation handler for the list all app usage events operation AppUsageEventsListAllAppUsageEventsHandler app_usage_events.ListAllAppUsageEventsHandler // AppsListAllAppsHandler sets the operation handler for the list all apps operation AppsListAllAppsHandler apps.ListAllAppsHandler // RoutesListAllAppsForRouteHandler sets the operation handler for the list all apps for route operation RoutesListAllAppsForRouteHandler routes.ListAllAppsForRouteHandler // SpacesListAllAppsForSpaceHandler sets the operation handler for the list all apps for space operation SpacesListAllAppsForSpaceHandler spaces.ListAllAppsForSpaceHandler // UsersListAllAuditedOrganizationsForUserHandler sets the operation handler for the list all audited organizations for user operation UsersListAllAuditedOrganizationsForUserHandler users.ListAllAuditedOrganizationsForUserHandler // UsersListAllAuditedSpacesForUserHandler sets the operation handler for the list all audited spaces for user operation UsersListAllAuditedSpacesForUserHandler users.ListAllAuditedSpacesForUserHandler // OrganizationsListAllAuditorsForOrganizationHandler sets the operation handler for the list all auditors for organization operation OrganizationsListAllAuditorsForOrganizationHandler organizations.ListAllAuditorsForOrganizationHandler // SpacesListAllAuditorsForSpaceHandler sets the operation handler for the list all auditors for space operation SpacesListAllAuditorsForSpaceHandler spaces.ListAllAuditorsForSpaceHandler // UsersListAllBillingManagedOrganizationsForUserHandler sets the operation handler for the list all billing managed organizations for user operation UsersListAllBillingManagedOrganizationsForUserHandler users.ListAllBillingManagedOrganizationsForUserHandler // OrganizationsListAllBillingManagersForOrganizationHandler sets the operation handler for the list all billing managers for organization operation OrganizationsListAllBillingManagersForOrganizationHandler organizations.ListAllBillingManagersForOrganizationHandler // BuildpacksListAllBuildpacksHandler sets the operation handler for the list all buildpacks operation BuildpacksListAllBuildpacksHandler buildpacks.ListAllBuildpacksHandler // SpacesListAllDevelopersForSpaceHandler sets the operation handler for the list all developers for space operation SpacesListAllDevelopersForSpaceHandler spaces.ListAllDevelopersForSpaceHandler // DomainsDeprecatedListAllDomainsDeprecatedHandler sets the operation handler for the list all domains deprecated operation DomainsDeprecatedListAllDomainsDeprecatedHandler domains_deprecated.ListAllDomainsDeprecatedHandler // OrganizationsListAllDomainsForOrganizationDeprecatedHandler sets the operation handler for the list all domains for organization deprecated operation OrganizationsListAllDomainsForOrganizationDeprecatedHandler organizations.ListAllDomainsForOrganizationDeprecatedHandler // SpacesListAllDomainsForSpaceDeprecatedHandler sets the operation handler for the list all domains for space deprecated operation SpacesListAllDomainsForSpaceDeprecatedHandler spaces.ListAllDomainsForSpaceDeprecatedHandler // SpacesListAllEventsForSpaceHandler sets the operation handler for the list all events for space operation SpacesListAllEventsForSpaceHandler spaces.ListAllEventsForSpaceHandler // UsersListAllManagedOrganizationsForUserHandler sets the operation handler for the list all managed organizations for user operation UsersListAllManagedOrganizationsForUserHandler users.ListAllManagedOrganizationsForUserHandler // UsersListAllManagedSpacesForUserHandler sets the operation handler for the list all managed spaces for user operation UsersListAllManagedSpacesForUserHandler users.ListAllManagedSpacesForUserHandler // OrganizationsListAllManagersForOrganizationHandler sets the operation handler for the list all managers for organization operation OrganizationsListAllManagersForOrganizationHandler organizations.ListAllManagersForOrganizationHandler // SpacesListAllManagersForSpaceHandler sets the operation handler for the list all managers for space operation SpacesListAllManagersForSpaceHandler spaces.ListAllManagersForSpaceHandler // ResourceMatchListAllMatchingResourcesHandler sets the operation handler for the list all matching resources operation ResourceMatchListAllMatchingResourcesHandler resource_match.ListAllMatchingResourcesHandler // OrganizationQuotaDefinitionsListAllOrganizationQuotaDefinitionsHandler sets the operation handler for the list all organization quota definitions operation OrganizationQuotaDefinitionsListAllOrganizationQuotaDefinitionsHandler organization_quota_definitions.ListAllOrganizationQuotaDefinitionsHandler // OrganizationsListAllOrganizationsHandler sets the operation handler for the list all organizations operation OrganizationsListAllOrganizationsHandler organizations.ListAllOrganizationsHandler // UsersListAllOrganizationsForUserHandler sets the operation handler for the list all organizations for user operation UsersListAllOrganizationsForUserHandler users.ListAllOrganizationsForUserHandler // OrganizationsListAllPrivateDomainsForOrganizationHandler sets the operation handler for the list all private domains for organization operation OrganizationsListAllPrivateDomainsForOrganizationHandler organizations.ListAllPrivateDomainsForOrganizationHandler // RoutesListAllRoutesHandler sets the operation handler for the list all routes operation RoutesListAllRoutesHandler routes.ListAllRoutesHandler // AppsListAllRoutesForAppHandler sets the operation handler for the list all routes for app operation AppsListAllRoutesForAppHandler apps.ListAllRoutesForAppHandler // SpacesListAllRoutesForSpaceHandler sets the operation handler for the list all routes for space operation SpacesListAllRoutesForSpaceHandler spaces.ListAllRoutesForSpaceHandler // SecurityGroupsListAllSecurityGroupsHandler sets the operation handler for the list all security groups operation SecurityGroupsListAllSecurityGroupsHandler security_groups.ListAllSecurityGroupsHandler // SpacesListAllSecurityGroupsForSpaceHandler sets the operation handler for the list all security groups for space operation SpacesListAllSecurityGroupsForSpaceHandler spaces.ListAllSecurityGroupsForSpaceHandler // ServiceBindingsListAllServiceBindingsHandler sets the operation handler for the list all service bindings operation ServiceBindingsListAllServiceBindingsHandler service_bindings.ListAllServiceBindingsHandler // AppsListAllServiceBindingsForAppHandler sets the operation handler for the list all service bindings for app operation AppsListAllServiceBindingsForAppHandler apps.ListAllServiceBindingsForAppHandler // ServiceInstancesListAllServiceBindingsForServiceInstanceHandler sets the operation handler for the list all service bindings for service instance operation ServiceInstancesListAllServiceBindingsForServiceInstanceHandler service_instances.ListAllServiceBindingsForServiceInstanceHandler // UserProvidedServiceInstancesListAllServiceBindingsForUserProvidedServiceInstanceHandler sets the operation handler for the list all service bindings for user provided service instance operation UserProvidedServiceInstancesListAllServiceBindingsForUserProvidedServiceInstanceHandler user_provided_service_instances.ListAllServiceBindingsForUserProvidedServiceInstanceHandler // ServiceBrokersListAllServiceBrokersHandler sets the operation handler for the list all service brokers operation ServiceBrokersListAllServiceBrokersHandler service_brokers.ListAllServiceBrokersHandler // ServiceInstancesListAllServiceInstancesHandler sets the operation handler for the list all service instances operation ServiceInstancesListAllServiceInstancesHandler service_instances.ListAllServiceInstancesHandler // SpacesListAllServiceInstancesForSpaceHandler sets the operation handler for the list all service instances for space operation SpacesListAllServiceInstancesForSpaceHandler spaces.ListAllServiceInstancesForSpaceHandler // ServicePlanVisibilitiesListAllServicePlanVisibilitiesHandler sets the operation handler for the list all service plan visibilities operation ServicePlanVisibilitiesListAllServicePlanVisibilitiesHandler service_plan_visibilities.ListAllServicePlanVisibilitiesHandler // ServicePlansListAllServicePlansHandler sets the operation handler for the list all service plans operation ServicePlansListAllServicePlansHandler service_plans.ListAllServicePlansHandler // ServicesListAllServicePlansForServiceHandler sets the operation handler for the list all service plans for service operation ServicesListAllServicePlansForServiceHandler services.ListAllServicePlansForServiceHandler // ServicesListAllServicesHandler sets the operation handler for the list all services operation ServicesListAllServicesHandler services.ListAllServicesHandler // OrganizationsListAllServicesForOrganizationHandler sets the operation handler for the list all services for organization operation OrganizationsListAllServicesForOrganizationHandler organizations.ListAllServicesForOrganizationHandler // SpacesListAllServicesForSpaceHandler sets the operation handler for the list all services for space operation SpacesListAllServicesForSpaceHandler spaces.ListAllServicesForSpaceHandler SharedDomainsListAllSharedDomainsHandler shared_domains.ListAllSharedDomainsHandler // SpaceQuotaDefinitionsListAllSpaceQuotaDefinitionsHandler sets the operation handler for the list all space quota definitions operation SpaceQuotaDefinitionsListAllSpaceQuotaDefinitionsHandler space_quota_definitions.ListAllSpaceQuotaDefinitionsHandler // OrganizationsListAllSpaceQuotaDefinitionsForOrganizationHandler sets the operation handler for the list all space quota definitions for organization operation OrganizationsListAllSpaceQuotaDefinitionsForOrganizationHandler organizations.ListAllSpaceQuotaDefinitionsForOrganizationHandler // SpacesListAllSpacesHandler sets the operation handler for the list all spaces operation SpacesListAllSpacesHandler spaces.ListAllSpacesHandler // DomainsDeprecatedListAllSpacesForDomainDeprecatedHandler sets the operation handler for the list all spaces for domain deprecated operation DomainsDeprecatedListAllSpacesForDomainDeprecatedHandler domains_deprecated.ListAllSpacesForDomainDeprecatedHandler // OrganizationsListAllSpacesForOrganizationHandler sets the operation handler for the list all spaces for organization operation OrganizationsListAllSpacesForOrganizationHandler organizations.ListAllSpacesForOrganizationHandler // SecurityGroupsListAllSpacesForSecurityGroupHandler sets the operation handler for the list all spaces for security group operation SecurityGroupsListAllSpacesForSecurityGroupHandler security_groups.ListAllSpacesForSecurityGroupHandler // SpaceQuotaDefinitionsListAllSpacesForSpaceQuotaDefinitionHandler sets the operation handler for the list all spaces for space quota definition operation SpaceQuotaDefinitionsListAllSpacesForSpaceQuotaDefinitionHandler space_quota_definitions.ListAllSpacesForSpaceQuotaDefinitionHandler // UsersListAllSpacesForUserHandler sets the operation handler for the list all spaces for user operation UsersListAllSpacesForUserHandler users.ListAllSpacesForUserHandler // StacksListAllStacksHandler sets the operation handler for the list all stacks operation StacksListAllStacksHandler stacks.ListAllStacksHandler // UserProvidedServiceInstancesListAllUserProvidedServiceInstancesHandler sets the operation handler for the list all user provided service instances operation UserProvidedServiceInstancesListAllUserProvidedServiceInstancesHandler user_provided_service_instances.ListAllUserProvidedServiceInstancesHandler // UsersListAllUsersHandler sets the operation handler for the list all users operation UsersListAllUsersHandler users.ListAllUsersHandler // OrganizationsListAllUsersForOrganizationHandler sets the operation handler for the list all users for organization operation OrganizationsListAllUsersForOrganizationHandler organizations.ListAllUsersForOrganizationHandler // EventsListServiceBrokerDeleteEventsExperimentalHandler sets the operation handler for the list service broker delete events experimental operation EventsListServiceBrokerDeleteEventsExperimentalHandler events.ListServiceBrokerDeleteEventsExperimentalHandler // ServiceUsageEventsExperimentalListServiceUsageEventsHandler sets the operation handler for the list service usage events operation ServiceUsageEventsExperimentalListServiceUsageEventsHandler service_usage_events_experimental.ListServiceUsageEventsHandler // BuildpacksLockOrUnlockBuildpackHandler sets the operation handler for the lock or unlock buildpack operation BuildpacksLockOrUnlockBuildpackHandler buildpacks.LockOrUnlockBuildpackHandler // ServiceInstancesMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandler sets the operation handler for the migrate service instances from one service plan to another service plan experimental operation ServiceInstancesMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandler service_instances.MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandler // AppUsageEventsPurgeAndReseedAppUsageEventsHandler sets the operation handler for the purge and reseed app usage events operation AppUsageEventsPurgeAndReseedAppUsageEventsHandler app_usage_events.PurgeAndReseedAppUsageEventsHandler // ServiceUsageEventsExperimentalPurgeAndReseedServiceUsageEventsHandler sets the operation handler for the purge and reseed service usage events operation ServiceUsageEventsExperimentalPurgeAndReseedServiceUsageEventsHandler service_usage_events_experimental.PurgeAndReseedServiceUsageEventsHandler // RoutesRemoveAppFromRouteHandler sets the operation handler for the remove app from route operation RoutesRemoveAppFromRouteHandler routes.RemoveAppFromRouteHandler // UsersRemoveAuditedOrganizationFromUserHandler sets the operation handler for the remove audited organization from user operation UsersRemoveAuditedOrganizationFromUserHandler users.RemoveAuditedOrganizationFromUserHandler // UsersRemoveAuditedSpaceFromUserHandler sets the operation handler for the remove audited space from user operation UsersRemoveAuditedSpaceFromUserHandler users.RemoveAuditedSpaceFromUserHandler // OrganizationsRemoveAuditorFromOrganizationHandler sets the operation handler for the remove auditor from organization operation OrganizationsRemoveAuditorFromOrganizationHandler organizations.RemoveAuditorFromOrganizationHandler // SpacesRemoveAuditorFromSpaceHandler sets the operation handler for the remove auditor from space operation SpacesRemoveAuditorFromSpaceHandler spaces.RemoveAuditorFromSpaceHandler // UsersRemoveBillingManagedOrganizationFromUserHandler sets the operation handler for the remove billing managed organization from user operation UsersRemoveBillingManagedOrganizationFromUserHandler users.RemoveBillingManagedOrganizationFromUserHandler // OrganizationsRemoveBillingManagerFromOrganizationHandler sets the operation handler for the remove billing manager from organization operation OrganizationsRemoveBillingManagerFromOrganizationHandler organizations.RemoveBillingManagerFromOrganizationHandler // SpacesRemoveDeveloperFromSpaceHandler sets the operation handler for the remove developer from space operation SpacesRemoveDeveloperFromSpaceHandler spaces.RemoveDeveloperFromSpaceHandler // UsersRemoveManagedOrganizationFromUserHandler sets the operation handler for the remove managed organization from user operation UsersRemoveManagedOrganizationFromUserHandler users.RemoveManagedOrganizationFromUserHandler // UsersRemoveManagedSpaceFromUserHandler sets the operation handler for the remove managed space from user operation UsersRemoveManagedSpaceFromUserHandler users.RemoveManagedSpaceFromUserHandler // OrganizationsRemoveManagerFromOrganizationHandler sets the operation handler for the remove manager from organization operation OrganizationsRemoveManagerFromOrganizationHandler organizations.RemoveManagerFromOrganizationHandler // SpacesRemoveManagerFromSpaceHandler sets the operation handler for the remove manager from space operation SpacesRemoveManagerFromSpaceHandler spaces.RemoveManagerFromSpaceHandler // UsersRemoveOrganizationFromUserHandler sets the operation handler for the remove organization from user operation UsersRemoveOrganizationFromUserHandler users.RemoveOrganizationFromUserHandler // AppsRemoveRouteFromAppHandler sets the operation handler for the remove route from app operation AppsRemoveRouteFromAppHandler apps.RemoveRouteFromAppHandler // SpacesRemoveSecurityGroupFromSpaceHandler sets the operation handler for the remove security group from space operation SpacesRemoveSecurityGroupFromSpaceHandler spaces.RemoveSecurityGroupFromSpaceHandler // AppsRemoveServiceBindingFromAppHandler sets the operation handler for the remove service binding from app operation AppsRemoveServiceBindingFromAppHandler apps.RemoveServiceBindingFromAppHandler // SecurityGroupsRemoveSpaceFromSecurityGroupHandler sets the operation handler for the remove space from security group operation SecurityGroupsRemoveSpaceFromSecurityGroupHandler security_groups.RemoveSpaceFromSecurityGroupHandler // SpaceQuotaDefinitionsRemoveSpaceFromSpaceQuotaDefinitionHandler sets the operation handler for the remove space from space quota definition operation SpaceQuotaDefinitionsRemoveSpaceFromSpaceQuotaDefinitionHandler space_quota_definitions.RemoveSpaceFromSpaceQuotaDefinitionHandler // UsersRemoveSpaceFromUserHandler sets the operation handler for the remove space from user operation UsersRemoveSpaceFromUserHandler users.RemoveSpaceFromUserHandler // OrganizationsRemoveUserFromOrganizationHandler sets the operation handler for the remove user from organization operation OrganizationsRemoveUserFromOrganizationHandler organizations.RemoveUserFromOrganizationHandler // SecurityGroupRunningDefaultsRemovingSecurityGroupAsDefaultForRunningAppsHandler sets the operation handler for the removing security group as default for running apps operation SecurityGroupRunningDefaultsRemovingSecurityGroupAsDefaultForRunningAppsHandler security_group_running_defaults.RemovingSecurityGroupAsDefaultForRunningAppsHandler // SecurityGroupStagingDefaultsRemovingSecurityGroupAsDefaultForStagingHandler sets the operation handler for the removing security group as default for staging operation SecurityGroupStagingDefaultsRemovingSecurityGroupAsDefaultForStagingHandler security_group_staging_defaults.RemovingSecurityGroupAsDefaultForStagingHandler // AppsRestageAppHandler sets the operation handler for the restage app operation AppsRestageAppHandler apps.RestageAppHandler // AppsRetrieveAppHandler sets the operation handler for the retrieve app operation AppsRetrieveAppHandler apps.RetrieveAppHandler // AppUsageEventsRetrieveAppUsageEventHandler sets the operation handler for the retrieve app usage event operation AppUsageEventsRetrieveAppUsageEventHandler app_usage_events.RetrieveAppUsageEventHandler // BuildpacksRetrieveBuildpackHandler sets the operation handler for the retrieve buildpack operation BuildpacksRetrieveBuildpackHandler buildpacks.RetrieveBuildpackHandler // DomainsDeprecatedRetrieveDomainDeprecatedHandler sets the operation handler for the retrieve domain deprecated operation DomainsDeprecatedRetrieveDomainDeprecatedHandler domains_deprecated.RetrieveDomainDeprecatedHandler // EventsRetrieveEventHandler sets the operation handler for the retrieve event operation EventsRetrieveEventHandler events.RetrieveEventHandler // FilesRetrieveFileHandler sets the operation handler for the retrieve file operation FilesRetrieveFileHandler files.RetrieveFileHandler // JobsRetrieveJobThatWasSuccessfulHandler sets the operation handler for the retrieve job that was successful operation JobsRetrieveJobThatWasSuccessfulHandler jobs.RetrieveJobThatWasSuccessfulHandler // OrganizationsRetrieveOrganizationHandler sets the operation handler for the retrieve organization operation OrganizationsRetrieveOrganizationHandler organizations.RetrieveOrganizationHandler // OrganizationQuotaDefinitionsRetrieveOrganizationQuotaDefinitionHandler sets the operation handler for the retrieve organization quota definition operation OrganizationQuotaDefinitionsRetrieveOrganizationQuotaDefinitionHandler organization_quota_definitions.RetrieveOrganizationQuotaDefinitionHandler // PrivateDomainsRetrievePrivateDomainHandler sets the operation handler for the retrieve private domain operation PrivateDomainsRetrievePrivateDomainHandler private_domains.RetrievePrivateDomainHandler // RoutesRetrieveRouteHandler sets the operation handler for the retrieve route operation RoutesRetrieveRouteHandler routes.RetrieveRouteHandler // SecurityGroupsRetrieveSecurityGroupHandler sets the operation handler for the retrieve security group operation SecurityGroupsRetrieveSecurityGroupHandler security_groups.RetrieveSecurityGroupHandler // ServicesRetrieveServiceHandler sets the operation handler for the retrieve service operation ServicesRetrieveServiceHandler services.RetrieveServiceHandler // ServiceAuthTokensDeprecatedRetrieveServiceAuthTokenDeprecatedHandler sets the operation handler for the retrieve service auth token deprecated operation ServiceAuthTokensDeprecatedRetrieveServiceAuthTokenDeprecatedHandler service_auth_tokens_deprecated.RetrieveServiceAuthTokenDeprecatedHandler // ServiceBindingsRetrieveServiceBindingHandler sets the operation handler for the retrieve service binding operation ServiceBindingsRetrieveServiceBindingHandler service_bindings.RetrieveServiceBindingHandler // ServiceBrokersRetrieveServiceBrokerHandler sets the operation handler for the retrieve service broker operation ServiceBrokersRetrieveServiceBrokerHandler service_brokers.RetrieveServiceBrokerHandler // ServiceInstancesRetrieveServiceInstanceHandler sets the operation handler for the retrieve service instance operation ServiceInstancesRetrieveServiceInstanceHandler service_instances.RetrieveServiceInstanceHandler // ServicePlansRetrieveServicePlanHandler sets the operation handler for the retrieve service plan operation ServicePlansRetrieveServicePlanHandler service_plans.RetrieveServicePlanHandler // ServicePlanVisibilitiesRetrieveServicePlanVisibilityHandler sets the operation handler for the retrieve service plan visibility operation ServicePlanVisibilitiesRetrieveServicePlanVisibilityHandler service_plan_visibilities.RetrieveServicePlanVisibilityHandler // ServiceUsageEventsExperimentalRetrieveServiceUsageEventHandler sets the operation handler for the retrieve service usage event operation ServiceUsageEventsExperimentalRetrieveServiceUsageEventHandler service_usage_events_experimental.RetrieveServiceUsageEventHandler SharedDomainsRetrieveSharedDomainHandler shared_domains.RetrieveSharedDomainHandler // SpacesRetrieveSpaceHandler sets the operation handler for the retrieve space operation SpacesRetrieveSpaceHandler spaces.RetrieveSpaceHandler // SpaceQuotaDefinitionsRetrieveSpaceQuotaDefinitionHandler sets the operation handler for the retrieve space quota definition operation SpaceQuotaDefinitionsRetrieveSpaceQuotaDefinitionHandler space_quota_definitions.RetrieveSpaceQuotaDefinitionHandler // StacksRetrieveStackHandler sets the operation handler for the retrieve stack operation StacksRetrieveStackHandler stacks.RetrieveStackHandler // UsersRetrieveUserHandler sets the operation handler for the retrieve user operation UsersRetrieveUserHandler users.RetrieveUserHandler // UserProvidedServiceInstancesRetrieveUserProvidedServiceInstanceHandler sets the operation handler for the retrieve user provided service instance operation UserProvidedServiceInstancesRetrieveUserProvidedServiceInstanceHandler user_provided_service_instances.RetrieveUserProvidedServiceInstanceHandler // OrganizationsRetrievingOrganizationMemoryUsageHandler sets the operation handler for the retrieving organization memory usage operation OrganizationsRetrievingOrganizationMemoryUsageHandler organizations.RetrievingOrganizationMemoryUsageHandler // ServiceInstancesRetrievingPermissionsOnServiceInstanceHandler sets the operation handler for the retrieving permissions on service instance operation ServiceInstancesRetrievingPermissionsOnServiceInstanceHandler service_instances.RetrievingPermissionsOnServiceInstanceHandler // SecurityGroupRunningDefaultsReturnSecurityGroupsUsedForRunningAppsHandler sets the operation handler for the return security groups used for running apps operation SecurityGroupRunningDefaultsReturnSecurityGroupsUsedForRunningAppsHandler security_group_running_defaults.ReturnSecurityGroupsUsedForRunningAppsHandler // SecurityGroupStagingDefaultsReturnSecurityGroupsUsedForStagingHandler sets the operation handler for the return security groups used for staging operation SecurityGroupStagingDefaultsReturnSecurityGroupsUsedForStagingHandler security_group_staging_defaults.ReturnSecurityGroupsUsedForStagingHandler // FeatureFlagsSetFeatureFlagHandler sets the operation handler for the set feature flag operation FeatureFlagsSetFeatureFlagHandler feature_flags.SetFeatureFlagHandler // SecurityGroupRunningDefaultsSetSecurityGroupAsDefaultForRunningAppsHandler sets the operation handler for the set security group as default for running apps operation SecurityGroupRunningDefaultsSetSecurityGroupAsDefaultForRunningAppsHandler security_group_running_defaults.SetSecurityGroupAsDefaultForRunningAppsHandler // SecurityGroupStagingDefaultsSetSecurityGroupAsDefaultForStagingHandler sets the operation handler for the set security group as default for staging operation SecurityGroupStagingDefaultsSetSecurityGroupAsDefaultForStagingHandler security_group_staging_defaults.SetSecurityGroupAsDefaultForStagingHandler // AppsTerminateRunningAppInstanceAtGivenIndexHandler sets the operation handler for the terminate running app instance at given index operation AppsTerminateRunningAppInstanceAtGivenIndexHandler apps.TerminateRunningAppInstanceAtGivenIndexHandler // AppsUpdateAppHandler sets the operation handler for the update app operation AppsUpdateAppHandler apps.UpdateAppHandler // EnvironmentVariableGroupsUpdateContentsOfRunningEnvironmentVariableGroupHandler sets the operation handler for the update contents of running environment variable group operation EnvironmentVariableGroupsUpdateContentsOfRunningEnvironmentVariableGroupHandler environment_variable_groups.UpdateContentsOfRunningEnvironmentVariableGroupHandler // EnvironmentVariableGroupsUpdateContentsOfStagingEnvironmentVariableGroupHandler sets the operation handler for the update contents of staging environment variable group operation EnvironmentVariableGroupsUpdateContentsOfStagingEnvironmentVariableGroupHandler environment_variable_groups.UpdateContentsOfStagingEnvironmentVariableGroupHandler // OrganizationsUpdateOrganizationHandler sets the operation handler for the update organization operation OrganizationsUpdateOrganizationHandler organizations.UpdateOrganizationHandler // OrganizationQuotaDefinitionsUpdateOrganizationQuotaDefinitionHandler sets the operation handler for the update organization quota definition operation OrganizationQuotaDefinitionsUpdateOrganizationQuotaDefinitionHandler organization_quota_definitions.UpdateOrganizationQuotaDefinitionHandler // RoutesUpdateRouteHandler sets the operation handler for the update route operation RoutesUpdateRouteHandler routes.UpdateRouteHandler // SecurityGroupsUpdateSecurityGroupHandler sets the operation handler for the update security group operation SecurityGroupsUpdateSecurityGroupHandler security_groups.UpdateSecurityGroupHandler // ServiceBrokersUpdateServiceBrokerHandler sets the operation handler for the update service broker operation ServiceBrokersUpdateServiceBrokerHandler service_brokers.UpdateServiceBrokerHandler // ServicesUpdateServiceDeprecatedHandler sets the operation handler for the update service deprecated operation ServicesUpdateServiceDeprecatedHandler services.UpdateServiceDeprecatedHandler // ServiceInstancesUpdateServiceInstanceHandler sets the operation handler for the update service instance operation ServiceInstancesUpdateServiceInstanceHandler service_instances.UpdateServiceInstanceHandler // ServicePlansUpdateServicePlanDeprecatedHandler sets the operation handler for the update service plan deprecated operation ServicePlansUpdateServicePlanDeprecatedHandler service_plans.UpdateServicePlanDeprecatedHandler // ServicePlanVisibilitiesUpdateServicePlanVisibilityHandler sets the operation handler for the update service plan visibility operation ServicePlanVisibilitiesUpdateServicePlanVisibilityHandler service_plan_visibilities.UpdateServicePlanVisibilityHandler // SpacesUpdateSpaceHandler sets the operation handler for the update space operation SpacesUpdateSpaceHandler spaces.UpdateSpaceHandler // SpaceQuotaDefinitionsUpdateSpaceQuotaDefinitionHandler sets the operation handler for the update space quota definition operation SpaceQuotaDefinitionsUpdateSpaceQuotaDefinitionHandler space_quota_definitions.UpdateSpaceQuotaDefinitionHandler // UsersUpdateUserHandler sets the operation handler for the update user operation UsersUpdateUserHandler users.UpdateUserHandler // UserProvidedServiceInstancesUpdateUserProvidedServiceInstanceHandler sets the operation handler for the update user provided service instance operation UserProvidedServiceInstancesUpdateUserProvidedServiceInstanceHandler user_provided_service_instances.UpdateUserProvidedServiceInstanceHandler // AppsUploadsBitsForAppHandler sets the operation handler for the uploads bits for app operation AppsUploadsBitsForAppHandler apps.UploadsBitsForAppHandler // ServeError is called when an error is received, there is a default handler // but you can set your own with this ServeError func(http.ResponseWriter, *http.Request, error) // PreServerShutdown is called before the HTTP(S) server is shutdown // This allows for custom functions to get executed before the HTTP(S) server stops accepting traffic PreServerShutdown func() // ServerShutdown is called when the HTTP(S) server is shut down and done // handling all active connections and does not accept connections any more ServerShutdown func() // Custom command line argument groups with their descriptions CommandLineOptionsGroups []swag.CommandLineOptionsGroup // User defined logger function. Logger func(string, ...interface{}) // contains filtered or unexported fields }
CloudFoundryAPI This is the specification for a Cloud Foundry server.
func NewCloudFoundryAPI ¶
func NewCloudFoundryAPI(spec *loads.Document) *CloudFoundryAPI
NewCloudFoundryAPI creates a new CloudFoundry instance
func (*CloudFoundryAPI) AddMiddlewareFor ¶
func (o *CloudFoundryAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
AddMiddlewareFor adds a http middleware to existing handler
func (*CloudFoundryAPI) AuthenticatorsFor ¶
func (o *CloudFoundryAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
AuthenticatorsFor gets the authenticators for the specified security schemes
func (*CloudFoundryAPI) Authorizer ¶
func (o *CloudFoundryAPI) Authorizer() runtime.Authorizer
Authorizer returns the registered authorizer
func (*CloudFoundryAPI) ConsumersFor ¶
func (o *CloudFoundryAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.
func (*CloudFoundryAPI) Context ¶
func (o *CloudFoundryAPI) Context() *middleware.Context
Context returns the middleware context for the cloud foundry API
func (*CloudFoundryAPI) DefaultConsumes ¶
func (o *CloudFoundryAPI) DefaultConsumes() string
DefaultConsumes returns the default consumes media type
func (*CloudFoundryAPI) DefaultProduces ¶
func (o *CloudFoundryAPI) DefaultProduces() string
DefaultProduces returns the default produces media type
func (*CloudFoundryAPI) Formats ¶
func (o *CloudFoundryAPI) Formats() strfmt.Registry
Formats returns the registered string formats
func (*CloudFoundryAPI) HandlerFor ¶
func (o *CloudFoundryAPI) HandlerFor(method, path string) (http.Handler, bool)
HandlerFor gets a http.Handler for the provided operation method and path
func (*CloudFoundryAPI) Init ¶
func (o *CloudFoundryAPI) Init()
Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit
func (*CloudFoundryAPI) ProducersFor ¶
func (o *CloudFoundryAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.
func (*CloudFoundryAPI) RegisterConsumer ¶
func (o *CloudFoundryAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
RegisterConsumer allows you to add (or override) a consumer for a media type.
func (*CloudFoundryAPI) RegisterFormat ¶
func (o *CloudFoundryAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
RegisterFormat registers a custom format validator
func (*CloudFoundryAPI) RegisterProducer ¶
func (o *CloudFoundryAPI) RegisterProducer(mediaType string, producer runtime.Producer)
RegisterProducer allows you to add (or override) a producer for a media type.
func (*CloudFoundryAPI) Serve ¶
func (o *CloudFoundryAPI) Serve(builder middleware.Builder) http.Handler
Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))
func (*CloudFoundryAPI) ServeErrorFor ¶
func (o *CloudFoundryAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
ServeErrorFor gets a error handler for a given operation id
func (*CloudFoundryAPI) SetDefaultConsumes ¶
func (o *CloudFoundryAPI) SetDefaultConsumes(mediaType string)
SetDefaultConsumes returns the default consumes media type
func (*CloudFoundryAPI) SetDefaultProduces ¶
func (o *CloudFoundryAPI) SetDefaultProduces(mediaType string)
SetDefaultProduces sets the default produces media type
func (*CloudFoundryAPI) SetSpec ¶
func (o *CloudFoundryAPI) SetSpec(spec *loads.Document)
SetSpec sets a spec that will be served for the clients.
func (*CloudFoundryAPI) UseRedoc ¶
func (o *CloudFoundryAPI) UseRedoc()
UseRedoc for documentation at /docs
func (*CloudFoundryAPI) UseSwaggerUI ¶
func (o *CloudFoundryAPI) UseSwaggerUI()
UseSwaggerUI for documentation at /docs
func (*CloudFoundryAPI) Validate ¶
func (o *CloudFoundryAPI) Validate() error
Validate validates the registrations in the CloudFoundryAPI