oxcmd

package
v3.0.0-beta13 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 53 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFlagInvalid = errors.New("invalid command flag")

	ErrPrint = errors.New("print")

	ErrClientStatusCode = errors.New("client request unexpected status code")

	ErrEventKindUnexpected = errors.New("unexpected event kind")

	ErrFetchFile = errors.New("fetch file")

	ErrInstallFile = errors.New("install file")
)

Functions

func CmdNodeVersion

func CmdNodeVersion()

Types

type CmdArrayList

type CmdArrayList struct {
	OptsGlobal
}

func (*CmdArrayList) Run

func (t *CmdArrayList) Run() error

type CmdContextEdit

type CmdContextEdit struct {
	Discard bool
	Recover bool
}

func (*CmdContextEdit) Run

func (t *CmdContextEdit) Run() error

type CmdContextList

type CmdContextList struct {
	commoncmd.OptsGlobal
}

func (*CmdContextList) Run

func (t *CmdContextList) Run() error

type CmdContextLogin

type CmdContextLogin struct {
	Context         string
	AccessDuration  time.Duration
	RefreshDuration time.Duration
}

func (*CmdContextLogin) Run

func (t *CmdContextLogin) Run(cmd *cobra.Command) error

type CmdContextLogout

type CmdContextLogout struct {
	Context string
	All     bool
}

func (*CmdContextLogout) Run

func (t *CmdContextLogout) Run(cmd *cobra.Command) error

type CmdContextShow

type CmdContextShow struct {
}

func (*CmdContextShow) Run

func (t *CmdContextShow) Run() error

type CmdDaemonRestart

type CmdDaemonRestart struct {
	OptsGlobal
	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 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 CmdDaemonStop

type CmdDaemonStop struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdDaemonStop) Run

func (t *CmdDaemonStop) Run() error

type CmdNetworkIPList

type CmdNetworkIPList struct {
	OptsGlobal
	Name string
}

func (*CmdNetworkIPList) Run

func (t *CmdNetworkIPList) Run() error

type CmdNetworkList

type CmdNetworkList struct {
	OptsGlobal
	Name string
}

func (*CmdNetworkList) Run

func (t *CmdNetworkList) Run() error

type CmdNetworkSetup

type CmdNetworkSetup struct {
	OptsGlobal
}

func (*CmdNetworkSetup) Run

func (t *CmdNetworkSetup) Run() error

type CmdNodeAbort

type CmdNodeAbort struct {
	OptsGlobal
	commoncmd.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
	NodeSelector string
}

func (*CmdNodeClear) Run

func (t *CmdNodeClear) Run() error

type CmdNodeCollectorTagAttach

type CmdNodeCollectorTagAttach struct {
	OptsGlobal
	Name         string
	AttachData   *string
	NodeSelector string
}

func (*CmdNodeCollectorTagAttach) Run

type CmdNodeCollectorTagCreate

type CmdNodeCollectorTagCreate struct {
	OptsGlobal
	Name    string
	Data    *string
	Exclude *string
}

func (*CmdNodeCollectorTagCreate) Run

type CmdNodeCollectorTagDetach

type CmdNodeCollectorTagDetach struct {
	OptsGlobal
	Name         string
	NodeSelector string
}

func (*CmdNodeCollectorTagDetach) Run

type CmdNodeCollectorTagList

type CmdNodeCollectorTagList struct {
	OptsGlobal
}

func (*CmdNodeCollectorTagList) Run

func (t *CmdNodeCollectorTagList) Run() error

type CmdNodeCollectorTagShow

type CmdNodeCollectorTagShow struct {
	OptsGlobal
	Verbose      bool
	NodeSelector string
}

func (*CmdNodeCollectorTagShow) Run

func (t *CmdNodeCollectorTagShow) Run() error

type CmdNodeComplianceAttachModuleset

type CmdNodeComplianceAttachModuleset struct {
	OptsGlobal
	Moduleset    string
	NodeSelector string
}

func (*CmdNodeComplianceAttachModuleset) Run

type CmdNodeComplianceAttachRuleset

type CmdNodeComplianceAttachRuleset struct {
	OptsGlobal
	NodeSelector string
	Ruleset      string
}

func (*CmdNodeComplianceAttachRuleset) Run

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

type CmdNodeComplianceDetachRuleset

type CmdNodeComplianceDetachRuleset struct {
	OptsGlobal
	Ruleset      string
	NodeSelector string
}

func (*CmdNodeComplianceDetachRuleset) Run

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

type CmdNodeComplianceListModules

type CmdNodeComplianceListModules struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeComplianceListModules) Run

type CmdNodeComplianceListModuleset

type CmdNodeComplianceListModuleset struct {
	OptsGlobal
	Moduleset    string
	NodeSelector string
}

func (*CmdNodeComplianceListModuleset) Run

type CmdNodeComplianceListRuleset

type CmdNodeComplianceListRuleset struct {
	OptsGlobal
	Ruleset      string
	NodeSelector string
}

func (*CmdNodeComplianceListRuleset) Run

type CmdNodeComplianceShowModuleset

type CmdNodeComplianceShowModuleset struct {
	OptsGlobal
	Moduleset    string
	NodeSelector string
}

func (*CmdNodeComplianceShowModuleset) Run

type CmdNodeComplianceShowRuleset

type CmdNodeComplianceShowRuleset struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeComplianceShowRuleset) Run

type CmdNodeConfigEdit

type CmdNodeConfigEdit struct {
	OptsGlobal
	NodeSelector string
	Discard      bool
	Recover      bool
}

func (*CmdNodeConfigEdit) DoRemote

func (t *CmdNodeConfigEdit) DoRemote(nodename string, c *client.T) error

func (*CmdNodeConfigEdit) Run

func (t *CmdNodeConfigEdit) Run() error

type CmdNodeConfigGet

type CmdNodeConfigGet struct {
	OptsGlobal
	commoncmd.OptsLock
	Eval         bool
	Impersonate  string
	Keywords     []string
	NodeSelector string
}

func (*CmdNodeConfigGet) Run

func (t *CmdNodeConfigGet) Run() error

type CmdNodeConfigShow

type CmdNodeConfigShow struct {
	NodeSelector string
	Sections     []string
}

func (*CmdNodeConfigShow) Run

func (t *CmdNodeConfigShow) Run() error

type CmdNodeConfigUpdate

type CmdNodeConfigUpdate struct {
	OptsGlobal
	commoncmd.OptsLock
	Delete       []string
	Set          []string
	Unset        []string
	NodeSelector string
}

func (*CmdNodeConfigUpdate) Run

func (t *CmdNodeConfigUpdate) Run() error

type CmdNodeConfigValidate

type CmdNodeConfigValidate struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeConfigValidate) Run

func (t *CmdNodeConfigValidate) Run() error

type CmdNodeDrain

type CmdNodeDrain struct {
	OptsGlobal
	commoncmd.OptsAsync
	NodeSelector string
}

func (*CmdNodeDrain) Run

func (t *CmdNodeDrain) Run() error

type CmdNodeDrivers

type CmdNodeDrivers struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeDrivers) Run

func (t *CmdNodeDrivers) Run() error

type CmdNodeEvents

type CmdNodeEvents struct {
	commoncmd.CmdNodeEvents
}

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 CmdNodeList

type CmdNodeList struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeList) Run

func (t *CmdNodeList) Run() error

type CmdNodeLogs

type CmdNodeLogs struct {
	OptsGlobal
	commoncmd.OptsLogs
	NodeSelector string
}

func (*CmdNodeLogs) Run

func (t *CmdNodeLogs) Run() error

type CmdNodePRKey

type CmdNodePRKey struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodePRKey) Run

func (t *CmdNodePRKey) Run() error

type CmdNodePing

type CmdNodePing struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodePing) Run

func (t *CmdNodePing) 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 CmdNodeScheduleList

type CmdNodeScheduleList struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeScheduleList) Run

func (t *CmdNodeScheduleList) Run() error

type CmdNodeSet

type CmdNodeSet struct {
	OptsGlobal
	commoncmd.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 CmdNodeSystemDisk

type CmdNodeSystemDisk struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeSystemDisk) Run

func (t *CmdNodeSystemDisk) Run() error

type CmdNodeSystemGroup

type CmdNodeSystemGroup struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeSystemGroup) Run

func (t *CmdNodeSystemGroup) Run() error

type CmdNodeSystemHardware

type CmdNodeSystemHardware struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeSystemHardware) Run

func (t *CmdNodeSystemHardware) Run() error

type CmdNodeSystemIPAddress

type CmdNodeSystemIPAddress struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeSystemIPAddress) Run

func (t *CmdNodeSystemIPAddress) Run() error

type CmdNodeSystemInitiator

type CmdNodeSystemInitiator struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeSystemInitiator) Run

func (t *CmdNodeSystemInitiator) Run() error

type CmdNodeSystemPackage

type CmdNodeSystemPackage struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeSystemPackage) Run

func (t *CmdNodeSystemPackage) Run() error

type CmdNodeSystemPatch

type CmdNodeSystemPatch struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeSystemPatch) Run

func (t *CmdNodeSystemPatch) Run() error

type CmdNodeSystemProperty

type CmdNodeSystemProperty struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeSystemProperty) Run

func (t *CmdNodeSystemProperty) Run() error

type CmdNodeSystemSANPath

type CmdNodeSystemSANPath struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeSystemSANPath) Run

func (t *CmdNodeSystemSANPath) Run() error

type CmdNodeSystemUser

type CmdNodeSystemUser struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeSystemUser) Run

func (t *CmdNodeSystemUser) Run() error

type CmdNodeUnfreeze

type CmdNodeUnfreeze struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdNodeUnfreeze) Run

func (t *CmdNodeUnfreeze) Run() error

type CmdNodeUnset

type CmdNodeUnset struct {
	OptsGlobal
	commoncmd.OptsLock
	Keywords     []string
	Sections     []string
	NodeSelector string
}

func (*CmdNodeUnset) Run

func (t *CmdNodeUnset) Run() error

type CmdObjectAbort

type CmdObjectAbort struct {
	OptsGlobal
	commoncmd.OptsAsync
}

func (*CmdObjectAbort) Run

func (t *CmdObjectAbort) Run(kind string) error

type CmdObjectCertificatePKCS

type CmdObjectCertificatePKCS struct {
	OptsGlobal
}

func (*CmdObjectCertificatePKCS) Run

func (t *CmdObjectCertificatePKCS) Run(kind string) error

type CmdObjectCollectorTagAttach

type CmdObjectCollectorTagAttach struct {
	OptsGlobal
	Name       string
	AttachData *string
}

func (*CmdObjectCollectorTagAttach) Run

type CmdObjectCollectorTagCreate

type CmdObjectCollectorTagCreate struct {
	OptsGlobal
	Name    string
	Data    *string
	Exclude *string
}

func (*CmdObjectCollectorTagCreate) Run

type CmdObjectCollectorTagDetach

type CmdObjectCollectorTagDetach struct {
	OptsGlobal
	Name string
}

func (*CmdObjectCollectorTagDetach) Run

type CmdObjectCollectorTagShow

type CmdObjectCollectorTagShow struct {
	OptsGlobal
	Verbose bool
}

func (*CmdObjectCollectorTagShow) Run

func (t *CmdObjectCollectorTagShow) Run(kind string) error

type CmdObjectComplianceAttachModuleset

type CmdObjectComplianceAttachModuleset struct {
	OptsGlobal
	Moduleset string
}

func (*CmdObjectComplianceAttachModuleset) Run

type CmdObjectComplianceAttachRuleset

type CmdObjectComplianceAttachRuleset struct {
	OptsGlobal
	Ruleset string
}

func (*CmdObjectComplianceAttachRuleset) Run

type CmdObjectComplianceAuto

type CmdObjectComplianceAuto struct {
	OptsGlobal
	Moduleset    string
	Module       string
	NodeSelector string
	Force        bool
	Attach       bool
}

func (*CmdObjectComplianceAuto) Run

func (t *CmdObjectComplianceAuto) Run(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(kind string) error

type CmdObjectComplianceDetachModuleset

type CmdObjectComplianceDetachModuleset struct {
	OptsGlobal
	Moduleset string
}

func (*CmdObjectComplianceDetachModuleset) Run

type CmdObjectComplianceDetachRuleset

type CmdObjectComplianceDetachRuleset struct {
	OptsGlobal
	Ruleset string
}

func (*CmdObjectComplianceDetachRuleset) Run

type CmdObjectComplianceEnv

type CmdObjectComplianceEnv struct {
	OptsGlobal
	Moduleset    string
	Module       string
	NodeSelector string
}

func (*CmdObjectComplianceEnv) Run

func (t *CmdObjectComplianceEnv) Run(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(kind string) error

type CmdObjectComplianceFixable

type CmdObjectComplianceFixable struct {
	OptsGlobal
	Moduleset    string
	Module       string
	NodeSelector string
	Force        bool
	Attach       bool
}

func (*CmdObjectComplianceFixable) Run

type CmdObjectComplianceListModules

type CmdObjectComplianceListModules struct {
	OptsGlobal
}

func (*CmdObjectComplianceListModules) Run

type CmdObjectComplianceListModuleset

type CmdObjectComplianceListModuleset struct {
	OptsGlobal
	Moduleset string
}

func (*CmdObjectComplianceListModuleset) Run

type CmdObjectComplianceListRuleset

type CmdObjectComplianceListRuleset struct {
	OptsGlobal
	Ruleset string
}

func (*CmdObjectComplianceListRuleset) Run

type CmdObjectComplianceShowModuleset

type CmdObjectComplianceShowModuleset struct {
	OptsGlobal
	Moduleset string
}

func (*CmdObjectComplianceShowModuleset) Run

type CmdObjectComplianceShowRuleset

type CmdObjectComplianceShowRuleset struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdObjectComplianceShowRuleset) Run

type CmdObjectConfigEdit

type CmdObjectConfigEdit struct {
	OptsGlobal
	Discard bool
	Recover bool
}

func (*CmdObjectConfigEdit) DoRemote

func (t *CmdObjectConfigEdit) DoRemote(p naming.Path, c *client.T) error

func (*CmdObjectConfigEdit) Run

func (t *CmdObjectConfigEdit) Run(kind string) error

type CmdObjectConfigGet

type CmdObjectConfigGet struct {
	OptsGlobal
	Eval        bool
	Impersonate string
	Keywords    []string
}

func (*CmdObjectConfigGet) Run

func (t *CmdObjectConfigGet) Run(kind string) error

type CmdObjectConfigShow

type CmdObjectConfigShow struct {
	ObjectSelector string
	Sections       []string
}

func (*CmdObjectConfigShow) Run

func (t *CmdObjectConfigShow) Run(kind string) error

type CmdObjectConfigUpdate

type CmdObjectConfigUpdate struct {
	OptsGlobal
	commoncmd.OptsLock
	Delete []string
	Set    []string
	Unset  []string
}

func (*CmdObjectConfigUpdate) Run

func (t *CmdObjectConfigUpdate) Run(kind string) error

type CmdObjectConfigValidate

type CmdObjectConfigValidate struct {
	OptsGlobal
	commoncmd.OptsLock
}

func (*CmdObjectConfigValidate) Run

func (t *CmdObjectConfigValidate) Run(kind string) error

type CmdObjectCreate

type CmdObjectCreate struct {
	OptsGlobal
	commoncmd.OptsAsync
	commoncmd.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(kind string) error

type CmdObjectDelete

type CmdObjectDelete struct {
	OptsGlobal
	commoncmd.OptsAsync
	commoncmd.OptsLock
	NodeSelector string
}

func (*CmdObjectDelete) Run

func (t *CmdObjectDelete) Run(kind string) error

type CmdObjectDisable

type CmdObjectDisable struct {
	OptsGlobal
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
}

func (*CmdObjectDisable) Run

func (t *CmdObjectDisable) Run(kind string) error

type CmdObjectEnable

type CmdObjectEnable struct {
	OptsGlobal
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
}

func (*CmdObjectEnable) Run

func (t *CmdObjectEnable) Run(kind string) error

type CmdObjectEnter

type CmdObjectEnter struct {
	ObjectSelector string
	RID            string
	NodeSelector   string
}

func (*CmdObjectEnter) Run

func (t *CmdObjectEnter) Run(kind string) error

type CmdObjectFreeze

type CmdObjectFreeze struct {
	OptsGlobal
	commoncmd.OptsAsync
}

func (*CmdObjectFreeze) Run

func (t *CmdObjectFreeze) Run(kind string) error

type CmdObjectGiveback

type CmdObjectGiveback struct {
	OptsGlobal
	commoncmd.OptsAsync
}

func (*CmdObjectGiveback) Run

func (t *CmdObjectGiveback) Run(kind string) error

type CmdObjectInstanceBoot

type CmdObjectInstanceBoot struct {
	OptsGlobal
	commoncmd.OptsResourceSelector
	commoncmd.OptTo
	commoncmd.OptsLock
	NodeSelector string
}

func (*CmdObjectInstanceBoot) Run

func (t *CmdObjectInstanceBoot) Run(kind string) error

type CmdObjectInstanceDelete

type CmdObjectInstanceDelete struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdObjectInstanceDelete) Run

func (t *CmdObjectInstanceDelete) Run(kind string) error

type CmdObjectInstanceDeviceList

type CmdObjectInstanceDeviceList struct {
	OptsGlobal
	NodeSelector string
	Roles        string
}

func (*CmdObjectInstanceDeviceList) Run

type CmdObjectInstanceFreeze

type CmdObjectInstanceFreeze struct {
	OptsGlobal
	NodeSelector string
	commoncmd.OptsEncap
}

func (*CmdObjectInstanceFreeze) Run

func (t *CmdObjectInstanceFreeze) Run(kind string) error

type CmdObjectInstanceList

type CmdObjectInstanceList struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdObjectInstanceList) Run

func (t *CmdObjectInstanceList) Run(kind string) error

type CmdObjectInstancePRStart

type CmdObjectInstancePRStart struct {
	OptsGlobal
	commoncmd.OptsEncap
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	commoncmd.OptTo
	Force           bool
	DisableRollback bool
	NodeSelector    string
}

func (*CmdObjectInstancePRStart) Run

func (t *CmdObjectInstancePRStart) Run(kind string) error

type CmdObjectInstancePRStop

type CmdObjectInstancePRStop struct {
	OptsGlobal
	commoncmd.OptsEncap
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	commoncmd.OptTo
	NodeSelector string
	Force        bool
}

func (*CmdObjectInstancePRStop) Run

func (t *CmdObjectInstancePRStop) Run(kind string) error

type CmdObjectInstanceProvision

type CmdObjectInstanceProvision struct {
	OptsGlobal
	commoncmd.OptsEncap
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	commoncmd.OptTo
	DisableRollback bool
	Force           bool
	Leader          bool
	NodeSelector    string

	// StateOnly indicates that the command will only change the instance-selected
	// resources provisioned state value to `provisioned` without any provisioning
	// actions.
	StateOnly bool
}

func (*CmdObjectInstanceProvision) Run

type CmdObjectInstanceResourceInfoList

type CmdObjectInstanceResourceInfoList struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdObjectInstanceResourceInfoList) Run

type CmdObjectInstanceResourceInfoPush

type CmdObjectInstanceResourceInfoPush struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdObjectInstanceResourceInfoPush) Run

type CmdObjectInstanceRestart

type CmdObjectInstanceRestart struct {
	OptsGlobal
	commoncmd.OptsEncap
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	commoncmd.OptTo
	Local           bool
	NodeSelector    string
	Force           bool
	DisableRollback bool
}

func (*CmdObjectInstanceRestart) Run

func (t *CmdObjectInstanceRestart) Run(kind string) error

type CmdObjectInstanceRun

type CmdObjectInstanceRun struct {
	OptsGlobal
	commoncmd.OptsEncap
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	commoncmd.OptTo
	NodeSelector string
	Force        bool
	Cron         bool
	Confirm      bool
	Env          []string
}

func (*CmdObjectInstanceRun) Run

func (t *CmdObjectInstanceRun) Run(kind string) error

type CmdObjectInstanceShutdown

type CmdObjectInstanceShutdown struct {
	OptsGlobal
	commoncmd.OptsEncap
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	commoncmd.OptTo
	Force        bool
	NodeSelector string
}

func (*CmdObjectInstanceShutdown) Run

func (t *CmdObjectInstanceShutdown) Run(kind string) error

type CmdObjectInstanceStart

type CmdObjectInstanceStart struct {
	OptsGlobal
	commoncmd.OptsEncap
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	commoncmd.OptTo
	Force           bool
	DisableRollback bool
	NodeSelector    string
}

func (*CmdObjectInstanceStart) Run

func (t *CmdObjectInstanceStart) Run(kind string) error

type CmdObjectInstanceStartStandby

type CmdObjectInstanceStartStandby struct {
	OptsGlobal
	commoncmd.OptsEncap
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	commoncmd.OptTo
	Force           bool
	DisableRollback bool
	NodeSelector    string
}

func (*CmdObjectInstanceStartStandby) Run

type CmdObjectInstanceStatus

type CmdObjectInstanceStatus struct {
	OptsGlobal
	commoncmd.OptsLock
	NodeSelector string
	Refresh      bool
}

func (*CmdObjectInstanceStatus) Run

func (t *CmdObjectInstanceStatus) Run(kind string) error

type CmdObjectInstanceStop

type CmdObjectInstanceStop struct {
	OptsGlobal
	commoncmd.OptsEncap
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	commoncmd.OptTo
	Force        bool
	MoveTo       string
	NodeSelector string
}

func (*CmdObjectInstanceStop) Run

func (t *CmdObjectInstanceStop) Run(kind string) error

type CmdObjectInstanceSyncFull

type CmdObjectInstanceSyncFull struct {
	OptsGlobal
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	Force  bool
	Target []string
}

func (*CmdObjectInstanceSyncFull) Run

func (t *CmdObjectInstanceSyncFull) Run(kind string) error

type CmdObjectInstanceSyncIngest

type CmdObjectInstanceSyncIngest struct {
	OptsGlobal
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	NodeSelector string
}

func (*CmdObjectInstanceSyncIngest) Run

type CmdObjectInstanceSyncResync

type CmdObjectInstanceSyncResync struct {
	OptsGlobal
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	Force bool
}

func (*CmdObjectInstanceSyncResync) Run

type CmdObjectInstanceSyncUpdate

type CmdObjectInstanceSyncUpdate struct {
	OptsGlobal
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	Force  bool
	Target []string
}

func (*CmdObjectInstanceSyncUpdate) Run

type CmdObjectInstanceUnfreeze

type CmdObjectInstanceUnfreeze struct {
	OptsGlobal
	NodeSelector string
	commoncmd.OptsEncap
}

func (*CmdObjectInstanceUnfreeze) Run

func (t *CmdObjectInstanceUnfreeze) Run(kind string) error

type CmdObjectInstanceUnprovision

type CmdObjectInstanceUnprovision struct {
	OptsGlobal
	commoncmd.OptsEncap
	commoncmd.OptsLock
	commoncmd.OptsResourceSelector
	commoncmd.OptTo
	Force        bool
	Leader       bool
	NodeSelector string

	// StateOnly indicates that the command will only change the instance-selected
	// resources provisioned state value to `provisioned` without any provisioning
	// actions.
	StateOnly bool
}

func (*CmdObjectInstanceUnprovision) Run

type CmdObjectKeyAdd

type CmdObjectKeyAdd struct {
	OptsGlobal
	commoncmd.OptsLock
	Name  string
	From  *string
	Value *string
}

func (*CmdObjectKeyAdd) Run

func (t *CmdObjectKeyAdd) Run(kind string) error

func (*CmdObjectKeyAdd) RunForPath

type CmdObjectKeyChange

type CmdObjectKeyChange struct {
	OptsGlobal
	commoncmd.OptsLock
	Name  string
	From  *string
	Value *string
}

func (*CmdObjectKeyChange) Run

func (t *CmdObjectKeyChange) Run(kind string) error

func (*CmdObjectKeyChange) RunForPath

type CmdObjectKeyDecode

type CmdObjectKeyDecode struct {
	OptsGlobal
	Name string
}

func (*CmdObjectKeyDecode) Run

func (t *CmdObjectKeyDecode) Run(kind string) error

func (*CmdObjectKeyDecode) RunForPath

func (t *CmdObjectKeyDecode) RunForPath(ctx context.Context, c *client.T, path naming.Path) error

type CmdObjectKeyEdit

type CmdObjectKeyEdit struct {
	OptsGlobal
	Name string
}

func (*CmdObjectKeyEdit) DoRemote

func (t *CmdObjectKeyEdit) DoRemote(p naming.Path, c *client.T) error

func (*CmdObjectKeyEdit) Run

func (t *CmdObjectKeyEdit) Run(kind string) error

type CmdObjectKeyInstall

type CmdObjectKeyInstall struct {
	OptsGlobal
	NodeSelector string
	Name         string
}

func (*CmdObjectKeyInstall) Run

func (t *CmdObjectKeyInstall) Run(kind string) error

type CmdObjectKeyList

type CmdObjectKeyList struct {
	OptsGlobal
	Match string
}

func (*CmdObjectKeyList) Run

func (t *CmdObjectKeyList) Run(kind string) error

func (*CmdObjectKeyList) RunForPath

func (t *CmdObjectKeyList) RunForPath(ctx context.Context, c *client.T, path naming.Path) (api.DataKeyListItems, error)

type CmdObjectKeyRemove

type CmdObjectKeyRemove struct {
	OptsGlobal
	Name string
}

func (*CmdObjectKeyRemove) Run

func (t *CmdObjectKeyRemove) Run(kind string) error

func (*CmdObjectKeyRemove) RunForPath

func (t *CmdObjectKeyRemove) RunForPath(ctx context.Context, c *client.T, path naming.Path) error

type CmdObjectKeyRename

type CmdObjectKeyRename struct {
	OptsGlobal
	Name string
	To   string
}

func (*CmdObjectKeyRename) Run

func (t *CmdObjectKeyRename) Run(kind string) error

func (*CmdObjectKeyRename) RunForPath

type CmdObjectList

type CmdObjectList struct {
	OptsGlobal
}

func (*CmdObjectList) Run

func (t *CmdObjectList) Run(kind string) error

type CmdObjectLogs

type CmdObjectLogs struct {
	OptsGlobal
	commoncmd.OptsLogs
	NodeSelector string
}

func (*CmdObjectLogs) Run

func (t *CmdObjectLogs) Run(kind string) error

type CmdObjectProvision

type CmdObjectProvision struct {
	OptsGlobal
	commoncmd.OptsAsync
}

func (*CmdObjectProvision) Run

func (t *CmdObjectProvision) Run(kind string) error

type CmdObjectPurge

type CmdObjectPurge struct {
	OptsGlobal
	commoncmd.OptsAsync
}

func (*CmdObjectPurge) Run

func (t *CmdObjectPurge) Run(kind string) error

type CmdObjectResourceList

type CmdObjectResourceList struct {
	OptsGlobal
	commoncmd.OptsResourceSelector
	NodeSelector string
}

func (*CmdObjectResourceList) Run

func (t *CmdObjectResourceList) Run(kind string) error

type CmdObjectRestart

type CmdObjectRestart struct {
	OptsGlobal
	commoncmd.OptsAsync
}

func (*CmdObjectRestart) Run

func (t *CmdObjectRestart) Run(kind string) error

type CmdObjectScheduleList

type CmdObjectScheduleList struct {
	OptsGlobal
	NodeSelector string
}

func (*CmdObjectScheduleList) Run

func (t *CmdObjectScheduleList) Run(kind string) error

type CmdObjectSet

type CmdObjectSet struct {
	OptsGlobal
	commoncmd.OptsLock
	KeywordOps []string
}

func (*CmdObjectSet) Run

func (t *CmdObjectSet) Run(kind string) error

type CmdObjectStart

type CmdObjectStart struct {
	OptsGlobal
	commoncmd.OptsAsync
}

func (*CmdObjectStart) Run

func (t *CmdObjectStart) Run(kind string) error

type CmdObjectStop

type CmdObjectStop struct {
	OptsGlobal
	commoncmd.OptsAsync
}

func (*CmdObjectStop) Run

func (t *CmdObjectStop) Run(kind string) error

type CmdObjectSwitch

type CmdObjectSwitch struct {
	OptsGlobal
	commoncmd.OptsAsync
	To   string
	Live bool
}

func (*CmdObjectSwitch) Run

func (t *CmdObjectSwitch) Run(kind string) error

type CmdObjectTakeover

type CmdObjectTakeover struct {
	OptsGlobal
	commoncmd.OptsAsync
	Live bool
}

func (*CmdObjectTakeover) Run

func (t *CmdObjectTakeover) Run(kind string) error

type CmdObjectUnfreeze

type CmdObjectUnfreeze struct {
	OptsGlobal
	commoncmd.OptsAsync
	NodeSelector string
}

func (*CmdObjectUnfreeze) Run

func (t *CmdObjectUnfreeze) Run(kind string) error

type CmdObjectUnprovision

type CmdObjectUnprovision struct {
	OptsGlobal
	commoncmd.OptsAsync
}

func (*CmdObjectUnprovision) Run

func (t *CmdObjectUnprovision) Run(kind string) error

type CmdObjectUnset

type CmdObjectUnset struct {
	OptsGlobal
	commoncmd.OptsLock
	Keywords []string
	Sections []string
}

func (*CmdObjectUnset) Run

func (t *CmdObjectUnset) Run(kind string) error

type CmdPoolList

type CmdPoolList struct {
	OptsGlobal
	Name string
}

func (*CmdPoolList) Run

func (t *CmdPoolList) Run() error

type CmdPoolVolumeList

type CmdPoolVolumeList struct {
	OptsGlobal
	Name string
}

func (*CmdPoolVolumeList) Run

func (t *CmdPoolVolumeList) Run() error

type CmdSecGenCert

type CmdSecGenCert struct {
	OptsGlobal
}

func (*CmdSecGenCert) Run

func (t *CmdSecGenCert) Run(kind string) error

type ContextAddCmd

type ContextAddCmd struct {
	Name                 string
	User                 string
	Cluster              string
	Namespace            string
	AccessTokenDuration  time.Duration
	RefreshTokenDuration time.Duration
}

func (*ContextAddCmd) Run

func (t *ContextAddCmd) Run() error

type ContextChangeCmd

type ContextChangeCmd struct {
	Name                 string
	User                 string
	Cluster              string
	Namespace            string
	AccessTokenDuration  time.Duration
	RefreshTokenDuration time.Duration
}

func (*ContextChangeCmd) Run

func (t *ContextChangeCmd) Run() error

type ContextClusterAddCmd

type ContextClusterAddCmd struct {
	Name                 string
	Server               string
	Insecure             bool
	CertificateAuthority string
}

func (*ContextClusterAddCmd) Run

func (t *ContextClusterAddCmd) Run() error

type ContextClusterChangeCmd

type ContextClusterChangeCmd struct {
	Name                 string
	Server               string
	Insecure             bool
	CertificateAuthority string
}

func (*ContextClusterChangeCmd) Run

func (t *ContextClusterChangeCmd) Run() error

type ContextClusterRemoveCmd

type ContextClusterRemoveCmd struct {
	Name  string
	Force bool
}

func (*ContextClusterRemoveCmd) Run

func (t *ContextClusterRemoveCmd) Run() error

type ContextRemoveCmd

type ContextRemoveCmd struct {
	Name string
}

func (*ContextRemoveCmd) Run

func (t *ContextRemoveCmd) Run() error

type ContextUserAddCmd

type ContextUserAddCmd struct {
	Name              string
	Username          string
	ClientKey         string
	ClientCertificate string
}

func (*ContextUserAddCmd) Run

func (t *ContextUserAddCmd) Run() error

type ContextUserChangeCmd

type ContextUserChangeCmd struct {
	Name              string
	Username          string
	ClientKey         string
	ClientCertificate string
}

func (*ContextUserChangeCmd) Run

func (t *ContextUserChangeCmd) Run() error

type ContextUserRemoveCmd

type ContextUserRemoveCmd struct {
	Name  string
	Force bool
}

func (*ContextUserRemoveCmd) Run

func (t *ContextUserRemoveCmd) Run() error

type OptsGlobal

type OptsGlobal struct {
	Color          string
	Output         string
	ObjectSelector string
}

OptsGlobal contains options accepted by all actions

Source Files

Jump to

Keyboard shortcuts

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