cf_command

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiConnector

type ApiConnector struct {
	Api               string
	AdminUser         string
	AdminPassword     string
	SkipSSLValidation bool
	Adapter           apiCliAdapter
}

func (*ApiConnector) Connect

func (c *ApiConnector) Connect() error

type AppChecker

type AppChecker struct {
	Org          string
	Applications []Application
	Adapter      checkCLIAdapter
}

func (*AppChecker) CheckApps

func (a *AppChecker) CheckApps(appSpec map[string]int) error

type AppPusher

type AppPusher struct {
	Applications      []Application
	Adapter           pushCLIAdapter
	ManifestGenerator manifestGenerator
	Concurrency       int
}

func (*AppPusher) Push

func (a *AppPusher) Push() error

type AppStatus

type AppStatus struct {
	GUID             string `json:"guid"`
	Name             string `json:"name"`
	RunningInstances int    `json:"running_instances"`
	Instances        int    `json:"instances"`
	State            string `json:"state"`
}

type Application

type Application struct {
	Name      string
	Directory string
	Manifest  interface{}
}

type OrgDeleter

type OrgDeleter struct {
	Org     string
	Quota   Quota
	Adapter orgDeleterCli
}

func (*OrgDeleter) Delete

func (c *OrgDeleter) Delete() error

type OrgSpaceCreator

type OrgSpaceCreator struct {
	Org     string
	Space   string
	Quota   Quota
	Adapter orgSpaceCli
}

func (*OrgSpaceCreator) Create

func (c *OrgSpaceCreator) Create() error

type Quota added in v0.5.0

type Quota struct {
	Name             string
	Memory           string
	InstanceMemory   int
	Routes           int
	ServiceInstances int
	AppInstances     int
	RoutePorts       int
}

Jump to

Keyboard shortcuts

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