pg_sidecar

package
v0.0.0-...-0490640 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorDetails_Codes_name = map[int32]string{
	0: "SrcDbMissing",
}
View Source
var ErrorDetails_Codes_value = map[string]int32{
	"SrcDbMissing": 0,
}

Functions

func RegisterPGSidecarServer

func RegisterPGSidecarServer(s *grpc.Server, srv PGSidecarServer)

Types

type AlterRoleReq

type AlterRoleReq struct {
	Role                 string                `protobuf:"bytes,20,opt,name=role,proto3" json:"role,omitempty" toml:"role,omitempty" mapstructure:"role,omitempty"`
	With                 *AlterRoleReq_Options `protobuf:"bytes,21,opt,name=with,proto3" json:"with,omitempty" toml:"with,omitempty" mapstructure:"with,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*AlterRoleReq) Descriptor

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

func (*AlterRoleReq) GetRole

func (m *AlterRoleReq) GetRole() string

func (*AlterRoleReq) GetWith

func (m *AlterRoleReq) GetWith() *AlterRoleReq_Options

func (*AlterRoleReq) ProtoMessage

func (*AlterRoleReq) ProtoMessage()

func (*AlterRoleReq) Reset

func (m *AlterRoleReq) Reset()

func (*AlterRoleReq) String

func (m *AlterRoleReq) String() string

func (*AlterRoleReq) XXX_DiscardUnknown

func (m *AlterRoleReq) XXX_DiscardUnknown()

func (*AlterRoleReq) XXX_Marshal

func (m *AlterRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AlterRoleReq) XXX_Merge

func (dst *AlterRoleReq) XXX_Merge(src proto.Message)

func (*AlterRoleReq) XXX_Size

func (m *AlterRoleReq) XXX_Size() int

func (*AlterRoleReq) XXX_Unmarshal

func (m *AlterRoleReq) XXX_Unmarshal(b []byte) error

type AlterRoleReq_Options

type AlterRoleReq_Options struct {
	Superuser            bool                   `` /* 135-byte string literal not displayed */
	Nosuperuser          bool                   `` /* 143-byte string literal not displayed */
	Createdb             bool                   `` /* 131-byte string literal not displayed */
	Nocreatedb           bool                   `` /* 139-byte string literal not displayed */
	Createrole           bool                   `` /* 139-byte string literal not displayed */
	Nocreaterole         bool                   `` /* 147-byte string literal not displayed */
	Createuser           bool                   `` /* 139-byte string literal not displayed */
	Nocreateuser         bool                   `` /* 147-byte string literal not displayed */
	Inherit              bool                   `` /* 127-byte string literal not displayed */
	Noinherit            bool                   `` /* 135-byte string literal not displayed */
	Replication          bool                   `` /* 143-byte string literal not displayed */
	Noreplication        bool                   `` /* 151-byte string literal not displayed */
	ConnectionLimit      int64                  `` /* 184-byte string literal not displayed */
	Password             *AlterRoleReq_Password `` /* 130-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}               `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                  `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*AlterRoleReq_Options) Descriptor

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

func (*AlterRoleReq_Options) GetConnectionLimit

func (m *AlterRoleReq_Options) GetConnectionLimit() int64

func (*AlterRoleReq_Options) GetCreatedb

func (m *AlterRoleReq_Options) GetCreatedb() bool

func (*AlterRoleReq_Options) GetCreaterole

func (m *AlterRoleReq_Options) GetCreaterole() bool

func (*AlterRoleReq_Options) GetCreateuser

func (m *AlterRoleReq_Options) GetCreateuser() bool

func (*AlterRoleReq_Options) GetInherit

func (m *AlterRoleReq_Options) GetInherit() bool

func (*AlterRoleReq_Options) GetNocreatedb

func (m *AlterRoleReq_Options) GetNocreatedb() bool

func (*AlterRoleReq_Options) GetNocreaterole

func (m *AlterRoleReq_Options) GetNocreaterole() bool

func (*AlterRoleReq_Options) GetNocreateuser

func (m *AlterRoleReq_Options) GetNocreateuser() bool

func (*AlterRoleReq_Options) GetNoinherit

func (m *AlterRoleReq_Options) GetNoinherit() bool

func (*AlterRoleReq_Options) GetNoreplication

func (m *AlterRoleReq_Options) GetNoreplication() bool

func (*AlterRoleReq_Options) GetNosuperuser

func (m *AlterRoleReq_Options) GetNosuperuser() bool

func (*AlterRoleReq_Options) GetPassword

func (m *AlterRoleReq_Options) GetPassword() *AlterRoleReq_Password

func (*AlterRoleReq_Options) GetReplication

func (m *AlterRoleReq_Options) GetReplication() bool

func (*AlterRoleReq_Options) GetSuperuser

func (m *AlterRoleReq_Options) GetSuperuser() bool

func (*AlterRoleReq_Options) ProtoMessage

func (*AlterRoleReq_Options) ProtoMessage()

func (*AlterRoleReq_Options) Reset

func (m *AlterRoleReq_Options) Reset()

func (*AlterRoleReq_Options) String

func (m *AlterRoleReq_Options) String() string

func (*AlterRoleReq_Options) XXX_DiscardUnknown

func (m *AlterRoleReq_Options) XXX_DiscardUnknown()

func (*AlterRoleReq_Options) XXX_Marshal

func (m *AlterRoleReq_Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AlterRoleReq_Options) XXX_Merge

func (dst *AlterRoleReq_Options) XXX_Merge(src proto.Message)

func (*AlterRoleReq_Options) XXX_Size

func (m *AlterRoleReq_Options) XXX_Size() int

func (*AlterRoleReq_Options) XXX_Unmarshal

func (m *AlterRoleReq_Options) XXX_Unmarshal(b []byte) error

type AlterRoleReq_Password

type AlterRoleReq_Password struct {
	Value                string   `protobuf:"bytes,20,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" mapstructure:"value,omitempty"`
	Unencrypted          bool     `` /* 143-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*AlterRoleReq_Password) Descriptor

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

func (*AlterRoleReq_Password) GetUnencrypted

func (m *AlterRoleReq_Password) GetUnencrypted() bool

func (*AlterRoleReq_Password) GetValue

func (m *AlterRoleReq_Password) GetValue() string

func (*AlterRoleReq_Password) ProtoMessage

func (*AlterRoleReq_Password) ProtoMessage()

func (*AlterRoleReq_Password) Reset

func (m *AlterRoleReq_Password) Reset()

func (*AlterRoleReq_Password) String

func (m *AlterRoleReq_Password) String() string

func (*AlterRoleReq_Password) XXX_DiscardUnknown

func (m *AlterRoleReq_Password) XXX_DiscardUnknown()

func (*AlterRoleReq_Password) XXX_Marshal

func (m *AlterRoleReq_Password) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AlterRoleReq_Password) XXX_Merge

func (dst *AlterRoleReq_Password) XXX_Merge(src proto.Message)

func (*AlterRoleReq_Password) XXX_Size

func (m *AlterRoleReq_Password) XXX_Size() int

func (*AlterRoleReq_Password) XXX_Unmarshal

func (m *AlterRoleReq_Password) XXX_Unmarshal(b []byte) error

type AlterRoleRes

type AlterRoleRes struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*AlterRoleRes) Descriptor

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

func (*AlterRoleRes) ProtoMessage

func (*AlterRoleRes) ProtoMessage()

func (*AlterRoleRes) Reset

func (m *AlterRoleRes) Reset()

func (*AlterRoleRes) String

func (m *AlterRoleRes) String() string

func (*AlterRoleRes) XXX_DiscardUnknown

func (m *AlterRoleRes) XXX_DiscardUnknown()

func (*AlterRoleRes) XXX_Marshal

func (m *AlterRoleRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AlterRoleRes) XXX_Merge

func (dst *AlterRoleRes) XXX_Merge(src proto.Message)

func (*AlterRoleRes) XXX_Size

func (m *AlterRoleRes) XXX_Size() int

func (*AlterRoleRes) XXX_Unmarshal

func (m *AlterRoleRes) XXX_Unmarshal(b []byte) error

type CreateDBReq

type CreateDBReq struct {
	Db                   string   `protobuf:"bytes,20,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"`
	User                 string   `protobuf:"bytes,21,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*CreateDBReq) Descriptor

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

func (*CreateDBReq) GetDb

func (m *CreateDBReq) GetDb() string

func (*CreateDBReq) GetUser

func (m *CreateDBReq) GetUser() string

func (*CreateDBReq) ProtoMessage

func (*CreateDBReq) ProtoMessage()

func (*CreateDBReq) Reset

func (m *CreateDBReq) Reset()

func (*CreateDBReq) String

func (m *CreateDBReq) String() string

func (*CreateDBReq) XXX_DiscardUnknown

func (m *CreateDBReq) XXX_DiscardUnknown()

func (*CreateDBReq) XXX_Marshal

func (m *CreateDBReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDBReq) XXX_Merge

func (dst *CreateDBReq) XXX_Merge(src proto.Message)

func (*CreateDBReq) XXX_Size

func (m *CreateDBReq) XXX_Size() int

func (*CreateDBReq) XXX_Unmarshal

func (m *CreateDBReq) XXX_Unmarshal(b []byte) error

type CreateDBRes

type CreateDBRes struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*CreateDBRes) Descriptor

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

func (*CreateDBRes) ProtoMessage

func (*CreateDBRes) ProtoMessage()

func (*CreateDBRes) Reset

func (m *CreateDBRes) Reset()

func (*CreateDBRes) String

func (m *CreateDBRes) String() string

func (*CreateDBRes) XXX_DiscardUnknown

func (m *CreateDBRes) XXX_DiscardUnknown()

func (*CreateDBRes) XXX_Marshal

func (m *CreateDBRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDBRes) XXX_Merge

func (dst *CreateDBRes) XXX_Merge(src proto.Message)

func (*CreateDBRes) XXX_Size

func (m *CreateDBRes) XXX_Size() int

func (*CreateDBRes) XXX_Unmarshal

func (m *CreateDBRes) XXX_Unmarshal(b []byte) error

type CreateExtensionReq

type CreateExtensionReq struct {
	Db                   string   `protobuf:"bytes,20,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"`
	Ext                  string   `protobuf:"bytes,21,opt,name=ext,proto3" json:"ext,omitempty" toml:"ext,omitempty" mapstructure:"ext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*CreateExtensionReq) Descriptor

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

func (*CreateExtensionReq) GetDb

func (m *CreateExtensionReq) GetDb() string

func (*CreateExtensionReq) GetExt

func (m *CreateExtensionReq) GetExt() string

func (*CreateExtensionReq) ProtoMessage

func (*CreateExtensionReq) ProtoMessage()

func (*CreateExtensionReq) Reset

func (m *CreateExtensionReq) Reset()

func (*CreateExtensionReq) String

func (m *CreateExtensionReq) String() string

func (*CreateExtensionReq) XXX_DiscardUnknown

func (m *CreateExtensionReq) XXX_DiscardUnknown()

func (*CreateExtensionReq) XXX_Marshal

func (m *CreateExtensionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateExtensionReq) XXX_Merge

func (dst *CreateExtensionReq) XXX_Merge(src proto.Message)

func (*CreateExtensionReq) XXX_Size

func (m *CreateExtensionReq) XXX_Size() int

func (*CreateExtensionReq) XXX_Unmarshal

func (m *CreateExtensionReq) XXX_Unmarshal(b []byte) error

type CreateExtensionRes

type CreateExtensionRes struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*CreateExtensionRes) Descriptor

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

func (*CreateExtensionRes) ProtoMessage

func (*CreateExtensionRes) ProtoMessage()

func (*CreateExtensionRes) Reset

func (m *CreateExtensionRes) Reset()

func (*CreateExtensionRes) String

func (m *CreateExtensionRes) String() string

func (*CreateExtensionRes) XXX_DiscardUnknown

func (m *CreateExtensionRes) XXX_DiscardUnknown()

func (*CreateExtensionRes) XXX_Marshal

func (m *CreateExtensionRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateExtensionRes) XXX_Merge

func (dst *CreateExtensionRes) XXX_Merge(src proto.Message)

func (*CreateExtensionRes) XXX_Size

func (m *CreateExtensionRes) XXX_Size() int

func (*CreateExtensionRes) XXX_Unmarshal

func (m *CreateExtensionRes) XXX_Unmarshal(b []byte) error

type DeploySqitchReq

type DeploySqitchReq struct {
	Db                   string   `protobuf:"bytes,20,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"`
	Dir                  string   `protobuf:"bytes,21,opt,name=dir,proto3" json:"dir,omitempty" toml:"dir,omitempty" mapstructure:"dir,omitempty"`
	User                 string   `protobuf:"bytes,22,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*DeploySqitchReq) Descriptor

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

func (*DeploySqitchReq) GetDb

func (m *DeploySqitchReq) GetDb() string

func (*DeploySqitchReq) GetDir

func (m *DeploySqitchReq) GetDir() string

func (*DeploySqitchReq) GetUser

func (m *DeploySqitchReq) GetUser() string

func (*DeploySqitchReq) ProtoMessage

func (*DeploySqitchReq) ProtoMessage()

func (*DeploySqitchReq) Reset

func (m *DeploySqitchReq) Reset()

func (*DeploySqitchReq) String

func (m *DeploySqitchReq) String() string

func (*DeploySqitchReq) XXX_DiscardUnknown

func (m *DeploySqitchReq) XXX_DiscardUnknown()

func (*DeploySqitchReq) XXX_Marshal

func (m *DeploySqitchReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeploySqitchReq) XXX_Merge

func (dst *DeploySqitchReq) XXX_Merge(src proto.Message)

func (*DeploySqitchReq) XXX_Size

func (m *DeploySqitchReq) XXX_Size() int

func (*DeploySqitchReq) XXX_Unmarshal

func (m *DeploySqitchReq) XXX_Unmarshal(b []byte) error

type DeploySqitchRes

type DeploySqitchRes struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*DeploySqitchRes) Descriptor

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

func (*DeploySqitchRes) ProtoMessage

func (*DeploySqitchRes) ProtoMessage()

func (*DeploySqitchRes) Reset

func (m *DeploySqitchRes) Reset()

func (*DeploySqitchRes) String

func (m *DeploySqitchRes) String() string

func (*DeploySqitchRes) XXX_DiscardUnknown

func (m *DeploySqitchRes) XXX_DiscardUnknown()

func (*DeploySqitchRes) XXX_Marshal

func (m *DeploySqitchRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeploySqitchRes) XXX_Merge

func (dst *DeploySqitchRes) XXX_Merge(src proto.Message)

func (*DeploySqitchRes) XXX_Size

func (m *DeploySqitchRes) XXX_Size() int

func (*DeploySqitchRes) XXX_Unmarshal

func (m *DeploySqitchRes) XXX_Unmarshal(b []byte) error

type DropTablesReq

type DropTablesReq struct {
	Db                   string   `protobuf:"bytes,20,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"`
	Tables               []string `protobuf:"bytes,21,rep,name=tables,proto3" json:"tables,omitempty" toml:"tables,omitempty" mapstructure:"tables,omitempty"`
	Cascade              bool     `` /* 127-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*DropTablesReq) Descriptor

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

func (*DropTablesReq) GetCascade

func (m *DropTablesReq) GetCascade() bool

func (*DropTablesReq) GetDb

func (m *DropTablesReq) GetDb() string

func (*DropTablesReq) GetTables

func (m *DropTablesReq) GetTables() []string

func (*DropTablesReq) ProtoMessage

func (*DropTablesReq) ProtoMessage()

func (*DropTablesReq) Reset

func (m *DropTablesReq) Reset()

func (*DropTablesReq) String

func (m *DropTablesReq) String() string

func (*DropTablesReq) XXX_DiscardUnknown

func (m *DropTablesReq) XXX_DiscardUnknown()

func (*DropTablesReq) XXX_Marshal

func (m *DropTablesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DropTablesReq) XXX_Merge

func (dst *DropTablesReq) XXX_Merge(src proto.Message)

func (*DropTablesReq) XXX_Size

func (m *DropTablesReq) XXX_Size() int

func (*DropTablesReq) XXX_Unmarshal

func (m *DropTablesReq) XXX_Unmarshal(b []byte) error

type DropTablesRes

type DropTablesRes struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*DropTablesRes) Descriptor

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

func (*DropTablesRes) ProtoMessage

func (*DropTablesRes) ProtoMessage()

func (*DropTablesRes) Reset

func (m *DropTablesRes) Reset()

func (*DropTablesRes) String

func (m *DropTablesRes) String() string

func (*DropTablesRes) XXX_DiscardUnknown

func (m *DropTablesRes) XXX_DiscardUnknown()

func (*DropTablesRes) XXX_Marshal

func (m *DropTablesRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DropTablesRes) XXX_Merge

func (dst *DropTablesRes) XXX_Merge(src proto.Message)

func (*DropTablesRes) XXX_Size

func (m *DropTablesRes) XXX_Size() int

func (*DropTablesRes) XXX_Unmarshal

func (m *DropTablesRes) XXX_Unmarshal(b []byte) error

type ErrorDetails

type ErrorDetails struct {
	Code                 ErrorDetails_Codes `` /* 170-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}           `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte             `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32              `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*ErrorDetails) Descriptor

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

func (*ErrorDetails) GetCode

func (m *ErrorDetails) GetCode() ErrorDetails_Codes

func (*ErrorDetails) ProtoMessage

func (*ErrorDetails) ProtoMessage()

func (*ErrorDetails) Reset

func (m *ErrorDetails) Reset()

func (*ErrorDetails) String

func (m *ErrorDetails) String() string

func (*ErrorDetails) XXX_DiscardUnknown

func (m *ErrorDetails) XXX_DiscardUnknown()

func (*ErrorDetails) XXX_Marshal

func (m *ErrorDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ErrorDetails) XXX_Merge

func (dst *ErrorDetails) XXX_Merge(src proto.Message)

func (*ErrorDetails) XXX_Size

func (m *ErrorDetails) XXX_Size() int

func (*ErrorDetails) XXX_Unmarshal

func (m *ErrorDetails) XXX_Unmarshal(b []byte) error

type ErrorDetails_Codes

type ErrorDetails_Codes int32
const (
	ErrorDetails_SrcDbMissing ErrorDetails_Codes = 0
)

func (ErrorDetails_Codes) EnumDescriptor

func (ErrorDetails_Codes) EnumDescriptor() ([]byte, []int)

func (ErrorDetails_Codes) String

func (x ErrorDetails_Codes) String() string

type MigrateTablesReq

type MigrateTablesReq struct {
	FromDb               string   `` /* 138-byte string literal not displayed */
	ToDb                 string   `` /* 128-byte string literal not displayed */
	Table                []string `protobuf:"bytes,22,rep,name=table,proto3" json:"table,omitempty" toml:"table,omitempty" mapstructure:"table,omitempty"`
	ImportUser           string   `` /* 158-byte string literal not displayed */
	FailIfSrcDbMissing   bool     `` /* 211-byte string literal not displayed */
	SkipDbCreate         bool     `` /* 173-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*MigrateTablesReq) Descriptor

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

func (*MigrateTablesReq) GetFailIfSrcDbMissing

func (m *MigrateTablesReq) GetFailIfSrcDbMissing() bool

func (*MigrateTablesReq) GetFromDb

func (m *MigrateTablesReq) GetFromDb() string

func (*MigrateTablesReq) GetImportUser

func (m *MigrateTablesReq) GetImportUser() string

func (*MigrateTablesReq) GetSkipDbCreate

func (m *MigrateTablesReq) GetSkipDbCreate() bool

func (*MigrateTablesReq) GetTable

func (m *MigrateTablesReq) GetTable() []string

func (*MigrateTablesReq) GetToDb

func (m *MigrateTablesReq) GetToDb() string

func (*MigrateTablesReq) ProtoMessage

func (*MigrateTablesReq) ProtoMessage()

func (*MigrateTablesReq) Reset

func (m *MigrateTablesReq) Reset()

func (*MigrateTablesReq) String

func (m *MigrateTablesReq) String() string

func (*MigrateTablesReq) XXX_DiscardUnknown

func (m *MigrateTablesReq) XXX_DiscardUnknown()

func (*MigrateTablesReq) XXX_Marshal

func (m *MigrateTablesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MigrateTablesReq) XXX_Merge

func (dst *MigrateTablesReq) XXX_Merge(src proto.Message)

func (*MigrateTablesReq) XXX_Size

func (m *MigrateTablesReq) XXX_Size() int

func (*MigrateTablesReq) XXX_Unmarshal

func (m *MigrateTablesReq) XXX_Unmarshal(b []byte) error

type MigrateTablesRes

type MigrateTablesRes struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*MigrateTablesRes) Descriptor

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

func (*MigrateTablesRes) ProtoMessage

func (*MigrateTablesRes) ProtoMessage()

func (*MigrateTablesRes) Reset

func (m *MigrateTablesRes) Reset()

func (*MigrateTablesRes) String

func (m *MigrateTablesRes) String() string

func (*MigrateTablesRes) XXX_DiscardUnknown

func (m *MigrateTablesRes) XXX_DiscardUnknown()

func (*MigrateTablesRes) XXX_Marshal

func (m *MigrateTablesRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MigrateTablesRes) XXX_Merge

func (dst *MigrateTablesRes) XXX_Merge(src proto.Message)

func (*MigrateTablesRes) XXX_Size

func (m *MigrateTablesRes) XXX_Size() int

func (*MigrateTablesRes) XXX_Unmarshal

func (m *MigrateTablesRes) XXX_Unmarshal(b []byte) error

type PGSidecarClient

type PGSidecarClient interface {
	MigrateTables(ctx context.Context, in *MigrateTablesReq, opts ...grpc.CallOption) (*MigrateTablesRes, error)
	RenameDB(ctx context.Context, in *RenameDBReq, opts ...grpc.CallOption) (*RenameDBRes, error)
	CreateDB(ctx context.Context, in *CreateDBReq, opts ...grpc.CallOption) (*CreateDBRes, error)
	CreateExtension(ctx context.Context, in *CreateExtensionReq, opts ...grpc.CallOption) (*CreateExtensionRes, error)
	DeploySqitch(ctx context.Context, in *DeploySqitchReq, opts ...grpc.CallOption) (*DeploySqitchRes, error)
	SetPublicSchemaRole(ctx context.Context, in *SetPublicSchemaRoleReq, opts ...grpc.CallOption) (*SetPublicSchemaRoleRes, error)
	AlterRole(ctx context.Context, in *AlterRoleReq, opts ...grpc.CallOption) (*AlterRoleRes, error)
	DropTables(ctx context.Context, in *DropTablesReq, opts ...grpc.CallOption) (*DropTablesRes, error)
}

PGSidecarClient is the client API for PGSidecar service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPGSidecarClient

func NewPGSidecarClient(cc *grpc.ClientConn) PGSidecarClient

type PGSidecarServer

PGSidecarServer is the server API for PGSidecar service.

type RenameDBReq

type RenameDBReq struct {
	FromDb               string   `` /* 138-byte string literal not displayed */
	ToDb                 string   `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*RenameDBReq) Descriptor

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

func (*RenameDBReq) GetFromDb

func (m *RenameDBReq) GetFromDb() string

func (*RenameDBReq) GetToDb

func (m *RenameDBReq) GetToDb() string

func (*RenameDBReq) ProtoMessage

func (*RenameDBReq) ProtoMessage()

func (*RenameDBReq) Reset

func (m *RenameDBReq) Reset()

func (*RenameDBReq) String

func (m *RenameDBReq) String() string

func (*RenameDBReq) XXX_DiscardUnknown

func (m *RenameDBReq) XXX_DiscardUnknown()

func (*RenameDBReq) XXX_Marshal

func (m *RenameDBReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RenameDBReq) XXX_Merge

func (dst *RenameDBReq) XXX_Merge(src proto.Message)

func (*RenameDBReq) XXX_Size

func (m *RenameDBReq) XXX_Size() int

func (*RenameDBReq) XXX_Unmarshal

func (m *RenameDBReq) XXX_Unmarshal(b []byte) error

type RenameDBRes

type RenameDBRes struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*RenameDBRes) Descriptor

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

func (*RenameDBRes) ProtoMessage

func (*RenameDBRes) ProtoMessage()

func (*RenameDBRes) Reset

func (m *RenameDBRes) Reset()

func (*RenameDBRes) String

func (m *RenameDBRes) String() string

func (*RenameDBRes) XXX_DiscardUnknown

func (m *RenameDBRes) XXX_DiscardUnknown()

func (*RenameDBRes) XXX_Marshal

func (m *RenameDBRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RenameDBRes) XXX_Merge

func (dst *RenameDBRes) XXX_Merge(src proto.Message)

func (*RenameDBRes) XXX_Size

func (m *RenameDBRes) XXX_Size() int

func (*RenameDBRes) XXX_Unmarshal

func (m *RenameDBRes) XXX_Unmarshal(b []byte) error

type SetPublicSchemaRoleReq

type SetPublicSchemaRoleReq struct {
	Role                 string   `protobuf:"bytes,20,opt,name=role,proto3" json:"role,omitempty" toml:"role,omitempty" mapstructure:"role,omitempty"`
	Db                   string   `protobuf:"bytes,21,opt,name=db,proto3" json:"db,omitempty" toml:"db,omitempty" mapstructure:"db,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*SetPublicSchemaRoleReq) Descriptor

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

func (*SetPublicSchemaRoleReq) GetDb

func (m *SetPublicSchemaRoleReq) GetDb() string

func (*SetPublicSchemaRoleReq) GetRole

func (m *SetPublicSchemaRoleReq) GetRole() string

func (*SetPublicSchemaRoleReq) ProtoMessage

func (*SetPublicSchemaRoleReq) ProtoMessage()

func (*SetPublicSchemaRoleReq) Reset

func (m *SetPublicSchemaRoleReq) Reset()

func (*SetPublicSchemaRoleReq) String

func (m *SetPublicSchemaRoleReq) String() string

func (*SetPublicSchemaRoleReq) XXX_DiscardUnknown

func (m *SetPublicSchemaRoleReq) XXX_DiscardUnknown()

func (*SetPublicSchemaRoleReq) XXX_Marshal

func (m *SetPublicSchemaRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetPublicSchemaRoleReq) XXX_Merge

func (dst *SetPublicSchemaRoleReq) XXX_Merge(src proto.Message)

func (*SetPublicSchemaRoleReq) XXX_Size

func (m *SetPublicSchemaRoleReq) XXX_Size() int

func (*SetPublicSchemaRoleReq) XXX_Unmarshal

func (m *SetPublicSchemaRoleReq) XXX_Unmarshal(b []byte) error

type SetPublicSchemaRoleRes

type SetPublicSchemaRoleRes struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*SetPublicSchemaRoleRes) Descriptor

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

func (*SetPublicSchemaRoleRes) ProtoMessage

func (*SetPublicSchemaRoleRes) ProtoMessage()

func (*SetPublicSchemaRoleRes) Reset

func (m *SetPublicSchemaRoleRes) Reset()

func (*SetPublicSchemaRoleRes) String

func (m *SetPublicSchemaRoleRes) String() string

func (*SetPublicSchemaRoleRes) XXX_DiscardUnknown

func (m *SetPublicSchemaRoleRes) XXX_DiscardUnknown()

func (*SetPublicSchemaRoleRes) XXX_Marshal

func (m *SetPublicSchemaRoleRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetPublicSchemaRoleRes) XXX_Merge

func (dst *SetPublicSchemaRoleRes) XXX_Merge(src proto.Message)

func (*SetPublicSchemaRoleRes) XXX_Size

func (m *SetPublicSchemaRoleRes) XXX_Size() int

func (*SetPublicSchemaRoleRes) XXX_Unmarshal

func (m *SetPublicSchemaRoleRes) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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