v1alpha1

package
v0.0.0-...-43f4082 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the netest v1alpha1 API group +kubebuilder:object:generate=true +groupName=netest.terloo.github.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "netest.terloo.github.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Netest

type Netest struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NetestSpec   `json:"spec,omitempty"`
	Status NetestStatus `json:"status,omitempty"`
}

Netest is the Schema for the netests API

func (*Netest) DeepCopy

func (in *Netest) DeepCopy() *Netest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Netest.

func (*Netest) DeepCopyInto

func (in *Netest) DeepCopyInto(out *Netest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Netest) DeepCopyObject

func (in *Netest) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NetestList

type NetestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Netest `json:"items"`
}

NetestList contains a list of Netest

func (*NetestList) DeepCopy

func (in *NetestList) DeepCopy() *NetestList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetestList.

func (*NetestList) DeepCopyInto

func (in *NetestList) DeepCopyInto(out *NetestList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NetestList) DeepCopyObject

func (in *NetestList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NetestResult

type NetestResult struct {
	Type   meta.NetestType   `json:"type,omitempty"`
	Status NetestResultState `json:"status,omitempty"`
}

func (*NetestResult) DeepCopy

func (in *NetestResult) DeepCopy() *NetestResult

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetestResult.

func (*NetestResult) DeepCopyInto

func (in *NetestResult) DeepCopyInto(out *NetestResult)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetestResultState

type NetestResultState int
const (
	Queue     NetestResultState = iota + 1
	Runing    NetestResultState = iota + 1
	Completed NetestResultState = iota + 1
)

type NetestSpec

type NetestSpec struct {
}

NetestSpec defines the desired state of Netest

func (*NetestSpec) DeepCopy

func (in *NetestSpec) DeepCopy() *NetestSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetestSpec.

func (*NetestSpec) DeepCopyInto

func (in *NetestSpec) DeepCopyInto(out *NetestSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetestStatus

type NetestStatus struct {
	TestItems map[meta.NetestType]*NetestResult `json:"testItems,omitempty"`
}

NetestStatus defines the observed state of Netest

func (*NetestStatus) DeepCopy

func (in *NetestStatus) DeepCopy() *NetestStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetestStatus.

func (*NetestStatus) DeepCopyInto

func (in *NetestStatus) DeepCopyInto(out *NetestStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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