Documentation ¶
Index ¶
- type Action
- type ChaosData
- type ClusterConfirm
- type ClusterConnect
- type Data
- type KubeGVRRequest
- type KubeObjRequest
- type KubeObject
- type Node
- type ObjectData
- type OperationMessage
- type Payload
- type PodLog
- type PodLogRequest
- type RawData
- type WorkflowEvent
- type WorkflowSyncExternalData
- type Workload
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"` EngineContext string `json:"engineContext"` 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"` ChaosResult *v1alpha1.ChaosResult `json:"chaosResult"` }
ChaosData consists of ChaosEngine related data
type ClusterConfirm ¶
type ClusterConnect ¶
type Data ¶
type Data struct { ClusterConfirm ClusterConfirm `json:"confirmClusterRegistration"` ClusterConnect ClusterConnect `json:"clusterConnect"` }
type KubeGVRRequest ¶
type KubeObjRequest ¶
type KubeObjRequest struct { RequestID string ClusterID string `json:"clusterID"` ObjectType string `json:"objectType"` Workloads []Workload `json:"workloads"` KubeGVRRequest []*KubeGVRRequest `json:"kubeObjRequest"` }
type KubeObject ¶
type KubeObject struct { Namespace string `json:"namespace"` Data []ObjectData `json:"data"` }
KubeObject consists of all the namespaces and its related K8S object details
type Node ¶
type Node struct { Name string `json:"name"` Phase string `json:"phase"` Message string `json:"message"` StartedAt string `json:"startedAt"` FinishedAt string `json:"finishedAt"` Children []string `json:"children"` Type string `json:"type"` ChaosExp *ChaosData `json:"chaosData,omitempty"` }
Node consist of node/step data
type ObjectData ¶
type ObjectData struct { Name string `json:"name"` Kind string `json:"kind"` Labels map[string]string `json:"labels"` }
ObjectData consists of Kubernetes Objects related details
type OperationMessage ¶
type OperationMessage struct { Payload json.RawMessage `json:"payload,omitempty"` ID string `json:"id,omitempty"` Type string `json:"type"` }
type PodLog ¶
type PodLog struct { MainPod string `json:"mainLogs"` ChaosPod map[string]string `json:"chaosLogs",omitempty` }
PodLog consists logs from Chaos related pods and experiment pods
type PodLogRequest ¶
type PodLogRequest struct { RequestID string ClusterID string `json:"clusterID"` WorkflowRunID string `json:"workflowRunID"` PodName string `json:"podName"` PodNamespace string `json:"podNamespace"` PodType string `json:"podType"` ExpPod *string `json:"expPod"` RunnerPod *string `json:"runnerPod"` ChaosNamespace *string `json:"chaosNamespace"` }
type WorkflowEvent ¶
type WorkflowEvent struct { WorkflowType string `json:"workflowType"` WorkflowID string `json:"-"` EventType string `json:"eventType"` UID string `json:"-"` Namespace string `json:"namespace"` Name string `json:"name"` CreationTimestamp string `json:"creationTimestamp"` Phase string `json:"phase"` Message string `json:"message"` StartedAt string `json:"startedAt"` FinishedAt string `json:"finishedAt"` Nodes map[string]Node `json:"nodes"` ExecutedBy string `json:"executedBy"` }
WorkflowEvent consists of workflow related data
Click to show internal directories.
Click to hide internal directories.