command

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

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 analytics.Client
	TimeStamp       time.Time
	UUID            string
	Version         string
	OSVersion       string
	Logger          *log.Logger
}

func (*AppCrash) HandleResponse

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

type AppCreate

type AppCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient analytics.Client
	TimeStamp       time.Time
	UUID            string
	Version         string
	OSVersion       string
	Logger          *log.Logger
}

func (*AppCreate) HandleResponse

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

type AppRestage

type AppRestage struct {
	CCClient        CloudControllerClient
	AnalyticsClient analytics.Client
	TimeStamp       time.Time
	UUID            string
	Version         string
	OSVersion       string
	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 added in v0.0.13

type OrgCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient analytics.Client
	TimeStamp       time.Time
	UUID            string
	Version         string
	OSVersion       string
	Logger          *log.Logger
}

func (*OrgCreate) HandleResponse added in v0.0.13

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

type RouteCreate added in v0.0.13

type RouteCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient analytics.Client
	TimeStamp       time.Time
	UUID            string
	Version         string
	OSVersion       string
	Logger          *log.Logger
}

func (*RouteCreate) HandleResponse added in v0.0.13

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

type ServiceBind

type ServiceBind struct {
	CCClient        CloudControllerClient
	AnalyticsClient analytics.Client
	TimeStamp       time.Time
	UUID            string
	Version         string
	OSVersion       string
	Logger          *log.Logger
}

func (*ServiceBind) HandleResponse

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

type ServiceBrokerCreate added in v0.0.13

type ServiceBrokerCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient analytics.Client
	TimeStamp       time.Time
	UUID            string
	Version         string
	OSVersion       string
	Logger          *log.Logger
}

func (*ServiceBrokerCreate) HandleResponse added in v0.0.13

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

type ServiceCreate

type ServiceCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient analytics.Client
	TimeStamp       time.Time
	UUID            string
	Version         string
	OSVersion       string
	Logger          *log.Logger
}

func (*ServiceCreate) HandleResponse

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

type SpaceCreate added in v0.0.13

type SpaceCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient analytics.Client
	TimeStamp       time.Time
	UUID            string
	Version         string
	OSVersion       string
	Logger          *log.Logger
}

func (*SpaceCreate) HandleResponse added in v0.0.13

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

type UserProvidedServiceCreate

type UserProvidedServiceCreate struct {
	CCClient        CloudControllerClient
	AnalyticsClient analytics.Client
	TimeStamp       time.Time
	UUID            string
	Version         string
	OSVersion       string
	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