Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrProviderNotFound = errors.New("no user data provider for the given os found")
)
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { UserData( spec clusterv1alpha1.MachineSpec, kubeconfig *clientcmdapi.Config, ccProvider cloud.ConfigProvider, clusterDNSIPs []net.IP, externalCloudProvider bool, ) (string, error) }
func ForOS ¶
func ForOS(os providerconfig.OperatingSystem) (Provider, error)
Click to show internal directories.
Click to hide internal directories.