v1

package
v0.0.0-...-ab941b6 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the darkowlzz.space v1 API group +kubebuilder:object:generate=true +groupName=darkowlzz.space

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "darkowlzz.space", Version: "v1"}

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

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

	Spec   AppSpec   `json:"spec,omitempty"`
	Status AppStatus `json:"status,omitempty"`
}

App is the Schema for the apps API

func (*App) DeepCopy

func (in *App) DeepCopy() *App

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

func (*App) DeepCopyInto

func (in *App) DeepCopyInto(out *App)

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

func (*App) DeepCopyObject

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

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

type AppList

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

AppList contains a list of App

func (*AppList) DeepCopy

func (in *AppList) DeepCopy() *AppList

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

func (*AppList) DeepCopyInto

func (in *AppList) DeepCopyInto(out *AppList)

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

func (*AppList) DeepCopyObject

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

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

type AppSpec

type AppSpec struct {

	// Image is the app's container image.
	// +kubebuilder:validation:Optional
	Image string `json:"image,omitempty"`
}

AppSpec defines the desired state of App

func (*AppSpec) DeepCopy

func (in *AppSpec) DeepCopy() *AppSpec

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

func (*AppSpec) DeepCopyInto

func (in *AppSpec) DeepCopyInto(out *AppSpec)

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

type AppStatus

type AppStatus struct {

	// +kubebuilder:validation:Optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []conditions.Condition `json:"conditions,omitempty"  patchStrategy:"merge" patchMergeKey:"type"`
}

AppStatus defines the observed state of App

func (*AppStatus) DeepCopy

func (in *AppStatus) DeepCopy() *AppStatus

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

func (*AppStatus) DeepCopyInto

func (in *AppStatus) DeepCopyInto(out *AppStatus)

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

type Cluster

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

	Spec   ClusterSpec   `json:"spec,omitempty"`
	Status ClusterStatus `json:"status,omitempty"`
}

Cluster is the Schema for the clusters API

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

type ClusterList

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

ClusterList contains a list of Cluster

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

type ClusterSpec

type ClusterSpec struct {

	// Images contains the image reference for all the associated components.
	// +kubebuilder:validation:Optional
	Images ImageReference `json:"images,omitempty"`

	// LogLevel is the application log level.
	// +kubebuilder:validation:Enum=info;debug;error
	// +kubebuilder:validation:Optional
	LogLevel string `json:"logLevel,omitempty"`
}

ClusterSpec defines the desired state of Cluster

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type ClusterStatus

type ClusterStatus struct {

	// +kubebuilder:validation:Optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []conditions.Condition `json:"conditions,omitempty"  patchStrategy:"merge" patchMergeKey:"type"`
}

ClusterStatus defines the observed state of Cluster

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

type ImageReference

type ImageReference struct {
	// +kubebuilder:validation:Optional
	App string `json:"app,omitempty"`

	// +kubebuilder:validation:Optional
	SidecarA string `json:"sidecarA,omitempty"`

	// +kubebuilder:validation:Optional
	SidecarB string `json:"sidecarB,omitempty"`
}

ImageReference contains image references to all the components.

func (*ImageReference) DeepCopy

func (in *ImageReference) DeepCopy() *ImageReference

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

func (*ImageReference) DeepCopyInto

func (in *ImageReference) DeepCopyInto(out *ImageReference)

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

type SidecarA

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

	Spec   SidecarASpec   `json:"spec,omitempty"`
	Status SidecarAStatus `json:"status,omitempty"`
}

SidecarA is the Schema for the sidecaras API

func (*SidecarA) DeepCopy

func (in *SidecarA) DeepCopy() *SidecarA

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

func (*SidecarA) DeepCopyInto

func (in *SidecarA) DeepCopyInto(out *SidecarA)

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

func (*SidecarA) DeepCopyObject

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

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

type SidecarAList

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

SidecarAList contains a list of SidecarA

func (*SidecarAList) DeepCopy

func (in *SidecarAList) DeepCopy() *SidecarAList

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

func (*SidecarAList) DeepCopyInto

func (in *SidecarAList) DeepCopyInto(out *SidecarAList)

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

func (*SidecarAList) DeepCopyObject

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

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

type SidecarASpec

type SidecarASpec struct {

	// Image is the sidecar's container image.
	// +kubebuilder:validation:Optional
	Image string `json:"image,omitempty"`
}

SidecarASpec defines the desired state of SidecarA

func (*SidecarASpec) DeepCopy

func (in *SidecarASpec) DeepCopy() *SidecarASpec

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

func (*SidecarASpec) DeepCopyInto

func (in *SidecarASpec) DeepCopyInto(out *SidecarASpec)

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

type SidecarAStatus

type SidecarAStatus struct {

	// +kubebuilder:validation:Optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []conditions.Condition `json:"conditions,omitempty"  patchStrategy:"merge" patchMergeKey:"type"`
}

SidecarAStatus defines the observed state of SidecarA

func (*SidecarAStatus) DeepCopy

func (in *SidecarAStatus) DeepCopy() *SidecarAStatus

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

func (*SidecarAStatus) DeepCopyInto

func (in *SidecarAStatus) DeepCopyInto(out *SidecarAStatus)

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

type SidecarB

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

	Spec   SidecarBSpec   `json:"spec,omitempty"`
	Status SidecarBStatus `json:"status,omitempty"`
}

SidecarB is the Schema for the sidecarbs API

func (*SidecarB) DeepCopy

func (in *SidecarB) DeepCopy() *SidecarB

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

func (*SidecarB) DeepCopyInto

func (in *SidecarB) DeepCopyInto(out *SidecarB)

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

func (*SidecarB) DeepCopyObject

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

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

type SidecarBList

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

SidecarBList contains a list of SidecarB

func (*SidecarBList) DeepCopy

func (in *SidecarBList) DeepCopy() *SidecarBList

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

func (*SidecarBList) DeepCopyInto

func (in *SidecarBList) DeepCopyInto(out *SidecarBList)

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

func (*SidecarBList) DeepCopyObject

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

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

type SidecarBSpec

type SidecarBSpec struct {

	// Image is the sidecar's container image.
	// +kubebuilder:validation:Optional
	Image string `json:"image,omitempty"`
}

SidecarBSpec defines the desired state of SidecarB

func (*SidecarBSpec) DeepCopy

func (in *SidecarBSpec) DeepCopy() *SidecarBSpec

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

func (*SidecarBSpec) DeepCopyInto

func (in *SidecarBSpec) DeepCopyInto(out *SidecarBSpec)

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

type SidecarBStatus

type SidecarBStatus struct {

	// +kubebuilder:validation:Optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []conditions.Condition `json:"conditions,omitempty"  patchStrategy:"merge" patchMergeKey:"type"`
}

SidecarBStatus defines the observed state of SidecarB

func (*SidecarBStatus) DeepCopy

func (in *SidecarBStatus) DeepCopy() *SidecarBStatus

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

func (*SidecarBStatus) DeepCopyInto

func (in *SidecarBStatus) DeepCopyInto(out *SidecarBStatus)

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