Documentation ¶
Index ¶
- func ServiceInstanceStateToStatus(operationType string, state string, isUserProvidedService bool) string
- type BindService
- func (cmd *BindService) BindApplication(app models.Application, serviceInstance models.ServiceInstance) (apiErr error)
- func (cmd *BindService) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
- func (cmd *BindService) Metadata() command_metadata.CommandMetadata
- func (cmd *BindService) Run(c *cli.Context)
- type CreateService
- func (cmd CreateService) CreateService(serviceName string, planName string, serviceInstanceName string) (models.ServicePlanFields, error)
- func (cmd CreateService) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
- func (cmd CreateService) Metadata() command_metadata.CommandMetadata
- func (cmd CreateService) Run(c *cli.Context)
- type CreateUserProvidedService
- type DeleteService
- type ListServices
- type MarketplaceServices
- type MigrateServiceInstances
- type PurgeServiceOffering
- type RenameService
- type ServiceBinder
- type ShowService
- type UnbindService
- type UpdateService
- type UpdateUserProvidedService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BindService ¶
type BindService struct {
// contains filtered or unexported fields
}
func NewBindService ¶
func NewBindService(ui terminal.UI, config core_config.Reader, serviceBindingRepo api.ServiceBindingRepository) (cmd *BindService)
func (*BindService) BindApplication ¶
func (cmd *BindService) BindApplication(app models.Application, serviceInstance models.ServiceInstance) (apiErr error)
func (*BindService) GetRequirements ¶
func (cmd *BindService) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (*BindService) Metadata ¶
func (cmd *BindService) Metadata() command_metadata.CommandMetadata
func (*BindService) Run ¶
func (cmd *BindService) Run(c *cli.Context)
type CreateService ¶
type CreateService struct {
// contains filtered or unexported fields
}
func NewCreateService ¶
func NewCreateService(ui terminal.UI, config core_config.Reader, serviceRepo api.ServiceRepository, serviceBuilder service_builder.ServiceBuilder) (cmd CreateService)
func (CreateService) CreateService ¶
func (cmd CreateService) CreateService(serviceName string, planName string, serviceInstanceName string) (models.ServicePlanFields, error)
func (CreateService) GetRequirements ¶
func (cmd CreateService) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (CreateService) Metadata ¶
func (cmd CreateService) Metadata() command_metadata.CommandMetadata
func (CreateService) Run ¶
func (cmd CreateService) Run(c *cli.Context)
type CreateUserProvidedService ¶
type CreateUserProvidedService struct {
// contains filtered or unexported fields
}
func NewCreateUserProvidedService ¶
func NewCreateUserProvidedService(ui terminal.UI, config core_config.Reader, userProvidedServiceInstanceRepo api.UserProvidedServiceInstanceRepository) (cmd CreateUserProvidedService)
func (CreateUserProvidedService) GetRequirements ¶
func (cmd CreateUserProvidedService) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (CreateUserProvidedService) Metadata ¶
func (cmd CreateUserProvidedService) Metadata() command_metadata.CommandMetadata
func (CreateUserProvidedService) Run ¶
func (cmd CreateUserProvidedService) Run(c *cli.Context)
type DeleteService ¶
type DeleteService struct {
// contains filtered or unexported fields
}
func NewDeleteService ¶
func NewDeleteService(ui terminal.UI, config core_config.Reader, serviceRepo api.ServiceRepository) (cmd *DeleteService)
func (*DeleteService) GetRequirements ¶
func (cmd *DeleteService) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (*DeleteService) Metadata ¶
func (cmd *DeleteService) Metadata() command_metadata.CommandMetadata
func (*DeleteService) Run ¶
func (cmd *DeleteService) Run(c *cli.Context)
type ListServices ¶
type ListServices struct {
// contains filtered or unexported fields
}
func NewListServices ¶
func NewListServices(ui terminal.UI, config core_config.Reader, serviceSummaryRepo api.ServiceSummaryRepository) (cmd ListServices)
func (ListServices) GetRequirements ¶
func (cmd ListServices) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (ListServices) Metadata ¶
func (cmd ListServices) Metadata() command_metadata.CommandMetadata
func (ListServices) Run ¶
func (cmd ListServices) Run(c *cli.Context)
type MarketplaceServices ¶
type MarketplaceServices struct {
// contains filtered or unexported fields
}
func NewMarketplaceServices ¶
func NewMarketplaceServices(ui terminal.UI, config core_config.Reader, serviceBuilder service_builder.ServiceBuilder) MarketplaceServices
func (MarketplaceServices) GetRequirements ¶
func (cmd MarketplaceServices) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (MarketplaceServices) Metadata ¶
func (cmd MarketplaceServices) Metadata() command_metadata.CommandMetadata
func (MarketplaceServices) Run ¶
func (cmd MarketplaceServices) Run(c *cli.Context)
type MigrateServiceInstances ¶
type MigrateServiceInstances struct {
// contains filtered or unexported fields
}
func NewMigrateServiceInstances ¶
func NewMigrateServiceInstances(ui terminal.UI, configRepo core_config.Reader, serviceRepo api.ServiceRepository) (cmd *MigrateServiceInstances)
func (*MigrateServiceInstances) GetRequirements ¶
func (cmd *MigrateServiceInstances) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (*MigrateServiceInstances) Metadata ¶
func (cmd *MigrateServiceInstances) Metadata() command_metadata.CommandMetadata
func (*MigrateServiceInstances) Run ¶
func (cmd *MigrateServiceInstances) Run(c *cli.Context)
type PurgeServiceOffering ¶
type PurgeServiceOffering struct {
// contains filtered or unexported fields
}
func NewPurgeServiceOffering ¶
func NewPurgeServiceOffering(ui terminal.UI, config core_config.Reader, serviceRepo api.ServiceRepository) (cmd PurgeServiceOffering)
func (PurgeServiceOffering) GetRequirements ¶
func (cmd PurgeServiceOffering) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (PurgeServiceOffering) Metadata ¶
func (cmd PurgeServiceOffering) Metadata() command_metadata.CommandMetadata
func (PurgeServiceOffering) Run ¶
func (cmd PurgeServiceOffering) Run(c *cli.Context)
type RenameService ¶
type RenameService struct {
// contains filtered or unexported fields
}
func NewRenameService ¶
func NewRenameService(ui terminal.UI, config core_config.Reader, serviceRepo api.ServiceRepository) (cmd *RenameService)
func (*RenameService) GetRequirements ¶
func (cmd *RenameService) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (*RenameService) Metadata ¶
func (cmd *RenameService) Metadata() command_metadata.CommandMetadata
func (*RenameService) Run ¶
func (cmd *RenameService) Run(c *cli.Context)
type ServiceBinder ¶
type ServiceBinder interface {
BindApplication(app models.Application, serviceInstance models.ServiceInstance) (apiErr error)
}
type ShowService ¶
type ShowService struct {
// contains filtered or unexported fields
}
func NewShowService ¶
func NewShowService(ui terminal.UI) (cmd *ShowService)
func (*ShowService) GetRequirements ¶
func (cmd *ShowService) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (*ShowService) Metadata ¶
func (cmd *ShowService) Metadata() command_metadata.CommandMetadata
func (*ShowService) Run ¶
func (cmd *ShowService) Run(c *cli.Context)
type UnbindService ¶
type UnbindService struct {
// contains filtered or unexported fields
}
func NewUnbindService ¶
func NewUnbindService(ui terminal.UI, config core_config.Reader, serviceBindingRepo api.ServiceBindingRepository) (cmd *UnbindService)
func (*UnbindService) GetRequirements ¶
func (cmd *UnbindService) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (*UnbindService) Metadata ¶
func (cmd *UnbindService) Metadata() command_metadata.CommandMetadata
func (*UnbindService) Run ¶
func (cmd *UnbindService) Run(c *cli.Context)
type UpdateService ¶
type UpdateService struct {
// contains filtered or unexported fields
}
func NewUpdateService ¶
func NewUpdateService(ui terminal.UI, config core_config.Reader, serviceRepo api.ServiceRepository, planBuilder plan_builder.PlanBuilder) (cmd *UpdateService)
func (*UpdateService) GetRequirements ¶
func (cmd *UpdateService) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (*UpdateService) Metadata ¶
func (cmd *UpdateService) Metadata() command_metadata.CommandMetadata
func (*UpdateService) Run ¶
func (cmd *UpdateService) Run(c *cli.Context)
type UpdateUserProvidedService ¶
type UpdateUserProvidedService struct {
// contains filtered or unexported fields
}
func NewUpdateUserProvidedService ¶
func NewUpdateUserProvidedService(ui terminal.UI, config core_config.Reader, userProvidedServiceInstanceRepo api.UserProvidedServiceInstanceRepository) (cmd *UpdateUserProvidedService)
func (*UpdateUserProvidedService) GetRequirements ¶
func (cmd *UpdateUserProvidedService) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (*UpdateUserProvidedService) Metadata ¶
func (cmd *UpdateUserProvidedService) Metadata() command_metadata.CommandMetadata
func (*UpdateUserProvidedService) Run ¶
func (cmd *UpdateUserProvidedService) Run(c *cli.Context)
Click to show internal directories.
Click to hide internal directories.