command

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppCrash

type AppCrash struct {
	CCClient        CloudControllerClient
	AnalyticsClient *segment.Client
	Logger          *log.Logger
}

func (*AppCrash) HandleResponse

func (c *AppCrash) HandleResponse(body json.RawMessage) error

type AppCreate

type AppCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient *segment.Client
	Logger          *log.Logger
}

func (*AppCreate) HandleResponse

func (c *AppCreate) HandleResponse(body json.RawMessage) error

type AppRestage

type AppRestage struct {
	CCClient        CloudControllerClient
	AnalyticsClient *segment.Client
	Logger          *log.Logger
}

func (*AppRestage) HandleResponse

func (c *AppRestage) HandleResponse(body json.RawMessage) error

type CloudControllerClient

type CloudControllerClient interface {
	Fetch(path string, params url.Values, dest interface{}) error
}

type Command

type Command interface {
	HandleResponse(body json.RawMessage) error
}

func New

func New(
	event string,
	ccClient CloudControllerClient,
	analyticsClient analytics.Client,
	timeStamp time.Time,
	UUID string,
	version string,
	osVersion string,
	logger *log.Logger) (Command, bool)

type OrgCreate

type OrgCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient *segment.Client
	Logger          *log.Logger
}

func (*OrgCreate) HandleResponse

func (c *OrgCreate) HandleResponse(body json.RawMessage) error

type RouteCreate

type RouteCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient *segment.Client
	Logger          *log.Logger
}

func (*RouteCreate) HandleResponse

func (c *RouteCreate) HandleResponse(body json.RawMessage) error

type ServiceBind

type ServiceBind struct {
	CCClient        CloudControllerClient
	AnalyticsClient *segment.Client
	Logger          *log.Logger
}

func (*ServiceBind) HandleResponse

func (c *ServiceBind) HandleResponse(body json.RawMessage) error

type ServiceBrokerCreate

type ServiceBrokerCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient *segment.Client
	Logger          *log.Logger
}

func (*ServiceBrokerCreate) HandleResponse

func (c *ServiceBrokerCreate) HandleResponse(body json.RawMessage) error

type ServiceCreate

type ServiceCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient *segment.Client
	Logger          *log.Logger
}

func (*ServiceCreate) HandleResponse

func (c *ServiceCreate) HandleResponse(body json.RawMessage) error

type SpaceCreate

type SpaceCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient *segment.Client
	Logger          *log.Logger
}

func (*SpaceCreate) HandleResponse

func (c *SpaceCreate) HandleResponse(body json.RawMessage) error

type UserProvidedServiceCreate

type UserProvidedServiceCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient *segment.Client
	Logger          *log.Logger
}

func (*UserProvidedServiceCreate) HandleResponse

func (c *UserProvidedServiceCreate) HandleResponse(body json.RawMessage) error

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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