service

package
v6.12.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2015 License: Apache-2.0 Imports: 22 Imported by: 69

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

func (cmd *BindService) BindApplication(app models.Application, serviceInstance models.ServiceInstance, paramsMap map[string]interface{}) (apiErr error)

func (*BindService) Execute

func (cmd *BindService) Execute(c flags.FlagContext)

func (*BindService) MetaData

func (*BindService) Requirements

func (cmd *BindService) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)

func (*BindService) SetDependency

func (cmd *BindService) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command

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

func (*CreateUserProvidedService) MetaData

func (*CreateUserProvidedService) Requirements

func (cmd *CreateUserProvidedService) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)

func (*CreateUserProvidedService) SetDependency

type DeleteService

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

func (*DeleteService) Execute

func (cmd *DeleteService) Execute(c flags.FlagContext)

func (*DeleteService) MetaData

func (*DeleteService) Requirements

func (cmd *DeleteService) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)

func (*DeleteService) SetDependency

func (cmd *DeleteService) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command

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

func (cmd *MigrateServiceInstances) Execute(c flags.FlagContext)

func (*MigrateServiceInstances) MetaData

func (*MigrateServiceInstances) Requirements

func (cmd *MigrateServiceInstances) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)

func (*MigrateServiceInstances) SetDependency

func (cmd *MigrateServiceInstances) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command

type PurgeServiceOffering

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

func (*PurgeServiceOffering) Execute

func (cmd *PurgeServiceOffering) Execute(c flags.FlagContext)

func (*PurgeServiceOffering) MetaData

func (*PurgeServiceOffering) Requirements

func (cmd *PurgeServiceOffering) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)

func (*PurgeServiceOffering) SetDependency

func (cmd *PurgeServiceOffering) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command

type RenameService

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

func (*RenameService) Execute

func (cmd *RenameService) Execute(c flags.FlagContext)

func (*RenameService) MetaData

func (*RenameService) Requirements

func (cmd *RenameService) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)

func (*RenameService) SetDependency

func (cmd *RenameService) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command

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

func (cmd *UnbindService) Execute(c flags.FlagContext)

func (*UnbindService) MetaData

func (*UnbindService) Requirements

func (cmd *UnbindService) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)

func (*UnbindService) SetDependency

func (cmd *UnbindService) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command

type UpdateService

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

func (*UpdateService) Execute

func (cmd *UpdateService) Execute(c flags.FlagContext)

func (*UpdateService) MetaData

func (*UpdateService) Requirements

func (cmd *UpdateService) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)

func (*UpdateService) SetDependency

func (cmd *UpdateService) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command

type UpdateUserProvidedService

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

func (*UpdateUserProvidedService) Execute

func (*UpdateUserProvidedService) MetaData

func (*UpdateUserProvidedService) Requirements

func (cmd *UpdateUserProvidedService) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)

func (*UpdateUserProvidedService) SetDependency

Jump to

Keyboard shortcuts

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