postgres

package
v0.0.152 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 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"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // TODO export as secret reference
	// 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) GetPassword

func (x *ClusterInstance) GetPassword() 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
	// 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"`
	// 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) 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) 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