v1alpha2

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 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 Etherpad

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

	Spec   EtherpadSpec   `json:"spec,omitempty"`
	Status EtherpadStatus `json:"status,omitempty"`
}

Etherpad is the Schema for the etherpads API

func (*Etherpad) DeepCopy

func (in *Etherpad) DeepCopy() *Etherpad

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

func (*Etherpad) DeepCopyInto

func (in *Etherpad) DeepCopyInto(out *Etherpad)

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

func (*Etherpad) DeepCopyObject

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

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

type EtherpadList

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

EtherpadList contains a list of Etherpad

func (*EtherpadList) DeepCopy

func (in *EtherpadList) DeepCopy() *EtherpadList

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

func (*EtherpadList) DeepCopyInto

func (in *EtherpadList) DeepCopyInto(out *EtherpadList)

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

func (*EtherpadList) DeepCopyObject

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

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

type EtherpadSpec

type EtherpadSpec struct {
	Annotations map[string]string `json:"annotations,omitempty"`
	//+kubebuilder:default:=1
	Replicas int32 `json:"replicas,omitempty"`
	//+kubebuilder:default="etherpad/etherpad:1.8.12"
	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"`
}

EtherpadSpec defines the desired state of Etherpad

func (*EtherpadSpec) DeepCopy

func (in *EtherpadSpec) DeepCopy() *EtherpadSpec

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

func (*EtherpadSpec) DeepCopyInto

func (in *EtherpadSpec) DeepCopyInto(out *EtherpadSpec)

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

type EtherpadStatus

type EtherpadStatus struct {
}

EtherpadStatus defines the observed state of Etherpad

func (*EtherpadStatus) DeepCopy

func (in *EtherpadStatus) DeepCopy() *EtherpadStatus

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

func (*EtherpadStatus) DeepCopyInto

func (in *EtherpadStatus) DeepCopyInto(out *EtherpadStatus)

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL