postgres

package
v0.0.113 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_library_database_postgres_cluster_proto protoreflect.FileDescriptor
View Source
var File_library_database_postgres_database_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 ClusterIntent

type ClusterIntent struct {
	// contains filtered or unexported fields
}

func (*ClusterIntent) Descriptor deprecated

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

Deprecated: Use ClusterIntent.ProtoReflect.Descriptor instead.

func (*ClusterIntent) ProtoMessage

func (*ClusterIntent) ProtoMessage()

func (*ClusterIntent) ProtoReflect

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

func (*ClusterIntent) Reset

func (x *ClusterIntent) Reset()

func (*ClusterIntent) String

func (x *ClusterIntent) 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

type DatabaseIntent

type DatabaseIntent struct {
	Name   string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Schema []*schema.FileContents `protobuf:"bytes,2,rep,name=schema,proto3" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

func (*DatabaseIntent) Descriptor deprecated

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

Deprecated: Use DatabaseIntent.ProtoReflect.Descriptor instead.

func (*DatabaseIntent) GetName

func (x *DatabaseIntent) GetName() string

func (*DatabaseIntent) GetSchema

func (x *DatabaseIntent) GetSchema() []*schema.FileContents

func (*DatabaseIntent) ProtoMessage

func (*DatabaseIntent) ProtoMessage()

func (*DatabaseIntent) ProtoReflect

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

func (*DatabaseIntent) Reset

func (x *DatabaseIntent) Reset()

func (*DatabaseIntent) String

func (x *DatabaseIntent) String() string

Jump to

Keyboard shortcuts

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