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

type MongoDBAuth struct {
	Mechanism string `json:"mechanism,omitempty"`
	Source    string `json:"source,omitempty"`
	TLS       bool   `json:"tls"`
}

MongoDBAuth defines the authorisation mechanisms that mongo can use

func (*MongoDBAuth) DeepCopy

func (in *MongoDBAuth) DeepCopy() *MongoDBAuth

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

func (*MongoDBAuth) DeepCopyInto

func (in *MongoDBAuth) DeepCopyInto(out *MongoDBAuth)

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

type MongoDBConsumer

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

	Spec   MongoDBConsumerSpec   `json:"spec,omitempty"`
	Status MongoDBConsumerStatus `json:"status,omitempty"`
}

MongoDBConsumer is the Schema for the mongodbconsumers API

func (*MongoDBConsumer) DeepCopy

func (in *MongoDBConsumer) DeepCopy() *MongoDBConsumer

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

func (*MongoDBConsumer) DeepCopyInto

func (in *MongoDBConsumer) DeepCopyInto(out *MongoDBConsumer)

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

func (*MongoDBConsumer) DeepCopyObject

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

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

type MongoDBConsumerData

type MongoDBConsumerData struct {
	Database string                  `json:"database,omitempty"`
	Password string                  `json:"password,omitempty"`
	Username string                  `json:"username,omitempty"`
	Services MongoDBConsumerServices `json:"services,omitempty"`
	Auth     MongoDBAuth             `json:"auth,omitempty"`
}

MongoDBConsumerData defines the provider link for this consumer

func (*MongoDBConsumerData) DeepCopy

func (in *MongoDBConsumerData) DeepCopy() *MongoDBConsumerData

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

func (*MongoDBConsumerData) DeepCopyInto

func (in *MongoDBConsumerData) DeepCopyInto(out *MongoDBConsumerData)

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

type MongoDBConsumerList

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

MongoDBConsumerList contains a list of MongoDBConsumer

func (*MongoDBConsumerList) DeepCopy

func (in *MongoDBConsumerList) DeepCopy() *MongoDBConsumerList

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

func (*MongoDBConsumerList) DeepCopyInto

func (in *MongoDBConsumerList) DeepCopyInto(out *MongoDBConsumerList)

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

func (*MongoDBConsumerList) DeepCopyObject

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

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

type MongoDBConsumerProvider

type MongoDBConsumerProvider struct {
	Name      string      `json:"name,omitempty"`
	Namespace string      `json:"namespace,omitempty"`
	Hostname  string      `json:"hostname,omitempty"`
	Port      string      `json:"port,omitempty"`
	Auth      MongoDBAuth `json:"auth,omitempty"`
}

MongoDBConsumerProvider defines the provider link for this consumer

func (*MongoDBConsumerProvider) DeepCopy

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

func (*MongoDBConsumerProvider) DeepCopyInto

func (in *MongoDBConsumerProvider) DeepCopyInto(out *MongoDBConsumerProvider)

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

type MongoDBConsumerServices

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

MongoDBConsumerServices defines the provider link for this consumer

func (*MongoDBConsumerServices) DeepCopy

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

func (*MongoDBConsumerServices) DeepCopyInto

func (in *MongoDBConsumerServices) DeepCopyInto(out *MongoDBConsumerServices)

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

type MongoDBConsumerSpec

type MongoDBConsumerSpec struct {

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

MongoDBConsumerSpec defines the desired state of MongoDBConsumer

func (*MongoDBConsumerSpec) DeepCopy

func (in *MongoDBConsumerSpec) DeepCopy() *MongoDBConsumerSpec

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

func (*MongoDBConsumerSpec) DeepCopyInto

func (in *MongoDBConsumerSpec) DeepCopyInto(out *MongoDBConsumerSpec)

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

type MongoDBConsumerStatus

type MongoDBConsumerStatus struct {
}

MongoDBConsumerStatus defines the observed state of MongoDBConsumer

func (*MongoDBConsumerStatus) DeepCopy

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

func (*MongoDBConsumerStatus) DeepCopyInto

func (in *MongoDBConsumerStatus) DeepCopyInto(out *MongoDBConsumerStatus)

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

type MongoDBProvider

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

	Spec   MongoDBProviderSpec   `json:"spec,omitempty"`
	Status MongoDBProviderStatus `json:"status,omitempty"`
}

MongoDBProvider is the Schema for the mongodbproviders API

func (*MongoDBProvider) DeepCopy

func (in *MongoDBProvider) DeepCopy() *MongoDBProvider

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

func (*MongoDBProvider) DeepCopyInto

func (in *MongoDBProvider) DeepCopyInto(out *MongoDBProvider)

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

func (*MongoDBProvider) DeepCopyObject

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

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

type MongoDBProviderList

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

MongoDBProviderList contains a list of MongoDBProvider

func (*MongoDBProviderList) DeepCopy

func (in *MongoDBProviderList) DeepCopy() *MongoDBProviderList

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

func (*MongoDBProviderList) DeepCopyInto

func (in *MongoDBProviderList) DeepCopyInto(out *MongoDBProviderList)

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

func (*MongoDBProviderList) DeepCopyObject

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

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

type MongoDBProviderSpec

type MongoDBProviderSpec 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"`
	Auth        MongoDBAuth `json:"auth,omitempty"`
	Type        string      `json:"type,omitempty"`
}

MongoDBProviderSpec defines the desired state of MongoDBProvider

func (*MongoDBProviderSpec) DeepCopy

func (in *MongoDBProviderSpec) DeepCopy() *MongoDBProviderSpec

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

func (*MongoDBProviderSpec) DeepCopyInto

func (in *MongoDBProviderSpec) DeepCopyInto(out *MongoDBProviderSpec)

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

type MongoDBProviderStatus

type MongoDBProviderStatus struct {
}

MongoDBProviderStatus defines the observed state of MongoDBProvider

func (*MongoDBProviderStatus) DeepCopy

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

func (*MongoDBProviderStatus) DeepCopyInto

func (in *MongoDBProviderStatus) DeepCopyInto(out *MongoDBProviderStatus)

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