v1alpha1

package
v0.3.9 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 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: "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 Service

type Service struct {
	//+kubebuilder:default:="ClusterIP"
	Type     v1.ServiceType `json:"type,omitempty"`
	Protocol v1.Protocol    `json:"protocol,omitempty"`
	//+kubebuilder:default="http"
	PortName string `json:"port_name,omitempty"`
	//+kubebuilder:default=80
	Port int32 `json:"port,omitempty"`
}

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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 {
	//+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"`
	Environments       []v1.EnvVar               `json:"environments,omitempty"`
	Resources          v1.ResourceList           `json:"resources,omitempty"`
	ServiceAnnotations map[string]string         `json:"service_annotations,omitempty"`
	//+kubebuilder:default:="ClusterIP"
	ServiceType v1.ServiceType `json:"service_type,omitempty"`
	Services    []Service      `json:"services,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