Documentation ¶
Overview ¶
+groupName=database.digitalocean.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Cluster
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (in *Cluster) DeepCopyObject() runtime.Object
- func (r *Cluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Cluster) ValidateCreate() error
- func (r *Cluster) ValidateDelete() error
- func (r *Cluster) ValidateUpdate(old runtime.Object) error
- type ClusterList
- type ClusterSpec
- type ClusterSpecMaintenanceWindow
- type ClusterSpecResource
- type ClusterStatus
- type ConnectionPool
- func (in *ConnectionPool) DeepCopy() *ConnectionPool
- func (in *ConnectionPool) DeepCopyInto(out *ConnectionPool)
- func (in *ConnectionPool) DeepCopyObject() runtime.Object
- func (r *ConnectionPool) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ConnectionPool) ValidateCreate() error
- func (r *ConnectionPool) ValidateDelete() error
- func (r *ConnectionPool) ValidateUpdate(old runtime.Object) error
- type ConnectionPoolList
- type ConnectionPoolSpec
- type ConnectionPoolSpecResource
- type ConnectionPoolStatus
- type Db
- type DbList
- type DbSpec
- type DbSpecResource
- type DbStatus
- type Firewall
- func (in *Firewall) DeepCopy() *Firewall
- func (in *Firewall) DeepCopyInto(out *Firewall)
- func (in *Firewall) DeepCopyObject() runtime.Object
- func (r *Firewall) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Firewall) ValidateCreate() error
- func (r *Firewall) ValidateDelete() error
- func (r *Firewall) ValidateUpdate(old runtime.Object) error
- type FirewallList
- type FirewallSpec
- type FirewallSpecResource
- type FirewallSpecRule
- type FirewallStatus
- type Replica
- func (in *Replica) DeepCopy() *Replica
- func (in *Replica) DeepCopyInto(out *Replica)
- func (in *Replica) DeepCopyObject() runtime.Object
- func (r *Replica) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Replica) ValidateCreate() error
- func (r *Replica) ValidateDelete() error
- func (r *Replica) ValidateUpdate(old runtime.Object) error
- type ReplicaList
- type ReplicaSpec
- type ReplicaSpecResource
- type ReplicaStatus
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (r *User) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *User) ValidateCreate() error
- func (r *User) ValidateDelete() error
- func (r *User) ValidateUpdate(old runtime.Object) error
- type UserList
- type UserSpec
- type UserSpecResource
- type UserStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: database.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec,omitempty"` Status ClusterStatus `json:"status,omitempty"` }
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) SetupWebhookWithManager ¶
func (*Cluster) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Cluster) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Cluster CRD objects Items []Cluster `json:"items,omitempty"` }
ClusterList is a list of Clusters
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterSpec ¶
type ClusterSpec struct { State *ClusterSpecResource `json:"state,omitempty" tf:"-"` Resource ClusterSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpecMaintenanceWindow ¶
type ClusterSpecMaintenanceWindow struct { Day *string `json:"day" tf:"day"` Hour *string `json:"hour" tf:"hour"` }
func (*ClusterSpecMaintenanceWindow) DeepCopy ¶
func (in *ClusterSpecMaintenanceWindow) DeepCopy() *ClusterSpecMaintenanceWindow
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpecMaintenanceWindow.
func (*ClusterSpecMaintenanceWindow) DeepCopyInto ¶
func (in *ClusterSpecMaintenanceWindow) DeepCopyInto(out *ClusterSpecMaintenanceWindow)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpecResource ¶
type ClusterSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional Database *string `json:"database,omitempty" tf:"database"` Engine *string `json:"engine" tf:"engine"` // +optional EvictionPolicy *string `json:"evictionPolicy,omitempty" tf:"eviction_policy"` // +optional Host *string `json:"host,omitempty" tf:"host"` // +optional // +kubebuilder:validation:MinItems=1 MaintenanceWindow []ClusterSpecMaintenanceWindow `json:"maintenanceWindow,omitempty" tf:"maintenance_window"` Name *string `json:"name" tf:"name"` NodeCount *int64 `json:"nodeCount" tf:"node_count"` // +optional Password *string `json:"-" sensitive:"true" tf:"password"` // +optional Port *int64 `json:"port,omitempty" tf:"port"` // +optional PrivateHost *string `json:"privateHost,omitempty" tf:"private_host"` // +optional PrivateNetworkUUID *string `json:"privateNetworkUUID,omitempty" tf:"private_network_uuid"` // +optional PrivateURI *string `json:"-" sensitive:"true" tf:"private_uri"` Region *string `json:"region" tf:"region"` Size *string `json:"size" tf:"size"` // +optional SqlMode *string `json:"sqlMode,omitempty" tf:"sql_mode"` // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // +optional Uri *string `json:"-" sensitive:"true" tf:"uri"` // +optional Urn *string `json:"urn,omitempty" tf:"urn"` // +optional User *string `json:"user,omitempty" tf:"user"` // +optional Version *string `json:"version,omitempty" tf:"version"` }
func (*ClusterSpecResource) DeepCopy ¶
func (in *ClusterSpecResource) DeepCopy() *ClusterSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpecResource.
func (*ClusterSpecResource) DeepCopyInto ¶
func (in *ClusterSpecResource) DeepCopyInto(out *ClusterSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStatus ¶
type ClusterStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionPool ¶
type ConnectionPool struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConnectionPoolSpec `json:"spec,omitempty"` Status ConnectionPoolStatus `json:"status,omitempty"` }
func (*ConnectionPool) DeepCopy ¶
func (in *ConnectionPool) DeepCopy() *ConnectionPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionPool.
func (*ConnectionPool) DeepCopyInto ¶
func (in *ConnectionPool) DeepCopyInto(out *ConnectionPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectionPool) DeepCopyObject ¶
func (in *ConnectionPool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConnectionPool) SetupWebhookWithManager ¶
func (r *ConnectionPool) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ConnectionPool) ValidateCreate ¶
func (r *ConnectionPool) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ConnectionPool) ValidateDelete ¶
func (r *ConnectionPool) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ConnectionPool) ValidateUpdate ¶
func (r *ConnectionPool) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ConnectionPoolList ¶
type ConnectionPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of ConnectionPool CRD objects Items []ConnectionPool `json:"items,omitempty"` }
ConnectionPoolList is a list of ConnectionPools
func (*ConnectionPoolList) DeepCopy ¶
func (in *ConnectionPoolList) DeepCopy() *ConnectionPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionPoolList.
func (*ConnectionPoolList) DeepCopyInto ¶
func (in *ConnectionPoolList) DeepCopyInto(out *ConnectionPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectionPoolList) DeepCopyObject ¶
func (in *ConnectionPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConnectionPoolSpec ¶
type ConnectionPoolSpec struct { State *ConnectionPoolSpecResource `json:"state,omitempty" tf:"-"` Resource ConnectionPoolSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*ConnectionPoolSpec) DeepCopy ¶
func (in *ConnectionPoolSpec) DeepCopy() *ConnectionPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionPoolSpec.
func (*ConnectionPoolSpec) DeepCopyInto ¶
func (in *ConnectionPoolSpec) DeepCopyInto(out *ConnectionPoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionPoolSpecResource ¶
type ConnectionPoolSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` ClusterID *string `json:"clusterID" tf:"cluster_id"` DbName *string `json:"dbName" tf:"db_name"` // +optional Host *string `json:"host,omitempty" tf:"host"` Mode *string `json:"mode" tf:"mode"` Name *string `json:"name" tf:"name"` // +optional Password *string `json:"-" sensitive:"true" tf:"password"` // +optional Port *int64 `json:"port,omitempty" tf:"port"` // +optional PrivateHost *string `json:"privateHost,omitempty" tf:"private_host"` // +optional PrivateURI *string `json:"-" sensitive:"true" tf:"private_uri"` Size *int64 `json:"size" tf:"size"` // +optional Uri *string `json:"-" sensitive:"true" tf:"uri"` User *string `json:"user" tf:"user"` }
func (*ConnectionPoolSpecResource) DeepCopy ¶
func (in *ConnectionPoolSpecResource) DeepCopy() *ConnectionPoolSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionPoolSpecResource.
func (*ConnectionPoolSpecResource) DeepCopyInto ¶
func (in *ConnectionPoolSpecResource) DeepCopyInto(out *ConnectionPoolSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionPoolStatus ¶
type ConnectionPoolStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*ConnectionPoolStatus) DeepCopy ¶
func (in *ConnectionPoolStatus) DeepCopy() *ConnectionPoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionPoolStatus.
func (*ConnectionPoolStatus) DeepCopyInto ¶
func (in *ConnectionPoolStatus) DeepCopyInto(out *ConnectionPoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Db ¶
type Db struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DbSpec `json:"spec,omitempty"` Status DbStatus `json:"status,omitempty"` }
func (*Db) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Db.
func (*Db) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Db) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Db) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Db) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type DbList ¶
type DbList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Db CRD objects Items []Db `json:"items,omitempty"` }
DbList is a list of Dbs
func (*DbList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbList.
func (*DbList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DbSpec ¶
type DbSpec struct { State *DbSpecResource `json:"state,omitempty" tf:"-"` Resource DbSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*DbSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbSpec.
type DbSpecResource ¶
type DbSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` ClusterID *string `json:"clusterID" tf:"cluster_id"` Name *string `json:"name" tf:"name"` }
func (*DbSpecResource) DeepCopy ¶
func (in *DbSpecResource) DeepCopy() *DbSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbSpecResource.
func (*DbSpecResource) DeepCopyInto ¶
func (in *DbSpecResource) DeepCopyInto(out *DbSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DbStatus ¶
type DbStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*DbStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbStatus.
type Firewall ¶
type Firewall struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FirewallSpec `json:"spec,omitempty"` Status FirewallStatus `json:"status,omitempty"` }
func (*Firewall) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Firewall.
func (*Firewall) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Firewall) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Firewall) SetupWebhookWithManager ¶
func (*Firewall) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Firewall) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type FirewallList ¶
type FirewallList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Firewall CRD objects Items []Firewall `json:"items,omitempty"` }
FirewallList is a list of Firewalls
func (*FirewallList) DeepCopy ¶
func (in *FirewallList) DeepCopy() *FirewallList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallList.
func (*FirewallList) DeepCopyInto ¶
func (in *FirewallList) DeepCopyInto(out *FirewallList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FirewallList) DeepCopyObject ¶
func (in *FirewallList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FirewallSpec ¶
type FirewallSpec struct { State *FirewallSpecResource `json:"state,omitempty" tf:"-"` Resource FirewallSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*FirewallSpec) DeepCopy ¶
func (in *FirewallSpec) DeepCopy() *FirewallSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSpec.
func (*FirewallSpec) DeepCopyInto ¶
func (in *FirewallSpec) DeepCopyInto(out *FirewallSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallSpecResource ¶
type FirewallSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` ClusterID *string `json:"clusterID" tf:"cluster_id"` Rule []FirewallSpecRule `json:"rule" tf:"rule"` }
func (*FirewallSpecResource) DeepCopy ¶
func (in *FirewallSpecResource) DeepCopy() *FirewallSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSpecResource.
func (*FirewallSpecResource) DeepCopyInto ¶
func (in *FirewallSpecResource) DeepCopyInto(out *FirewallSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallSpecRule ¶
type FirewallSpecRule struct { // +optional CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"` Type *string `json:"type" tf:"type"` // +optional Uuid *string `json:"uuid,omitempty" tf:"uuid"` Value *string `json:"value" tf:"value"` }
func (*FirewallSpecRule) DeepCopy ¶
func (in *FirewallSpecRule) DeepCopy() *FirewallSpecRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSpecRule.
func (*FirewallSpecRule) DeepCopyInto ¶
func (in *FirewallSpecRule) DeepCopyInto(out *FirewallSpecRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallStatus ¶
type FirewallStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*FirewallStatus) DeepCopy ¶
func (in *FirewallStatus) DeepCopy() *FirewallStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallStatus.
func (*FirewallStatus) DeepCopyInto ¶
func (in *FirewallStatus) DeepCopyInto(out *FirewallStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Replica ¶
type Replica struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ReplicaSpec `json:"spec,omitempty"` Status ReplicaStatus `json:"status,omitempty"` }
func (*Replica) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Replica.
func (*Replica) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Replica) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Replica) SetupWebhookWithManager ¶
func (*Replica) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Replica) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ReplicaList ¶
type ReplicaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Replica CRD objects Items []Replica `json:"items,omitempty"` }
ReplicaList is a list of Replicas
func (*ReplicaList) DeepCopy ¶
func (in *ReplicaList) DeepCopy() *ReplicaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaList.
func (*ReplicaList) DeepCopyInto ¶
func (in *ReplicaList) DeepCopyInto(out *ReplicaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReplicaList) DeepCopyObject ¶
func (in *ReplicaList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReplicaSpec ¶
type ReplicaSpec struct { State *ReplicaSpecResource `json:"state,omitempty" tf:"-"` Resource ReplicaSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*ReplicaSpec) DeepCopy ¶
func (in *ReplicaSpec) DeepCopy() *ReplicaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSpec.
func (*ReplicaSpec) DeepCopyInto ¶
func (in *ReplicaSpec) DeepCopyInto(out *ReplicaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicaSpecResource ¶
type ReplicaSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` ClusterID *string `json:"clusterID" tf:"cluster_id"` // +optional Database *string `json:"database,omitempty" tf:"database"` // +optional Host *string `json:"host,omitempty" tf:"host"` Name *string `json:"name" tf:"name"` // +optional Password *string `json:"-" sensitive:"true" tf:"password"` // +optional Port *int64 `json:"port,omitempty" tf:"port"` // +optional PrivateHost *string `json:"privateHost,omitempty" tf:"private_host"` // +optional PrivateNetworkUUID *string `json:"privateNetworkUUID,omitempty" tf:"private_network_uuid"` // +optional PrivateURI *string `json:"-" sensitive:"true" tf:"private_uri"` // +optional Region *string `json:"region,omitempty" tf:"region"` // +optional Size *string `json:"size,omitempty" tf:"size"` // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // +optional Uri *string `json:"-" sensitive:"true" tf:"uri"` // +optional User *string `json:"user,omitempty" tf:"user"` }
func (*ReplicaSpecResource) DeepCopy ¶
func (in *ReplicaSpecResource) DeepCopy() *ReplicaSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSpecResource.
func (*ReplicaSpecResource) DeepCopyInto ¶
func (in *ReplicaSpecResource) DeepCopyInto(out *ReplicaSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicaStatus ¶
type ReplicaStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*ReplicaStatus) DeepCopy ¶
func (in *ReplicaStatus) DeepCopy() *ReplicaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaStatus.
func (*ReplicaStatus) DeepCopyInto ¶
func (in *ReplicaStatus) DeepCopyInto(out *ReplicaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserSpec `json:"spec,omitempty"` Status UserStatus `json:"status,omitempty"` }
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) SetupWebhookWithManager ¶
func (*User) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*User) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of User CRD objects Items []User `json:"items,omitempty"` }
UserList is a list of Users
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserSpec ¶
type UserSpec struct { State *UserSpecResource `json:"state,omitempty" tf:"-"` Resource UserSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
type UserSpecResource ¶
type UserSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` ClusterID *string `json:"clusterID" tf:"cluster_id"` // +optional MysqlAuthPlugin *string `json:"mysqlAuthPlugin,omitempty" tf:"mysql_auth_plugin"` Name *string `json:"name" tf:"name"` // +optional Password *string `json:"-" sensitive:"true" tf:"password"` // +optional Role *string `json:"role,omitempty" tf:"role"` }
func (*UserSpecResource) DeepCopy ¶
func (in *UserSpecResource) DeepCopy() *UserSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpecResource.
func (*UserSpecResource) DeepCopyInto ¶
func (in *UserSpecResource) DeepCopyInto(out *UserSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶
type UserStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*UserStatus) DeepCopy ¶
func (in *UserStatus) DeepCopy() *UserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
func (*UserStatus) DeepCopyInto ¶
func (in *UserStatus) DeepCopyInto(out *UserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.