psdbv1alpha1

package
v0.0.0-...-6848e72 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_psdb_v1alpha1_database_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CloseSessionRequest

type CloseSessionRequest struct {
	Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	// contains filtered or unexported fields
}

func (*CloseSessionRequest) Descriptor deprecated

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

Deprecated: Use CloseSessionRequest.ProtoReflect.Descriptor instead.

func (*CloseSessionRequest) GetSession

func (x *CloseSessionRequest) GetSession() *Session

func (*CloseSessionRequest) MarshalToSizedBufferVT

func (m *CloseSessionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CloseSessionRequest) MarshalToVT

func (m *CloseSessionRequest) MarshalToVT(dAtA []byte) (int, error)

func (*CloseSessionRequest) MarshalVT

func (m *CloseSessionRequest) MarshalVT() (dAtA []byte, err error)

func (*CloseSessionRequest) ProtoMessage

func (*CloseSessionRequest) ProtoMessage()

func (*CloseSessionRequest) ProtoReflect

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

func (*CloseSessionRequest) Reset

func (x *CloseSessionRequest) Reset()

func (*CloseSessionRequest) SizeVT

func (m *CloseSessionRequest) SizeVT() (n int)

func (*CloseSessionRequest) String

func (x *CloseSessionRequest) String() string

func (*CloseSessionRequest) UnmarshalVT

func (m *CloseSessionRequest) UnmarshalVT(dAtA []byte) error

type CloseSessionResponse

type CloseSessionResponse struct {
	Session *Session       `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Error   *v161.RPCError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CloseSessionResponse) Descriptor deprecated

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

Deprecated: Use CloseSessionResponse.ProtoReflect.Descriptor instead.

func (*CloseSessionResponse) GetError

func (x *CloseSessionResponse) GetError() *v161.RPCError

func (*CloseSessionResponse) GetSession

func (x *CloseSessionResponse) GetSession() *Session

func (*CloseSessionResponse) MarshalToSizedBufferVT

func (m *CloseSessionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CloseSessionResponse) MarshalToVT

func (m *CloseSessionResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CloseSessionResponse) MarshalVT

func (m *CloseSessionResponse) MarshalVT() (dAtA []byte, err error)

func (*CloseSessionResponse) ProtoMessage

func (*CloseSessionResponse) ProtoMessage()

func (*CloseSessionResponse) ProtoReflect

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

func (*CloseSessionResponse) Reset

func (x *CloseSessionResponse) Reset()

func (*CloseSessionResponse) SizeVT

func (m *CloseSessionResponse) SizeVT() (n int)

func (*CloseSessionResponse) String

func (x *CloseSessionResponse) String() string

func (*CloseSessionResponse) UnmarshalVT

func (m *CloseSessionResponse) UnmarshalVT(dAtA []byte) error

type CreateSessionRequest

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

func (*CreateSessionRequest) Descriptor deprecated

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

Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.

func (*CreateSessionRequest) MarshalToSizedBufferVT

func (m *CreateSessionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateSessionRequest) MarshalToVT

func (m *CreateSessionRequest) MarshalToVT(dAtA []byte) (int, error)

func (*CreateSessionRequest) MarshalVT

func (m *CreateSessionRequest) MarshalVT() (dAtA []byte, err error)

func (*CreateSessionRequest) ProtoMessage

func (*CreateSessionRequest) ProtoMessage()

func (*CreateSessionRequest) ProtoReflect

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

func (*CreateSessionRequest) Reset

func (x *CreateSessionRequest) Reset()

func (*CreateSessionRequest) SizeVT

func (m *CreateSessionRequest) SizeVT() (n int)

func (*CreateSessionRequest) String

func (x *CreateSessionRequest) String() string

func (*CreateSessionRequest) UnmarshalVT

func (m *CreateSessionRequest) UnmarshalVT(dAtA []byte) error

type CreateSessionResponse

type CreateSessionResponse struct {
	Branch  string   `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
	User    *User    `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	Session *Session `protobuf:"bytes,4,opt,name=session,proto3" json:"session,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSessionResponse) Descriptor deprecated

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

Deprecated: Use CreateSessionResponse.ProtoReflect.Descriptor instead.

func (*CreateSessionResponse) GetBranch

func (x *CreateSessionResponse) GetBranch() string

func (*CreateSessionResponse) GetSession

func (x *CreateSessionResponse) GetSession() *Session

func (*CreateSessionResponse) GetUser

func (x *CreateSessionResponse) GetUser() *User

func (*CreateSessionResponse) MarshalToSizedBufferVT

func (m *CreateSessionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateSessionResponse) MarshalToVT

func (m *CreateSessionResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CreateSessionResponse) MarshalVT

func (m *CreateSessionResponse) MarshalVT() (dAtA []byte, err error)

func (*CreateSessionResponse) ProtoMessage

func (*CreateSessionResponse) ProtoMessage()

func (*CreateSessionResponse) ProtoReflect

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

func (*CreateSessionResponse) Reset

func (x *CreateSessionResponse) Reset()

func (*CreateSessionResponse) SizeVT

func (m *CreateSessionResponse) SizeVT() (n int)

func (*CreateSessionResponse) String

func (x *CreateSessionResponse) String() string

func (*CreateSessionResponse) UnmarshalVT

func (m *CreateSessionResponse) UnmarshalVT(dAtA []byte) error

type ExecuteRequest

type ExecuteRequest struct {
	Session       *Session                     `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Query         string                       `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	BindVariables map[string]*v16.BindVariable `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ExecuteRequest) Descriptor deprecated

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

Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.

func (*ExecuteRequest) GetBindVariables

func (x *ExecuteRequest) GetBindVariables() map[string]*v16.BindVariable

func (*ExecuteRequest) GetQuery

func (x *ExecuteRequest) GetQuery() string

func (*ExecuteRequest) GetSession

func (x *ExecuteRequest) GetSession() *Session

func (*ExecuteRequest) MarshalToSizedBufferVT

func (m *ExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ExecuteRequest) MarshalToVT

func (m *ExecuteRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ExecuteRequest) MarshalVT

func (m *ExecuteRequest) MarshalVT() (dAtA []byte, err error)

func (*ExecuteRequest) ProtoMessage

func (*ExecuteRequest) ProtoMessage()

func (*ExecuteRequest) ProtoReflect

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

func (*ExecuteRequest) Reset

func (x *ExecuteRequest) Reset()

func (*ExecuteRequest) SizeVT

func (m *ExecuteRequest) SizeVT() (n int)

func (*ExecuteRequest) String

func (x *ExecuteRequest) String() string

func (*ExecuteRequest) UnmarshalVT

func (m *ExecuteRequest) UnmarshalVT(dAtA []byte) error

type ExecuteResponse

type ExecuteResponse struct {
	Session *Session         `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Result  *v16.QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	Error   *v161.RPCError   `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// optional timing, in seconds, for the response, if empty or 0, this wasn't set
	// does not exist in the response from a StreamExecute.
	Timing float64 `protobuf:"fixed64,4,opt,name=timing,proto3" json:"timing,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteResponse) Descriptor deprecated

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

Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.

func (*ExecuteResponse) GetError

func (x *ExecuteResponse) GetError() *v161.RPCError

func (*ExecuteResponse) GetResult

func (x *ExecuteResponse) GetResult() *v16.QueryResult

func (*ExecuteResponse) GetSession

func (x *ExecuteResponse) GetSession() *Session

func (*ExecuteResponse) GetTiming

func (x *ExecuteResponse) GetTiming() float64

func (*ExecuteResponse) MarshalToSizedBufferVT

func (m *ExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ExecuteResponse) MarshalToVT

func (m *ExecuteResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ExecuteResponse) MarshalVT

func (m *ExecuteResponse) MarshalVT() (dAtA []byte, err error)

func (*ExecuteResponse) ProtoMessage

func (*ExecuteResponse) ProtoMessage()

func (*ExecuteResponse) ProtoReflect

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

func (*ExecuteResponse) Reset

func (x *ExecuteResponse) Reset()

func (*ExecuteResponse) SizeVT

func (m *ExecuteResponse) SizeVT() (n int)

func (*ExecuteResponse) String

func (x *ExecuteResponse) String() string

func (*ExecuteResponse) UnmarshalVT

func (m *ExecuteResponse) UnmarshalVT(dAtA []byte) error

type PrepareRequest

type PrepareRequest struct {
	Session       *Session                     `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Query         string                       `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	BindVariables map[string]*v16.BindVariable `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PrepareRequest) Descriptor deprecated

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

Deprecated: Use PrepareRequest.ProtoReflect.Descriptor instead.

func (*PrepareRequest) GetBindVariables

func (x *PrepareRequest) GetBindVariables() map[string]*v16.BindVariable

func (*PrepareRequest) GetQuery

func (x *PrepareRequest) GetQuery() string

func (*PrepareRequest) GetSession

func (x *PrepareRequest) GetSession() *Session

func (*PrepareRequest) MarshalToSizedBufferVT

func (m *PrepareRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PrepareRequest) MarshalToVT

func (m *PrepareRequest) MarshalToVT(dAtA []byte) (int, error)

func (*PrepareRequest) MarshalVT

func (m *PrepareRequest) MarshalVT() (dAtA []byte, err error)

func (*PrepareRequest) ProtoMessage

func (*PrepareRequest) ProtoMessage()

func (*PrepareRequest) ProtoReflect

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

func (*PrepareRequest) Reset

func (x *PrepareRequest) Reset()

func (*PrepareRequest) SizeVT

func (m *PrepareRequest) SizeVT() (n int)

func (*PrepareRequest) String

func (x *PrepareRequest) String() string

func (*PrepareRequest) UnmarshalVT

func (m *PrepareRequest) UnmarshalVT(dAtA []byte) error

type PrepareResponse

type PrepareResponse struct {
	Session *Session       `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Fields  []*v16.Field   `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	Error   *v161.RPCError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*PrepareResponse) Descriptor deprecated

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

Deprecated: Use PrepareResponse.ProtoReflect.Descriptor instead.

func (*PrepareResponse) GetError

func (x *PrepareResponse) GetError() *v161.RPCError

func (*PrepareResponse) GetFields

func (x *PrepareResponse) GetFields() []*v16.Field

func (*PrepareResponse) GetSession

func (x *PrepareResponse) GetSession() *Session

func (*PrepareResponse) MarshalToSizedBufferVT

func (m *PrepareResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PrepareResponse) MarshalToVT

func (m *PrepareResponse) MarshalToVT(dAtA []byte) (int, error)

func (*PrepareResponse) MarshalVT

func (m *PrepareResponse) MarshalVT() (dAtA []byte, err error)

func (*PrepareResponse) ProtoMessage

func (*PrepareResponse) ProtoMessage()

func (*PrepareResponse) ProtoReflect

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

func (*PrepareResponse) Reset

func (x *PrepareResponse) Reset()

func (*PrepareResponse) SizeVT

func (m *PrepareResponse) SizeVT() (n int)

func (*PrepareResponse) String

func (x *PrepareResponse) String() string

func (*PrepareResponse) UnmarshalVT

func (m *PrepareResponse) UnmarshalVT(dAtA []byte) error

type Session

type Session struct {
	Signature     []byte        `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	VitessSession *v162.Session `protobuf:"bytes,2,opt,name=vitess_session,json=vitessSession,proto3" json:"vitess_session,omitempty"`
	// contains filtered or unexported fields
}

func (*Session) Descriptor deprecated

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

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetSignature

func (x *Session) GetSignature() []byte

func (*Session) GetVitessSession

func (x *Session) GetVitessSession() *v162.Session

func (*Session) MarshalToSizedBufferVT

func (m *Session) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Session) MarshalToVT

func (m *Session) MarshalToVT(dAtA []byte) (int, error)

func (*Session) MarshalVT

func (m *Session) MarshalVT() (dAtA []byte, err error)

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

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

func (*Session) Reset

func (x *Session) Reset()

func (*Session) SizeVT

func (m *Session) SizeVT() (n int)

func (*Session) String

func (x *Session) String() string

func (*Session) UnmarshalVT

func (m *Session) UnmarshalVT(dAtA []byte) error

type User

type User struct {
	Username string  `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Psid     string  `protobuf:"bytes,2,opt,name=psid,proto3" json:"psid,omitempty"`
	Role     v1.Role `protobuf:"varint,3,opt,name=role,proto3,enum=psdb.data.v1.Role" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetPsid

func (x *User) GetPsid() string

func (*User) GetRole

func (x *User) GetRole() v1.Role

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) MarshalToSizedBufferVT

func (m *User) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*User) MarshalToVT

func (m *User) MarshalToVT(dAtA []byte) (int, error)

func (*User) MarshalVT

func (m *User) MarshalVT() (dAtA []byte, err error)

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) SizeVT

func (m *User) SizeVT() (n int)

func (*User) String

func (x *User) String() string

func (*User) UnmarshalVT

func (m *User) UnmarshalVT(dAtA []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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