v1alpha2

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha2 contains API Schema definitions for the v1alpha2 API group +kubebuilder:object:generate=true +groupName=meeting.ko

Index

Constants

This section is empty.

Variables

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

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

type Port struct {
	//+kubebuilder:default="http"
	Name     string      `json:"name,omitempty"`
	Protocol v1.Protocol `json:"protocol,omitempty"`
	Port     int32       `json:"port,omitempty"`
}

func (*Port) DeepCopy

func (in *Port) DeepCopy() *Port

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

func (*Port) DeepCopyInto

func (in *Port) DeepCopyInto(out *Port)

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

type WhiteBoard

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

	Spec   WhiteBoardSpec   `json:"spec,omitempty"`
	Status WhiteBoardStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status

func (*WhiteBoard) DeepCopy

func (in *WhiteBoard) DeepCopy() *WhiteBoard

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

func (*WhiteBoard) DeepCopyInto

func (in *WhiteBoard) DeepCopyInto(out *WhiteBoard)

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

func (*WhiteBoard) DeepCopyObject

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

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

type WhiteBoardList

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

+kubebuilder:object:root=true

func (*WhiteBoardList) DeepCopy

func (in *WhiteBoardList) DeepCopy() *WhiteBoardList

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

func (*WhiteBoardList) DeepCopyInto

func (in *WhiteBoardList) DeepCopyInto(out *WhiteBoardList)

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

func (*WhiteBoardList) DeepCopyObject

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

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

type WhiteBoardSpec

type WhiteBoardSpec struct {
	Annotations map[string]string `json:"annotations,omitempty"`
	//+kubebuilder:default:=1
	Replicas int32 `json:"replicas,omitempty"`
	//+kubebuilder:default="excalidraw/excalidraw:sha-5c73c58"
	Image string `json:"image,omitempty"`
	//+kubebuilder:default="IfNotPresent"
	ImagePullPolicy    v1.PullPolicy             `json:"image_pull_policy,omitempty"`
	ImagePullSecrets   []v1.LocalObjectReference `json:"image_pull_secrets,omitempty"`
	SecurityContext    v1.SecurityContext        `json:"security_context,omitempty"`
	Environments       []v1.EnvVar               `json:"environments,omitempty"`
	Resources          v1.ResourceRequirements   `json:"resources,omitempty"`
	ServiceAnnotations map[string]string         `json:"service_annotations,omitempty"`
	//+kubebuilder:default:="ClusterIP"
	ServiceType v1.ServiceType `json:"service_type,omitempty"`
	Ports       []Port         `json:"ports,omitempty"`
}

WhiteBoardSpec defines the desired state of WhiteBoard

func (*WhiteBoardSpec) DeepCopy

func (in *WhiteBoardSpec) DeepCopy() *WhiteBoardSpec

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

func (*WhiteBoardSpec) DeepCopyInto

func (in *WhiteBoardSpec) DeepCopyInto(out *WhiteBoardSpec)

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

type WhiteBoardStatus

type WhiteBoardStatus struct{}

WhiteBoardStatus defines the observed state of WhiteBoard

func (*WhiteBoardStatus) DeepCopy

func (in *WhiteBoardStatus) DeepCopy() *WhiteBoardStatus

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

func (*WhiteBoardStatus) DeepCopyInto

func (in *WhiteBoardStatus) DeepCopyInto(out *WhiteBoardStatus)

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