Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatorInterface ¶
type CreatorInterface interface {
CreateServices(manifest *serviceManifest.ServiceManifest, cf plugin.CliConnection) error
}
CreatorInterface shows the set of methods that describes the serviceCreator
type LogFunc ¶
LogFunc is logger function signature. We'll use this to set the function to output the progress output
type ProgressReporter ¶
type ProgressReporter struct {
// contains filtered or unexported fields
}
ProgressReporter describes the state and current message displayed
func NewProgressReporter ¶
func NewProgressReporter() *ProgressReporter
NewProgressReporter initializes and creates a New Progress Reporter defaulting output to stdout
func NewProgressReporterWithLoggerOut ¶
func NewProgressReporterWithLoggerOut(outputFunction LogFunc) *ProgressReporter
NewProgressReporterWithLoggerOut initializes and creates a New Progress Reporter with a specific log output function
func (*ProgressReporter) Step ¶
func (ps *ProgressReporter) Step(loadingMessage string)
Step updates the Progress Reporter State and Display message on screen
type ServiceCreator ¶
type ServiceCreator struct {
// contains filtered or unexported fields
}
ServiceCreator describes the components required for service creation
func NewServiceCreator ¶
func NewServiceCreator() *ServiceCreator
NewServiceCreator creates a service creator with the default progress reporter
func (*ServiceCreator) CreateServices ¶
func (c *ServiceCreator) CreateServices(manifest *serviceManifest.ServiceManifest, cf plugin.CliConnection) error
CreateServices creates the services specified by manifest via a cliConnection