v1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the mariadb v1 API group +kubebuilder:object:generate=true +groupName=mariadb.amazee.io

Index

Constants

This section is empty.

Variables

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

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

	Spec   MariaDBConsumerSpec   `json:"spec,omitempty"`
	Status MariaDBConsumerStatus `json:"status,omitempty"`
}

MariaDBConsumer is the Schema for the mariadbconsumers API

func (*MariaDBConsumer) DeepCopy

func (in *MariaDBConsumer) DeepCopy() *MariaDBConsumer

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

func (*MariaDBConsumer) DeepCopyInto

func (in *MariaDBConsumer) DeepCopyInto(out *MariaDBConsumer)

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

func (*MariaDBConsumer) DeepCopyObject

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

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

type MariaDBConsumerData

type MariaDBConsumerData struct {
	Database string                  `json:"database,omitempty"`
	Password string                  `json:"password,omitempty"`
	Username string                  `json:"username,omitempty"`
	Services MariaDBConsumerServices `json:"services,omitempty"`
}

MariaDBConsumerData defines the provider link for this consumer

func (*MariaDBConsumerData) DeepCopy

func (in *MariaDBConsumerData) DeepCopy() *MariaDBConsumerData

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

func (*MariaDBConsumerData) DeepCopyInto

func (in *MariaDBConsumerData) DeepCopyInto(out *MariaDBConsumerData)

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

type MariaDBConsumerList

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

MariaDBConsumerList contains a list of MariaDBConsumer

func (*MariaDBConsumerList) DeepCopy

func (in *MariaDBConsumerList) DeepCopy() *MariaDBConsumerList

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

func (*MariaDBConsumerList) DeepCopyInto

func (in *MariaDBConsumerList) DeepCopyInto(out *MariaDBConsumerList)

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

func (*MariaDBConsumerList) DeepCopyObject

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

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

type MariaDBConsumerProvider

type MariaDBConsumerProvider struct {
	Name                 string   `json:"name,omitempty"`
	Namespace            string   `json:"namespace,omitempty"`
	Hostname             string   `json:"hostname,omitempty"`
	ReadReplicaHostnames []string `json:"readReplicas,omitempty"`
	Port                 string   `json:"port,omitempty"`
	Type                 string   `json:"type,omitempty"`
}

MariaDBConsumerProvider defines the provider link for this consumer

func (*MariaDBConsumerProvider) DeepCopy

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

func (*MariaDBConsumerProvider) DeepCopyInto

func (in *MariaDBConsumerProvider) DeepCopyInto(out *MariaDBConsumerProvider)

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

type MariaDBConsumerServices

type MariaDBConsumerServices struct {
	Primary  string   `json:"primary,omitempty"`
	Replicas []string `json:"replicas,omitempty"`
}

MariaDBConsumerServices defines the provider link for this consumer

func (*MariaDBConsumerServices) DeepCopy

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

func (*MariaDBConsumerServices) DeepCopyInto

func (in *MariaDBConsumerServices) DeepCopyInto(out *MariaDBConsumerServices)

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

type MariaDBConsumerSpec

type MariaDBConsumerSpec struct {

	// These are the spec options for consumers
	Environment string                  `json:"environment,omitempty"`
	Provider    MariaDBConsumerProvider `json:"provider,omitempty"`
	Consumer    MariaDBConsumerData     `json:"consumer,omitempty"`
}

MariaDBConsumerSpec defines the desired state of MariaDBConsumer

func (*MariaDBConsumerSpec) DeepCopy

func (in *MariaDBConsumerSpec) DeepCopy() *MariaDBConsumerSpec

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

func (*MariaDBConsumerSpec) DeepCopyInto

func (in *MariaDBConsumerSpec) DeepCopyInto(out *MariaDBConsumerSpec)

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

type MariaDBConsumerStatus

type MariaDBConsumerStatus struct {
}

MariaDBConsumerStatus defines the observed state of MariaDBConsumer

func (*MariaDBConsumerStatus) DeepCopy

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

func (*MariaDBConsumerStatus) DeepCopyInto

func (in *MariaDBConsumerStatus) DeepCopyInto(out *MariaDBConsumerStatus)

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

type MariaDBProvider

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

	Spec   MariaDBProviderSpec   `json:"spec,omitempty"`
	Status MariaDBProviderStatus `json:"status,omitempty"`
}

MariaDBProvider is the Schema for the mariadbproviders API

func (*MariaDBProvider) DeepCopy

func (in *MariaDBProvider) DeepCopy() *MariaDBProvider

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

func (*MariaDBProvider) DeepCopyInto

func (in *MariaDBProvider) DeepCopyInto(out *MariaDBProvider)

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

func (*MariaDBProvider) DeepCopyObject

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

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

type MariaDBProviderList

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

MariaDBProviderList contains a list of MariaDBProvider

func (*MariaDBProviderList) DeepCopy

func (in *MariaDBProviderList) DeepCopy() *MariaDBProviderList

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

func (*MariaDBProviderList) DeepCopyInto

func (in *MariaDBProviderList) DeepCopyInto(out *MariaDBProviderList)

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

func (*MariaDBProviderList) DeepCopyObject

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

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

type MariaDBProviderSpec

type MariaDBProviderSpec struct {

	// These are the spec options for providers
	Environment          string   `json:"environment,omitempty"`
	Hostname             string   `json:"hostname,omitempty"`
	ReadReplicaHostnames []string `json:"readReplicaHostnames,omitempty"`
	Password             string   `json:"password,omitempty"`
	Port                 string   `json:"port,omitempty"`
	Username             string   `json:"user,omitempty"`
	Type                 string   `json:"type,omitempty"`
	Name                 string   `json:"name,omitempty"`
	Namespace            string   `json:"namespace,omitempty"`
}

MariaDBProviderSpec defines the desired state of MariaDBProvider

func (*MariaDBProviderSpec) DeepCopy

func (in *MariaDBProviderSpec) DeepCopy() *MariaDBProviderSpec

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

func (*MariaDBProviderSpec) DeepCopyInto

func (in *MariaDBProviderSpec) DeepCopyInto(out *MariaDBProviderSpec)

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

type MariaDBProviderStatus

type MariaDBProviderStatus struct {
}

MariaDBProviderStatus defines the observed state of MariaDBProvider

func (*MariaDBProviderStatus) DeepCopy

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

func (*MariaDBProviderStatus) DeepCopyInto

func (in *MariaDBProviderStatus) DeepCopyInto(out *MariaDBProviderStatus)

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