psdbv1alpha1

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 10 Imported by: 0

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 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 string `protobuf:"bytes,3,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() string

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 string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Query   string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteRequest) Descriptor deprecated

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

Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.

func (*ExecuteRequest) GetQuery

func (x *ExecuteRequest) GetQuery() string

func (*ExecuteRequest) GetSession

func (x *ExecuteRequest) GetSession() string

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 string             `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Result  *query.QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	Error   *vtrpc.RPCError    `protobuf:"bytes,3,opt,name=error,proto3" json:"error,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() *vtrpc.RPCError

func (*ExecuteResponse) GetResult

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

func (*ExecuteResponse) GetSession

func (x *ExecuteResponse) GetSession() string

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 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"`
	// 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) 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