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

Jump to

Keyboard shortcuts

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