types

package
v0.0.0-...-ebcacb0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChaosData

type ChaosData struct {
	EngineUID              string `json:"engineUID"`
	EngineName             string `json:"engineName"`
	Namespace              string `json:"namespace"`
	ExperimentName         string `json:"experimentName"`
	ExperimentStatus       string `json:"experimentStatus"`
	LastUpdatedAt          string `json:"lastUpdatedAt"`
	ExperimentVerdict      string `json:"experimentVerdict"`
	ExperimentPod          string `json:"experimentPod"`
	RunnerPod              string `json:"runnerPod"`
	ProbeSuccessPercentage string `json:"probeSuccessPercentage"`
	FailStep               string `json:"failStep"`
}

chaos data

type Node

type Node struct {
	Name       string     `json:"name"`
	Phase      string     `json:"phase"`
	StartedAt  string     `json:"startedAt"`
	FinishedAt string     `json:"finishedAt"`
	Children   []string   `json:"children"`
	Type       string     `json:"type"`
	ChaosExp   *ChaosData `json:"chaosData,omitempty"`
}

each node/step data

type PodLog

type PodLog struct {
	MainPod  string            `json:"main_logs"`
	ChaosPod map[string]string `json:"chaos_logs",omitempty`
}

type PodLogRequest

type PodLogRequest struct {
	RequestID      string
	ClusterID      string  `json:"cluster_id"`
	WorkflowRunID  string  `json:"workflow_run_id"`
	PodName        string  `json:"pod_name"`
	PodNamespace   string  `json:"pod_namespace"`
	PodType        string  `json:"pod_type"`
	ExpPod         *string `json:"exp_pod"`
	RunnerPod      *string `json:"runner_pod"`
	ChaosNamespace *string `json:"chaos_namespace"`
}

type WorkflowEvent

type WorkflowEvent struct {
	EventType         string          `json:"event_type"`
	UID               string          `json:"uid"`
	Namespace         string          `json:"namespace"`
	Name              string          `json:"name"`
	CreationTimestamp string          `json:"creationTimestamp"`
	Phase             string          `json:"phase"`
	StartedAt         string          `json:"startedAt"`
	FinishedAt        string          `json:"finishedAt"`
	Nodes             map[string]Node `json:"nodes"`
}

workflow data

Jump to

Keyboard shortcuts

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