Documentation ¶
Overview ¶
Package capi manages CAPI installation, provides default client for CAPI CRDs.
Index ¶
- type Manager
- func (clusterAPI *Manager) GetKubeconfig(ctx context.Context) (client.Kubeconfig, error)
- func (clusterAPI *Manager) GetManagerClient() client.Client
- func (clusterAPI *Manager) GetMetalClient(ctx context.Context) (runtimeclient.Client, error)
- func (clusterAPI *Manager) Install(ctx context.Context) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager installs and controls cluster API installation.
func NewManager ¶
NewManager creates new Manager object.
func (*Manager) GetKubeconfig ¶
GetKubeconfig returns kubeconfig in clusterctl expected format.
func (*Manager) GetManagerClient ¶
GetManagerClient client returns instance of cluster API client.
func (*Manager) GetMetalClient ¶
GetMetalClient returns k8s client stuffed with CAPI CRDs.
Click to show internal directories.
Click to hide internal directories.