cf_cli_adapter

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

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) AllowAccess added in v0.5.0

func (a *Adapter) AllowAccess(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(name 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) RemoveAccess added in v0.7.0

func (a *Adapter) RemoveAccess(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

type Apps added in v0.5.0

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

Jump to

Keyboard shortcuts

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