v1alpha1

package
v0.0.0-...-aa54624 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the pgdeployer v1alpha1 API group +kubebuilder:object:generate=true +groupName=pgdeployer.example.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "pgdeployer.example.com", 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 PgDeployer

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

	Spec   PgDeployerSpec   `json:"spec,omitempty"`
	Status PgDeployerStatus `json:"status,omitempty"`
}

PgDeployer is the Schema for the pgdeployers API

func (*PgDeployer) DeepCopy

func (in *PgDeployer) DeepCopy() *PgDeployer

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

func (*PgDeployer) DeepCopyInto

func (in *PgDeployer) DeepCopyInto(out *PgDeployer)

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

func (*PgDeployer) DeepCopyObject

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

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

type PgDeployerList

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

PgDeployerList contains a list of PgDeployer

func (*PgDeployerList) DeepCopy

func (in *PgDeployerList) DeepCopy() *PgDeployerList

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

func (*PgDeployerList) DeepCopyInto

func (in *PgDeployerList) DeepCopyInto(out *PgDeployerList)

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

func (*PgDeployerList) DeepCopyObject

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

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

type PgDeployerSpec

type PgDeployerSpec struct {
	PgVersion     string `json:"pg_version,omitempty"`
	ContainerPort int32  `json:"port,omitempty"`
	CpuRequest    string `json:"cpu_req,omitempty"`
	CpuLimit      string `json:"cpu_lim,omitempty"`
	MemoryRequest string `json:"mem_req,omitempty"`
	MemoryLimit   string `json:"mem_lim,omitempty"`
}

PgDeployerSpec defines the desired state of PgDeployer

func (*PgDeployerSpec) DeepCopy

func (in *PgDeployerSpec) DeepCopy() *PgDeployerSpec

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

func (*PgDeployerSpec) DeepCopyInto

func (in *PgDeployerSpec) DeepCopyInto(out *PgDeployerSpec)

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

type PgDeployerStatus

type PgDeployerStatus struct {
}

PgDeployerStatus defines the observed state of PgDeployer

func (*PgDeployerStatus) DeepCopy

func (in *PgDeployerStatus) DeepCopy() *PgDeployerStatus

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

func (*PgDeployerStatus) DeepCopyInto

func (in *PgDeployerStatus) DeepCopyInto(out *PgDeployerStatus)

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