v1beta1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the cloudautoscale.infra.doodle.com v1beta1 API group +kubebuilder:object:generate=true +groupName=cloudautoscale.infra.doodle.com

Index

Constants

View Source
const (
	Finalizer             = "finalizers.doodle.com"
	ConditionReady        = "Ready"
	ConditionReconciling  = "Reconciling"
	ConditionScaledToZero = "ScaledToZero"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cloudautoscale.infra.doodle.com", Version: "v1beta1"}

	// 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 AWSRDSInstance

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

	Spec   AWSRDSInstanceSpec   `json:"spec,omitempty"`
	Status AWSRDSInstanceStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status

func AWSRDSInstanceReady

func AWSRDSInstanceReady(set AWSRDSInstance, status metav1.ConditionStatus, reason, message string) AWSRDSInstance

func AWSRDSInstanceReconciling

func AWSRDSInstanceReconciling(set AWSRDSInstance, status metav1.ConditionStatus, reason, message string) AWSRDSInstance

func AWSRDSInstanceScaledToZero

func AWSRDSInstanceScaledToZero(set AWSRDSInstance, status metav1.ConditionStatus, reason, message string) AWSRDSInstance

func (*AWSRDSInstance) DeepCopy

func (in *AWSRDSInstance) DeepCopy() *AWSRDSInstance

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

func (*AWSRDSInstance) DeepCopyInto

func (in *AWSRDSInstance) DeepCopyInto(out *AWSRDSInstance)

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

func (*AWSRDSInstance) DeepCopyObject

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

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

func (*AWSRDSInstance) GetConditions

func (in *AWSRDSInstance) GetConditions() []metav1.Condition

func (*AWSRDSInstance) GetStatusConditions

func (in *AWSRDSInstance) GetStatusConditions() *[]metav1.Condition

GetStatusConditions returns a pointer to the Status.Conditions slice

func (*AWSRDSInstance) SetConditions

func (in *AWSRDSInstance) SetConditions(conditions []metav1.Condition)

type AWSRDSInstanceList

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

KeycloakClusterList contains a list of KeycloakCluster. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AWSRDSInstanceList) DeepCopy

func (in *AWSRDSInstanceList) DeepCopy() *AWSRDSInstanceList

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

func (*AWSRDSInstanceList) DeepCopyInto

func (in *AWSRDSInstanceList) DeepCopyInto(out *AWSRDSInstanceList)

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

func (*AWSRDSInstanceList) DeepCopyObject

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

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

type AWSRDSInstanceSpec

type AWSRDSInstanceSpec struct {
	Suspend      bool                   `json:"suspend,omitempty"`
	ScaleToZero  []metav1.LabelSelector `json:"scaleToZero,omitempty"`
	GracePeriod  metav1.Duration        `json:"gracePeriod,omitempty"`
	Interval     metav1.Duration        `json:"interval,omitempty"`
	Secret       LocalObjectReference   `json:"secret,omitempty"`
	Region       string                 `json:"region,omitempty"`
	InstanceName string                 `json:"instanceName,omitempty"`
}

func (*AWSRDSInstanceSpec) DeepCopy

func (in *AWSRDSInstanceSpec) DeepCopy() *AWSRDSInstanceSpec

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

func (*AWSRDSInstanceSpec) DeepCopyInto

func (in *AWSRDSInstanceSpec) DeepCopyInto(out *AWSRDSInstanceSpec)

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

type AWSRDSInstanceStatus

type AWSRDSInstanceStatus struct {
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration is the last generation reconciled by the controller
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

func (*AWSRDSInstanceStatus) DeepCopy

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

func (*AWSRDSInstanceStatus) DeepCopyInto

func (in *AWSRDSInstanceStatus) DeepCopyInto(out *AWSRDSInstanceStatus)

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

type LocalObjectReference

type LocalObjectReference struct {
	Name string `json:"name,omitempty"`
}

func (*LocalObjectReference) DeepCopy

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

func (*LocalObjectReference) DeepCopyInto

func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference)

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

type MongoDBAtlasCluster

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

	Spec   MongoDBAtlasClusterSpec   `json:"spec,omitempty"`
	Status MongoDBAtlasClusterStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status

func MongoDBAtlasClusterReady

func MongoDBAtlasClusterReady(set MongoDBAtlasCluster, status metav1.ConditionStatus, reason, message string) MongoDBAtlasCluster

func MongoDBAtlasClusterReconciling

func MongoDBAtlasClusterReconciling(set MongoDBAtlasCluster, status metav1.ConditionStatus, reason, message string) MongoDBAtlasCluster

func MongoDBAtlasClusterScaledToZero

func MongoDBAtlasClusterScaledToZero(set MongoDBAtlasCluster, status metav1.ConditionStatus, reason, message string) MongoDBAtlasCluster

func (*MongoDBAtlasCluster) DeepCopy

func (in *MongoDBAtlasCluster) DeepCopy() *MongoDBAtlasCluster

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

func (*MongoDBAtlasCluster) DeepCopyInto

func (in *MongoDBAtlasCluster) DeepCopyInto(out *MongoDBAtlasCluster)

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

func (*MongoDBAtlasCluster) DeepCopyObject

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

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

func (*MongoDBAtlasCluster) GetConditions

func (in *MongoDBAtlasCluster) GetConditions() []metav1.Condition

func (*MongoDBAtlasCluster) GetStatusConditions

func (in *MongoDBAtlasCluster) GetStatusConditions() *[]metav1.Condition

GetStatusConditions returns a pointer to the Status.Conditions slice

func (*MongoDBAtlasCluster) SetConditions

func (in *MongoDBAtlasCluster) SetConditions(conditions []metav1.Condition)

type MongoDBAtlasClusterList

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

KeycloakClusterList contains a list of KeycloakCluster. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*MongoDBAtlasClusterList) DeepCopy

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

func (*MongoDBAtlasClusterList) DeepCopyInto

func (in *MongoDBAtlasClusterList) DeepCopyInto(out *MongoDBAtlasClusterList)

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

func (*MongoDBAtlasClusterList) DeepCopyObject

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

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

type MongoDBAtlasClusterSpec

type MongoDBAtlasClusterSpec struct {
	Suspend     bool                   `json:"suspend,omitempty"`
	ScaleToZero []metav1.LabelSelector `json:"scaleToZero,omitempty"`
	GracePeriod metav1.Duration        `json:"gracePeriod,omitempty"`
	Interval    metav1.Duration        `json:"interval,omitempty"`
	GroupID     string                 `json:"groupID,omitempty"`
	Secret      LocalObjectReference   `json:"secret,omitempty"`
	ClusterName string                 `json:"clusterName,omitempty"`
}

func (*MongoDBAtlasClusterSpec) DeepCopy

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

func (*MongoDBAtlasClusterSpec) DeepCopyInto

func (in *MongoDBAtlasClusterSpec) DeepCopyInto(out *MongoDBAtlasClusterSpec)

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

type MongoDBAtlasClusterStatus

type MongoDBAtlasClusterStatus struct {
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration is the last generation reconciled by the controller
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

func (*MongoDBAtlasClusterStatus) DeepCopy

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

func (*MongoDBAtlasClusterStatus) DeepCopyInto

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