types

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

type Archive = core.ObjectBase

Archive defines the basic information of an archive.

type ArchiveDetail

type ArchiveDetail struct {
	Archive
	KubeObject core.KubeObjectDesc `json:"kube_object"`
}

ArchiveDetail represents an archive instance.

It inherits `Archive` and adds complete definition of an experiment.

type Experiment

type Experiment struct {
	core.ObjectBase
	Status        status.ChaosStatus `json:"status"`
	FailedMessage string             `json:"failed_message,omitempty"`
}

Experiment defines the basic information of an experiment.

type ExperimentDetail

type ExperimentDetail struct {
	Experiment
	KubeObject core.KubeObjectDesc `json:"kube_object"`
}

ExperimentDetail represents an experiment instance.

It inherits `Experiment` and adds complete definition of an experiment.

type PhysicalMachine

type PhysicalMachine struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	Address   string `json:"address"`
}

PhysicalMachine defines the basic information of a physical machine.

type Pod

type Pod struct {
	IP        string `json:"ip"`
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	State     string `json:"state"`
}

Pod defines the basic information of a pod.

type Schedule

type Schedule struct {
	core.ObjectBase
	Status status.ScheduleStatus `json:"status"`
}

Schedule defines the basic information of a schedule.

type ScheduleDetail

type ScheduleDetail struct {
	Schedule
	ExperimentUIDs []string            `json:"experiment_uids"`
	KubeObject     core.KubeObjectDesc `json:"kube_object"`
}

ScheduleDetail represents an archive instance.

It inherits `Schedule` and adds complete definition of a schedule.

type StatusCheckTemplate

type StatusCheckTemplate struct {
	Namespace   string                       `json:"namespace"`
	Name        string                       `json:"name"`
	Description string                       `json:"description,omitempty"`
	Spec        v1alpha1.StatusCheckTemplate `json:"spec"`
}

type StatusCheckTemplateBase

type StatusCheckTemplateBase struct {
	Namespace   string `json:"namespace"`
	Name        string `json:"name"`
	UID         string `json:"uid"`
	Description string `json:"description,omitempty"`
	Created     string `json:"created_at"`
}

type StatusCheckTemplateDetail

type StatusCheckTemplateDetail struct {
	StatusCheckTemplateBase `json:",inline,omitempty"`
	Spec                    v1alpha1.StatusCheckTemplate `json:"spec"`
}

StatusCheckTemplateDetail represents an archive instance.

It inherits `StatusCheckTemplateBase` and adds complete definition of a Status Check template.

Jump to

Keyboard shortcuts

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