service

package
v6.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2014 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const AppAlreadyBoundErrorCode = "90003"

Variables

This section is empty.

Functions

This section is empty.

Types

type BindService

type BindService struct {
	// contains filtered or unexported fields
}

func NewBindService

func NewBindService(ui terminal.UI, config configuration.Reader, serviceBindingRepo api.ServiceBindingRepository) (cmd *BindService)

func (*BindService) BindApplication

func (cmd *BindService) BindApplication(app models.Application, serviceInstance models.ServiceInstance) (apiResponse net.ApiResponse)

func (*BindService) GetRequirements

func (cmd *BindService) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

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 configuration.Reader, serviceRepo api.ServiceRepository) (cmd CreateService)

func (CreateService) GetRequirements

func (cmd CreateService) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

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 configuration.Reader, userProvidedServiceInstanceRepo api.UserProvidedServiceInstanceRepository) (cmd CreateUserProvidedService)

func (CreateUserProvidedService) GetRequirements

func (cmd CreateUserProvidedService) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (CreateUserProvidedService) Run

type DeleteService

type DeleteService struct {
	// contains filtered or unexported fields
}

func NewDeleteService

func NewDeleteService(ui terminal.UI, config configuration.Reader, serviceRepo api.ServiceRepository) (cmd *DeleteService)

func (*DeleteService) GetRequirements

func (cmd *DeleteService) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

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 configuration.Reader, serviceSummaryRepo api.ServiceSummaryRepository) (cmd ListServices)

func (ListServices) GetRequirements

func (cmd ListServices) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

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 configuration.Reader, serviceRepo api.ServiceRepository) (cmd MarketplaceServices)

func (MarketplaceServices) GetRequirements

func (cmd MarketplaceServices) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

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 configuration.Reader, serviceRepo api.ServiceRepository) (cmd *MigrateServiceInstances)

func (*MigrateServiceInstances) GetRequirements

func (cmd *MigrateServiceInstances) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

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 configuration.Reader, serviceRepo api.ServiceRepository) (cmd PurgeServiceOffering)

func (PurgeServiceOffering) GetRequirements

func (cmd PurgeServiceOffering) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

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 configuration.Reader, serviceRepo api.ServiceRepository) (cmd *RenameService)

func (*RenameService) GetRequirements

func (cmd *RenameService) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*RenameService) Run

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

type ServiceBinder

type ServiceBinder interface {
	BindApplication(app models.Application, serviceInstance models.ServiceInstance) (apiResponse net.ApiResponse)
}

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(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

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 configuration.Reader, serviceBindingRepo api.ServiceBindingRepository) (cmd *UnbindService)

func (*UnbindService) GetRequirements

func (cmd *UnbindService) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*UnbindService) Run

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

type UpdateUserProvidedService

type UpdateUserProvidedService struct {
	// contains filtered or unexported fields
}

func NewUpdateUserProvidedService

func NewUpdateUserProvidedService(ui terminal.UI, config configuration.Reader, userProvidedServiceInstanceRepo api.UserProvidedServiceInstanceRepository) (cmd *UpdateUserProvidedService)

func (*UpdateUserProvidedService) GetRequirements

func (cmd *UpdateUserProvidedService) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

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