Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalPostgresqlUserConfig ¶
type ExternalPostgresqlUserConfig struct {
// +kubebuilder:validation:MaxLength=63
// +kubebuilder:validation:Pattern=`^[_A-Za-z0-9][-_A-Za-z0-9]{0,62}$`
// Default database
DefaultDatabase *string `groups:"create,update" json:"default_database,omitempty"`
// +kubebuilder:validation:MaxLength=255
// Hostname or IP address of the server
Host string `groups:"create,update" json:"host"`
// +kubebuilder:validation:MaxLength=256
// Password
Password *string `groups:"create,update" json:"password,omitempty"`
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=65535
// Port number of the server
Port int `groups:"create,update" json:"port"`
// +kubebuilder:validation:MaxLength=16384
// Client certificate
SslClientCertificate *string `groups:"create,update" json:"ssl_client_certificate,omitempty"`
// +kubebuilder:validation:MaxLength=16384
// Client key
SslClientKey *string `groups:"create,update" json:"ssl_client_key,omitempty"`
// +kubebuilder:validation:Enum="prefer";"require";"verify-ca";"verify-full"
// SSL mode to use for the connection. Please note that Aiven requires TLS for all connections to external PostgreSQL services. Deprecated values: `prefer`
SslMode *string `groups:"create,update" json:"ssl_mode,omitempty"`
// +kubebuilder:validation:MaxLength=16384
// SSL Root Cert
SslRootCert *string `groups:"create,update" json:"ssl_root_cert,omitempty"`
// +kubebuilder:validation:MaxLength=256
// User name
Username string `groups:"create,update" json:"username"`
}
func (*ExternalPostgresqlUserConfig) DeepCopy ¶
func (in *ExternalPostgresqlUserConfig) DeepCopy() *ExternalPostgresqlUserConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalPostgresqlUserConfig.
func (*ExternalPostgresqlUserConfig) DeepCopyInto ¶
func (in *ExternalPostgresqlUserConfig) DeepCopyInto(out *ExternalPostgresqlUserConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.