externalpostgresqluserconfig

package
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

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="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.
	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

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

func (*ExternalPostgresqlUserConfig) DeepCopyInto

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