ubuntu

package
v0.7.17 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2018 License: Apache-2.0 Imports: 16 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NoInstallCandidateAvailableErr = errors.New("no install candidate available for the desired version")
)

Functions

This section is empty.

Types

type Config added in v0.0.2

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

Config TODO

type Provider

type Provider struct{}

Provider is a pkg/userdata.Provider implementation

func (Provider) SupportedContainerRuntimes

func (p Provider) SupportedContainerRuntimes() (runtimes []machinesv1alpha1.ContainerRuntimeInfo)

SupportedContainerRuntimes return list of container runtimes

func (Provider) UserData

func (p Provider) UserData(
	spec machinesv1alpha1.MachineSpec,
	kubeconfig *clientcmdapi.Config,
	ccProvider cloud.ConfigProvider,
	clusterDNSIPs []net.IP,
) (string, error)

UserData renders user-data template

Jump to

Keyboard shortcuts

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