v1alpha1

package
v0.0.0-...-3357650 Latest Latest
Warning

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

Go to latest
Published: May 24, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the natives v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=natives.easyteam.fr

Package v1alpha1 contains API Schema definitions for the natives v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=natives.easyteam.fr

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "natives.easyteam.fr", Version: "v1alpha1"}

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

Functions

This section is empty.

Types

type Bot

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

	Spec   BotSpec   `json:"spec,omitempty"`
	Status BotStatus `json:"status,omitempty"`
}

Bot is the Schema for the bots API +kubebuilder:subresource:status +kubebuilder:resource:path=bots,scope=Namespaced

func (*Bot) DeepCopy

func (in *Bot) DeepCopy() *Bot

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

func (*Bot) DeepCopyInto

func (in *Bot) DeepCopyInto(out *Bot)

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

func (*Bot) DeepCopyObject

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

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

type BotList

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

BotList contains a list of Bot

func (*BotList) DeepCopy

func (in *BotList) DeepCopy() *BotList

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

func (*BotList) DeepCopyInto

func (in *BotList) DeepCopyInto(out *BotList)

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

func (*BotList) DeepCopyObject

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

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

type BotSpec

type BotSpec struct {
	// +kubebuilder:validation:MaxLength=15
	// +kubebuilder:validation:MinLength=1
	Alias string `json:"alias,omitempty"`
}

BotSpec defines the desired state of Bot

func (*BotSpec) DeepCopy

func (in *BotSpec) DeepCopy() *BotSpec

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

func (*BotSpec) DeepCopyInto

func (in *BotSpec) DeepCopyInto(out *BotSpec)

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

type BotStatus

type BotStatus struct {
	// contains filtered or unexported fields
}

BotStatus defines the observed state of Bot

func (*BotStatus) DeepCopy

func (in *BotStatus) DeepCopy() *BotStatus

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

func (*BotStatus) DeepCopyInto

func (in *BotStatus) DeepCopyInto(out *BotStatus)

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