v1alpha1

package
v0.0.0-...-5c214bf Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the app.stevejcliu.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=app.stevejcliu.io.stevejcliu.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "app.stevejcliu.io.stevejcliu.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 Golangappoperator

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

	Spec   GolangappoperatorSpec   `json:"spec,omitempty"`
	Status GolangappoperatorStatus `json:"status,omitempty"`
}

Golangappoperator is the Schema for the golangappoperators API

func (*Golangappoperator) DeepCopy

func (in *Golangappoperator) DeepCopy() *Golangappoperator

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

func (*Golangappoperator) DeepCopyInto

func (in *Golangappoperator) DeepCopyInto(out *Golangappoperator)

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

func (*Golangappoperator) DeepCopyObject

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

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

type GolangappoperatorList

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

GolangappoperatorList contains a list of Golangappoperator

func (*GolangappoperatorList) DeepCopy

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

func (*GolangappoperatorList) DeepCopyInto

func (in *GolangappoperatorList) DeepCopyInto(out *GolangappoperatorList)

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

func (*GolangappoperatorList) DeepCopyObject

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

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

type GolangappoperatorSpec

type GolangappoperatorSpec struct {
	Size         int32    `json:"size"`
	Image        string   `json:"image"`
	PostgresqlDB bool     `json:"postgresqldb"`
	DBservers    []string `json:"dbservers,omitempty"`
	Database     string   `json:"database"`
	DBuser       string   `json:"dbuser"`
	DBpass       string   `json:"dbpass"`
}

GolangappoperatorSpec defines the desired state of Golangappoperator

func (*GolangappoperatorSpec) DeepCopy

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

func (*GolangappoperatorSpec) DeepCopyInto

func (in *GolangappoperatorSpec) DeepCopyInto(out *GolangappoperatorSpec)

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

type GolangappoperatorStatus

type GolangappoperatorStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Nodes []string `json:"nodes"`
}

GolangappoperatorStatus defines the observed state of Golangappoperator

func (*GolangappoperatorStatus) DeepCopy

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

func (*GolangappoperatorStatus) DeepCopyInto

func (in *GolangappoperatorStatus) DeepCopyInto(out *GolangappoperatorStatus)

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