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 postgres v1 API group +kubebuilder:object:generate=true +groupName=postgres.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: "postgres.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 PostgreSQLConsumer

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

	Spec   PostgreSQLConsumerSpec   `json:"spec,omitempty"`
	Status PostgreSQLConsumerStatus `json:"status,omitempty"`
}

PostgreSQLConsumer is the Schema for the postgresqlconsumers API

func (*PostgreSQLConsumer) DeepCopy

func (in *PostgreSQLConsumer) DeepCopy() *PostgreSQLConsumer

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

func (*PostgreSQLConsumer) DeepCopyInto

func (in *PostgreSQLConsumer) DeepCopyInto(out *PostgreSQLConsumer)

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

func (*PostgreSQLConsumer) DeepCopyObject

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

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

type PostgreSQLConsumerData

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

PostgreSQLConsumerData defines the provider link for this consumer

func (*PostgreSQLConsumerData) DeepCopy

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

func (*PostgreSQLConsumerData) DeepCopyInto

func (in *PostgreSQLConsumerData) DeepCopyInto(out *PostgreSQLConsumerData)

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

type PostgreSQLConsumerList

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

PostgreSQLConsumerList contains a list of PostgreSQLConsumer

func (*PostgreSQLConsumerList) DeepCopy

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

func (*PostgreSQLConsumerList) DeepCopyInto

func (in *PostgreSQLConsumerList) DeepCopyInto(out *PostgreSQLConsumerList)

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

func (*PostgreSQLConsumerList) DeepCopyObject

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

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

type PostgreSQLConsumerProvider

type PostgreSQLConsumerProvider struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
	Hostname  string `json:"hostname,omitempty"`
	Port      string `json:"port,omitempty"`
	Type      string `json:"type,omitempty"`
}

PostgreSQLConsumerProvider defines the provider link for this consumer

func (*PostgreSQLConsumerProvider) DeepCopy

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

func (*PostgreSQLConsumerProvider) DeepCopyInto

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

type PostgreSQLConsumerServices

type PostgreSQLConsumerServices struct {
	Primary string `json:"primary,omitempty"`
}

PostgreSQLConsumerServices defines the provider link for this consumer

func (*PostgreSQLConsumerServices) DeepCopy

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

func (*PostgreSQLConsumerServices) DeepCopyInto

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

type PostgreSQLConsumerSpec

type PostgreSQLConsumerSpec struct {

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

PostgreSQLConsumerSpec defines the desired state of PostgreSQLConsumer

func (*PostgreSQLConsumerSpec) DeepCopy

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

func (*PostgreSQLConsumerSpec) DeepCopyInto

func (in *PostgreSQLConsumerSpec) DeepCopyInto(out *PostgreSQLConsumerSpec)

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

type PostgreSQLConsumerStatus

type PostgreSQLConsumerStatus struct {
}

PostgreSQLConsumerStatus defines the observed state of PostgreSQLConsumer

func (*PostgreSQLConsumerStatus) DeepCopy

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

func (*PostgreSQLConsumerStatus) DeepCopyInto

func (in *PostgreSQLConsumerStatus) DeepCopyInto(out *PostgreSQLConsumerStatus)

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

type PostgreSQLProvider

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

	Spec   PostgreSQLProviderSpec   `json:"spec,omitempty"`
	Status PostgreSQLProviderStatus `json:"status,omitempty"`
}

PostgreSQLProvider is the Schema for the postgresqlproviders API

func (*PostgreSQLProvider) DeepCopy

func (in *PostgreSQLProvider) DeepCopy() *PostgreSQLProvider

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

func (*PostgreSQLProvider) DeepCopyInto

func (in *PostgreSQLProvider) DeepCopyInto(out *PostgreSQLProvider)

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

func (*PostgreSQLProvider) DeepCopyObject

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

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

type PostgreSQLProviderList

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

PostgreSQLProviderList contains a list of PostgreSQLProvider

func (*PostgreSQLProviderList) DeepCopy

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

func (*PostgreSQLProviderList) DeepCopyInto

func (in *PostgreSQLProviderList) DeepCopyInto(out *PostgreSQLProviderList)

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

func (*PostgreSQLProviderList) DeepCopyObject

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

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

type PostgreSQLProviderSpec

type PostgreSQLProviderSpec struct {

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

PostgreSQLProviderSpec defines the desired state of PostgreSQLProvider

func (*PostgreSQLProviderSpec) DeepCopy

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

func (*PostgreSQLProviderSpec) DeepCopyInto

func (in *PostgreSQLProviderSpec) DeepCopyInto(out *PostgreSQLProviderSpec)

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

type PostgreSQLProviderStatus

type PostgreSQLProviderStatus struct {
}

PostgreSQLProviderStatus defines the observed state of PostgreSQLProvider

func (*PostgreSQLProviderStatus) DeepCopy

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

func (*PostgreSQLProviderStatus) DeepCopyInto

func (in *PostgreSQLProviderStatus) DeepCopyInto(out *PostgreSQLProviderStatus)

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