services

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLabelNodeAsMasterTask added in v0.3.0

func NewLabelNodeAsMasterTask() phase.Task

NewLabelNodeAsMasterTask initializes and returns an Services task.

func NewStartServicesTask

func NewStartServicesTask() phase.Task

NewStartServicesTask initializes and returns an Services task.

func NewStartSystemContainerdTask

func NewStartSystemContainerdTask() phase.Task

NewStartSystemContainerdTask initializes and returns an Services task.

func NewStopServicesTask

func NewStopServicesTask(services ...string) phase.Task

NewStopServicesTask initializes and returns an Services task.

Types

type LabelNodeAsMaster added in v0.3.0

type LabelNodeAsMaster struct{}

LabelNodeAsMaster represents the LabelNodeAsMaster task.

func (*LabelNodeAsMaster) TaskFunc added in v0.3.0

func (task *LabelNodeAsMaster) TaskFunc(mode runtime.Mode) phase.TaskFunc

TaskFunc returns the runtime function.

type StartServices

type StartServices struct{}

StartServices represents the StartServices task.

func (*StartServices) TaskFunc added in v0.3.0

func (task *StartServices) TaskFunc(mode runtime.Mode) phase.TaskFunc

TaskFunc returns the runtime function.

type StartSystemContainerd

type StartSystemContainerd struct{}

StartSystemContainerd represents the task to start system containerd.

func (*StartSystemContainerd) TaskFunc added in v0.3.0

func (task *StartSystemContainerd) TaskFunc(mode runtime.Mode) phase.TaskFunc

TaskFunc returns the runtime function.

type StopServices

type StopServices struct {
	// contains filtered or unexported fields
}

StopServices represents the StopServices task.

func (*StopServices) TaskFunc added in v0.3.0

func (task *StopServices) TaskFunc(mode runtime.Mode) phase.TaskFunc

TaskFunc returns the runtime function.

Jump to

Keyboard shortcuts

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