v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: CC0-1.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +kubebuilder:object:generate=true +groupName=apps.jit.si

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "apps.jit.si", 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
)
View Source
var Version = "master"

Functions

This section is empty.

Types

type AffinitySettings

type AffinitySettings struct {
	//+optional
	Affinity corev1.Affinity `json:"affinity,omitempty"`
	//+optional
	DisableDefaultAffinity bool `json:"disableDefaultAffinity,omitempty"`
}

func (*AffinitySettings) DeepCopy

func (in *AffinitySettings) DeepCopy() *AffinitySettings

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

func (*AffinitySettings) DeepCopyInto

func (in *AffinitySettings) DeepCopyInto(out *AffinitySettings)

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

type BucketSettings

type BucketSettings struct {
	//+required
	Host string `json:"host"`
	//+required
	Name string `json:"name"`
	//+required
	Secret *corev1.LocalObjectReference `json:"secret"`
}

func (*BucketSettings) DeepCopy

func (in *BucketSettings) DeepCopy() *BucketSettings

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

func (*BucketSettings) DeepCopyInto

func (in *BucketSettings) DeepCopyInto(out *BucketSettings)

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

type ContainerRuntime

type ContainerRuntime struct {
	//+optional
	Image string `json:"image,omitempty"`
	//+optional
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
	//+optional
	Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
}

func (*ContainerRuntime) DeepCopy

func (in *ContainerRuntime) DeepCopy() *ContainerRuntime

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

func (*ContainerRuntime) DeepCopyInto

func (in *ContainerRuntime) DeepCopyInto(out *ContainerRuntime)

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

type Image

type Image struct {
	Registry   string            `json:"registry,omitempty"`
	Tag        string            `json:"tag,omitempty"`
	PullPolicy corev1.PullPolicy `json:"pullPolicy,omitempty"`
}

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

type Ingress

type Ingress struct {
	//+optional
	Enabled bool `json:"enabled,omitempty"`
	//+optional
	TLS bool `json:"tls,omitempty"`
	//+optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*Ingress) DeepCopy

func (in *Ingress) DeepCopy() *Ingress

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

func (*Ingress) DeepCopyInto

func (in *Ingress) DeepCopyInto(out *Ingress)

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

type JVB

type JVB struct {
	*ContainerRuntime `json:",inline"`
	AffinitySettings  `json:",inline"`
	//+optional
	Strategy JVBStrategy `json:"strategy,omitempty"`
	//+optional
	Ports JVBPorts `json:"ports,omitempty"`
	//+optional
	GracefulShutdown bool `json:"gracefulShutdown,omitempty"`
}

func (*JVB) DeepCopy

func (in *JVB) DeepCopy() *JVB

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

func (*JVB) DeepCopyInto

func (in *JVB) DeepCopyInto(out *JVB)

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

type JVBPorts

type JVBPorts struct {
	//+optional
	UDP *int32 `json:"udp,omitempty"`
	//+optional
	TCP *int32 `json:"tcp,omitempty"`
}

func (*JVBPorts) DeepCopy

func (in *JVBPorts) DeepCopy() *JVBPorts

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

func (*JVBPorts) DeepCopyInto

func (in *JVBPorts) DeepCopyInto(out *JVBPorts)

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

type JVBStrategy

type JVBStrategy struct {
	//+kubebuilder:validation:Enum=static;daemonset;autoscaled
	Type JVBStrategyType `json:"type,omitempty"`
	//+optional
	Replicas *int32 `json:"replicas,omitempty"`
	//+optional
	MaxReplicas int32 `json:"maxReplicas,omitempty"`
}

func (*JVBStrategy) DeepCopy

func (in *JVBStrategy) DeepCopy() *JVBStrategy

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

func (*JVBStrategy) DeepCopyInto

func (in *JVBStrategy) DeepCopyInto(out *JVBStrategy)

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

type JVBStrategyType

type JVBStrategyType string
const (
	JVBStrategyStatic     JVBStrategyType = "static"
	JVBStrategyDaemon     JVBStrategyType = "daemonset"
	JVBStrategyAutoScaled JVBStrategyType = "autoscaled"
)

type Jibri

type Jibri struct {
	*ContainerRuntime `json:",inline"`
	AffinitySettings  `json:",inline"`
	//+optional
	Enabled bool `json:"enabled,omitempty"`
	//+optional
	Replicas *int32 `json:"replicas,omitempty"`
	//+optional
	ServiceAccountName string `json:"serviceAccountName,omitempty"`
	//+optional
	Bucket *BucketSettings `json:"bucket,omitempty"`
}

func (*Jibri) DeepCopy

func (in *Jibri) DeepCopy() *Jibri

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

func (*Jibri) DeepCopyInto

func (in *Jibri) DeepCopyInto(out *Jibri)

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

type Jicofo

type Jicofo struct {
	*ContainerRuntime `json:",inline"`
	AffinitySettings  `json:",inline"`
}

func (*Jicofo) DeepCopy

func (in *Jicofo) DeepCopy() *Jicofo

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

func (*Jicofo) DeepCopyInto

func (in *Jicofo) DeepCopyInto(out *Jicofo)

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

type Jitsi

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

	Spec   JitsiSpec   `json:"spec,omitempty"`
	Status JitsiStatus `json:"status,omitempty"`
}

Jitsi is the Schema for the jitsis API

func (*Jitsi) ComponentLabels

func (jitsi *Jitsi) ComponentLabels(component string) labels.Set

func (*Jitsi) DeepCopy

func (in *Jitsi) DeepCopy() *Jitsi

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

func (*Jitsi) DeepCopyInto

func (in *Jitsi) DeepCopyInto(out *Jitsi)

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

func (*Jitsi) DeepCopyObject

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

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

func (*Jitsi) EnvVar

func (jitsi *Jitsi) EnvVar(name string) corev1.EnvVar

func (*Jitsi) EnvVarValue

func (jitsi *Jitsi) EnvVarValue(name string) string

func (*Jitsi) EnvVars

func (jitsi *Jitsi) EnvVars(names []string) []corev1.EnvVar

func (*Jitsi) JVBDaemonSet

func (jitsi *Jitsi) JVBDaemonSet() appsv1.DaemonSet

func (*Jitsi) JVBDeployment

func (jitsi *Jitsi) JVBDeployment() appsv1.Deployment

func (*Jitsi) JVBHPA

func (*Jitsi) JibriDeployment

func (jitsi *Jitsi) JibriDeployment() appsv1.Deployment

func (*Jitsi) Labels

func (jitsi *Jitsi) Labels() labels.Set

func (*Jitsi) SetDefaults

func (jitsi *Jitsi) SetDefaults()

type JitsiList

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

JitsiList contains a list of Jitsi

func (*JitsiList) DeepCopy

func (in *JitsiList) DeepCopy() *JitsiList

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

func (*JitsiList) DeepCopyInto

func (in *JitsiList) DeepCopyInto(out *JitsiList)

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

func (*JitsiList) DeepCopyObject

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

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

type JitsiSpec

type JitsiSpec struct {
	//+optional
	JVB JVB `json:"jvb,omitempty"`
	//+optional
	Prosody Prosody `json:"prosody,omitempty"`
	//+optional
	Jicofo Jicofo `json:"jicofo,omitempty"`
	//+optional
	Jibri Jibri `json:"jibri,omitempty"`
	//+optional
	Web Web `json:"web,omitempty"`
	//+optional
	Domain string `json:"domain"`
	//+optional
	Region string `json:"region,omitempty"`
	//+optional
	Timezone string `json:"timezone,omitempty"`
	//+optional
	Image Image `json:"image,omitempty"`
	//+optional
	Variables map[string]string `json:"variables,omitempty"`
	//+optional
	Ingress Ingress `json:"ingress,omitempty"`
	//+optional
	TURN *TURN `json:"turn,omitempty"`
	//+optional
	Metrics bool `json:"metrics,omitempty"`
	//+optional
	Suspend bool `json:"suspend,omitempty"`
	//+optional
	DisableGracefulUpgrade bool `json:"disableGracefulUpgrade,omitempty"`
}

JitsiSpec defines the desired state of Jitsi

func (*JitsiSpec) DeepCopy

func (in *JitsiSpec) DeepCopy() *JitsiSpec

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

func (*JitsiSpec) DeepCopyInto

func (in *JitsiSpec) DeepCopyInto(out *JitsiSpec)

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

type JitsiStatus

type JitsiStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	LastAppliedRevision   string `json:"lastAppliedRevision,omitempty"`
	LastAttemptedRevision string `json:"lastAttemptedRevision,omitempty"`
}

JitsiStatus defines the observed state of Jitsi

func (*JitsiStatus) DeepCopy

func (in *JitsiStatus) DeepCopy() *JitsiStatus

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

func (*JitsiStatus) DeepCopyInto

func (in *JitsiStatus) DeepCopyInto(out *JitsiStatus)

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

type Prosody

type Prosody struct {
	*ContainerRuntime `json:",inline"`
	AffinitySettings  `json:",inline"`
	//+optional
	CustomProsodyConfig *corev1.LocalObjectReference `json:"customProsodyConfigCM,omitempty"`
}

func (*Prosody) DeepCopy

func (in *Prosody) DeepCopy() *Prosody

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

func (*Prosody) DeepCopyInto

func (in *Prosody) DeepCopyInto(out *Prosody)

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

type TURN

type TURN struct {
	Host string `json:"host"`
	//+optional
	Secret *corev1.SecretKeySelector `json:"secret"`
	//+optional
	Port int `json:"port,omitempty"`
	//+optional
	TLS bool `json:"tls,omitempty"`
}

func (*TURN) DeepCopy

func (in *TURN) DeepCopy() *TURN

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

func (*TURN) DeepCopyInto

func (in *TURN) DeepCopyInto(out *TURN)

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

type Web

type Web struct {
	*ContainerRuntime `json:",inline"`
	AffinitySettings  `json:",inline"`
	//+optional
	Replicas *int32 `json:"replicas,omitempty"`
	//+optional
	CustomConfig *corev1.LocalObjectReference `json:"customConfigCM,omitempty"`
	//+optional
	CustomInterfaceConfig *corev1.LocalObjectReference `json:"customInterfaceConfigCM,omitempty"`
	//+optional
	CustomTitleConfig *corev1.LocalObjectReference `json:"customTitleConfigCM,omitempty"`
	//+optional
	CustomBodyConfig *corev1.LocalObjectReference `json:"customBodyConfigCM,omitempty"`
	//+optional
	CustomCloseConfig *corev1.LocalObjectReference `json:"customCloseConfigCM,omitempty"`
}

func (*Web) DeepCopy

func (in *Web) DeepCopy() *Web

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

func (*Web) DeepCopyInto

func (in *Web) DeepCopyInto(out *Web)

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