Documentation ¶
Index ¶
- Constants
- func IsGPU(labels map[string]string) bool
- type Handler
- type Machine
- type Provider
- func (p *Provider) EnsureCNIPlugins(m *Machine) error
- func (p *Provider) EnsureClean(m *Machine) error
- func (p *Provider) EnsureCopyFiles(m *Machine) error
- func (p *Provider) EnsureDisableSwap(m *Machine) error
- func (p *Provider) EnsureDocker(m *Machine) error
- func (p *Provider) EnsureJoinNode(m *Machine) error
- func (p *Provider) EnsureKernelModule(m *Machine) error
- func (p *Provider) EnsureKubeadm(m *Machine) error
- func (p *Provider) EnsureKubeconfig(m *Machine) error
- func (p *Provider) EnsureKubelet(m *Machine) error
- func (p *Provider) EnsureMarkNode(m *Machine) error
- func (p *Provider) EnsureNodeReady(m *Machine) error
- func (p *Provider) EnsurePostInstallHook(m *Machine) error
- func (p *Provider) EnsurePreInstallHook(m *Machine) error
- func (p *Provider) EnsurePreflight(m *Machine) error
- func (p *Provider) EnsureRegistryHosts(m *Machine) error
- func (p *Provider) EnsureSysctl(m *Machine) error
- func (p *Provider) Name() string
- func (p *Provider) OnInitialize(tkev1Machine platformv1.Machine, tkev1Cluster platformv1.Cluster, ...) (platformv1.Machine, error)
- func (p *Provider) Validate(m platform.Machine) (field.ErrorList, error)
Constants ¶
View Source
const ( ReasonFailedProcess = "FailedProcess" ReasonWaitingProcess = "WaitingProcess" ReasonSuccessfulProcess = "SuccessfulProcess" ConditionTypeDone = "EnsureDone" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Machine ¶
type Machine struct { platformv1.Machine Cluster *platformv1.Cluster ClusterCredential *platformv1.ClusterCredential *config.Config ssh.Interface ClientSet kubernetes.Interface }
func NewMachine ¶
func NewMachine(m platformv1.Machine, c *platformv1.Cluster, credential *platformv1.ClusterCredential, cfg *config.Config) (*Machine, error)
func (*Machine) SetCondition ¶
func (c *Machine) SetCondition(newCondition platformv1.MachineCondition)
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func (*Provider) EnsureCNIPlugins ¶
func (*Provider) EnsureClean ¶
func (*Provider) EnsureCopyFiles ¶
func (*Provider) EnsureDisableSwap ¶
func (*Provider) EnsureDocker ¶
func (*Provider) EnsureJoinNode ¶
func (*Provider) EnsureKernelModule ¶
func (*Provider) EnsureKubeadm ¶
func (*Provider) EnsureKubeconfig ¶
func (*Provider) EnsureKubelet ¶
func (*Provider) EnsureMarkNode ¶
func (*Provider) EnsureNodeReady ¶
func (*Provider) EnsurePostInstallHook ¶
func (*Provider) EnsurePreInstallHook ¶
func (*Provider) EnsurePreflight ¶
func (*Provider) EnsureRegistryHosts ¶
func (*Provider) EnsureSysctl ¶
func (*Provider) OnInitialize ¶
func (p *Provider) OnInitialize(tkev1Machine platformv1.Machine, tkev1Cluster platformv1.Cluster, credential platformv1.ClusterCredential) (platformv1.Machine, error)
Click to show internal directories.
Click to hide internal directories.