Documentation ¶
Index ¶
- Variables
- func ConnectionUri(cluster *postgresclass.ClusterInstance, db string) string
- func UserOrDefault(user string) string
- type ClusterIntent
- func (*ClusterIntent) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterIntent) GetPasswordSecret() *schema.PackageRef
- func (x *ClusterIntent) GetServer() *schema.PackageRef
- func (*ClusterIntent) ProtoMessage()
- func (x *ClusterIntent) ProtoReflect() protoreflect.Message
- func (x *ClusterIntent) Reset()
- func (x *ClusterIntent) String() string
- type DatabaseIntent
- func (*DatabaseIntent) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseIntent) GetName() string
- func (x *DatabaseIntent) GetSchema() []*schema.FileContents
- func (x *DatabaseIntent) GetSkipSchemaInitializationIfExists() bool
- func (*DatabaseIntent) ProtoMessage()
- func (x *DatabaseIntent) ProtoReflect() protoreflect.Message
- func (x *DatabaseIntent) Reset()
- func (x *DatabaseIntent) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_library_oss_postgres_types_proto protoreflect.FileDescriptor
Functions ¶
func ConnectionUri ¶ added in v0.0.355
func ConnectionUri(cluster *postgresclass.ClusterInstance, db string) string
func UserOrDefault ¶ added in v0.0.355
Ensure backwards compatibility
Types ¶
type ClusterIntent ¶
type ClusterIntent struct { // If set, overrides the server package used to instantiate the local database cluster. Server *schema.PackageRef `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // If set, overrides the root password used to access the cluster. PasswordSecret *schema.PackageRef `protobuf:"bytes,2,opt,name=password_secret,json=passwordSecret,proto3" json:"password_secret,omitempty"` // contains filtered or unexported fields }
func (*ClusterIntent) Descriptor
deprecated
func (*ClusterIntent) Descriptor() ([]byte, []int)
Deprecated: Use ClusterIntent.ProtoReflect.Descriptor instead.
func (*ClusterIntent) GetPasswordSecret ¶
func (x *ClusterIntent) GetPasswordSecret() *schema.PackageRef
func (*ClusterIntent) GetServer ¶
func (x *ClusterIntent) GetServer() *schema.PackageRef
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 DatabaseIntent ¶ added in v0.0.118
type DatabaseIntent struct { // The database name is applied as is (e.g. it is case-sensitive). 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"` SkipSchemaInitializationIfExists bool `` /* 164-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DatabaseIntent) Descriptor
deprecated
added in
v0.0.118
func (*DatabaseIntent) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseIntent.ProtoReflect.Descriptor instead.
func (*DatabaseIntent) GetName ¶ added in v0.0.118
func (x *DatabaseIntent) GetName() string
func (*DatabaseIntent) GetSchema ¶ added in v0.0.118
func (x *DatabaseIntent) GetSchema() []*schema.FileContents
func (*DatabaseIntent) GetSkipSchemaInitializationIfExists ¶ added in v0.0.209
func (x *DatabaseIntent) GetSkipSchemaInitializationIfExists() bool
func (*DatabaseIntent) ProtoMessage ¶ added in v0.0.118
func (*DatabaseIntent) ProtoMessage()
func (*DatabaseIntent) ProtoReflect ¶ added in v0.0.118
func (x *DatabaseIntent) ProtoReflect() protoreflect.Message
func (*DatabaseIntent) Reset ¶ added in v0.0.118
func (x *DatabaseIntent) Reset()
func (*DatabaseIntent) String ¶ added in v0.0.118
func (x *DatabaseIntent) String() string
Click to show internal directories.
Click to hide internal directories.