Documentation
¶
Index ¶
- Variables
- func GenerateSaveBootstrapperVersions(bootstrapperType string, configManager pkgconfig.Manager) (bootstrapperLatestVersion pkgconfig.BootstrapperVersioner, ...)
- func IsValid(bootstrapper string) bool
- type Bootstrapper
- type K3sBootstrapper
- func (k *K3sBootstrapper) Deploy(cluster *data.Cluster, before func() error) error
- func (k *K3sBootstrapper) DownloadKubeConfig(cluster *data.Cluster, destDir string) (string, error)
- func (k *K3sBootstrapper) Prepare(cluster *data.Cluster, force bool) error
- func (k *K3sBootstrapper) SetNodeManager(nodeManager node.Manager)
- func (k *K3sBootstrapper) Type() string
- type K3sExtraOptions
- type KubeadmBootstrapper
- func (k *KubeadmBootstrapper) Deploy(cluster *data.Cluster, before func() error) error
- func (k *KubeadmBootstrapper) DownloadKubeConfig(cluster *data.Cluster, destDir string) (string, error)
- func (k *KubeadmBootstrapper) Prepare(cluster *data.Cluster, force bool) error
- func (k *KubeadmBootstrapper) SetConfigManager(configManager pkgconfig.Manager)
- func (k *KubeadmBootstrapper) SetNodeManager(nodeManager node.Manager)
- func (k *KubeadmBootstrapper) SetVersionFinder(versionFinder versionfinder.Finder)
- func (k *KubeadmBootstrapper) Type() string
- type KubeadmExtraOptions
- type SkubaBootstrapper
- func (s *SkubaBootstrapper) Deploy(cluster *data.Cluster, before func() error) error
- func (s *SkubaBootstrapper) DownloadKubeConfig(cluster *data.Cluster, destDir string) (string, error)
- func (s *SkubaBootstrapper) Prepare(cluster *data.Cluster, force bool) error
- func (s *SkubaBootstrapper) SetNodeManager(nodeManager node.Manager)
- func (s *SkubaBootstrapper) Type() string
- type SkubaExtraOptions
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GenerateSaveBootstrapperVersions ¶ added in v0.2.0
func GenerateSaveBootstrapperVersions(bootstrapperType string, configManager pkgconfig.Manager) (bootstrapperLatestVersion pkgconfig.BootstrapperVersioner, bootstrapperVersions []pkgconfig.BootstrapperVersioner, err error)
Types ¶
type Bootstrapper ¶
type Bootstrapper interface { Deploy(cluster *data.Cluster, before func() error) error DownloadKubeConfig(cluster *data.Cluster, destDir string) (string, error) Prepare(cluster *data.Cluster, force bool) error Type() string }
func New ¶
func New(bootstrapper string) Bootstrapper
type K3sBootstrapper ¶
type K3sBootstrapper struct {
// contains filtered or unexported fields
}
func NewK3sBootstrapper ¶
func NewK3sBootstrapper() *K3sBootstrapper
func (*K3sBootstrapper) Deploy ¶
func (k *K3sBootstrapper) Deploy(cluster *data.Cluster, before func() error) error
func (*K3sBootstrapper) DownloadKubeConfig ¶
func (*K3sBootstrapper) Prepare ¶
func (k *K3sBootstrapper) Prepare(cluster *data.Cluster, force bool) error
func (*K3sBootstrapper) SetNodeManager ¶ added in v0.2.0
func (k *K3sBootstrapper) SetNodeManager(nodeManager node.Manager)
func (*K3sBootstrapper) Type ¶ added in v0.2.0
func (k *K3sBootstrapper) Type() string
type K3sExtraOptions ¶
type KubeadmBootstrapper ¶
type KubeadmBootstrapper struct {
// contains filtered or unexported fields
}
func NewKubeadmBootstrapper ¶
func NewKubeadmBootstrapper() *KubeadmBootstrapper
func (*KubeadmBootstrapper) Deploy ¶
func (k *KubeadmBootstrapper) Deploy(cluster *data.Cluster, before func() error) error
func (*KubeadmBootstrapper) DownloadKubeConfig ¶
func (*KubeadmBootstrapper) Prepare ¶
func (k *KubeadmBootstrapper) Prepare(cluster *data.Cluster, force bool) error
func (*KubeadmBootstrapper) SetConfigManager ¶ added in v0.2.0
func (k *KubeadmBootstrapper) SetConfigManager(configManager pkgconfig.Manager)
func (*KubeadmBootstrapper) SetNodeManager ¶ added in v0.2.0
func (k *KubeadmBootstrapper) SetNodeManager(nodeManager node.Manager)
func (*KubeadmBootstrapper) SetVersionFinder ¶ added in v0.2.0
func (k *KubeadmBootstrapper) SetVersionFinder(versionFinder versionfinder.Finder)
func (*KubeadmBootstrapper) Type ¶ added in v0.2.0
func (k *KubeadmBootstrapper) Type() string
type KubeadmExtraOptions ¶ added in v0.3.0
type SkubaBootstrapper ¶
type SkubaBootstrapper struct {
// contains filtered or unexported fields
}
func NewSkubaBootstrapper ¶
func NewSkubaBootstrapper() *SkubaBootstrapper
func (*SkubaBootstrapper) Deploy ¶
func (s *SkubaBootstrapper) Deploy(cluster *data.Cluster, before func() error) error
func (*SkubaBootstrapper) DownloadKubeConfig ¶
func (*SkubaBootstrapper) Prepare ¶
func (s *SkubaBootstrapper) Prepare(cluster *data.Cluster, force bool) error
func (*SkubaBootstrapper) SetNodeManager ¶ added in v0.2.0
func (s *SkubaBootstrapper) SetNodeManager(nodeManager node.Manager)
func (*SkubaBootstrapper) Type ¶ added in v0.2.0
func (s *SkubaBootstrapper) Type() string
type SkubaExtraOptions ¶
type SkubaExtraOptions struct {
RegisterCode string `json:"register_code"`
}
Click to show internal directories.
Click to hide internal directories.