service

package
v6.12.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2015 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServiceInstanceStateToStatus

func ServiceInstanceStateToStatus(operationType string, state string, isUserProvidedService bool) string

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 (*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 (*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 (CreateUserProvidedService) Run

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 (*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 (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 (*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 (*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 (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 (*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 (*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 (*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 (*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 (*UpdateUserProvidedService) Run

func (cmd *UpdateUserProvidedService) Run(c *cli.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL