Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstrapper ¶
type Bootstrapper struct {
// contains filtered or unexported fields
}
Bootstrapper communicates with the agent inside the control-plane VM after Kubernetes was initialized.
func NewBootstrapper ¶
func NewBootstrapper(log *zap.Logger, nodes *config.NodeInformation, k8sConfig []byte) (*Bootstrapper, error)
NewBootstrapper creates a new agent object.
func (*Bootstrapper) BootstrapKubernetes ¶
func (a *Bootstrapper) BootstrapKubernetes(ctx context.Context) (*config.EtcdCredentials, error)
BootstrapKubernetes initializes the kubernetes cluster.
func (*Bootstrapper) InstallKubernetes ¶
func (a *Bootstrapper) InstallKubernetes(ctx context.Context, kubernetesInitConfiguration []byte) (err error)
InstallKubernetes initializes a kubernetes cluster using the gRPC API.
Click to show internal directories.
Click to hide internal directories.