v1alpha1

package
v0.50.8 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 4 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 Auth

type Auth struct {
	Login    string `json:"login,omitempty"`
	Password string `json:"password,omitempty"`
	Token    string `json:"token,omitempty"`
}

func (*Auth) DeepCopy

func (in *Auth) DeepCopy() *Auth

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

func (*Auth) DeepCopyInto

func (in *Auth) DeepCopyInto(out *Auth)

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

type AutoScaler

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

	Spec   AutoScalerSpec   `json:"spec,omitempty"`
	Status AutoScalerStatus `json:"status,omitempty"`
}

AutoScaler is the Schema for the autoScalers API.

func (*AutoScaler) DeepCopy

func (in *AutoScaler) DeepCopy() *AutoScaler

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

func (*AutoScaler) DeepCopyInto

func (in *AutoScaler) DeepCopyInto(out *AutoScaler)

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

func (*AutoScaler) DeepCopyObject

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

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

type AutoScalerList

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

AutoScalerList contains a list of AutoScaler.

func (*AutoScalerList) DeepCopy

func (in *AutoScalerList) DeepCopy() *AutoScalerList

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

func (*AutoScalerList) DeepCopyInto

func (in *AutoScalerList) DeepCopyInto(out *AutoScalerList)

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

func (*AutoScalerList) DeepCopyObject

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

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

type AutoScalerSpec

type AutoScalerSpec struct {
	Labels         map[string]string `json:"labels,omitempty"`
	MonitoringType string            `json:"monitoringType,omitempty"`
	Host           string            `json:"host"`
	Interval       string            `json:"interval,omitempty"`
	Auth           Auth              `json:"auth,omitempty"`
	ScaleTargetRef ScaleTargetRef    `json:"scaleTargetRef,omitempty"`
	MinReplicas    int32             `json:"minReplicas,omitempty"`
	MaxReplicas    int32             `json:"maxReplicas,omitempty"`
	Metric         Metric            `json:"metric,omitempty"`
}

AutoScalerSpec defines the desired state of AutoScaler.

func (*AutoScalerSpec) DeepCopy

func (in *AutoScalerSpec) DeepCopy() *AutoScalerSpec

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

func (*AutoScalerSpec) DeepCopyInto

func (in *AutoScalerSpec) DeepCopyInto(out *AutoScalerSpec)

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

type AutoScalerStatus

type AutoScalerStatus struct{}

AutoScalerStatus defines the observed state of AutoScaler.

func (*AutoScalerStatus) DeepCopy

func (in *AutoScalerStatus) DeepCopy() *AutoScalerStatus

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

func (*AutoScalerStatus) DeepCopyInto

func (in *AutoScalerStatus) DeepCopyInto(out *AutoScalerStatus)

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

type Metric

type Metric struct {
	Name                     MetricName `json:"name"`
	TargetAverageUtilization int32      `json:"targetAverageUtilization"`
}

func (*Metric) DeepCopy

func (in *Metric) DeepCopy() *Metric

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

func (*Metric) DeepCopyInto

func (in *Metric) DeepCopyInto(out *Metric)

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

type MetricName added in v0.10.0

type MetricName string
const (
	ResourceCPU          MetricName = "cpu"
	ResourceConference   MetricName = "jitsi_conference"
	ResourceParticipants MetricName = "jitsi_participants"
)

type ScaleTargetRef

type ScaleTargetRef struct {
	Name string `json:"name"`
}

ScaleTargetRef contains enough information to let you identify the referred resource.

func (*ScaleTargetRef) DeepCopy

func (in *ScaleTargetRef) DeepCopy() *ScaleTargetRef

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

func (*ScaleTargetRef) DeepCopyInto

func (in *ScaleTargetRef) DeepCopyInto(out *ScaleTargetRef)

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