Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAgentCommand ¶
func NewCleanupAgentCommand ¶
Types ¶
type AgentOptions ¶
type AgentOptions struct { HubKubeconfigFile string ManagedKubeconfigFile string SpokeClusterName string AddonName string AddonNamespace string }
AgentOptions defines the flags for workload agent
func NewAgentOptions ¶
func NewAgentOptions(addonName string) *AgentOptions
NewAgentOptions returns the flags with default value set
func (*AgentOptions) AddFlags ¶
func (o *AgentOptions) AddFlags(cmd *cobra.Command)
type CleanupAgentOptions ¶
CleanupAgentOptions defines the flags for workload agent
func NewCleanupAgentOptions ¶
func NewCleanupAgentOptions(addonName string) *CleanupAgentOptions
func (*CleanupAgentOptions) AddFlags ¶
func (o *CleanupAgentOptions) AddFlags(cmd *cobra.Command)
Click to show internal directories.
Click to hide internal directories.