ubuntu

package
v1.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.0.2

type Config struct {
	DistUpgradeOnBoot bool `json:"distUpgradeOnBoot"`
}

Config contains specific configuration for Ubuntu.

func LoadConfig added in v1.1.3

func LoadConfig(r runtime.RawExtension) (*Config, error)

LoadConfig retrieves the Ubuntu configuration from raw data.

func (*Config) Spec added in v1.1.3

func (cfg *Config) Spec() (*runtime.RawExtension, error)

Spec return the configuration as raw data.

type Provider

type Provider struct{}

Provider is a pkg/userdata/plugin.Provider implementation.

func (Provider) UserData

func (p Provider) UserData(
	spec clusterv1alpha1.MachineSpec,
	kubeconfig *clientcmdapi.Config,
	cloudConfig string,
	cloudProviderName string,
	clusterDNSIPs []net.IP,
	externalCloudProvider bool,
) (string, error)

UserData renders user-data template to string.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL