service

package
v6.41.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstanceStateToStatus

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

Types

type BindRouteService

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

func (*BindRouteService) Execute

func (cmd *BindRouteService) Execute(c flags.FlagContext) error

func (*BindRouteService) MetaData

func (*BindRouteService) Requirements

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

func (*BindRouteService) SetDependency

func (cmd *BindRouteService) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

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{}) error

func (*BindService) Execute

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

func (*BindService) MetaData

func (*BindService) Requirements

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

func (*BindService) SetDependency

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

type Binder

type Binder interface {
	BindApplication(app models.Application, serviceInstance models.ServiceInstance, paramsMap map[string]interface{}) (apiErr error)
}

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) error

func (*CreateService) MetaData

func (*CreateService) Requirements

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

func (*CreateService) SetDependency

func (cmd *CreateService) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.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) ([]requirements.Requirement, error)

func (*CreateUserProvidedService) SetDependency

func (cmd *CreateUserProvidedService) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

type DeleteService

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

func (*DeleteService) Execute

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

func (*DeleteService) MetaData

func (*DeleteService) Requirements

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

func (*DeleteService) SetDependency

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

type ListServices

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

func (*ListServices) Execute

func (cmd *ListServices) Execute(fc flags.FlagContext) error

func (*ListServices) MetaData

func (*ListServices) Requirements

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

func (*ListServices) SetDependency

func (cmd *ListServices) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

type MarketplaceServices

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

func (*MarketplaceServices) Execute

func (cmd *MarketplaceServices) Execute(c flags.FlagContext) error

func (*MarketplaceServices) MetaData

func (*MarketplaceServices) Requirements

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

func (*MarketplaceServices) SetDependency

func (cmd *MarketplaceServices) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

type MigrateServiceInstances

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

func (*MigrateServiceInstances) Execute

func (*MigrateServiceInstances) MetaData

func (*MigrateServiceInstances) Requirements

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

func (*MigrateServiceInstances) SetDependency

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

type PurgeServiceInstance

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

func (*PurgeServiceInstance) Execute

func (cmd *PurgeServiceInstance) Execute(c flags.FlagContext) error

func (*PurgeServiceInstance) MetaData

func (*PurgeServiceInstance) Requirements

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

func (*PurgeServiceInstance) SetDependency

func (cmd *PurgeServiceInstance) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

type PurgeServiceOffering

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

func (*PurgeServiceOffering) Execute

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

func (*PurgeServiceOffering) MetaData

func (*PurgeServiceOffering) Requirements

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

func (*PurgeServiceOffering) SetDependency

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

type RenameService

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

func (*RenameService) Execute

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

func (*RenameService) MetaData

func (*RenameService) Requirements

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

func (*RenameService) SetDependency

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

type RouteServiceUnbinder

type RouteServiceUnbinder interface {
	UnbindRoute(route models.Route, serviceInstance models.ServiceInstance) error
}

type ShowService

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

func (*ShowService) Execute

func (cmd *ShowService) Execute(c flags.FlagContext) error

func (*ShowService) MetaData

func (*ShowService) Requirements

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

func (*ShowService) SetDependency

func (cmd *ShowService) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

type UnbindRouteService

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

func (*UnbindRouteService) Execute

func (cmd *UnbindRouteService) Execute(c flags.FlagContext) error

func (*UnbindRouteService) MetaData

func (*UnbindRouteService) Requirements

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

func (*UnbindRouteService) SetDependency

func (cmd *UnbindRouteService) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

func (*UnbindRouteService) UnbindRoute

func (cmd *UnbindRouteService) UnbindRoute(route models.Route, serviceInstance models.ServiceInstance) error

type UnbindService

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

func (*UnbindService) Execute

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

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 commandregistry.Dependency, pluginCall bool) commandregistry.Command

type UpdateService

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

func (*UpdateService) Execute

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

func (*UpdateService) MetaData

func (*UpdateService) Requirements

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

func (*UpdateService) SetDependency

func (cmd *UpdateService) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.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

func (cmd *UpdateUserProvidedService) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

Directories

Path Synopsis
This file was generated by counterfeiter This file was generated by counterfeiter
This file was generated by counterfeiter This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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