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, planName, serviceInstanceName string, ...) (models.ServicePlanFields, error)
- func (cmd *CreateService) Execute(c flags.FlagContext)
- func (cmd *CreateService) MetaData() command_registry.CommandMetadata
- func (cmd *CreateService) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)
- func (cmd *CreateService) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command
- type CreateUserProvidedService
- type DeleteService
- type ListServices
- func (cmd ListServices) Execute(fc flags.FlagContext)
- func (cmd ListServices) MetaData() command_registry.CommandMetadata
- func (cmd ListServices) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)
- func (cmd *ListServices) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command
- type MarketplaceServices
- func (cmd *MarketplaceServices) Execute(c flags.FlagContext)
- func (cmd *MarketplaceServices) MetaData() command_registry.CommandMetadata
- func (cmd *MarketplaceServices) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)
- func (cmd *MarketplaceServices) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command
- type MigrateServiceInstances
- type PurgeServiceOffering
- type RenameService
- type ServiceBinder
- type ShowService
- func (cmd *ShowService) Execute(c flags.FlagContext)
- func (cmd *ShowService) MetaData() command_registry.CommandMetadata
- func (cmd *ShowService) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)
- func (cmd *ShowService) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command
- 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, paramsMap map[string]interface{}) (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 (CreateService) CreateService ¶
func (cmd CreateService) CreateService(serviceName, planName, serviceInstanceName string, params map[string]interface{}, tags []string) (models.ServicePlanFields, error)
func (*CreateService) Execute ¶
func (cmd *CreateService) Execute(c flags.FlagContext)
func (*CreateService) MetaData ¶
func (cmd *CreateService) MetaData() command_registry.CommandMetadata
func (*CreateService) Requirements ¶
func (cmd *CreateService) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)
func (*CreateService) SetDependency ¶
func (cmd *CreateService) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command
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 (ListServices) Execute ¶
func (cmd ListServices) Execute(fc flags.FlagContext)
func (ListServices) MetaData ¶
func (cmd ListServices) MetaData() command_registry.CommandMetadata
func (ListServices) Requirements ¶
func (cmd ListServices) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)
func (*ListServices) SetDependency ¶
func (cmd *ListServices) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command
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) Execute ¶
func (cmd *MarketplaceServices) Execute(c flags.FlagContext)
func (*MarketplaceServices) MetaData ¶
func (cmd *MarketplaceServices) MetaData() command_registry.CommandMetadata
func (*MarketplaceServices) Requirements ¶
func (cmd *MarketplaceServices) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)
func (*MarketplaceServices) SetDependency ¶
func (cmd *MarketplaceServices) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command
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, paramsMap map[string]interface{}) (apiErr error)
}
type ShowService ¶
type ShowService struct {
// contains filtered or unexported fields
}
func (*ShowService) Execute ¶
func (cmd *ShowService) Execute(c flags.FlagContext)
func (*ShowService) MetaData ¶
func (cmd *ShowService) MetaData() command_registry.CommandMetadata
func (*ShowService) Requirements ¶
func (cmd *ShowService) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)
func (*ShowService) SetDependency ¶
func (cmd *ShowService) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command
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.