Documentation ¶
Index ¶
- Variables
- func CmdNodeVersion()
- type CmdArrayLs
- type CmdClusterAbort
- type CmdClusterFreeze
- type CmdClusterLogs
- type CmdClusterSSHTrust
- type CmdClusterUnfreeze
- type CmdDNSDump
- type CmdDaemonAuth
- type CmdDaemonCommon
- type CmdDaemonJoin
- type CmdDaemonLeave
- type CmdDaemonRelayStatus
- type CmdDaemonRestart
- type CmdDaemonRunning
- type CmdDaemonShutdown
- type CmdDaemonStart
- type CmdDaemonStats
- type CmdDaemonStatus
- type CmdDaemonStop
- type CmdKeystoreAdd
- type CmdKeystoreChange
- type CmdKeystoreDecode
- type CmdKeystoreInstall
- type CmdKeystoreKeys
- type CmdKeystoreRemove
- type CmdKeystoreRename
- type CmdNetworkIPLs
- type CmdNetworkLs
- type CmdNetworkSetup
- type CmdNodeAbort
- type CmdNodeCapabilitiesList
- type CmdNodeCapabilitiesScan
- type CmdNodeChecks
- type CmdNodeClear
- type CmdNodeCollectorTagAttach
- type CmdNodeCollectorTagCreate
- type CmdNodeCollectorTagDetach
- type CmdNodeCollectorTagList
- type CmdNodeCollectorTagShow
- type CmdNodeComplianceAttachModuleset
- type CmdNodeComplianceAttachRuleset
- type CmdNodeComplianceAuto
- type CmdNodeComplianceCheck
- type CmdNodeComplianceDetachModuleset
- type CmdNodeComplianceDetachRuleset
- type CmdNodeComplianceEnv
- type CmdNodeComplianceFix
- type CmdNodeComplianceFixable
- type CmdNodeComplianceListModules
- type CmdNodeComplianceListModuleset
- type CmdNodeComplianceListRuleset
- type CmdNodeComplianceShowModuleset
- type CmdNodeComplianceShowRuleset
- type CmdNodeDoc
- type CmdNodeDrain
- type CmdNodeDrivers
- type CmdNodeEditConfig
- type CmdNodeEval
- type CmdNodeEvents
- type CmdNodeFreeze
- type CmdNodeGet
- type CmdNodeLogs
- type CmdNodeLs
- type CmdNodePRKey
- type CmdNodePrintConfig
- type CmdNodePrintSchedule
- type CmdNodePushAsset
- type CmdNodePushDisks
- type CmdNodePushPatch
- type CmdNodePushPkg
- type CmdNodeRegister
- type CmdNodeRelayStatus
- type CmdNodeSSHTrust
- type CmdNodeSet
- type CmdNodeSysreport
- type CmdNodeUnfreeze
- type CmdNodeUnset
- type CmdNodeUpdate
- type CmdNodeValidateConfig
- type CmdObjectAbort
- type CmdObjectBoot
- type CmdObjectClear
- type CmdObjectCollectorTagAttach
- type CmdObjectCollectorTagCreate
- type CmdObjectCollectorTagDetach
- type CmdObjectCollectorTagList
- type CmdObjectCollectorTagShow
- type CmdObjectComplianceAttachModuleset
- type CmdObjectComplianceAttachRuleset
- type CmdObjectComplianceAuto
- type CmdObjectComplianceCheck
- type CmdObjectComplianceDetachModuleset
- type CmdObjectComplianceDetachRuleset
- type CmdObjectComplianceEnv
- type CmdObjectComplianceFix
- type CmdObjectComplianceFixable
- type CmdObjectComplianceListModules
- type CmdObjectComplianceListModuleset
- type CmdObjectComplianceListRuleset
- type CmdObjectComplianceShowModuleset
- type CmdObjectComplianceShowRuleset
- type CmdObjectCreate
- type CmdObjectDelete
- type CmdObjectDisable
- type CmdObjectDoc
- type CmdObjectEditConfig
- type CmdObjectEditKey
- type CmdObjectEnable
- type CmdObjectEnter
- type CmdObjectEval
- type CmdObjectFreeze
- type CmdObjectGet
- type CmdObjectGiveback
- type CmdObjectInstanceLs
- type CmdObjectLogs
- type CmdObjectLs
- type CmdObjectMonitor
- type CmdObjectPRStart
- type CmdObjectPRStop
- type CmdObjectPrintConfig
- type CmdObjectPrintConfigMtime
- type CmdObjectPrintDevices
- type CmdObjectPrintResourceInfo
- type CmdObjectPrintSchedule
- type CmdObjectPrintStatus
- type CmdObjectProvision
- type CmdObjectPurge
- type CmdObjectPushResourceInfo
- type CmdObjectResourceLs
- type CmdObjectRestart
- type CmdObjectRun
- type CmdObjectSet
- type CmdObjectSetProvisioned
- type CmdObjectSetUnprovisioned
- type CmdObjectShutdown
- type CmdObjectStart
- type CmdObjectStartStandby
- type CmdObjectStatus
- type CmdObjectStop
- type CmdObjectSwitch
- type CmdObjectSyncFull
- type CmdObjectSyncIngest
- type CmdObjectSyncResync
- type CmdObjectSyncUpdate
- type CmdObjectTakeover
- type CmdObjectUnfreeze
- type CmdObjectUnprovision
- type CmdObjectUnset
- type CmdObjectUpdate
- type CmdObjectValidateConfig
- type CmdPKCS
- type CmdPoolLs
- type CmdPoolVolumeLs
- type CmdSecGenCert
- type OptTo
- type OptsAsync
- type OptsGlobal
- type OptsLock
- type OptsLogs
- type OptsResourceSelector
- type Pivot
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrFlagInvalid = errors.New("invalid command flag") ErrPrint = errors.New("print") ErrClientRequest = errors.New("client request") ErrClientStatusCode = errors.New("client request unexpected status code") ErrEventKindUnexpected = errors.New("unexpected event kind") ErrFetchFile = errors.New("fetch file") ErrInstallFile = errors.New("install file") )
View Source
var (
ErrCmdDaemonAuth = errors.New("command daemon auth")
)
View Source
var (
ErrCmdDaemonJoin = errors.New("command daemon join")
)
Functions ¶
func CmdNodeVersion ¶
func CmdNodeVersion()
Types ¶
type CmdArrayLs ¶
type CmdArrayLs struct {
OptsGlobal
}
func (*CmdArrayLs) Run ¶
func (t *CmdArrayLs) Run() error
type CmdClusterAbort ¶
type CmdClusterAbort struct { OptsGlobal OptsAsync }
func (*CmdClusterAbort) Run ¶
func (t *CmdClusterAbort) Run() error
type CmdClusterFreeze ¶
type CmdClusterFreeze struct { OptsGlobal OptsAsync }
func (*CmdClusterFreeze) Run ¶
func (t *CmdClusterFreeze) Run() error
type CmdClusterLogs ¶
type CmdClusterLogs struct { OptsGlobal OptsLogs NodeSelector string }
func (*CmdClusterLogs) Run ¶
func (t *CmdClusterLogs) Run() error
type CmdClusterSSHTrust ¶
type CmdClusterSSHTrust struct {
OptsGlobal
}
func (*CmdClusterSSHTrust) Run ¶
func (t *CmdClusterSSHTrust) Run() error
type CmdClusterUnfreeze ¶
type CmdClusterUnfreeze struct { OptsGlobal OptsAsync }
func (*CmdClusterUnfreeze) Run ¶
func (t *CmdClusterUnfreeze) Run() error
type CmdDNSDump ¶
type CmdDNSDump struct {
OptsGlobal
}
func (*CmdDNSDump) Run ¶
func (t *CmdDNSDump) Run() error
type CmdDaemonAuth ¶
type CmdDaemonAuth struct { OptsGlobal Roles []string Duration time.Duration Out []string }
func (*CmdDaemonAuth) Run ¶
func (t *CmdDaemonAuth) Run() error
type CmdDaemonCommon ¶
type CmdDaemonCommon struct{}
type CmdDaemonJoin ¶
type CmdDaemonJoin struct { CmdDaemonCommon Node string Token string // Timeout is the maximum duration for leave Timeout time.Duration }
func (*CmdDaemonJoin) Run ¶
func (t *CmdDaemonJoin) Run() error
type CmdDaemonLeave ¶
type CmdDaemonLeave struct { CmdDaemonCommon // Timeout is the maximum duration for leave Timeout time.Duration // APINode is a cluster node where the leave request will be posted APINode string // contains filtered or unexported fields }
func (*CmdDaemonLeave) Run ¶
func (t *CmdDaemonLeave) Run() (err error)
type CmdDaemonRelayStatus ¶
type CmdDaemonRelayStatus struct {
OptsGlobal
}
func (*CmdDaemonRelayStatus) Run ¶
func (t *CmdDaemonRelayStatus) Run() error
type CmdDaemonRestart ¶
type CmdDaemonRestart struct { OptsGlobal Debug bool NodeSelector string }
func (*CmdDaemonRestart) Run ¶
func (t *CmdDaemonRestart) Run() error
Run functions restart daemon.
The daemon restart is asynchronous when node selector is used
type CmdDaemonRunning ¶
type CmdDaemonRunning struct { OptsGlobal NodeSelector string }
func (*CmdDaemonRunning) Run ¶
func (t *CmdDaemonRunning) Run() error
type CmdDaemonShutdown ¶
type CmdDaemonShutdown struct { OptsGlobal NodeSelector string // Timeout is the maximum duration for shutdown Timeout time.Duration }
func (*CmdDaemonShutdown) Run ¶
func (t *CmdDaemonShutdown) Run() error
type CmdDaemonStart ¶
type CmdDaemonStart struct { OptsGlobal Foreground bool CPUProfile string }
func (*CmdDaemonStart) Run ¶
func (t *CmdDaemonStart) Run() error
type CmdDaemonStats ¶
type CmdDaemonStats struct {
OptsGlobal
}
func (*CmdDaemonStats) Run ¶
func (t *CmdDaemonStats) Run() error
type CmdDaemonStatus ¶
type CmdDaemonStatus struct { OptsGlobal Watch bool Sections string }
func (*CmdDaemonStatus) Run ¶
func (t *CmdDaemonStatus) Run() error
type CmdDaemonStop ¶
type CmdDaemonStop struct { OptsGlobal NodeSelector string }
func (*CmdDaemonStop) Run ¶
func (t *CmdDaemonStop) Run() error
type CmdKeystoreAdd ¶
type CmdKeystoreAdd struct { OptsGlobal OptsLock Key string From *string Value *string }
func (*CmdKeystoreAdd) Run ¶
func (t *CmdKeystoreAdd) Run(selector, kind string) error
type CmdKeystoreChange ¶
type CmdKeystoreChange struct { OptsGlobal Key string From *string Value *string }
func (*CmdKeystoreChange) Run ¶
func (t *CmdKeystoreChange) Run(selector, kind string) error
type CmdKeystoreDecode ¶
type CmdKeystoreDecode struct { OptsGlobal Key string }
func (*CmdKeystoreDecode) Run ¶
func (t *CmdKeystoreDecode) Run(selector, kind string) error
type CmdKeystoreInstall ¶
type CmdKeystoreInstall struct { OptsGlobal NodeSelector string Key string }
func (*CmdKeystoreInstall) Run ¶
func (t *CmdKeystoreInstall) Run(selector, kind string) error
type CmdKeystoreKeys ¶
type CmdKeystoreKeys struct { OptsGlobal Match string }
func (*CmdKeystoreKeys) Run ¶
func (t *CmdKeystoreKeys) Run(selector, kind string) error
type CmdKeystoreRemove ¶
type CmdKeystoreRemove struct { OptsGlobal Key string }
func (*CmdKeystoreRemove) Run ¶
func (t *CmdKeystoreRemove) Run(selector, kind string) error
type CmdKeystoreRename ¶
type CmdKeystoreRename struct { OptsGlobal Key string To string }
func (*CmdKeystoreRename) Run ¶
func (t *CmdKeystoreRename) Run(selector, kind string) error
type CmdNetworkIPLs ¶
type CmdNetworkIPLs struct { OptsGlobal Name string }
func (*CmdNetworkIPLs) Run ¶
func (t *CmdNetworkIPLs) Run() error
type CmdNetworkLs ¶
type CmdNetworkLs struct { OptsGlobal Name string }
func (*CmdNetworkLs) Run ¶
func (t *CmdNetworkLs) Run() error
type CmdNetworkSetup ¶
type CmdNetworkSetup struct {
OptsGlobal
}
func (*CmdNetworkSetup) Run ¶
func (t *CmdNetworkSetup) Run() error
type CmdNodeAbort ¶
type CmdNodeAbort struct { OptsGlobal OptsAsync NodeSelector string }
func (*CmdNodeAbort) Run ¶
func (t *CmdNodeAbort) Run() error
type CmdNodeCapabilitiesList ¶
type CmdNodeCapabilitiesList struct { OptsGlobal NodeSelector string }
func (*CmdNodeCapabilitiesList) Run ¶
func (t *CmdNodeCapabilitiesList) Run() error
type CmdNodeCapabilitiesScan ¶
type CmdNodeCapabilitiesScan struct { OptsGlobal NodeSelector string }
func (*CmdNodeCapabilitiesScan) Run ¶
func (t *CmdNodeCapabilitiesScan) Run() error
type CmdNodeChecks ¶
type CmdNodeChecks struct { OptsGlobal NodeSelector string }
func (*CmdNodeChecks) Run ¶
func (t *CmdNodeChecks) Run() error
type CmdNodeClear ¶
type CmdNodeClear struct {
OptsGlobal
}
func (*CmdNodeClear) Run ¶
func (t *CmdNodeClear) Run() error
type CmdNodeCollectorTagAttach ¶
type CmdNodeCollectorTagAttach struct { OptsGlobal Name string AttachData *string }
func (*CmdNodeCollectorTagAttach) Run ¶
func (t *CmdNodeCollectorTagAttach) Run() error
type CmdNodeCollectorTagCreate ¶
type CmdNodeCollectorTagCreate struct { OptsGlobal Name string Data *string Exclude *string }
func (*CmdNodeCollectorTagCreate) Run ¶
func (t *CmdNodeCollectorTagCreate) Run() error
type CmdNodeCollectorTagDetach ¶
type CmdNodeCollectorTagDetach struct { OptsGlobal Name string }
func (*CmdNodeCollectorTagDetach) Run ¶
func (t *CmdNodeCollectorTagDetach) Run() error
type CmdNodeCollectorTagList ¶
type CmdNodeCollectorTagList struct {
OptsGlobal
}
func (*CmdNodeCollectorTagList) Run ¶
func (t *CmdNodeCollectorTagList) Run() error
type CmdNodeCollectorTagShow ¶
type CmdNodeCollectorTagShow struct { OptsGlobal Verbose bool }
func (*CmdNodeCollectorTagShow) Run ¶
func (t *CmdNodeCollectorTagShow) Run() error
type CmdNodeComplianceAttachModuleset ¶
type CmdNodeComplianceAttachModuleset struct { OptsGlobal Moduleset string NodeSelector string }
func (*CmdNodeComplianceAttachModuleset) Run ¶
func (t *CmdNodeComplianceAttachModuleset) Run() error
type CmdNodeComplianceAttachRuleset ¶
type CmdNodeComplianceAttachRuleset struct { OptsGlobal NodeSelector string Ruleset string }
func (*CmdNodeComplianceAttachRuleset) Run ¶
func (t *CmdNodeComplianceAttachRuleset) Run() error
type CmdNodeComplianceAuto ¶
type CmdNodeComplianceAuto struct { OptsGlobal Moduleset string Module string NodeSelector string Force bool Attach bool }
func (*CmdNodeComplianceAuto) Run ¶
func (t *CmdNodeComplianceAuto) Run() error
type CmdNodeComplianceCheck ¶
type CmdNodeComplianceCheck struct { OptsGlobal Moduleset string Module string NodeSelector string Force bool Attach bool }
func (*CmdNodeComplianceCheck) Run ¶
func (t *CmdNodeComplianceCheck) Run() error
type CmdNodeComplianceDetachModuleset ¶
type CmdNodeComplianceDetachModuleset struct { OptsGlobal Moduleset string NodeSelector string }
func (*CmdNodeComplianceDetachModuleset) Run ¶
func (t *CmdNodeComplianceDetachModuleset) Run() error
type CmdNodeComplianceDetachRuleset ¶
type CmdNodeComplianceDetachRuleset struct { OptsGlobal Ruleset string NodeSelector string }
func (*CmdNodeComplianceDetachRuleset) Run ¶
func (t *CmdNodeComplianceDetachRuleset) Run() error
type CmdNodeComplianceEnv ¶
type CmdNodeComplianceEnv struct { OptsGlobal Moduleset string Module string NodeSelector string }
func (*CmdNodeComplianceEnv) Run ¶
func (t *CmdNodeComplianceEnv) Run() error
type CmdNodeComplianceFix ¶
type CmdNodeComplianceFix struct { OptsGlobal Moduleset string Module string NodeSelector string Force bool Attach bool }
func (*CmdNodeComplianceFix) Run ¶
func (t *CmdNodeComplianceFix) Run() error
type CmdNodeComplianceFixable ¶
type CmdNodeComplianceFixable struct { OptsGlobal Moduleset string Module string NodeSelector string Force bool Attach bool }
func (*CmdNodeComplianceFixable) Run ¶
func (t *CmdNodeComplianceFixable) Run() error
type CmdNodeComplianceListModules ¶
type CmdNodeComplianceListModules struct { OptsGlobal NodeSelector string }
func (*CmdNodeComplianceListModules) Run ¶
func (t *CmdNodeComplianceListModules) Run() error
type CmdNodeComplianceListModuleset ¶
type CmdNodeComplianceListModuleset struct { OptsGlobal Moduleset string NodeSelector string }
func (*CmdNodeComplianceListModuleset) Run ¶
func (t *CmdNodeComplianceListModuleset) Run() error
type CmdNodeComplianceListRuleset ¶
type CmdNodeComplianceListRuleset struct { OptsGlobal Ruleset string NodeSelector string }
func (*CmdNodeComplianceListRuleset) Run ¶
func (t *CmdNodeComplianceListRuleset) Run() error
type CmdNodeComplianceShowModuleset ¶
type CmdNodeComplianceShowModuleset struct { OptsGlobal Moduleset string NodeSelector string }
func (*CmdNodeComplianceShowModuleset) Run ¶
func (t *CmdNodeComplianceShowModuleset) Run() error
type CmdNodeComplianceShowRuleset ¶
type CmdNodeComplianceShowRuleset struct { OptsGlobal NodeSelector string }
func (*CmdNodeComplianceShowRuleset) Run ¶
func (t *CmdNodeComplianceShowRuleset) Run() error
type CmdNodeDoc ¶
type CmdNodeDoc struct { OptsGlobal Keyword string Driver string Depth int }
func (*CmdNodeDoc) Run ¶
func (t *CmdNodeDoc) Run() error
type CmdNodeDrain ¶
type CmdNodeDrain struct { OptsGlobal OptsAsync NodeSelector string }
func (*CmdNodeDrain) Run ¶
func (t *CmdNodeDrain) Run() error
type CmdNodeDrivers ¶
type CmdNodeDrivers struct {
OptsGlobal
}
func (*CmdNodeDrivers) Run ¶
func (t *CmdNodeDrivers) Run() error
type CmdNodeEditConfig ¶
type CmdNodeEditConfig struct { OptsGlobal Discard bool Recover bool }
func (*CmdNodeEditConfig) Run ¶
func (t *CmdNodeEditConfig) Run() error
type CmdNodeEval ¶
type CmdNodeEval struct { OptsGlobal OptsLock Keywords []string Impersonate string NodeSelector string }
func (*CmdNodeEval) Run ¶
func (t *CmdNodeEval) Run() error
type CmdNodeEvents ¶
type CmdNodeEvents struct { OptsGlobal Filters []string Duration time.Duration Limit uint64 Template string Wait bool NodeSelector string // contains filtered or unexported fields }
func (*CmdNodeEvents) Run ¶
func (t *CmdNodeEvents) Run() error
type CmdNodeFreeze ¶
type CmdNodeFreeze struct { OptsGlobal NodeSelector string }
func (*CmdNodeFreeze) Run ¶
func (t *CmdNodeFreeze) Run() error
type CmdNodeGet ¶
type CmdNodeGet struct { OptsGlobal OptsLock Eval bool Impersonate string Keywords []string NodeSelector string }
func (*CmdNodeGet) Run ¶
func (t *CmdNodeGet) Run() error
type CmdNodeLogs ¶
type CmdNodeLogs struct { OptsGlobal OptsLogs NodeSelector string }
func (*CmdNodeLogs) Run ¶
func (t *CmdNodeLogs) Run() error
type CmdNodeLs ¶
type CmdNodeLs struct { OptsGlobal NodeSelector string }
type CmdNodePRKey ¶
type CmdNodePRKey struct { OptsGlobal NodeSelector string }
func (*CmdNodePRKey) Run ¶
func (t *CmdNodePRKey) Run() error
type CmdNodePrintConfig ¶
type CmdNodePrintConfig struct { OptsGlobal Eval bool Impersonate string NodeSelector string }
func (*CmdNodePrintConfig) Run ¶
func (t *CmdNodePrintConfig) Run() error
type CmdNodePrintSchedule ¶
type CmdNodePrintSchedule struct { OptsGlobal NodeSelector string }
func (*CmdNodePrintSchedule) Run ¶
func (t *CmdNodePrintSchedule) Run() error
type CmdNodePushAsset ¶
type CmdNodePushAsset struct { OptsGlobal NodeSelector string }
func (*CmdNodePushAsset) Run ¶
func (t *CmdNodePushAsset) Run() error
type CmdNodePushDisks ¶
type CmdNodePushDisks struct { OptsGlobal NodeSelector string }
func (*CmdNodePushDisks) Run ¶
func (t *CmdNodePushDisks) Run() error
type CmdNodePushPatch ¶
type CmdNodePushPatch struct { OptsGlobal NodeSelector string }
func (*CmdNodePushPatch) Run ¶
func (t *CmdNodePushPatch) Run() error
type CmdNodePushPkg ¶
type CmdNodePushPkg struct { OptsGlobal NodeSelector string }
func (*CmdNodePushPkg) Run ¶
func (t *CmdNodePushPkg) Run() error
type CmdNodeRegister ¶
type CmdNodeRegister struct { OptsGlobal User string Password string App string NodeSelector string }
func (*CmdNodeRegister) Run ¶
func (t *CmdNodeRegister) Run() error
type CmdNodeRelayStatus ¶
type CmdNodeRelayStatus struct { OptsGlobal Relays string }
func (*CmdNodeRelayStatus) Run ¶
func (t *CmdNodeRelayStatus) Run() error
type CmdNodeSSHTrust ¶
type CmdNodeSSHTrust struct { OptsGlobal NodeSelector string }
func (*CmdNodeSSHTrust) Run ¶
func (t *CmdNodeSSHTrust) Run() error
type CmdNodeSet ¶
type CmdNodeSet struct { OptsGlobal OptsLock KeywordOps []string NodeSelector string }
func (*CmdNodeSet) Run ¶
func (t *CmdNodeSet) Run() error
type CmdNodeSysreport ¶
type CmdNodeSysreport struct { OptsGlobal Force bool NodeSelector string }
func (*CmdNodeSysreport) Run ¶
func (t *CmdNodeSysreport) Run() error
type CmdNodeUnfreeze ¶
type CmdNodeUnfreeze struct { OptsGlobal NodeSelector string }
func (*CmdNodeUnfreeze) Run ¶
func (t *CmdNodeUnfreeze) Run() error
type CmdNodeUnset ¶
type CmdNodeUnset struct { OptsGlobal OptsLock Keywords []string Sections []string NodeSelector string }
func (*CmdNodeUnset) Run ¶
func (t *CmdNodeUnset) Run() error
type CmdNodeUpdate ¶
type CmdNodeUpdate struct { OptsGlobal OptsLock Delete []string Set []string Unset []string NodeSelector string }
func (*CmdNodeUpdate) Run ¶
func (t *CmdNodeUpdate) Run() error
type CmdNodeValidateConfig ¶
type CmdNodeValidateConfig struct { OptsGlobal NodeSelector string }
func (*CmdNodeValidateConfig) Run ¶
func (t *CmdNodeValidateConfig) Run() error
type CmdObjectAbort ¶
type CmdObjectAbort struct { OptsGlobal OptsAsync }
func (*CmdObjectAbort) Run ¶
func (t *CmdObjectAbort) Run(selector, kind string) error
type CmdObjectBoot ¶
type CmdObjectBoot struct { OptsGlobal OptsResourceSelector OptTo OptsLock NodeSelector string }
func (*CmdObjectBoot) Run ¶
func (t *CmdObjectBoot) Run(selector, kind string) error
type CmdObjectClear ¶
type CmdObjectClear struct {
OptsGlobal
}
func (*CmdObjectClear) Run ¶
func (t *CmdObjectClear) Run(selector, kind string) error
type CmdObjectCollectorTagAttach ¶
type CmdObjectCollectorTagAttach struct { OptsGlobal Name string AttachData *string }
func (*CmdObjectCollectorTagAttach) Run ¶
func (t *CmdObjectCollectorTagAttach) Run(selector, kind string) error
type CmdObjectCollectorTagCreate ¶
type CmdObjectCollectorTagCreate struct { OptsGlobal Name string Data *string Exclude *string }
func (*CmdObjectCollectorTagCreate) Run ¶
func (t *CmdObjectCollectorTagCreate) Run(selector, kind string) error
type CmdObjectCollectorTagDetach ¶
type CmdObjectCollectorTagDetach struct { OptsGlobal Name string }
func (*CmdObjectCollectorTagDetach) Run ¶
func (t *CmdObjectCollectorTagDetach) Run(selector, kind string) error
type CmdObjectCollectorTagList ¶
type CmdObjectCollectorTagList struct {
OptsGlobal
}
func (*CmdObjectCollectorTagList) Run ¶
func (t *CmdObjectCollectorTagList) Run(selector, kind string) error
type CmdObjectCollectorTagShow ¶
type CmdObjectCollectorTagShow struct { OptsGlobal Verbose bool }
func (*CmdObjectCollectorTagShow) Run ¶
func (t *CmdObjectCollectorTagShow) Run(selector, kind string) error
type CmdObjectComplianceAttachModuleset ¶
type CmdObjectComplianceAttachModuleset struct { OptsGlobal Moduleset string }
func (*CmdObjectComplianceAttachModuleset) Run ¶
func (t *CmdObjectComplianceAttachModuleset) Run(selector, kind string) error
type CmdObjectComplianceAttachRuleset ¶
type CmdObjectComplianceAttachRuleset struct { OptsGlobal Ruleset string }
func (*CmdObjectComplianceAttachRuleset) Run ¶
func (t *CmdObjectComplianceAttachRuleset) Run(selector, kind string) error
type CmdObjectComplianceAuto ¶
type CmdObjectComplianceAuto struct { OptsGlobal Moduleset string Module string NodeSelector string Force bool Attach bool }
func (*CmdObjectComplianceAuto) Run ¶
func (t *CmdObjectComplianceAuto) Run(selector, kind string) error
type CmdObjectComplianceCheck ¶
type CmdObjectComplianceCheck struct { OptsGlobal Moduleset string Module string NodeSelector string Force bool Attach bool }
func (*CmdObjectComplianceCheck) Run ¶
func (t *CmdObjectComplianceCheck) Run(selector, kind string) error
type CmdObjectComplianceDetachModuleset ¶
type CmdObjectComplianceDetachModuleset struct { OptsGlobal Moduleset string }
func (*CmdObjectComplianceDetachModuleset) Run ¶
func (t *CmdObjectComplianceDetachModuleset) Run(selector, kind string) error
type CmdObjectComplianceDetachRuleset ¶
type CmdObjectComplianceDetachRuleset struct { OptsGlobal Ruleset string }
func (*CmdObjectComplianceDetachRuleset) Run ¶
func (t *CmdObjectComplianceDetachRuleset) Run(selector, kind string) error
type CmdObjectComplianceEnv ¶
type CmdObjectComplianceEnv struct { OptsGlobal Moduleset string Module string NodeSelector string }
func (*CmdObjectComplianceEnv) Run ¶
func (t *CmdObjectComplianceEnv) Run(selector, kind string) error
type CmdObjectComplianceFix ¶
type CmdObjectComplianceFix struct { OptsGlobal Moduleset string Module string NodeSelector string Force bool Attach bool }
func (*CmdObjectComplianceFix) Run ¶
func (t *CmdObjectComplianceFix) Run(selector, kind string) error
type CmdObjectComplianceFixable ¶
type CmdObjectComplianceFixable struct { OptsGlobal Moduleset string Module string NodeSelector string Force bool Attach bool }
func (*CmdObjectComplianceFixable) Run ¶
func (t *CmdObjectComplianceFixable) Run(selector, kind string) error
type CmdObjectComplianceListModules ¶
type CmdObjectComplianceListModules struct {
OptsGlobal
}
func (*CmdObjectComplianceListModules) Run ¶
func (t *CmdObjectComplianceListModules) Run(selector, kind string) error
type CmdObjectComplianceListModuleset ¶
type CmdObjectComplianceListModuleset struct { OptsGlobal Moduleset string }
func (*CmdObjectComplianceListModuleset) Run ¶
func (t *CmdObjectComplianceListModuleset) Run(selector, kind string) error
type CmdObjectComplianceListRuleset ¶
type CmdObjectComplianceListRuleset struct { OptsGlobal Ruleset string }
func (*CmdObjectComplianceListRuleset) Run ¶
func (t *CmdObjectComplianceListRuleset) Run(selector, kind string) error
type CmdObjectComplianceShowModuleset ¶
type CmdObjectComplianceShowModuleset struct { OptsGlobal Moduleset string }
func (*CmdObjectComplianceShowModuleset) Run ¶
func (t *CmdObjectComplianceShowModuleset) Run(selector, kind string) error
type CmdObjectComplianceShowRuleset ¶
type CmdObjectComplianceShowRuleset struct { OptsGlobal NodeSelector string }
func (*CmdObjectComplianceShowRuleset) Run ¶
func (t *CmdObjectComplianceShowRuleset) Run(selector, kind string) error
type CmdObjectCreate ¶
type CmdObjectCreate struct { OptsGlobal OptsAsync OptsLock Config string Keywords []string Env string Interactive bool Provision bool Restore bool Force bool Namespace string // contains filtered or unexported fields }
func (*CmdObjectCreate) Run ¶
func (t *CmdObjectCreate) Run(selector, kind string) error
type CmdObjectDelete ¶
type CmdObjectDelete struct { OptsGlobal OptsLock NodeSelector string }
func (*CmdObjectDelete) Run ¶
func (t *CmdObjectDelete) Run(selector, kind string) error
type CmdObjectDisable ¶
type CmdObjectDisable struct { OptsGlobal OptsLock OptsResourceSelector }
func (*CmdObjectDisable) Run ¶
func (t *CmdObjectDisable) Run(selector, kind string) error
type CmdObjectDoc ¶
type CmdObjectDoc struct { OptsGlobal Keyword string Driver string Depth int }
func (*CmdObjectDoc) Run ¶
func (t *CmdObjectDoc) Run(selector, kind string) error
type CmdObjectEditConfig ¶
type CmdObjectEditConfig struct { OptsGlobal Discard bool Recover bool }
func (*CmdObjectEditConfig) Run ¶
func (t *CmdObjectEditConfig) Run(selector, kind string) error
type CmdObjectEditKey ¶
type CmdObjectEditKey struct { OptsGlobal Key string }
func (*CmdObjectEditKey) Run ¶
func (t *CmdObjectEditKey) Run(selector, kind string) error
type CmdObjectEnable ¶
type CmdObjectEnable struct { OptsGlobal OptsLock OptsResourceSelector }
func (*CmdObjectEnable) Run ¶
func (t *CmdObjectEnable) Run(selector, kind string) error
type CmdObjectEnter ¶
func (*CmdObjectEnter) Run ¶
func (t *CmdObjectEnter) Run(selector, kind string) error
type CmdObjectEval ¶
type CmdObjectEval struct { OptsGlobal Keywords []string Impersonate string }
func (*CmdObjectEval) Run ¶
func (t *CmdObjectEval) Run(selector, kind string) error
type CmdObjectFreeze ¶
type CmdObjectFreeze struct { OptsGlobal OptsAsync NodeSelector string }
func (*CmdObjectFreeze) Run ¶
func (t *CmdObjectFreeze) Run(selector, kind string) error
type CmdObjectGet ¶
type CmdObjectGet struct { OptsGlobal Eval bool Impersonate string Keywords []string }
func (*CmdObjectGet) Run ¶
func (t *CmdObjectGet) Run(selector, kind string) error
type CmdObjectGiveback ¶
type CmdObjectGiveback struct { OptsGlobal OptsAsync OptsLock }
func (*CmdObjectGiveback) Run ¶
func (t *CmdObjectGiveback) Run(selector, kind string) error
type CmdObjectInstanceLs ¶
type CmdObjectInstanceLs struct { OptsGlobal NodeSelector string }
func (*CmdObjectInstanceLs) Run ¶
func (t *CmdObjectInstanceLs) Run(selector, kind string) error
type CmdObjectLogs ¶
type CmdObjectLogs struct { OptsGlobal OptsLogs NodeSelector string }
func (*CmdObjectLogs) Run ¶
func (t *CmdObjectLogs) Run(selector, kind string) error
type CmdObjectLs ¶
type CmdObjectLs struct {
OptsGlobal
}
func (*CmdObjectLs) Run ¶
func (t *CmdObjectLs) Run(selector, kind string) error
type CmdObjectMonitor ¶
type CmdObjectMonitor struct { OptsGlobal Watch bool Sections string }
func (*CmdObjectMonitor) Run ¶
func (t *CmdObjectMonitor) Run(selector, kind string) error
type CmdObjectPRStart ¶
type CmdObjectPRStart struct { OptsGlobal OptsLock OptsResourceSelector OptTo NodeSelector string Force bool }
func (*CmdObjectPRStart) Run ¶
func (t *CmdObjectPRStart) Run(selector, kind string) error
type CmdObjectPRStop ¶
type CmdObjectPRStop struct { OptsGlobal OptsLock OptsResourceSelector OptTo NodeSelector string Force bool }
func (*CmdObjectPRStop) Run ¶
func (t *CmdObjectPRStop) Run(selector, kind string) error
type CmdObjectPrintConfig ¶
type CmdObjectPrintConfig struct { OptsGlobal Eval bool Impersonate string }
func (*CmdObjectPrintConfig) Run ¶
func (t *CmdObjectPrintConfig) Run(selector, kind string) error
type CmdObjectPrintConfigMtime ¶
type CmdObjectPrintConfigMtime struct {
OptsGlobal
}
func (*CmdObjectPrintConfigMtime) Run ¶
func (t *CmdObjectPrintConfigMtime) Run(selector, kind string) error
type CmdObjectPrintDevices ¶
type CmdObjectPrintDevices struct { OptsGlobal NodeSelector string Roles string }
func (*CmdObjectPrintDevices) Run ¶
func (t *CmdObjectPrintDevices) Run(selector, kind string) error
type CmdObjectPrintResourceInfo ¶
type CmdObjectPrintResourceInfo struct { OptsGlobal OptsLock NodeSelector string }
func (*CmdObjectPrintResourceInfo) Run ¶
func (t *CmdObjectPrintResourceInfo) Run(selector, kind string) error
type CmdObjectPrintSchedule ¶
type CmdObjectPrintSchedule struct { OptsGlobal NodeSelector string }
func (*CmdObjectPrintSchedule) Run ¶
func (t *CmdObjectPrintSchedule) Run(selector, kind string) error
type CmdObjectPrintStatus ¶
type CmdObjectPrintStatus struct { OptsGlobal OptsLock NodeSelector string Refresh bool }
func (*CmdObjectPrintStatus) Run ¶
func (t *CmdObjectPrintStatus) Run(selector, kind string) error
type CmdObjectProvision ¶
type CmdObjectProvision struct { OptsGlobal OptsAsync OptsLock OptsResourceSelector OptTo DisableRollback bool Force bool Leader bool NodeSelector string }
func (*CmdObjectProvision) Run ¶
func (t *CmdObjectProvision) Run(selector, kind string) error
type CmdObjectPurge ¶
type CmdObjectPurge struct { OptsGlobal OptsAsync OptsLock OptsResourceSelector OptTo NodeSelector string Force bool Leader bool }
func (*CmdObjectPurge) Run ¶
func (t *CmdObjectPurge) Run(selector, kind string) error
type CmdObjectPushResourceInfo ¶
type CmdObjectPushResourceInfo struct { OptsGlobal OptsLock NodeSelector string }
func (*CmdObjectPushResourceInfo) Run ¶
func (t *CmdObjectPushResourceInfo) Run(selector, kind string) error
type CmdObjectResourceLs ¶
type CmdObjectResourceLs struct { OptsGlobal OptsResourceSelector NodeSelector string }
func (*CmdObjectResourceLs) Run ¶
func (t *CmdObjectResourceLs) Run(selector, kind string) error
type CmdObjectRestart ¶
type CmdObjectRestart struct { OptsGlobal OptsAsync OptsLock OptsResourceSelector OptTo NodeSelector string Force bool DisableRollback bool }
func (*CmdObjectRestart) Run ¶
func (t *CmdObjectRestart) Run(selector, kind string) error
type CmdObjectRun ¶
type CmdObjectRun struct { OptsGlobal OptsLock OptsResourceSelector NodeSelector string Cron bool Confirm bool }
func (*CmdObjectRun) Run ¶
func (t *CmdObjectRun) Run(selector, kind string) error
type CmdObjectSet ¶
type CmdObjectSet struct { OptsGlobal OptsLock KeywordOps []string }
func (*CmdObjectSet) Run ¶
func (t *CmdObjectSet) Run(selector, kind string) error
type CmdObjectSetProvisioned ¶
type CmdObjectSetProvisioned struct { OptsGlobal OptsLock OptsResourceSelector NodeSelector string }
func (*CmdObjectSetProvisioned) Run ¶
func (t *CmdObjectSetProvisioned) Run(selector, kind string) error
type CmdObjectSetUnprovisioned ¶
type CmdObjectSetUnprovisioned struct { OptsGlobal OptsLock OptsResourceSelector NodeSelector string }
func (*CmdObjectSetUnprovisioned) Run ¶
func (t *CmdObjectSetUnprovisioned) Run(selector, kind string) error
type CmdObjectShutdown ¶
type CmdObjectShutdown struct { OptsGlobal OptsLock OptsResourceSelector OptTo Force bool NodeSelector string }
func (*CmdObjectShutdown) Run ¶
func (t *CmdObjectShutdown) Run(selector, kind string) error
type CmdObjectStart ¶
type CmdObjectStart struct { OptsGlobal OptsAsync OptsLock OptsResourceSelector OptTo Force bool DisableRollback bool NodeSelector string }
func (*CmdObjectStart) Run ¶
func (t *CmdObjectStart) Run(selector, kind string) error
type CmdObjectStartStandby ¶
type CmdObjectStartStandby struct { OptsGlobal OptsLock OptsResourceSelector OptTo Force bool DisableRollback bool NodeSelector string }
func (*CmdObjectStartStandby) Run ¶
func (t *CmdObjectStartStandby) Run(selector, kind string) error
type CmdObjectStatus ¶
type CmdObjectStatus struct { OptsGlobal OptsLock Refresh bool Monitor bool NodeSelector string }
func (*CmdObjectStatus) Run ¶
func (t *CmdObjectStatus) Run(selector, kind string) error
type CmdObjectStop ¶
type CmdObjectStop struct { OptsGlobal OptsAsync OptsLock OptsResourceSelector OptTo Force bool NodeSelector string }
func (*CmdObjectStop) Run ¶
func (t *CmdObjectStop) Run(selector, kind string) error
type CmdObjectSwitch ¶
type CmdObjectSwitch struct { OptsGlobal OptsAsync OptsLock To string }
func (*CmdObjectSwitch) Run ¶
func (t *CmdObjectSwitch) Run(selector, kind string) error
type CmdObjectSyncFull ¶
type CmdObjectSyncFull struct { OptsGlobal OptsLock OptsResourceSelector Force bool Target []string }
func (*CmdObjectSyncFull) Run ¶
func (t *CmdObjectSyncFull) Run(selector, kind string) error
type CmdObjectSyncIngest ¶
type CmdObjectSyncIngest struct { OptsGlobal OptsLock OptsResourceSelector }
func (*CmdObjectSyncIngest) Run ¶
func (t *CmdObjectSyncIngest) Run(selector, kind string) error
type CmdObjectSyncResync ¶
type CmdObjectSyncResync struct { OptsGlobal OptsLock OptsResourceSelector Force bool }
func (*CmdObjectSyncResync) Run ¶
func (t *CmdObjectSyncResync) Run(selector, kind string) error
type CmdObjectSyncUpdate ¶
type CmdObjectSyncUpdate struct { OptsGlobal OptsLock OptsResourceSelector Force bool Target []string }
func (*CmdObjectSyncUpdate) Run ¶
func (t *CmdObjectSyncUpdate) Run(selector, kind string) error
type CmdObjectTakeover ¶
type CmdObjectTakeover struct { OptsGlobal OptsAsync OptsLock }
func (*CmdObjectTakeover) Run ¶
func (t *CmdObjectTakeover) Run(selector, kind string) error
type CmdObjectUnfreeze ¶
type CmdObjectUnfreeze struct { OptsGlobal OptsAsync NodeSelector string }
func (*CmdObjectUnfreeze) Run ¶
func (t *CmdObjectUnfreeze) Run(selector, kind string) error
type CmdObjectUnprovision ¶
type CmdObjectUnprovision struct { OptsGlobal OptsAsync OptsLock OptsResourceSelector OptTo Force bool Leader bool NodeSelector string }
func (*CmdObjectUnprovision) Run ¶
func (t *CmdObjectUnprovision) Run(selector, kind string) error
type CmdObjectUnset ¶
type CmdObjectUnset struct { OptsGlobal OptsLock Keywords []string Sections []string }
func (*CmdObjectUnset) Run ¶
func (t *CmdObjectUnset) Run(selector, kind string) error
type CmdObjectUpdate ¶
type CmdObjectUpdate struct { OptsGlobal OptsLock Delete []string Set []string Unset []string }
func (*CmdObjectUpdate) Run ¶
func (t *CmdObjectUpdate) Run(selector, kind string) error
type CmdObjectValidateConfig ¶
type CmdObjectValidateConfig struct { OptsGlobal OptsLock }
func (*CmdObjectValidateConfig) Run ¶
func (t *CmdObjectValidateConfig) Run(selector, kind string) error
type CmdPKCS ¶
type CmdPKCS struct {
OptsGlobal
}
type CmdPoolLs ¶
type CmdPoolLs struct { OptsGlobal Name string }
type CmdPoolVolumeLs ¶
type CmdPoolVolumeLs struct { OptsGlobal Name string }
func (*CmdPoolVolumeLs) Run ¶
func (t *CmdPoolVolumeLs) Run() error
type CmdSecGenCert ¶
type CmdSecGenCert struct {
OptsGlobal
}
func (*CmdSecGenCert) Run ¶
func (t *CmdSecGenCert) Run(selector, kind string) error
type OptsGlobal ¶
type OptsGlobal struct { Color string Output string Local bool ObjectSelector string Quiet bool Debug bool }
OptsGlobal contains options accepted by all actions
type OptsLogs ¶
OptsLogs contains options used by all log commands: node logs, cluster logs, object logs
type OptsResourceSelector ¶
OptsResourceSelector contains options needed to initialize a resourceselector.Options struct
Source Files ¶
- array_ls.go
- cluster_abort.go
- cluster_freeze.go
- cluster_logs.go
- cluster_ssh_trust.go
- cluster_unfreeze.go
- daemon_auth.go
- daemon_common.go
- daemon_join.go
- daemon_leave.go
- daemon_relay_status.go
- daemon_restart.go
- daemon_running.go
- daemon_shutdown.go
- daemon_start.go
- daemon_stats.go
- daemon_status.go
- daemon_stop.go
- dns_dump.go
- errors.go
- keystore_add.go
- keystore_change.go
- keystore_decode.go
- keystore_gencert.go
- keystore_install.go
- keystore_keys.go
- keystore_pkcs.go
- keystore_remove.go
- keystore_rename.go
- lib_remote_config.go
- main.go
- network_ip_ls.go
- network_ls.go
- network_setup.go
- node_abort.go
- node_capabilities_list.go
- node_capabilities_scan.go
- node_checks.go
- node_clear.go
- node_collector_tag_attach.go
- node_collector_tag_create.go
- node_collector_tag_detach.go
- node_collector_tag_list.go
- node_collector_tag_show.go
- node_compliance_attach_moduleset.go
- node_compliance_attach_ruleset.go
- node_compliance_auto.go
- node_compliance_check.go
- node_compliance_detach_moduleset.go
- node_compliance_detach_ruleset.go
- node_compliance_env.go
- node_compliance_fix.go
- node_compliance_fixable.go
- node_compliance_list_modules.go
- node_compliance_list_moduleset.go
- node_compliance_list_ruleset.go
- node_compliance_show_moduleset.go
- node_compliance_show_ruleset.go
- node_doc.go
- node_drain.go
- node_drivers.go
- node_edit_config.go
- node_eval.go
- node_events.go
- node_freeze.go
- node_get.go
- node_logs.go
- node_ls.go
- node_print_config.go
- node_print_schedule.go
- node_prkey.go
- node_push_asset.go
- node_push_disk.go
- node_push_patch.go
- node_push_pkg.go
- node_register.go
- node_relay_status.go
- node_set.go
- node_ssh_trust.go
- node_sysreport.go
- node_unfreeze.go
- node_unset.go
- node_update.go
- node_validate_config.go
- node_version.go
- object_abort.go
- object_boot.go
- object_clear.go
- object_collector_tag_attach.go
- object_collector_tag_create.go
- object_collector_tag_detach.go
- object_collector_tag_list.go
- object_collector_tag_show.go
- object_compliance_attach_moduleset.go
- object_compliance_attach_ruleset.go
- object_compliance_auto.go
- object_compliance_check.go
- object_compliance_detach_moduleset.go
- object_compliance_detach_ruleset.go
- object_compliance_env.go
- object_compliance_fix.go
- object_compliance_fixable.go
- object_compliance_list_modules.go
- object_compliance_list_moduleset.go
- object_compliance_list_ruleset.go
- object_compliance_show_moduleset.go
- object_compliance_show_ruleset.go
- object_create.go
- object_delete.go
- object_disable.go
- object_doc.go
- object_edit_config.go
- object_edit_key.go
- object_enable.go
- object_enter.go
- object_eval.go
- object_freeze.go
- object_get.go
- object_giveback.go
- object_instance_ls.go
- object_logs.go
- object_ls.go
- object_monitor.go
- object_print_config.go
- object_print_config_mtime.go
- object_print_devices.go
- object_print_resinfo.go
- object_print_schedule.go
- object_print_status.go
- object_provision.go
- object_prstart.go
- object_prstop.go
- object_purge.go
- object_push_resinfo.go
- object_resource_ls.go
- object_restart.go
- object_run.go
- object_set.go
- object_set_provisioned.go
- object_set_unprovisioned.go
- object_shutdown.go
- object_start.go
- object_startstandby.go
- object_status.go
- object_stop.go
- object_switch.go
- object_sync_full.go
- object_sync_ingest.go
- object_sync_resync.go
- object_sync_update.go
- object_takeover.go
- object_unfreeze.go
- object_unprovision.go
- object_unset.go
- object_update.go
- object_validate_config.go
- options.go
- pool_ls.go
- pool_volume_ls.go
Click to show internal directories.
Click to hide internal directories.