Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VirtualIPProviderFileNames = []string{
kubeVIPFilePath,
}
Functions ¶
func NewKubeVIPFromKCPTemplateProvider ¶ added in v0.28.0
func NewKubeVIPFromKCPTemplateProvider( template *controlplanev1.KubeadmControlPlaneTemplate, ) *kubeVIPFromKCPTemplateProvider
Types ¶
type Provider ¶
type Provider interface {
Name() string
GenerateFilesAndCommands(
ctx context.Context,
spec v1alpha1.ControlPlaneEndpointSpec,
cluster *clusterv1.Cluster,
) ([]bootstrapv1.File, []string, []string, error)
}
Provider is an interface for getting the virtual IP provider static Pod as a file.
Click to show internal directories.
Click to hide internal directories.