Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Plan = []plan.Step{ { Action: "ac001", Backoff: plan.NewBackoff(10*time.Second, 2*time.Second), Comment: "create cluster CRs", }, { Action: "ac002", Backoff: plan.NewBackoff(24*time.Minute, 3*time.Minute), Comment: "check cluster access", }, { Action: "ac003", Backoff: plan.NewBackoff(10*time.Second, 2*time.Second), Comment: "check master count", }, { Action: "ac004", Backoff: plan.NewBackoff(10*time.Second, 2*time.Second), Comment: "check worker count", }, { Action: "ac005", Backoff: plan.NewBackoff(10*time.Second, 2*time.Second), Comment: "create node pool", }, { Action: "ac004", Backoff: plan.NewBackoff(24*time.Minute, 3*time.Minute), Comment: "check worker count", }, { Action: "ac008", Backoff: plan.NewBackoff(10*time.Second, 2*time.Second), Comment: "delete cluster CRs", }, { Action: "ac009", Backoff: plan.NewBackoff(90*time.Minute, 9*time.Minute), Comment: "check CRs deleted", }, }
Plan describes in which order and with which tolerance to execute actions of this cluster scope.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func NewExecutor ¶
func NewExecutor(config ExecutorConfig) (*Executor, error)
type ExecutorConfig ¶
type Explainer ¶
type Explainer struct { }
func NewExplainer ¶
func NewExplainer(config ExplainerConfig) (*Explainer, error)
type ExplainerConfig ¶
type ExplainerConfig struct { }
Click to show internal directories.
Click to hide internal directories.