cf_command

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASGChecker added in v0.9.0

type ASGChecker struct {
	Adapter securityGroupCLIAdapter
}

func (*ASGChecker) CheckASG added in v0.9.0

func (a *ASGChecker) CheckASG(name, expectedBody string) error

type ASGInstaller added in v0.9.0

type ASGInstaller struct {
	Adapter securityGroupInstallationCLIAdapter
}

func (*ASGInstaller) InstallASG added in v0.9.0

func (a *ASGInstaller) InstallASG(asgName, asgFilePath, orgName, spaceName string) error

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
	Concurrency  int
}

func (*AppChecker) CheckApps

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

type AppPusher

type AppPusher struct {
	Applications            []Application
	Adapter                 pushCLIAdapter
	Concurrency             int
	ManifestPath            string
	Directory               string
	SkipIfPresent           bool
	DesiredRunningInstances 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
}

type OrgChecker added in v1.10.0

type OrgChecker struct {
	Org     string
	Adapter orgCheckerCli
}

func (*OrgChecker) CheckOrgExists added in v1.10.0

func (c *OrgChecker) CheckOrgExists() bool

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