Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the databaser v1alpha1 API group +kubebuilder:object:generate=true +groupName=databaser.slamdev.github.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "databaser.slamdev.github.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 ClikhouseSpec ¶
type ClikhouseSpec struct {
SqlParams `json:",inline"`
}
func (*ClikhouseSpec) DeepCopy ¶
func (in *ClikhouseSpec) DeepCopy() *ClikhouseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClikhouseSpec.
func (*ClikhouseSpec) DeepCopyInto ¶
func (in *ClikhouseSpec) DeepCopyInto(out *ClikhouseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Database ¶
type Database struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseSpec `json:"spec,omitempty"` Status DatabaseStatus `json:"status,omitempty"` }
Database is the Schema for the databases API
func (*Database) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Database) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseInstance ¶
type DatabaseInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseInstanceSpec `json:"spec,omitempty"` Status DatabaseInstanceStatus `json:"status,omitempty"` }
DatabaseInstance is the Schema for the databaseinstances API
func (*DatabaseInstance) DeepCopy ¶
func (in *DatabaseInstance) DeepCopy() *DatabaseInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstance.
func (*DatabaseInstance) DeepCopyInto ¶
func (in *DatabaseInstance) DeepCopyInto(out *DatabaseInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseInstance) DeepCopyObject ¶
func (in *DatabaseInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseInstanceList ¶
type DatabaseInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DatabaseInstance `json:"items"` }
DatabaseInstanceList contains a list of DatabaseInstance
func (*DatabaseInstanceList) DeepCopy ¶
func (in *DatabaseInstanceList) DeepCopy() *DatabaseInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceList.
func (*DatabaseInstanceList) DeepCopyInto ¶
func (in *DatabaseInstanceList) DeepCopyInto(out *DatabaseInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseInstanceList) DeepCopyObject ¶
func (in *DatabaseInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseInstanceRef ¶
type DatabaseInstanceRef struct {
Name string `json:"name"`
}
func (*DatabaseInstanceRef) DeepCopy ¶
func (in *DatabaseInstanceRef) DeepCopy() *DatabaseInstanceRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceRef.
func (*DatabaseInstanceRef) DeepCopyInto ¶
func (in *DatabaseInstanceRef) DeepCopyInto(out *DatabaseInstanceRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceSpec ¶
type DatabaseInstanceSpec struct { // +optional Postgres *PostgresSpec `json:"postgres,omitempty"` // +optional Clikhouse *ClikhouseSpec `json:"clickhouse,omitempty"` }
DatabaseInstanceSpec defines the desired state of DatabaseInstance
func (*DatabaseInstanceSpec) DeepCopy ¶
func (in *DatabaseInstanceSpec) DeepCopy() *DatabaseInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceSpec.
func (*DatabaseInstanceSpec) DeepCopyInto ¶
func (in *DatabaseInstanceSpec) DeepCopyInto(out *DatabaseInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseInstanceStatus ¶
type DatabaseInstanceStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Phase string `json:"phase,omitempty"` LastError string `json:"lastError,omitempty"` }
DatabaseInstanceStatus defines the observed state of DatabaseInstance
func (*DatabaseInstanceStatus) DeepCopy ¶
func (in *DatabaseInstanceStatus) DeepCopy() *DatabaseInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseInstanceStatus.
func (*DatabaseInstanceStatus) DeepCopyInto ¶
func (in *DatabaseInstanceStatus) DeepCopyInto(out *DatabaseInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseList ¶
type DatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Database `json:"items"` }
DatabaseList contains a list of Database
func (*DatabaseList) DeepCopy ¶
func (in *DatabaseList) DeepCopy() *DatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList.
func (*DatabaseList) DeepCopyInto ¶
func (in *DatabaseList) DeepCopyInto(out *DatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseList) DeepCopyObject ¶
func (in *DatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseSpec ¶
type DatabaseSpec struct { DatabaseInstanceRef DatabaseInstanceRef `json:"databaseInstanceRef"` // +optional SecretName string `json:"secretName,omitempty"` // +optional Cleanup bool `json:"cleanup,omitempty"` // +optional Properties map[string]string `json:"properties,omitempty"` }
DatabaseSpec defines the desired state of Database
func (*DatabaseSpec) DeepCopy ¶
func (in *DatabaseSpec) DeepCopy() *DatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec.
func (*DatabaseSpec) DeepCopyInto ¶
func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseStatus ¶
type DatabaseStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Phase Phase `json:"phase,omitempty"` LastError string `json:"lastError,omitempty"` }
DatabaseStatus defines the observed state of Database
func (*DatabaseStatus) DeepCopy ¶
func (in *DatabaseStatus) DeepCopy() *DatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus.
func (*DatabaseStatus) DeepCopyInto ¶
func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParamRef ¶
type ParamRef struct { // Kind of the referent. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds // +optional Kind string `json:"kind,omitempty"` // Namespace of the referent. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ // +optional Namespace string `json:"namespace,omitempty"` // Name of the referent. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names // +optional Name string `json:"name,omitempty"` // Data key. // +optional Key string `json:"key,omitempty"` }
func (*ParamRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParamRef.
func (*ParamRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresSpec ¶
type PostgresSpec struct { SqlParams `json:",inline"` // +optional AuthDB string `json:"authDb,omitempty"` // +optional AuthDBRef *ParamRef `json:"authDbRef,omitempty"` }
func (*PostgresSpec) DeepCopy ¶
func (in *PostgresSpec) DeepCopy() *PostgresSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresSpec.
func (*PostgresSpec) DeepCopyInto ¶
func (in *PostgresSpec) DeepCopyInto(out *PostgresSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SqlParams ¶
type SqlParams struct { // +optional Username string `json:"username,omitempty"` // +optional UsernameRef *ParamRef `json:"usernameRef,omitempty"` // +optional Password string `json:"password,omitempty"` // +optional PasswordRef *ParamRef `json:"passwordRef,omitempty"` // +optional Host string `json:"host,omitempty"` // +optional HostRef *ParamRef `json:"hostRef,omitempty"` // +optional Port int `json:"port,omitempty"` // +optional PortRef *ParamRef `json:"portRef,omitempty"` }
func (*SqlParams) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlParams.
func (*SqlParams) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.