v1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the mysql.msvc v1 API group +kubebuilder:object:generate=true +groupName=mysql.msvc.kloudlite.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "mysql.msvc.kloudlite.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 ClusterService

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

	Spec   ClusterServiceSpec `json:"spec"`
	Status rApi.Status        `json:"status,omitempty"`
}

ClusterService is the Schema for the clusterservices API

func (*ClusterService) DeepCopy

func (in *ClusterService) DeepCopy() *ClusterService

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

func (*ClusterService) DeepCopyInto

func (in *ClusterService) DeepCopyInto(out *ClusterService)

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

func (*ClusterService) DeepCopyObject

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

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

func (*ClusterService) EnsureGVK

func (c *ClusterService) EnsureGVK()

func (*ClusterService) GetEnsuredAnnotations

func (c *ClusterService) GetEnsuredAnnotations() map[string]string

func (*ClusterService) GetEnsuredLabels

func (c *ClusterService) GetEnsuredLabels() map[string]string

func (*ClusterService) GetStatus

func (c *ClusterService) GetStatus() *rApi.Status

type ClusterServiceList

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

ClusterServiceList contains a list of ClusterService

func (*ClusterServiceList) DeepCopy

func (in *ClusterServiceList) DeepCopy() *ClusterServiceList

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

func (*ClusterServiceList) DeepCopyInto

func (in *ClusterServiceList) DeepCopyInto(out *ClusterServiceList)

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

func (*ClusterServiceList) DeepCopyObject

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

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

type ClusterServiceSpec

type ClusterServiceSpec struct {
	Region       string              `json:"region"`
	NodeSelector map[string]string   `json:"nodeSelector,omitempty"`
	Tolerations  []corev1.Toleration `json:"tolerations,omitempty"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:default=1
	ReplicaCount int          `json:"replicaCount,omitempty"`
	Resources    ct.Resources `json:"resources"`
}

ClusterServiceSpec defines the desired state of ClusterService

func (*ClusterServiceSpec) DeepCopy

func (in *ClusterServiceSpec) DeepCopy() *ClusterServiceSpec

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

func (*ClusterServiceSpec) DeepCopyInto

func (in *ClusterServiceSpec) DeepCopyInto(out *ClusterServiceSpec)

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

type Database

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

	Spec   DatabaseSpec `json:"spec"`
	Status rApi.Status  `json:"status,omitempty"`
}

Database is the Schema for the databases API

func (*Database) DeepCopy

func (in *Database) DeepCopy() *Database

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

func (*Database) DeepCopyInto

func (in *Database) DeepCopyInto(out *Database)

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

func (*Database) DeepCopyObject

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

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

func (*Database) EnsureGVK

func (db *Database) EnsureGVK()

func (*Database) GetEnsuredAnnotations

func (db *Database) GetEnsuredAnnotations() map[string]string

func (*Database) GetEnsuredLabels

func (db *Database) GetEnsuredLabels() map[string]string

func (*Database) GetStatus

func (db *Database) GetStatus() *rApi.Status

type DatabaseList

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

DatabaseList contains a list of Database

func (*DatabaseList) DeepCopy

func (in *DatabaseList) DeepCopy() *DatabaseList

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

func (*DatabaseList) DeepCopyInto

func (in *DatabaseList) DeepCopyInto(out *DatabaseList)

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

func (*DatabaseList) DeepCopyObject

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

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

type DatabaseSpec

type DatabaseSpec struct {
	MsvcRef      ct.MsvcRef `json:"msvcRef"`
	ResourceName string     `json:"resourceName"`
}

DatabaseSpec defines the desired state of Database

func (*DatabaseSpec) DeepCopy

func (in *DatabaseSpec) DeepCopy() *DatabaseSpec

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

func (*DatabaseSpec) DeepCopyInto

func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)

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

type StandaloneService

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

	Spec   StandaloneServiceSpec `json:"spec"`
	Status rApi.Status           `json:"status,omitempty"`
}

StandaloneService is the Schema for the standaloneservices API

func (*StandaloneService) DeepCopy

func (in *StandaloneService) DeepCopy() *StandaloneService

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

func (*StandaloneService) DeepCopyInto

func (in *StandaloneService) DeepCopyInto(out *StandaloneService)

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

func (*StandaloneService) DeepCopyObject

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

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

func (*StandaloneService) EnsureGVK

func (s *StandaloneService) EnsureGVK()

func (*StandaloneService) GetEnsuredAnnotations

func (s *StandaloneService) GetEnsuredAnnotations() map[string]string

func (*StandaloneService) GetEnsuredLabels

func (s *StandaloneService) GetEnsuredLabels() map[string]string

func (*StandaloneService) GetStatus

func (s *StandaloneService) GetStatus() *rApi.Status

type StandaloneServiceList

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

StandaloneServiceList contains a list of StandaloneService

func (*StandaloneServiceList) DeepCopy

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

func (*StandaloneServiceList) DeepCopyInto

func (in *StandaloneServiceList) DeepCopyInto(out *StandaloneServiceList)

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

func (*StandaloneServiceList) DeepCopyObject

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

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

type StandaloneServiceSpec

type StandaloneServiceSpec struct {
	Region       string              `json:"region"`
	NodeSelector map[string]string   `json:"nodeSelector,omitempty"`
	Tolerations  []corev1.Toleration `json:"tolerations,omitempty"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:default=1
	ReplicaCount int          `json:"replicaCount,omitempty"`
	Resources    ct.Resources `json:"resources"`
}

StandaloneServiceSpec defines the desired state of StandaloneService

func (*StandaloneServiceSpec) DeepCopy

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

func (*StandaloneServiceSpec) DeepCopyInto

func (in *StandaloneServiceSpec) DeepCopyInto(out *StandaloneServiceSpec)

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