postgres

package
v0.0.346 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_library_database_postgres_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClusterInstance

type ClusterInstance struct {

	// Format: host:port.
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	User     string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // TODO export as secret reference
	Host     string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	Port     string `protobuf:"bytes,4,opt,name=port,proto3" json:"port,omitempty"`
	CaCert   string `protobuf:"bytes,6,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"` // TODO export as secret reference
	SslMode  string `protobuf:"bytes,7,opt,name=ssl_mode,json=sslMode,proto3" json:"ssl_mode,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterInstance) Descriptor deprecated

func (*ClusterInstance) Descriptor() ([]byte, []int)

Deprecated: Use ClusterInstance.ProtoReflect.Descriptor instead.

func (*ClusterInstance) GetAddress added in v0.0.111

func (x *ClusterInstance) GetAddress() string

func (*ClusterInstance) GetCaCert added in v0.0.257

func (x *ClusterInstance) GetCaCert() string

func (*ClusterInstance) GetHost added in v0.0.190

func (x *ClusterInstance) GetHost() string

func (*ClusterInstance) GetPassword

func (x *ClusterInstance) GetPassword() string

func (*ClusterInstance) GetPort added in v0.0.190

func (x *ClusterInstance) GetPort() string

func (*ClusterInstance) GetSslMode added in v0.0.257

func (x *ClusterInstance) GetSslMode() string

func (*ClusterInstance) GetUser added in v0.0.257

func (x *ClusterInstance) GetUser() string

func (*ClusterInstance) ProtoMessage

func (*ClusterInstance) ProtoMessage()

func (*ClusterInstance) ProtoReflect

func (x *ClusterInstance) ProtoReflect() protoreflect.Message

func (*ClusterInstance) Reset

func (x *ClusterInstance) Reset()

func (*ClusterInstance) String

func (x *ClusterInstance) String() string

type DatabaseInstance

type DatabaseInstance struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// libpq-compliant Postgres connection URI.
	// Format: postgres://user:passwort@host:port/database?option=value
	// https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING
	ConnectionUri  string `protobuf:"bytes,3,opt,name=connection_uri,json=connectionUri,proto3" json:"connection_uri,omitempty"`
	User           string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	Password       string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	ClusterAddress string `protobuf:"bytes,6,opt,name=cluster_address,json=clusterAddress,proto3" json:"cluster_address,omitempty"`
	ClusterHost    string `protobuf:"bytes,7,opt,name=cluster_host,json=clusterHost,proto3" json:"cluster_host,omitempty"`
	ClusterPort    string `protobuf:"bytes,8,opt,name=cluster_port,json=clusterPort,proto3" json:"cluster_port,omitempty"`
	SslMode        string `protobuf:"bytes,9,opt,name=ssl_mode,json=sslMode,proto3" json:"ssl_mode,omitempty"`
	// contains filtered or unexported fields
}

func (*DatabaseInstance) Descriptor deprecated

func (*DatabaseInstance) Descriptor() ([]byte, []int)

Deprecated: Use DatabaseInstance.ProtoReflect.Descriptor instead.

func (*DatabaseInstance) GetClusterAddress added in v0.0.111

func (x *DatabaseInstance) GetClusterAddress() string

func (*DatabaseInstance) GetClusterHost added in v0.0.190

func (x *DatabaseInstance) GetClusterHost() string

func (*DatabaseInstance) GetClusterPort added in v0.0.190

func (x *DatabaseInstance) GetClusterPort() string

func (*DatabaseInstance) GetConnectionUri added in v0.0.111

func (x *DatabaseInstance) GetConnectionUri() string

func (*DatabaseInstance) GetName

func (x *DatabaseInstance) GetName() string

func (*DatabaseInstance) GetPassword added in v0.0.111

func (x *DatabaseInstance) GetPassword() string

func (*DatabaseInstance) GetSslMode added in v0.0.257

func (x *DatabaseInstance) GetSslMode() string

func (*DatabaseInstance) GetUser added in v0.0.111

func (x *DatabaseInstance) GetUser() string

func (*DatabaseInstance) ProtoMessage

func (*DatabaseInstance) ProtoMessage()

func (*DatabaseInstance) ProtoReflect

func (x *DatabaseInstance) ProtoReflect() protoreflect.Message

func (*DatabaseInstance) Reset

func (x *DatabaseInstance) Reset()

func (*DatabaseInstance) String

func (x *DatabaseInstance) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL