cf

package
v0.0.0-...-f08e3d1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 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 CloudController

type CloudController struct {
	// contains filtered or unexported fields
}

func NewCloudController

func NewCloudController(host string, skipVerifySSL bool) CloudController

func (CloudController) GetAuditorsByOrgGuid

func (cc CloudController) GetAuditorsByOrgGuid(guid, token string) ([]CloudControllerUser, error)

func (CloudController) GetBillingManagersByOrgGuid

func (cc CloudController) GetBillingManagersByOrgGuid(guid, token string) ([]CloudControllerUser, error)

func (CloudController) GetManagersByOrgGuid

func (cc CloudController) GetManagersByOrgGuid(guid, token string) ([]CloudControllerUser, error)

func (CloudController) GetUsersByOrgGuid

func (cc CloudController) GetUsersByOrgGuid(guid, token string) ([]CloudControllerUser, error)

func (CloudController) GetUsersBySpaceGuid

func (cc CloudController) GetUsersBySpaceGuid(guid, token string) ([]CloudControllerUser, error)

func (CloudController) LoadOrganization

func (cc CloudController) LoadOrganization(guid, token string) (CloudControllerOrganization, error)

func (CloudController) LoadSpace

func (cc CloudController) LoadSpace(spaceGuid, token string) (CloudControllerSpace, error)

type CloudControllerOrganization

type CloudControllerOrganization struct {
	GUID string
	Name string
}

type CloudControllerSpace

type CloudControllerSpace struct {
	GUID             string
	Name             string
	OrganizationGUID string
}

type CloudControllerUser

type CloudControllerUser struct {
	GUID string
}

type Failure

type Failure struct {
	Code    int
	Message string
}

func NewFailure

func NewFailure(code int, message string) Failure

func (Failure) Error

func (failure Failure) Error() string

type NotFoundError

type NotFoundError struct {
	Message string
}

func (NotFoundError) Error

func (e NotFoundError) Error() string

type OrgFinder

type OrgFinder struct {
	// contains filtered or unexported fields
}

func NewOrgFinder

func NewOrgFinder(clientID, clientSecret string, clients tokenGetter, orgs orgGetter) OrgFinder

func (OrgFinder) Exists

func (f OrgFinder) Exists(guid string) (bool, error)

type SpaceFinder

type SpaceFinder struct {
	// contains filtered or unexported fields
}

func NewSpaceFinder

func NewSpaceFinder(clientID, clientSecret string, clients tokenGetter, spaces spaceGetter) SpaceFinder

func (SpaceFinder) Exists

func (f SpaceFinder) Exists(guid string) (bool, error)

Jump to

Keyboard shortcuts

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