codey

package
v4.174.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "codey.io", Version: "v1"}

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

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

	// Spec defines the desired state of a CodeyCodeyInstance.
	Spec CodeyInstanceSpec `json:"spec"`

	// Status reflects the observed state of a CodeyInstance.
	Status CodeyInstanceStatus `json:"status,omitempty"`
}

CodeyInstance is the API for creating CodeyInstance instances.

func (*CodeyInstance) DeepCopy

func (in *CodeyInstance) DeepCopy() *CodeyInstance

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

func (*CodeyInstance) DeepCopyInto

func (in *CodeyInstance) DeepCopyInto(out *CodeyInstance)

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

func (*CodeyInstance) DeepCopyObject

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

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

func (*CodeyInstance) GetAllowAllNamespaces added in v4.136.0

func (v *CodeyInstance) GetAllowAllNamespaces() bool

No-ops to statisfy common.Composite

func (*CodeyInstance) GetAllowedNamespaces added in v4.136.0

func (v *CodeyInstance) GetAllowedNamespaces() []string

func (*CodeyInstance) GetBackupRetention added in v4.136.0

func (v *CodeyInstance) GetBackupRetention() vshnv1.K8upRetentionPolicy

func (*CodeyInstance) GetBackupSchedule added in v4.136.0

func (v *CodeyInstance) GetBackupSchedule() string

func (*CodeyInstance) GetBillingName added in v4.136.0

func (v *CodeyInstance) GetBillingName() string

func (*CodeyInstance) GetClaimName added in v4.136.0

func (v *CodeyInstance) GetClaimName() string

func (*CodeyInstance) GetClaimNamespace added in v4.136.0

func (v *CodeyInstance) GetClaimNamespace() string

func (*CodeyInstance) GetFullMaintenanceSchedule added in v4.136.0

func (v *CodeyInstance) GetFullMaintenanceSchedule() vshnv1.VSHNDBaaSMaintenanceScheduleSpec

func (*CodeyInstance) GetInstanceNamespace added in v4.136.0

func (v *CodeyInstance) GetInstanceNamespace() string

func (*CodeyInstance) GetInstances added in v4.136.0

func (v *CodeyInstance) GetInstances() int

func (*CodeyInstance) GetMonitoring added in v4.136.0

func (v *CodeyInstance) GetMonitoring() vshnv1.VSHNMonitoring

func (*CodeyInstance) GetPDBLabels added in v4.136.0

func (v *CodeyInstance) GetPDBLabels() map[string]string

func (*CodeyInstance) GetSLA added in v4.136.0

func (v *CodeyInstance) GetSLA() string

func (*CodeyInstance) GetSecurity added in v4.136.0

func (v *CodeyInstance) GetSecurity() *vshnv1.Security

func (*CodeyInstance) GetServiceName added in v4.136.0

func (v *CodeyInstance) GetServiceName() string

func (*CodeyInstance) GetSize added in v4.136.0

func (v *CodeyInstance) GetSize() vshnv1.VSHNSizeSpec

func (*CodeyInstance) GetWorkloadName added in v4.136.0

func (v *CodeyInstance) GetWorkloadName() string

func (*CodeyInstance) GetWorkloadPodTemplateLabelsManager added in v4.136.0

func (v *CodeyInstance) GetWorkloadPodTemplateLabelsManager() vshnv1.PodTemplateLabelsManager

func (*CodeyInstance) IsBackupEnabled added in v4.171.0

func (v *CodeyInstance) IsBackupEnabled() bool

func (*CodeyInstance) SetInstanceNamespaceStatus added in v4.136.0

func (v *CodeyInstance) SetInstanceNamespaceStatus()

type CodeyInstanceList

type CodeyInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []CodeyInstance `json:"items,omitempty"`
}

+kubebuilder:object:generate=true +kubebuilder:object:root=true

func (*CodeyInstanceList) DeepCopy

func (in *CodeyInstanceList) DeepCopy() *CodeyInstanceList

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

func (*CodeyInstanceList) DeepCopyInto

func (in *CodeyInstanceList) DeepCopyInto(out *CodeyInstanceList)

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

func (*CodeyInstanceList) DeepCopyObject

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

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

type CodeyInstanceParameters

type CodeyInstanceParameters struct {
	// Service contains CodeyInstance DBaaS specific properties
	Service CodeyInstanceServiceSpec `json:"service,omitempty"`

	// Size contains settings to control the sizing of a service.
	Size VSHNCodeyInstanceSizeSpec `json:"size,omitempty"`
}

CodeyInstanceParameters are the configurable fields of a CodeyInstance.

func (*CodeyInstanceParameters) DeepCopy

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

func (*CodeyInstanceParameters) DeepCopyInto

func (in *CodeyInstanceParameters) DeepCopyInto(out *CodeyInstanceParameters)

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

type CodeyInstanceServiceSpec

type CodeyInstanceServiceSpec struct {

	// Version contains supported version of CodeyInstance.
	// Multiple versions are supported.
	MajorVersion string `json:"majorVersion,omitempty"`

	// Disable or enable registration of new users.
	// +kubebuilder:default=false
	DisableRegistration bool `json:"disableRegistration,omitempty"`

	// AdminEmail for email notifications.
	// +kubebuilder:validation:Required
	AdminEmail string `json:"adminEmail"`
}

CodeyInstanceServiceSpec contains CodeyInstance DBaaS specific properties

func (*CodeyInstanceServiceSpec) DeepCopy

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

func (*CodeyInstanceServiceSpec) DeepCopyInto

func (in *CodeyInstanceServiceSpec) DeepCopyInto(out *CodeyInstanceServiceSpec)

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

type CodeyInstanceSpec

type CodeyInstanceSpec struct {
	// Parameters are the configurable fields of a CodeyInstance.
	// +kubebuilder:default={}
	Parameters CodeyInstanceParameters `json:"parameters,omitempty"`

	// WriteConnectionSecretToRef references a secret to which the connection details will be written.
	WriteConnectionSecretToRef xpv1.LocalSecretReference `json:"writeConnectionSecretToRef,omitempty"`

	// ResourceRef tracks the internal composite belonging to this claim
	ResourceRef xpv1.TypedReference `json:"resourceRef,omitempty"`
}

CodeyInstanceSpec defines the desired state of a CodeyInstance.

func (*CodeyInstanceSpec) DeepCopy

func (in *CodeyInstanceSpec) DeepCopy() *CodeyInstanceSpec

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

func (*CodeyInstanceSpec) DeepCopyInto

func (in *CodeyInstanceSpec) DeepCopyInto(out *CodeyInstanceSpec)

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

type CodeyInstanceStatus

type CodeyInstanceStatus struct {
	// CodeyInstanceNamespace contains the name of the namespace where the instance resides
	CodeyInstanceNamespace string `json:"instanceNamespace,omitempty"`
}

CodeyInstanceStatus reflects the observed state of a CodeyInstance.

func (*CodeyInstanceStatus) DeepCopy

func (in *CodeyInstanceStatus) DeepCopy() *CodeyInstanceStatus

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

func (*CodeyInstanceStatus) DeepCopyInto

func (in *CodeyInstanceStatus) DeepCopyInto(out *CodeyInstanceStatus)

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

type VSHNCodeyInstanceSizeSpec

type VSHNCodeyInstanceSizeSpec struct {
	// Size contains settings to control the sizing of a service.
	// +kubebuilder:validation:Enum=mini;small
	// +kubebuilder:default=mini
	// Plan is the name of the resource plan that defines the compute resources.
	Plan string `json:"plan,omitempty"`
}

VSHNCodeyInstanceSizeSpec contains settings to control the sizing of a service.

func (*VSHNCodeyInstanceSizeSpec) DeepCopy

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

func (*VSHNCodeyInstanceSizeSpec) DeepCopyInto

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

type XCodeyInstance

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

	Spec   XCodeyInstanceSpec   `json:"spec"`
	Status XCodeyInstanceStatus `json:"status,omitempty"`
}

XCodeyInstance represents the internal composite of this claim

func (*XCodeyInstance) DeepCopy

func (in *XCodeyInstance) DeepCopy() *XCodeyInstance

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

func (*XCodeyInstance) DeepCopyInto

func (in *XCodeyInstance) DeepCopyInto(out *XCodeyInstance)

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

func (*XCodeyInstance) DeepCopyObject

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

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

func (*XCodeyInstance) GetCondition

func (mg *XCodeyInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this XCodeyInstance.

func (*XCodeyInstance) GetDeletionPolicy

func (mg *XCodeyInstance) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this XCodeyInstance.

func (*XCodeyInstance) GetInstanceNamespace added in v4.136.0

func (v *XCodeyInstance) GetInstanceNamespace() string

func (*XCodeyInstance) GetManagementPolicies

func (mg *XCodeyInstance) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this XCodeyInstance.

func (*XCodeyInstance) GetProviderConfigReference

func (mg *XCodeyInstance) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this XCodeyInstance.

func (*XCodeyInstance) GetPublishConnectionDetailsTo

func (mg *XCodeyInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this XCodeyInstance.

func (*XCodeyInstance) GetWriteConnectionSecretToReference

func (mg *XCodeyInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this XCodeyInstance.

func (*XCodeyInstance) SetConditions

func (mg *XCodeyInstance) SetConditions(c ...xpv1.Condition)

SetConditions of this XCodeyInstance.

func (*XCodeyInstance) SetDeletionPolicy

func (mg *XCodeyInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this XCodeyInstance.

func (*XCodeyInstance) SetManagementPolicies

func (mg *XCodeyInstance) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this XCodeyInstance.

func (*XCodeyInstance) SetProviderConfigReference

func (mg *XCodeyInstance) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this XCodeyInstance.

func (*XCodeyInstance) SetPublishConnectionDetailsTo

func (mg *XCodeyInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this XCodeyInstance.

func (*XCodeyInstance) SetWriteConnectionSecretToReference

func (mg *XCodeyInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this XCodeyInstance.

type XCodeyInstanceList

type XCodeyInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []XCodeyInstance `json:"items"`
}

XCodeyInstanceList represents a list of composites

func (*XCodeyInstanceList) DeepCopy

func (in *XCodeyInstanceList) DeepCopy() *XCodeyInstanceList

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

func (*XCodeyInstanceList) DeepCopyInto

func (in *XCodeyInstanceList) DeepCopyInto(out *XCodeyInstanceList)

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

func (*XCodeyInstanceList) DeepCopyObject

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

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

func (*XCodeyInstanceList) GetItems

func (l *XCodeyInstanceList) GetItems() []resource.Managed

GetItems of this XCodeyInstanceList.

type XCodeyInstanceSpec

type XCodeyInstanceSpec struct {
	// Parameters are the configurable fields of a CodeyInstance.
	Parameters CodeyInstanceParameters `json:"parameters,omitempty"`

	xpv1.ResourceSpec `json:",inline"`
}

XCodeyInstanceSpec defines the desired state of a CodeyInstance.

func (*XCodeyInstanceSpec) DeepCopy

func (in *XCodeyInstanceSpec) DeepCopy() *XCodeyInstanceSpec

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

func (*XCodeyInstanceSpec) DeepCopyInto

func (in *XCodeyInstanceSpec) DeepCopyInto(out *XCodeyInstanceSpec)

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

type XCodeyInstanceStatus

type XCodeyInstanceStatus struct {
	CodeyInstanceStatus `json:",inline"`
	xpv1.ResourceStatus `json:",inline"`
}

func (*XCodeyInstanceStatus) DeepCopy

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

func (*XCodeyInstanceStatus) DeepCopyInto

func (in *XCodeyInstanceStatus) DeepCopyInto(out *XCodeyInstanceStatus)

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