cf_command

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 3, 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

type ASGChecker struct {
	Adapter securityGroupCLIAdapter
}

func (*ASGChecker) CheckASG

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

type ASGInstaller

type ASGInstaller struct {
	Adapter securityGroupInstallationCLIAdapter
}

func (*ASGInstaller) InstallASG

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

type OrgChecker struct {
	Org     string
	Adapter orgCheckerCli
}

func (*OrgChecker) CheckOrgExists

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

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