commands

package
v1.39.3 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearConfig

func ClearConfig() error

func Config

func Config(details, defaultDetails *config.MissionControlDetails, interactive bool) (conf *config.MissionControlDetails, err error)

func GetConfig

func GetConfig() (*config.MissionControlDetails, error)

func JpdAdd

func JpdAdd(flags *JpdAddFlags) error

func JpdDelete

func JpdDelete(jpdId string, mcDetails *config.MissionControlDetails) error

func LicenseAcquire

func LicenseAcquire(bucketId string, name string, mcDetails *config.MissionControlDetails) error

func LicenseDeploy

func LicenseDeploy(bucketId, jpdId string, flags *LicenseDeployFlags) error

func LicenseRelease

func LicenseRelease(bucketId, jpdId string, mcDetails *config.MissionControlDetails) error

func ShowConfig

func ShowConfig() error

Types

type ConfigFlags

type ConfigFlags struct {
	MissionControlDetails *config.MissionControlDetails
	Interactive           bool
}

type JpdAddFlags

type JpdAddFlags struct {
	MissionControlDetails *config.MissionControlDetails
	JpdConfig             []byte
}

type LicenseAcquireRequestContent

type LicenseAcquireRequestContent struct {
	Name         string `json:"name,omitempty"`
	LicenseCount int    `json:"license_count,omitempty"`
}

type LicenseDeployFlags

type LicenseDeployFlags struct {
	MissionControlDetails *config.MissionControlDetails
	LicenseCount          int
}

type LicenseDeployRequestContent

type LicenseDeployRequestContent struct {
	JpdId        string `json:"jpd_id,omitempty"`
	LicenseCount int    `json:"license_count,omitempty"`
}

type LicenseReleaseRequestContent

type LicenseReleaseRequestContent struct {
	Name string `json:"name,omitempty"`
}

Jump to

Keyboard shortcuts

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