v1

package
v0.0.0-...-c60a081 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the wordpress v1 API group +kubebuilder:object:generate=true +groupName=wordpress.codingbee.net

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "wordpress.codingbee.net", 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 EnvironmentVariables

type EnvironmentVariables struct {
	MysqlRootPassword string `json:"mysql_root_password"`
	MysqlDatabase     string `json:"mysql_database"`
	MysqlUser         string `json:"mysql_user"`
	MysqlPassword     string `json:"mysql_password"`
}

EnvironmentVariables mirrors - https://hub.docker.com/_/mysql#Environment_Variables

func (*EnvironmentVariables) DeepCopy

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

func (*EnvironmentVariables) DeepCopyInto

func (in *EnvironmentVariables) DeepCopyInto(out *EnvironmentVariables)

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

type Mysql

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

	Spec   MysqlSpec   `json:"spec,omitempty"`
	Status MysqlStatus `json:"status,omitempty"`
}

Mysql is the Schema for the mysqls API

func (*Mysql) DeepCopy

func (in *Mysql) DeepCopy() *Mysql

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

func (*Mysql) DeepCopyInto

func (in *Mysql) DeepCopyInto(out *Mysql)

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

func (*Mysql) DeepCopyObject

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

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

type MysqlList

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

MysqlList contains a list of Mysql

func (*MysqlList) DeepCopy

func (in *MysqlList) DeepCopy() *MysqlList

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

func (*MysqlList) DeepCopyInto

func (in *MysqlList) DeepCopyInto(out *MysqlList)

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

func (*MysqlList) DeepCopyObject

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

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

type MysqlSpec

type MysqlSpec struct {

	// Foo is an example field of Mysql. Edit mysql_types.go to remove/update
	Foo string `json:"foo,omitempty"`

	// Environment contains initial configs needed to create the mysql db
	Environment EnvironmentVariables `json:"environment"`
}

MysqlSpec defines the desired state of Mysql

func (*MysqlSpec) DeepCopy

func (in *MysqlSpec) DeepCopy() *MysqlSpec

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

func (*MysqlSpec) DeepCopyInto

func (in *MysqlSpec) DeepCopyInto(out *MysqlSpec)

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

type MysqlStatus

type MysqlStatus struct {
}

MysqlStatus defines the observed state of Mysql

func (*MysqlStatus) DeepCopy

func (in *MysqlStatus) DeepCopy() *MysqlStatus

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

func (*MysqlStatus) DeepCopyInto

func (in *MysqlStatus) DeepCopyInto(out *MysqlStatus)

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