commands

package
v2.34.8 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JpdAdd

func JpdAdd(flags *JpdAddFlags) error

func JpdDelete

func JpdDelete(jpdId string, serverDetails *config.ServerDetails) error

func LicenseAcquire

func LicenseAcquire(bucketId string, name string, serverDetails *config.ServerDetails) error

func LicenseDeploy

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

func LicenseRelease

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

Types

type JpdAddFlags

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

type LicenseAcquireRequestContent

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

type LicenseDeployFlags

type LicenseDeployFlags struct {
	ServerDetails *config.ServerDetails
	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