machine

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: LGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func GetMasterEndpoint

func GetMasterEndpoint(addresses []devopsv1.ClusterAddress) (string, error)

Types

type Provider

func NewProvider

func NewProvider(mgr *machineprovider.MpManager, cfg *config.Config) (*Provider, error)

func (*Provider) EnsureClean

func (p *Provider) EnsureClean(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsureCni

func (p *Provider) EnsureCni(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsureCopyFiles

func (p *Provider) EnsureCopyFiles(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsureEth

func (p *Provider) EnsureEth(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsureJoinNode

func (p *Provider) EnsureJoinNode(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsureK8sComponent

func (p *Provider) EnsureK8sComponent(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsureKubeconfig

func (p *Provider) EnsureKubeconfig(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsureMarkNode

func (p *Provider) EnsureMarkNode(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsureNodeReady

func (p *Provider) EnsureNodeReady(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsurePostInstallHook

func (p *Provider) EnsurePostInstallHook(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsurePreInstallHook

func (p *Provider) EnsurePreInstallHook(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsurePreflight

func (p *Provider) EnsurePreflight(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsureRegistryHosts

func (p *Provider) EnsureRegistryHosts(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) EnsureSystem

func (p *Provider) EnsureSystem(ctx *common.ClusterContext, machine *devopsv1.Machine) error

func (*Provider) Validate

func (p *Provider) Validate(machine *devopsv1.Machine) field.ErrorList

Jump to

Keyboard shortcuts

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