cloudfoundry

package
v0.0.0-...-71bb944 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CFApplication

type CFApplication struct {
	GUID           string
	Name           string
	SpaceGUID      string
	SpaceName      string
	OrgName        string
	OrgGUID        string
	Instances      int
	Buildpacks     []string
	DiskQuota      int
	TotalDiskQuota int
	Memory         int
	TotalMemory    int
}

CFApplication represents a Cloud Controller Application.

type CFClient

type CFClient struct {
	ApiVersion int
	NumWorkers int
	// contains filtered or unexported fields
}

func NewClient

func NewClient(config *config.Config, logger *gosteno.Logger) (*CFClient, error)

func (*CFClient) GetApplication

func (cfc *CFClient) GetApplication(guid string) (*CFApplication, error)

func (*CFClient) GetApplications

func (cfc *CFClient) GetApplications() ([]CFApplication, error)

func (*CFClient) GetDopplerEndpoint

func (cfc *CFClient) GetDopplerEndpoint() string

func (*CFClient) GetV2OrgQuotas

func (cfc *CFClient) GetV2OrgQuotas() ([]cfclient.OrgQuota, error)

func (*CFClient) GetV2Orgs

func (cfc *CFClient) GetV2Orgs() ([]cfclient.Org, error)

type Data

type Data struct {
	Data struct {
		GUID string `json:"guid"`
	} `json:"data"`
}

type LoggregatorClient

type LoggregatorClient struct {
	RLPGatewayClient *loggregator.RLPGatewayClient
	// contains filtered or unexported fields
}

func NewLoggregatorClient

func NewLoggregatorClient(cfg *config.Config, lgr *gosteno.Logger, authToken string) (*LoggregatorClient, error)

func (*LoggregatorClient) EnvelopeStream

func (l *LoggregatorClient) EnvelopeStream() loggregator.EnvelopeStream

func (*LoggregatorClient) Stop

func (l *LoggregatorClient) Stop()

Jump to

Keyboard shortcuts

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