cfcli

package
v0.3.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSpaceList

func GetSpaceList(OrgId string) (map[string]string, error)

get all spaces under an org

func GetSpaceName

func GetSpaceName(spaceId string) (string, error)

get space name from space id

func GetUser

func GetUser(userId string) (string, error)

get username from user id

Types

type CloudFoundryClientConfig

type CloudFoundryClientConfig struct {
	Endpoint       string
	User           string
	Password       string
	CFClientID     string
	CFClientSecret string
	Origin         string
	AccessToken    string
	RefreshToken   string
}

func (*CloudFoundryClientConfig) NewSession

func (c *CloudFoundryClientConfig) NewSession() (*Session, error)

type Session

type Session struct {
	CFClient *client.Client
}

Jump to

Keyboard shortcuts

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