package
0.1.0
Repository: https://github.com/kpaas-io/kpaas.git
Documentation: pkg.go.dev

# Functions

ExecuteTask starts the task's execution and wait it to finish.
GenTaskLogFileDir is a helper to return the log file dir based on base path and task name.
GetAllActions returns all actions of a task, including its direct actions and its subtasks' actions recursively.
No description provided by the author
NewCheckNetworkRequirementsTask create a CheckNetworkRequirements task to check prerequisites of deploying network.
NewDeployEtcdTask returns a deploy etcd task based on the config.
NewDeploymasterTask returns a deploy master task based on the config.
NewDeployTask returns a deploy task based on the config.
NewDeployWorkerTask returns a deploy k8s worker task based on the config.
NewFetchKubeConfigTask returns a fetch-kube-config task based on the config.
No description provided by the author
No description provided by the author
NewNodeCheckTask returns a node check task based on the config.
NewNodeInitTask returns a common node init task based on the config.
NewProcessor is a simple factory method to return a task processor based on task type.
NewTestConnectionTask returns a test-connection task based on the config.
RegisterProcessor is to register a Processor for a task type.
StartTask does a basic verification on the task, then starts the task's execution and return immediately.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
CheckNetworkRequirementsTaskConfig configuration to create a CheckNetworkRequirements task.
No description provided by the author
DeployEtcdTaskConfig represents the config for a deploy etcd task.
DeploymasterTaskConfig represents the config for a deploy master task.
No description provided by the author
DeployTaskConfig represents the config for a deploy task.
No description provided by the author
No description provided by the author
No description provided by the author
FetchKubeConfigTaskConfig represents the config for a fetch-kube-config task.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NodeCheckTaskConfig represents the config for a node check task.
No description provided by the author
NodeInitTaskConfig represents the config for a node init task.
No description provided by the author
TestConnectionTaskConfig represents the config for a test-connection task.

# Interfaces

ExtraResult defines the interface to process the task's extra result, Task extra result is the specific output of a task, which is not the task's status and err.
Processor defines the interface for all task processors.
No description provided by the author
Task represents something to do and typically includes one or more actions.

# Type aliases

No description provided by the author
No description provided by the author
Status represents the status of a task.
Type represents the type of a task.