Documentation ¶
Index ¶
- Variables
- func GenerateSaveBootstrapperVersions(bootstrapperType string, configManager pkgconfig.Manager) (bootstrapperLatestVersion pkgconfig.BootstrapperVersioner, ...)
- func IsValid(bootstrapper string) bool
- type Bootstrapper
- type K0sBootstrapper
- func (k *K0sBootstrapper) Deploy(cluster *data.Cluster, before func() error) error
- func (k *K0sBootstrapper) DownloadKubeConfig(cluster *data.Cluster, destDir string) (string, error)
- func (k *K0sBootstrapper) Prepare(cluster *data.Cluster, force bool) error
- func (k *K0sBootstrapper) SetNodeManager(nodeManager node.Manager)
- func (k *K0sBootstrapper) Type() string
- type K0sExtraOptions
- 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 RKE2Bootstrapper
- func (r *RKE2Bootstrapper) Deploy(cluster *data.Cluster, before func() error) error
- func (r *RKE2Bootstrapper) DownloadKubeConfig(cluster *data.Cluster, destDir string) (string, error)
- func (r *RKE2Bootstrapper) Prepare(cluster *data.Cluster, force bool) error
- func (r *RKE2Bootstrapper) SetNodeManager(nodeManager node.Manager)
- func (r *RKE2Bootstrapper) Type() string
- type RKE2ExtraOptions
- 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
- type RancherdBootstrapper
- func (r *RancherdBootstrapper) Deploy(cluster *data.Cluster, before func() error) error
- func (r *RancherdBootstrapper) DownloadKubeConfig(cluster *data.Cluster, destDir string) (string, error)
- func (r *RancherdBootstrapper) Prepare(cluster *data.Cluster, force bool) error
- func (r *RancherdBootstrapper) SetNodeManager(nodeManager node.Manager)
- func (r *RancherdBootstrapper) Type() string
- type RancherdExtraOptions
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 K0sBootstrapper ¶ added in v0.3.4
type K0sBootstrapper struct {
// contains filtered or unexported fields
}
func NewK0sBootstrapper ¶ added in v0.3.4
func NewK0sBootstrapper() *K0sBootstrapper
func (*K0sBootstrapper) Deploy ¶ added in v0.3.4
func (k *K0sBootstrapper) Deploy(cluster *data.Cluster, before func() error) error
func (*K0sBootstrapper) DownloadKubeConfig ¶ added in v0.3.4
func (*K0sBootstrapper) Prepare ¶ added in v0.3.4
func (k *K0sBootstrapper) Prepare(cluster *data.Cluster, force bool) error
func (*K0sBootstrapper) SetNodeManager ¶ added in v0.3.4
func (k *K0sBootstrapper) SetNodeManager(nodeManager node.Manager)
func (*K0sBootstrapper) Type ¶ added in v0.3.4
func (k *K0sBootstrapper) Type() string
type K0sExtraOptions ¶ added in v0.3.4
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 RKE2Bootstrapper ¶ added in v0.3.4
type RKE2Bootstrapper struct {
// contains filtered or unexported fields
}
func NewRKE2Bootstrapper ¶ added in v0.3.4
func NewRKE2Bootstrapper() *RKE2Bootstrapper
func (*RKE2Bootstrapper) Deploy ¶ added in v0.3.4
func (r *RKE2Bootstrapper) Deploy(cluster *data.Cluster, before func() error) error
func (*RKE2Bootstrapper) DownloadKubeConfig ¶ added in v0.3.4
func (*RKE2Bootstrapper) Prepare ¶ added in v0.3.4
func (r *RKE2Bootstrapper) Prepare(cluster *data.Cluster, force bool) error
func (*RKE2Bootstrapper) SetNodeManager ¶ added in v0.3.4
func (r *RKE2Bootstrapper) SetNodeManager(nodeManager node.Manager)
func (*RKE2Bootstrapper) Type ¶ added in v0.3.4
func (r *RKE2Bootstrapper) Type() string
type RKE2ExtraOptions ¶ added in v0.3.4
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
type RancherdBootstrapper ¶ added in v0.3.5
type RancherdBootstrapper struct {
*RKE2Bootstrapper
}
func NewRancherdBootstrapper ¶ added in v0.3.5
func NewRancherdBootstrapper() *RancherdBootstrapper
func (*RancherdBootstrapper) Deploy ¶ added in v0.3.5
func (r *RancherdBootstrapper) Deploy(cluster *data.Cluster, before func() error) error
func (*RancherdBootstrapper) DownloadKubeConfig ¶ added in v0.3.5
func (*RancherdBootstrapper) Prepare ¶ added in v0.3.5
func (r *RancherdBootstrapper) Prepare(cluster *data.Cluster, force bool) error
func (*RancherdBootstrapper) SetNodeManager ¶ added in v0.3.5
func (r *RancherdBootstrapper) SetNodeManager(nodeManager node.Manager)
func (*RancherdBootstrapper) Type ¶ added in v0.3.5
func (r *RancherdBootstrapper) Type() string
type RancherdExtraOptions ¶ added in v0.3.5
Source Files ¶
Click to show internal directories.
Click to hide internal directories.