commands

package
v0.0.0-...-86ca01b Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigCommands

func GetConfigCommands() *cli.Command

func GetInstanceCommands

func GetInstanceCommands() *cli.Command

func GetJobCommands

func GetJobCommands() *cli.Command

func GetLicenseCommands

func GetLicenseCommands() *cli.Command

func GetTenantCommands

func GetTenantCommands() *cli.Command

seperation without using global variables

func ValidateArray

func ValidateArray(vss []ValidString) error

func ValidateOrArray

func ValidateOrArray(vsso [][]ValidString) error

Types

type MartiniInstanceTenant

type MartiniInstanceTenant struct {
	TenantId   string `json:"tenantid"`
	TenantName string `json:"tenantname"`

	Instances []instance.MartiniInstance `json:"instances"`
}

type MartiniJobTenant

type MartiniJobTenant struct {
	TenantId     string           `json:"tenantid"`
	TenantName   string           `json:"tenantname"`
	InstanceId   string           `json:"instanceid"`
	InstanceName string           `json:"instancename"`
	Jobs         []job.MartiniJob `json:"jobs"`
}

type MartiniLicenseInfoInstance

type MartiniLicenseInfoInstance struct {
	TenantId     string                           `json:"tenantid"`
	TenantName   string                           `json:"tenantname"`
	InstanceId   string                           `json:"instanceid"`
	InstanceName string                           `json:"instancename"`
	LicenseInfos []licensemgmt.MartiniLicenseInfo `json:"licenseinfos"`
}

type MartiniLicenseUserInstance

type MartiniLicenseUserInstance struct {
	TenantId     string                           `json:"tenantid"`
	TenantName   string                           `json:"tenantname"`
	InstanceId   string                           `json:"instanceid"`
	InstanceName string                           `json:"instancename"`
	LicenseUsers []licensemgmt.MartiniLicenseUser `json:"licenseusers"`
}

type MartiniTenantWithInstance

type MartiniTenantWithInstance struct {
	Tenant    tenant.MartiniTenant
	Instances []instance.MartiniInstance
}

type ValidString

type ValidString struct {
	Input string
	// contains filtered or unexported fields
}

func (*ValidString) Validate

func (v *ValidString) Validate() error

Jump to

Keyboard shortcuts

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