Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTaskRunner ¶
func NewTaskRunner(task Task) *taskRunner
Types ¶
type CommandContext ¶
type CommandContext struct { Bootstrapper interfaces.Bootstrapper Provider providers.Provider ClusterManager interfaces.ClusterManager AddonManager interfaces.AddonManager Validations interfaces.Validator Writer filewriter.FileWriter CAPIManager interfaces.CAPIManager ClusterSpec *cluster.Spec CurrentClusterSpec *cluster.Spec UpgradeChangeDiff *types.ChangeDiff BootstrapCluster *types.Cluster WorkloadCluster *types.Cluster Profiler *Profiler OriginalError error }
Command context maintains the mutable and shared entities
func (*CommandContext) SetError ¶
func (c *CommandContext) SetError(err error)
type Profiler ¶
type Profiler struct {
// contains filtered or unexported fields
}
func (*Profiler) MarkDoneTask ¶
needs to be called after setStart
func (*Profiler) SetStartTask ¶
profiler for a Task
Click to show internal directories.
Click to hide internal directories.