service

package
v6.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2015 License: Apache-2.0 Imports: 19 Imported by: 105

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