cf_cli_adapter

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: 7 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 ASG added in v0.9.0

type ASG struct {
	Resources []struct {
		Entity struct {
			Rules []struct {
				Destination string `json:"destination"`
				Ports       string `json:"ports"`
				Protocol    string `json:"protocol"`
			} `json:"rules"`
		} `json:"entity"`
	} `json:"resources"`
}

type Adapter

type Adapter struct {
	CfCliPath string
}

func (*Adapter) AddNetworkPolicy added in v1.7.0

func (a *Adapter) AddNetworkPolicy(sourceApp, destApp string, port int, protocol string) error

func (*Adapter) AppCount added in v0.5.0

func (a *Adapter) AppCount(orgGuid string) (int, error)

func (*Adapter) AppGuid

func (a *Adapter) AppGuid(name string) (string, error)

func (*Adapter) Auth

func (a *Adapter) Auth(user, password string) error

func (*Adapter) BindSecurityGroup added in v0.6.0

func (a *Adapter) BindSecurityGroup(name, org, space string) error

func (*Adapter) CheckApp

func (a *Adapter) CheckApp(guid string) ([]byte, error)

func (*Adapter) CreateOrg

func (a *Adapter) CreateOrg(name string) error

func (*Adapter) CreateQuota added in v0.5.0

func (a *Adapter) CreateQuota(name, memory string, instanceMemory, routes, serviceInstances, appInstances, routePorts int) error

func (*Adapter) CreateSecurityGroup added in v0.6.0

func (a *Adapter) CreateSecurityGroup(name, filepath string) error

func (*Adapter) CreateSpace

func (a *Adapter) CreateSpace(spaceName, orgName string) error

func (*Adapter) Curl added in v0.7.0

func (a *Adapter) Curl(method, path, inputFile string) ([]byte, error)

func (*Adapter) Delete added in v0.7.0

func (a *Adapter) Delete(appName string) error

func (*Adapter) DeleteOrg

func (a *Adapter) DeleteOrg(name string) error

func (*Adapter) DeleteQuota added in v0.5.0

func (a *Adapter) DeleteQuota(quota string) error

func (*Adapter) DeleteSecurityGroup added in v0.7.0

func (a *Adapter) DeleteSecurityGroup(name string) error

func (*Adapter) OrgGuid added in v0.5.0

func (a *Adapter) OrgGuid(name string) (string, error)

func (*Adapter) Push

func (a *Adapter) Push(name, directory, manifestFile string) error

func (*Adapter) RemoveNetworkPolicy added in v1.7.0

func (a *Adapter) RemoveNetworkPolicy(sourceApp, destApp string, port int, protocol string) error

func (*Adapter) Scale added in v0.5.0

func (a *Adapter) Scale(name string, instances int) error

func (*Adapter) SecurityGroup added in v0.9.0

func (a *Adapter) SecurityGroup(name string) (string, error)

func (*Adapter) SetApiWithSsl

func (a *Adapter) SetApiWithSsl(api string) error

func (*Adapter) SetApiWithoutSsl

func (a *Adapter) SetApiWithoutSsl(api string) error

func (*Adapter) SetQuota added in v0.5.0

func (a *Adapter) SetQuota(org, quota string) error

func (*Adapter) TargetOrg

func (a *Adapter) TargetOrg(name string) error

func (*Adapter) TargetSpace

func (a *Adapter) TargetSpace(name string) error

func (*Adapter) UnbindSecurityGroup added in v0.20.0

func (a *Adapter) UnbindSecurityGroup(name, org, space string) error

type Apps added in v0.5.0

type Apps struct {
	TotalResults int `json:"total_results"`
}

type CmdErr added in v0.13.0

type CmdErr struct {
	Out     string
	Err     string
	Message string
}

func (*CmdErr) Error added in v0.13.0

func (e *CmdErr) Error() string

Jump to

Keyboard shortcuts

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