Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentInstallOptions ¶
type AgentInstallOptions struct { Install bool // If true, install the agent ChartPath string ChartValues string }
Options for installing agents (cert-agent, enterprise-agent)
type Registrant ¶
type Registrant struct {
*RegistrantOptions
}
func NewRegistrant ¶
func NewRegistrant(opts *RegistrantOptions) (*Registrant, error)
func (*Registrant) DeregisterCluster ¶
func (r *Registrant) DeregisterCluster(ctx context.Context) error
func (*Registrant) RegisterCluster ¶
func (r *Registrant) RegisterCluster(ctx context.Context) error
type RegistrantOptions ¶
type RegistrantOptions struct { KubeConfigPath string MgmtContext string RemoteContext string Registration register.RegistrationOptions AgentCrdsChartPath string CertAgent AgentInstallOptions EnterpriseAgent AgentInstallOptions Verbose bool }
func (*RegistrantOptions) ConstructClientConfigs ¶
func (m *RegistrantOptions) ConstructClientConfigs() (mgmtKubeCfg clientcmd.ClientConfig, remoteKubeCfg clientcmd.ClientConfig, err error)
Initialize a ClientConfig for the management and remote clusters from the options.
Click to show internal directories.
Click to hide internal directories.