ctl

package
v0.0.0-...-38ac673 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BranchRegex   = regexp.MustCompile(`Branch:[\s](.*)`)
	RevCountRegex = regexp.MustCompile(`RevCount:[\s](.*)`)
	CommitIDRegex = regexp.MustCompile(`CommitId:[\s](.*)`)
)

Functions

func Execute

func Execute(version string)

func JsonFormat

func JsonFormat(index int, v interface{})

func RegisterAgentCommand

func RegisterAgentCommand() *cobra.Command

func RegisterAgentGroupCommand

func RegisterAgentGroupCommand() *cobra.Command

func RegisterAgentGroupConfigCommand

func RegisterAgentGroupConfigCommand() *cobra.Command

func RegisterAgentUpgradeCommand

func RegisterAgentUpgradeCommand() *cobra.Command

func RegisterCloudCommand

func RegisterCloudCommand() *cobra.Command

func RegisterDomainAdditionalResourceCommand

func RegisterDomainAdditionalResourceCommand() *cobra.Command

func RegisterDomainCommand

func RegisterDomainCommand() *cobra.Command

func RegisterGenesisCommand

func RegisterGenesisCommand() *cobra.Command

func RegisterRecorderCommand

func RegisterRecorderCommand() *cobra.Command

func RegisterRepoCommand

func RegisterRepoCommand() *cobra.Command

func RegisterServerCommand

func RegisterServerCommand() *cobra.Command

func RegisterSubDomainCommand

func RegisterSubDomainCommand() *cobra.Command

func RegisterTrisolarisCommand

func RegisterTrisolarisCommand() *cobra.Command

func RegisterVPCCommend

func RegisterVPCCommend() *cobra.Command

func Uint64ToMac

func Uint64ToMac(v uint64) net.HardwareAddr

Types

type CmdExecute

type CmdExecute func(response *trident.SyncResponse)

type Ctl

type Ctl struct{}

type ParamData

type ParamData struct {
	CtrlIP    string
	CtrlMac   string
	GroupID   string
	ClusterID string
	RpcIP     string
	RpcPort   string
	Type      string
}

type RebalanceType

type RebalanceType string
const RebalanceTypeNull RebalanceType = "null"

type SortedAcls

type SortedAcls []*trident.FlowAcl

func (SortedAcls) Len

func (a SortedAcls) Len() int

func (SortedAcls) Less

func (a SortedAcls) Less(i, j int) bool

func (SortedAcls) Swap

func (a SortedAcls) Swap(i, j int)

type SubDomainType

type SubDomainType uint8
const (
	SubDomainTypeCreate SubDomainType = iota
	SubDomainTypeUpdate
)

Directories

Path Synopsis
printutil
Package printutil for output styling.
Package printutil for output styling.

Jump to

Keyboard shortcuts

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