Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the azure v1alpha2 API group +kubebuilder:object:generate=true +groupName=azure.microsoft.com
Index ¶
- Variables
- type ASOStatus
- func (s *ASOStatus) ClearPollingURL()
- func (in *ASOStatus) DeepCopy() *ASOStatus
- func (in *ASOStatus) DeepCopyInto(out *ASOStatus)
- func (s *ASOStatus) SetFailedProvisioning(msg string)
- func (s *ASOStatus) SetPollingURL(url string, kind api.PollingURLKind)
- func (s *ASOStatus) SetProvisioned(msg string)
- func (s *ASOStatus) SetProvisioning(msg string)
- type AzureDBsSQLSku
- type BlobContainer
- func (in *BlobContainer) DeepCopy() *BlobContainer
- func (in *BlobContainer) DeepCopyInto(out *BlobContainer)
- func (in *BlobContainer) DeepCopyObject() runtime.Object
- func (bc *BlobContainer) HasFinalizer(finalizerName string) bool
- func (*BlobContainer) Hub()
- func (bc *BlobContainer) IsProvisioned() bool
- func (bc *BlobContainer) IsSubmitted() bool
- type BlobContainerList
- type BlobContainerSpec
- type GenericResource
- type GenericSpec
- type MySQLAADUser
- func (in *MySQLAADUser) DeepCopy() *MySQLAADUser
- func (in *MySQLAADUser) DeepCopyInto(out *MySQLAADUser)
- func (in *MySQLAADUser) DeepCopyObject() runtime.Object
- func (*MySQLAADUser) Hub()
- func (r *MySQLAADUser) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (u MySQLAADUser) Username() string
- func (r *MySQLAADUser) ValidateCreate() (admission.Warnings, error)
- func (r *MySQLAADUser) ValidateDelete() (admission.Warnings, error)
- func (r *MySQLAADUser) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type MySQLAADUserList
- type MySQLAADUserSpec
- type MySQLServer
- type MySQLServerList
- type MySQLServerSpec
- type MySQLStorageProfile
- type MySQLUser
- func (in *MySQLUser) DeepCopy() *MySQLUser
- func (in *MySQLUser) DeepCopyInto(out *MySQLUser)
- func (in *MySQLUser) DeepCopyObject() runtime.Object
- func (*MySQLUser) Hub()
- func (s *MySQLUser) IsSubmitted() bool
- func (r *MySQLUser) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *MySQLUser) ValidateCreate() (admission.Warnings, error)
- func (r *MySQLUser) ValidateDelete() (admission.Warnings, error)
- func (r *MySQLUser) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type MySQLUserList
- type MySQLUserSpec
- type PSQLStorageProfile
- type PostgreSQLServer
- type PostgreSQLServerList
- type PostgreSQLServerSpec
- type ReplicaProperties
- type ServerVersion
- type SkuTier
- type SslEnforcementEnum
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "azure.microsoft.com", Version: "v1alpha2"} // 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 ASOStatus ¶
type ASOStatus struct { Provisioning bool `json:"provisioning,omitempty"` Provisioned bool `json:"provisioned,omitempty"` State string `json:"state,omitempty"` Message string `json:"message,omitempty"` ResourceId string `json:"resourceId,omitempty"` PollingURL string `json:"pollingUrl,omitempty"` PollingURLKind *api.PollingURLKind `json:"pollingUrlKind,omitempty"` SpecHash string `json:"specHash,omitempty"` ContainsUpdate bool `json:"containsUpdate,omitempty"` // TODO: Unused, remove in future version RequestedAt *metav1.Time `json:"requested,omitempty"` CompletedAt *metav1.Time `json:"completed,omitempty"` FailedProvisioning bool `json:"failedProvisioning,omitempty"` FlattenedSecrets bool `json:"flattenedSecrets,omitempty"` Output string `json:"output,omitempty"` }
ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions
func (*ASOStatus) ClearPollingURL ¶
func (s *ASOStatus) ClearPollingURL()
func (*ASOStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ASOStatus.
func (*ASOStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ASOStatus) SetFailedProvisioning ¶
func (*ASOStatus) SetPollingURL ¶
func (s *ASOStatus) SetPollingURL(url string, kind api.PollingURLKind)
func (*ASOStatus) SetProvisioned ¶
func (*ASOStatus) SetProvisioning ¶
type AzureDBsSQLSku ¶
type AzureDBsSQLSku struct { // Name - The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. Name string `json:"name,omitempty"` // Tier - The tier of the particular SKU, e.g. Basic. Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' Tier SkuTier `json:"tier,omitempty"` // Capacity - The scale up/out capacity, representing server's compute units. Capacity int32 `json:"capacity,omitempty"` // Size - The size code, to be interpreted by resource as appropriate. Size string `json:"size,omitempty"` // Family - The family of hardware. Family string `json:"family,omitempty"` }
func (*AzureDBsSQLSku) DeepCopy ¶
func (in *AzureDBsSQLSku) DeepCopy() *AzureDBsSQLSku
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDBsSQLSku.
func (*AzureDBsSQLSku) DeepCopyInto ¶
func (in *AzureDBsSQLSku) DeepCopyInto(out *AzureDBsSQLSku)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlobContainer ¶
type BlobContainer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BlobContainerSpec `json:"spec,omitempty"` Status ASOStatus `json:"status,omitempty"` }
BlobContainer is the Schema for the blobcontainers API +kubebuilder:resource:shortName=bc +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message"
func (*BlobContainer) DeepCopy ¶
func (in *BlobContainer) DeepCopy() *BlobContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobContainer.
func (*BlobContainer) DeepCopyInto ¶
func (in *BlobContainer) DeepCopyInto(out *BlobContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BlobContainer) DeepCopyObject ¶
func (in *BlobContainer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BlobContainer) HasFinalizer ¶
func (bc *BlobContainer) HasFinalizer(finalizerName string) bool
func (*BlobContainer) Hub ¶
func (*BlobContainer) Hub()
func (*BlobContainer) IsProvisioned ¶
func (bc *BlobContainer) IsProvisioned() bool
func (*BlobContainer) IsSubmitted ¶
func (bc *BlobContainer) IsSubmitted() bool
type BlobContainerList ¶
type BlobContainerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BlobContainer `json:"items"` }
BlobContainerList contains a list of BlobContainer
func (*BlobContainerList) DeepCopy ¶
func (in *BlobContainerList) DeepCopy() *BlobContainerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobContainerList.
func (*BlobContainerList) DeepCopyInto ¶
func (in *BlobContainerList) DeepCopyInto(out *BlobContainerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BlobContainerList) DeepCopyObject ¶
func (in *BlobContainerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BlobContainerSpec ¶
type BlobContainerSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Location string `json:"location"` // +kubebuilder:validation:Pattern=^[-\w\._\(\)]+$ // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Required ResourceGroup string `json:"resourceGroup"` AccountName string `json:"accountName,omitempty"` AccessLevel s.PublicAccess `json:"accessLevel,omitempty"` }
BlobContainerSpec defines the desired state of BlobContainer
func (*BlobContainerSpec) DeepCopy ¶
func (in *BlobContainerSpec) DeepCopy() *BlobContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobContainerSpec.
func (*BlobContainerSpec) DeepCopyInto ¶
func (in *BlobContainerSpec) DeepCopyInto(out *BlobContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericResource ¶
type GenericResource struct {
Spec GenericSpec `json:"spec,omitempty"`
}
GenericResource is a struct to help get a generic resource to extract keyvault name
func (*GenericResource) DeepCopy ¶
func (in *GenericResource) DeepCopy() *GenericResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericResource.
func (*GenericResource) DeepCopyInto ¶
func (in *GenericResource) DeepCopyInto(out *GenericResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericSpec ¶
type GenericSpec struct {
KeyVaultToStoreSecrets string `json:"keyVaultToStoreSecrets,omitempty"`
}
GenericSpec is a struct to help get the KeyVaultName from the Spec
func (*GenericSpec) DeepCopy ¶
func (in *GenericSpec) DeepCopy() *GenericSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericSpec.
func (*GenericSpec) DeepCopyInto ¶
func (in *GenericSpec) DeepCopyInto(out *GenericSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLAADUser ¶
type MySQLAADUser struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MySQLAADUserSpec `json:"spec,omitempty"` Status ASOStatus `json:"status,omitempty"` }
MySQLAADUser is the Schema for an AAD user for MySQL +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message"
func (*MySQLAADUser) DeepCopy ¶
func (in *MySQLAADUser) DeepCopy() *MySQLAADUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLAADUser.
func (*MySQLAADUser) DeepCopyInto ¶
func (in *MySQLAADUser) DeepCopyInto(out *MySQLAADUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLAADUser) DeepCopyObject ¶
func (in *MySQLAADUser) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MySQLAADUser) Hub ¶
func (*MySQLAADUser) Hub()
func (*MySQLAADUser) SetupWebhookWithManager ¶
func (r *MySQLAADUser) SetupWebhookWithManager(mgr ctrl.Manager) error
func (MySQLAADUser) Username ¶
func (u MySQLAADUser) Username() string
func (*MySQLAADUser) ValidateCreate ¶
func (r *MySQLAADUser) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*MySQLAADUser) ValidateDelete ¶
func (r *MySQLAADUser) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*MySQLAADUser) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type MySQLAADUserList ¶
type MySQLAADUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MySQLAADUser `json:"items"` }
MySQLAADUserList contains a list of MySQLAADUser
func (*MySQLAADUserList) DeepCopy ¶
func (in *MySQLAADUserList) DeepCopy() *MySQLAADUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLAADUserList.
func (*MySQLAADUserList) DeepCopyInto ¶
func (in *MySQLAADUserList) DeepCopyInto(out *MySQLAADUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLAADUserList) DeepCopyObject ¶
func (in *MySQLAADUserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MySQLAADUserSpec ¶
type MySQLAADUserSpec struct { // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Required Server string `json:"server"` // +kubebuilder:validation:Pattern=^[-\w\._\(\)]+$ // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Required ResourceGroup string `json:"resourceGroup"` // AAD ID is the ID of the user in Azure Active Directory. // When creating a user for a managed identity this must be the client id (sometimes called app id) of the managed identity. // When creating a user for a "normal" (non-managed identity) user or group, this is the OID of the user or group. // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Required AADID string `json:"aadId,omitempty"` // The server-level roles assigned to the user. Roles []string `json:"roles"` // The database-level roles assigned to the user (keyed by // database name). DatabaseRoles map[string][]string `json:"databaseRoles,omitempty"` Username string `json:"username,omitempty"` }
MySQLAADUserSpec defines the desired state of MySQLAADUser
func (*MySQLAADUserSpec) DeepCopy ¶
func (in *MySQLAADUserSpec) DeepCopy() *MySQLAADUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLAADUserSpec.
func (*MySQLAADUserSpec) DeepCopyInto ¶
func (in *MySQLAADUserSpec) DeepCopyInto(out *MySQLAADUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLServer ¶
type MySQLServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MySQLServerSpec `json:"spec,omitempty"` Status ASOStatus `json:"status,omitempty"` }
MySQLServer is the Schema for the mysqlservers API +kubebuilder:resource:shortName=mysqls +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message"
func NewDefaultMySQLServer ¶
func NewDefaultMySQLServer(name, resourceGroup, location string) *MySQLServer
func NewReplicaMySQLServer ¶
func NewReplicaMySQLServer(name, resourceGroup, location string, sourceserverid string) *MySQLServer
func (*MySQLServer) DeepCopy ¶
func (in *MySQLServer) DeepCopy() *MySQLServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLServer.
func (*MySQLServer) DeepCopyInto ¶
func (in *MySQLServer) DeepCopyInto(out *MySQLServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLServer) DeepCopyObject ¶
func (in *MySQLServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MySQLServer) Hub ¶
func (*MySQLServer) Hub()
type MySQLServerList ¶
type MySQLServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MySQLServer `json:"items"` }
MySQLServerList contains a list of MySQLServer
func (*MySQLServerList) DeepCopy ¶
func (in *MySQLServerList) DeepCopy() *MySQLServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLServerList.
func (*MySQLServerList) DeepCopyInto ¶
func (in *MySQLServerList) DeepCopyInto(out *MySQLServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLServerList) DeepCopyObject ¶
func (in *MySQLServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MySQLServerSpec ¶
type MySQLServerSpec struct { Location string `json:"location"` // +kubebuilder:validation:Pattern=^[-\w\._\(\)]+$ // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Required ResourceGroup string `json:"resourceGroup"` Sku AzureDBsSQLSku `json:"sku,omitempty"` ServerVersion ServerVersion `json:"serverVersion,omitempty"` SSLEnforcement SslEnforcementEnum `json:"sslEnforcement,omitempty"` CreateMode string `json:"createMode,omitempty"` ReplicaProperties ReplicaProperties `json:"replicaProperties,omitempty"` StorageProfile *MySQLStorageProfile `json:"storageProfile,omitempty"` KeyVaultToStoreSecrets string `json:"keyVaultToStoreSecrets,omitempty"` // +kubebuilder:validation:MinLength=1 // AdminSecret is the name of a Kubernetes secret containing the username and password of the // MySQLServer administrator account. When specified, the `username` and `password` fields of this // secret will be included in the generated secret associated with this MySQLServer. // If AdminSecret is specified but a secret with the given name is not found in the same namespace // as the MySQLServer, then reconciliation will block until the secret is created. // If this is not specified, a username and password will be automatically generated. AdminSecret string `json:"adminSecret,omitempty"` }
MySQLServerSpec defines the desired state of MySQLServer
func (*MySQLServerSpec) DeepCopy ¶
func (in *MySQLServerSpec) DeepCopy() *MySQLServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLServerSpec.
func (*MySQLServerSpec) DeepCopyInto ¶
func (in *MySQLServerSpec) DeepCopyInto(out *MySQLServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLStorageProfile ¶
type MySQLStorageProfile struct { // BackupRetentionDays - Backup retention days for the server. BackupRetentionDays *int32 `json:"backupRetentionDays,omitempty"` // GeoRedundantBackup - Enable Geo-redundant or not for server backup. Possible values include: 'Enabled', 'Disabled' GeoRedundantBackup mysql.GeoRedundantBackup `json:"geoRedundantBackup,omitempty"` // StorageMB - Max storage allowed for a server. StorageMB *int32 `json:"storageMB,omitempty"` // StorageAutogrow - Enable Storage Auto Grow. Possible values include: 'Enabled', 'Disabled' // +kubebuilder:validation:Enum=Enabled;Disabled StorageAutogrow mysql.StorageAutogrow `json:"storageAutogrow,omitempty"` }
func (*MySQLStorageProfile) DeepCopy ¶
func (in *MySQLStorageProfile) DeepCopy() *MySQLStorageProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLStorageProfile.
func (*MySQLStorageProfile) DeepCopyInto ¶
func (in *MySQLStorageProfile) DeepCopyInto(out *MySQLStorageProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLUser ¶
type MySQLUser struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MySQLUserSpec `json:"spec,omitempty"` Status ASOStatus `json:"status,omitempty"` }
MySQLUser is the Schema for the mysqlusers API +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message"
func (*MySQLUser) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLUser.
func (*MySQLUser) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLUser) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MySQLUser) IsSubmitted ¶
IsSubmitted checks if sqluser is provisioning
func (*MySQLUser) SetupWebhookWithManager ¶
func (*MySQLUser) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*MySQLUser) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type MySQLUserList ¶
type MySQLUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MySQLUser `json:"items"` }
MySQLUserList contains a list of MySQLUser
func (*MySQLUserList) DeepCopy ¶
func (in *MySQLUserList) DeepCopy() *MySQLUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLUserList.
func (*MySQLUserList) DeepCopyInto ¶
func (in *MySQLUserList) DeepCopyInto(out *MySQLUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MySQLUserList) DeepCopyObject ¶
func (in *MySQLUserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MySQLUserSpec ¶
type MySQLUserSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Required Server string `json:"server"` // +kubebuilder:validation:Pattern=^[-\w\._\(\)]+$ // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Required ResourceGroup string `json:"resourceGroup"` // The server-level roles assigned ot the user. Roles []string `json:"roles,omitempty"` // The database-level roles assigned to the user (keyed by // database name). DatabaseRoles map[string][]string `json:"databaseRoles,omitempty"` AdminSecret string `json:"adminSecret,omitempty"` AdminSecretKeyVault string `json:"adminSecretKeyVault,omitempty"` Username string `json:"username,omitempty"` KeyVaultToStoreSecrets string `json:"keyVaultToStoreSecrets,omitempty"` }
MySQLUserSpec defines the desired state of MySqlUser
func (*MySQLUserSpec) DeepCopy ¶
func (in *MySQLUserSpec) DeepCopy() *MySQLUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLUserSpec.
func (*MySQLUserSpec) DeepCopyInto ¶
func (in *MySQLUserSpec) DeepCopyInto(out *MySQLUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (MySQLUserSpec) GetAdminSecretName ¶
func (s MySQLUserSpec) GetAdminSecretName() string
type PSQLStorageProfile ¶
type PSQLStorageProfile struct { // BackupRetentionDays - Backup retention days for the server. BackupRetentionDays *int32 `json:"backupRetentionDays,omitempty"` // GeoRedundantBackup - Enable Geo-redundant or not for server backup. Possible values include: 'Enabled', 'Disabled' GeoRedundantBackup psql.GeoRedundantBackup `json:"geoRedundantBackup,omitempty"` // StorageMB - Max storage allowed for a server. StorageMB *int32 `json:"storageMB,omitempty"` // StorageAutogrow - Enable Storage Auto Grow. Possible values include: 'Enabled', 'Disabled' // +kubebuilder:validation:Enum=Enabled;Disabled StorageAutogrow psql.StorageAutogrow `json:"storageAutogrow,omitempty"` }
func (*PSQLStorageProfile) DeepCopy ¶
func (in *PSQLStorageProfile) DeepCopy() *PSQLStorageProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PSQLStorageProfile.
func (*PSQLStorageProfile) DeepCopyInto ¶
func (in *PSQLStorageProfile) DeepCopyInto(out *PSQLStorageProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgreSQLServer ¶
type PostgreSQLServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PostgreSQLServerSpec `json:"spec,omitempty"` Status ASOStatus `json:"status,omitempty"` }
PostgreSQLServer is the Schema for the postgresqlservers API +kubebuilder:resource:shortName=psqls +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message"
func (*PostgreSQLServer) DeepCopy ¶
func (in *PostgreSQLServer) DeepCopy() *PostgreSQLServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLServer.
func (*PostgreSQLServer) DeepCopyInto ¶
func (in *PostgreSQLServer) DeepCopyInto(out *PostgreSQLServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgreSQLServer) DeepCopyObject ¶
func (in *PostgreSQLServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PostgreSQLServer) Hub ¶
func (*PostgreSQLServer) Hub()
type PostgreSQLServerList ¶
type PostgreSQLServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PostgreSQLServer `json:"items"` }
PostgreSQLServerList contains a list of PostgreSQLServer
func (*PostgreSQLServerList) DeepCopy ¶
func (in *PostgreSQLServerList) DeepCopy() *PostgreSQLServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLServerList.
func (*PostgreSQLServerList) DeepCopyInto ¶
func (in *PostgreSQLServerList) DeepCopyInto(out *PostgreSQLServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgreSQLServerList) DeepCopyObject ¶
func (in *PostgreSQLServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgreSQLServerSpec ¶
type PostgreSQLServerSpec struct { Location string `json:"location"` // +kubebuilder:validation:Pattern=^[-\w\._\(\)]+$ // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Required ResourceGroup string `json:"resourceGroup"` Sku AzureDBsSQLSku `json:"sku,omitempty"` ServerVersion ServerVersion `json:"serverVersion,omitempty"` SSLEnforcement SslEnforcementEnum `json:"sslEnforcement,omitempty"` KeyVaultToStoreSecrets string `json:"keyVaultToStoreSecrets,omitempty"` CreateMode string `json:"createMode,omitempty"` StorageProfile *PSQLStorageProfile `json:"storageProfile,omitempty"` ReplicaProperties ReplicaProperties `json:"replicaProperties,omitempty"` }
PostgreSQLServerSpec defines the desired state of PostgreSQLServer
func (*PostgreSQLServerSpec) DeepCopy ¶
func (in *PostgreSQLServerSpec) DeepCopy() *PostgreSQLServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLServerSpec.
func (*PostgreSQLServerSpec) DeepCopyInto ¶
func (in *PostgreSQLServerSpec) DeepCopyInto(out *PostgreSQLServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicaProperties ¶
type ReplicaProperties struct {
SourceServerId string `json:"sourceServerId,omitempty"`
}
func (*ReplicaProperties) DeepCopy ¶
func (in *ReplicaProperties) DeepCopy() *ReplicaProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaProperties.
func (*ReplicaProperties) DeepCopyInto ¶
func (in *ReplicaProperties) DeepCopyInto(out *ReplicaProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerVersion ¶
type ServerVersion string
ServerVersion enumerates the values for server version.
const ( // NineFullStopFive ... NineFullStopFive ServerVersion = "9.5" // NineFullStopSix ... NineFullStopSix ServerVersion = "9.6" // OneOne ... OneOne ServerVersion = "11" // OneZero ... OneZero ServerVersion = "10" // OneZeroFullStopTwo ... OneZeroFullStopTwo ServerVersion = "10.2" // OneZeroFullStopZero ... OneZeroFullStopZero ServerVersion = "10.0" )
type SkuTier ¶
type SkuTier string
+kubebuilder:validation:Enum=Basic;GeneralPurpose;MemoryOptimized
type SslEnforcementEnum ¶
type SslEnforcementEnum string
+kubebuilder:validation:Enum=Enabled;Disabled
const ( // SslEnforcementEnumDisabled ... SslEnforcementEnumDisabled SslEnforcementEnum = "Disabled" // SslEnforcementEnumEnabled ... SslEnforcementEnumEnabled SslEnforcementEnum = "Enabled" )
Source Files ¶
- aso_types.go
- blobcontainer_conversion.go
- blobcontainer_types.go
- groupversion_info.go
- mysqlaaduser_conversion.go
- mysqlaaduser_types.go
- mysqlaaduser_webhook.go
- mysqlserver_conversion.go
- mysqlserver_types.go
- mysqluser_conversion.go
- mysqluser_types.go
- mysqluser_webhook.go
- postgresqlserver_conversion.go
- postgresqlserver_types.go
- sharedazuredbs_types.go
- zz_generated.deepcopy.go