...

Package task

import "github.com/chaos-mesh/chaos-mesh/pkg/workflow/task"
Overview
Index
Subdirectories

Overview ▾

Constants

const (
    PodMetadataVolumeName            = "podmetadata"
    PodMetadataAnnotationsVolumePath = ""
    PodMetadataMountPath             = "/var/run/chaos-mesh/"
)

func SpawnPodForTask

func SpawnPodForTask(task v1alpha1.Task) (corev1.PodSpec, error)

type Evaluator

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

func NewEvaluator

func NewEvaluator(logger logr.Logger, kubeclient client.Client) *Evaluator

func (*Evaluator) EvaluateConditionBranches

func (it *Evaluator) EvaluateConditionBranches(tasks []v1alpha1.ConditionalBranch, resultEnv map[string]interface{}) (branches []v1alpha1.ConditionalBranchStatus, err error)

Subdirectories

Name Synopsis
..
collector