v1beta1

package
v0.0.0-...-25dce4e Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the monitor.wangjl.dev v1beta1 API group +kubebuilder:object:generate=true +groupName=monitor.wangjl.dev.wangjl.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "monitor.wangjl.dev.wangjl.dev", Version: "v1beta1"}

	// 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 Hystrix

type Hystrix struct {
	corev1.ServiceSpec `json:",inline"`
	Name               string `json:"name,omitempty"`
}

func (*Hystrix) DeepCopy

func (in *Hystrix) DeepCopy() *Hystrix

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

func (*Hystrix) DeepCopyInto

func (in *Hystrix) DeepCopyInto(out *Hystrix)

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

type Turbine

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

	Spec   TurbineSpec   `json:"spec,omitempty"`
	Status TurbineStatus `json:"status,omitempty"`
}

Turbine is the Schema for the turbines API

func (*Turbine) DeepCopy

func (in *Turbine) DeepCopy() *Turbine

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

func (*Turbine) DeepCopyInto

func (in *Turbine) DeepCopyInto(out *Turbine)

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

func (*Turbine) DeepCopyObject

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

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

type TurbineList

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

TurbineList contains a list of Turbine

func (*TurbineList) DeepCopy

func (in *TurbineList) DeepCopy() *TurbineList

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

func (*TurbineList) DeepCopyInto

func (in *TurbineList) DeepCopyInto(out *TurbineList)

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

func (*TurbineList) DeepCopyObject

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

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

type TurbineSpec

type TurbineSpec struct {

	// Foo is an example field of Turbine. Edit Turbine_types.go to remove/update
	//Foo      string               `json:"foo,omitempty"`
	//Hystrixs []corev1.ServiceSpec `json:"hystrixs"`
	//Hystrixs []corev1.Service `json:"hystrixs"`
	Hystrixs []Hystrix `json:"hystrixs"`
}

TurbineSpec defines the desired state of Turbine

func (*TurbineSpec) DeepCopy

func (in *TurbineSpec) DeepCopy() *TurbineSpec

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

func (*TurbineSpec) DeepCopyInto

func (in *TurbineSpec) DeepCopyInto(out *TurbineSpec)

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

type TurbineStatus

type TurbineStatus struct {
}

TurbineStatus defines the observed state of Turbine

func (*TurbineStatus) DeepCopy

func (in *TurbineStatus) DeepCopy() *TurbineStatus

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

func (*TurbineStatus) DeepCopyInto

func (in *TurbineStatus) DeepCopyInto(out *TurbineStatus)

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