ctl

package
v0.0.0-...-ff2d68f Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 40 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 AJsonFormat

func AJsonFormat(index int, v interface{})

func AconfigData

func AconfigData(response *agent.SyncResponse)

func Acontainers

func Acontainers(response *agent.SyncResponse)

func AflowAcls

func AflowAcls(response *agent.SyncResponse)

func AformatEntries

func AformatEntries(entry *agent.GPIDSyncEntry) string

func AformatGlobalEntry

func AformatGlobalEntry(entry *agent.GlobalGPIDEntry) string

func AformatRVEntry

func AformatRVEntry(entry *agent.RipToVip) string

func AformatRealEntry

func AformatRealEntry(entry *agent.RealClientToRealServer) string

func AformatString

func AformatString(data *agent.Interface) string

func AgentCheckRegisterCommand

func AgentCheckRegisterCommand() *cobra.Command

func AgpidAgentRequest

func AgpidAgentRequest(cmd *cobra.Command)

func AgpidAgentResponse

func AgpidAgentResponse(cmd *cobra.Command)

func AgpidGlobalTable

func AgpidGlobalTable(cmd *cobra.Command)

func AipGroups

func AipGroups(response *agent.SyncResponse)

func AplatformData

func AplatformData(response *agent.SyncResponse)

func Aplugin

func Aplugin(cmd *cobra.Command)

func ArealGlobal

func ArealGlobal(cmd *cobra.Command)

func AripToVip

func AripToVip(cmd *cobra.Command)

func Asegments

func Asegments(response *agent.SyncResponse)

func AskipInterface

func AskipInterface(response *agent.SyncResponse)

func AtapTypes

func AtapTypes(response *agent.SyncResponse)

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 RegisterPluginCommand

func RegisterPluginCommand() *cobra.Command

func RegisterPromQLCommand

func RegisterPromQLCommand() *cobra.Command

func RegisterPrometheusCommand

func RegisterPrometheusCommand() *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 AgentCmdExecute

type AgentCmdExecute func(response *agent.SyncResponse)

type AgentParamData

type AgentParamData struct {
	K8SWatchPolicy int32
	OrgID          uint32
	CtrlIP         string
	CtrlMac        string
	GroupID        string
	ClusterID      string
	TeamID         string
	RpcIP          string
	RpcPort        string
	PluginType     string
	PluginName     string
}

type AgentSortedAcls

type AgentSortedAcls []*agent.FlowAcl

func (AgentSortedAcls) Len

func (a AgentSortedAcls) Len() int

func (AgentSortedAcls) Less

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

func (AgentSortedAcls) Swap

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

type CmdExecute

type CmdExecute func(response *trident.SyncResponse)

type Ctl

type Ctl struct{}

type ParamData

type ParamData struct {
	KubernetesWatchPolicy int32
	OrgID                 uint32
	CtrlIP                string
	CtrlMac               string
	GroupID               string
	ClusterID             string
	TeamID                string
	RpcIP                 string
	RpcPort               string
	Type                  string
	PluginType            string
	PluginName            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