Documentation
¶
Index ¶
Constants ¶
View Source
const ( // OperatingSystemLinux is the configuration value for defining Linux. OperatingSystemLinux = "linux" // OperatingSystemWindows is the configuration value for defining Windows. OperatingSystemWindows = "windows" )
Variables ¶
View Source
var ( // ValidOperatingSystems defines the group of operating systems // that can be used as a kubelet node. ValidOperatingSystems = OperatingSystems{ OperatingSystemLinux: true, OperatingSystemWindows: true, } )
Functions ¶
This section is empty.
Types ¶
type InitConfig ¶
type InitConfig struct { ConfigPath string NodeName string OperatingSystem string InternalIP string DaemonPort int32 KubeClusterDomain string ResourceManager *manager.ResourceManager }
InitConfig is the config passed to initialize a registered provider.
type InitFunc ¶
type InitFunc func(InitConfig) (Provider, error) //nolint:golint
type OperatingSystems ¶
func (OperatingSystems) Names ¶
func (o OperatingSystems) Names() []string
type Provider ¶
type Provider interface { nodeutil.Provider // ConfigureNode enables a provider to configure the node object that // will be used for Kubernetes. ConfigureNode(context.Context, *v1.Node) }
Provider wraps the core provider type with an extra function needed to bootstrap the node
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is used for registering/fetching providers
func (*Store) Exists ¶
Exists returns if there is an init function registered under the provided name
Click to show internal directories.
Click to hide internal directories.