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 RKEBootstrapper
- func (k *RKEBootstrapper) Deploy(cluster *data.Cluster, before func() error) error
- func (k *RKEBootstrapper) DownloadKubeConfig(cluster *data.Cluster, destDir string) (string, error)
- func (k *RKEBootstrapper) Prepare(cluster *data.Cluster, force bool) error
- func (k *RKEBootstrapper) SetNodeManager(nodeManager node.Manager)
- func (k *RKEBootstrapper) Type() string
- type RKEExtraOptions
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 RKEBootstrapper ¶ added in v0.3.3
type RKEBootstrapper struct {
// contains filtered or unexported fields
}
func NewRKEBootstrapper ¶ added in v0.3.3
func NewRKEBootstrapper() *RKEBootstrapper
func (*RKEBootstrapper) Deploy ¶ added in v0.3.3
func (k *RKEBootstrapper) Deploy(cluster *data.Cluster, before func() error) error
func (*RKEBootstrapper) DownloadKubeConfig ¶ added in v0.3.3
func (*RKEBootstrapper) Prepare ¶ added in v0.3.3
func (k *RKEBootstrapper) Prepare(cluster *data.Cluster, force bool) error
func (*RKEBootstrapper) SetNodeManager ¶ added in v0.3.3
func (k *RKEBootstrapper) SetNodeManager(nodeManager node.Manager)
func (*RKEBootstrapper) Type ¶ added in v0.3.3
func (k *RKEBootstrapper) Type() string
type RKEExtraOptions ¶ added in v0.3.3
Click to show internal directories.
Click to hide internal directories.