service

package
v6.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2014 License: Apache-2.0 Imports: 12 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.Configuration, serviceBindingRepo api.ServiceBindingRepository) (cmd *BindService)

func (*BindService) BindApplication

func (cmd *BindService) BindApplication(app cf.Application, serviceInstance cf.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.Configuration, 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.Configuration, 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.Configuration, 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.Configuration, 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.Configuration, 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 RenameService

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

func NewRenameService

func NewRenameService(ui terminal.UI, config *configuration.Configuration, 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 cf.Application, serviceInstance cf.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.Configuration, 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.Configuration, 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