Documentation ¶
Index ¶
- Variables
- func RegisterQuickServer(s *grpc.Server, srv QuickServer)
- type CreateEphemeralDatabaseRequest
- func (*CreateEphemeralDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEphemeralDatabaseRequest) GetEngine() string
- func (x *CreateEphemeralDatabaseRequest) GetMigrations() []string
- func (x *CreateEphemeralDatabaseRequest) GetRegion() string
- func (x *CreateEphemeralDatabaseRequest) GetServerId() string
- func (*CreateEphemeralDatabaseRequest) ProtoMessage()
- func (x *CreateEphemeralDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEphemeralDatabaseRequest) Reset()
- func (x *CreateEphemeralDatabaseRequest) String() string
- type CreateEphemeralDatabaseResponse
- func (*CreateEphemeralDatabaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEphemeralDatabaseResponse) GetDatabaseId() string
- func (x *CreateEphemeralDatabaseResponse) GetUri() string
- func (*CreateEphemeralDatabaseResponse) ProtoMessage()
- func (x *CreateEphemeralDatabaseResponse) ProtoReflect() protoreflect.Message
- func (x *CreateEphemeralDatabaseResponse) Reset()
- func (x *CreateEphemeralDatabaseResponse) String() string
- type DropEphemeralDatabaseRequest
- func (*DropEphemeralDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DropEphemeralDatabaseRequest) GetDatabaseId() string
- func (*DropEphemeralDatabaseRequest) ProtoMessage()
- func (x *DropEphemeralDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *DropEphemeralDatabaseRequest) Reset()
- func (x *DropEphemeralDatabaseRequest) String() string
- type DropEphemeralDatabaseResponse
- func (*DropEphemeralDatabaseResponse) Descriptor() ([]byte, []int)deprecated
- func (*DropEphemeralDatabaseResponse) ProtoMessage()
- func (x *DropEphemeralDatabaseResponse) ProtoReflect() protoreflect.Message
- func (x *DropEphemeralDatabaseResponse) Reset()
- func (x *DropEphemeralDatabaseResponse) String() string
- type File
- type QuickClient
- type QuickServer
- type UnimplementedQuickServer
- func (*UnimplementedQuickServer) CreateEphemeralDatabase(context.Context, *CreateEphemeralDatabaseRequest) (*CreateEphemeralDatabaseResponse, error)
- func (*UnimplementedQuickServer) DropEphemeralDatabase(context.Context, *DropEphemeralDatabaseRequest) (*DropEphemeralDatabaseResponse, error)
- func (*UnimplementedQuickServer) UploadArchive(context.Context, *UploadArchiveRequest) (*UploadArchiveResponse, error)
- type UploadArchiveRequest
- func (*UploadArchiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadArchiveRequest) GetInputs() []*File
- func (x *UploadArchiveRequest) GetOutputs() []*File
- func (x *UploadArchiveRequest) GetSqlcVersion() string
- func (*UploadArchiveRequest) ProtoMessage()
- func (x *UploadArchiveRequest) ProtoReflect() protoreflect.Message
- func (x *UploadArchiveRequest) Reset()
- func (x *UploadArchiveRequest) String() string
- type UploadArchiveResponse
- func (*UploadArchiveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadArchiveResponse) GetChecksum() []byte
- func (*UploadArchiveResponse) ProtoMessage()
- func (x *UploadArchiveResponse) ProtoReflect() protoreflect.Message
- func (x *UploadArchiveResponse) Reset()
- func (x *UploadArchiveResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_quickdb_v1_quickdb_proto protoreflect.FileDescriptor
Functions ¶
func RegisterQuickServer ¶
func RegisterQuickServer(s *grpc.Server, srv QuickServer)
Types ¶
type CreateEphemeralDatabaseRequest ¶
type CreateEphemeralDatabaseRequest struct { Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` Engine string `protobuf:"bytes,2,opt,name=engine,proto3" json:"engine,omitempty"` ServerId string `protobuf:"bytes,3,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` Migrations []string `protobuf:"bytes,4,rep,name=migrations,proto3" json:"migrations,omitempty"` // contains filtered or unexported fields }
func (*CreateEphemeralDatabaseRequest) Descriptor
deprecated
func (*CreateEphemeralDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEphemeralDatabaseRequest.ProtoReflect.Descriptor instead.
func (*CreateEphemeralDatabaseRequest) GetEngine ¶
func (x *CreateEphemeralDatabaseRequest) GetEngine() string
func (*CreateEphemeralDatabaseRequest) GetMigrations ¶
func (x *CreateEphemeralDatabaseRequest) GetMigrations() []string
func (*CreateEphemeralDatabaseRequest) GetRegion ¶
func (x *CreateEphemeralDatabaseRequest) GetRegion() string
func (*CreateEphemeralDatabaseRequest) GetServerId ¶
func (x *CreateEphemeralDatabaseRequest) GetServerId() string
func (*CreateEphemeralDatabaseRequest) ProtoMessage ¶
func (*CreateEphemeralDatabaseRequest) ProtoMessage()
func (*CreateEphemeralDatabaseRequest) ProtoReflect ¶
func (x *CreateEphemeralDatabaseRequest) ProtoReflect() protoreflect.Message
func (*CreateEphemeralDatabaseRequest) Reset ¶
func (x *CreateEphemeralDatabaseRequest) Reset()
func (*CreateEphemeralDatabaseRequest) String ¶
func (x *CreateEphemeralDatabaseRequest) String() string
type CreateEphemeralDatabaseResponse ¶
type CreateEphemeralDatabaseResponse struct { DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
func (*CreateEphemeralDatabaseResponse) Descriptor
deprecated
func (*CreateEphemeralDatabaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateEphemeralDatabaseResponse.ProtoReflect.Descriptor instead.
func (*CreateEphemeralDatabaseResponse) GetDatabaseId ¶
func (x *CreateEphemeralDatabaseResponse) GetDatabaseId() string
func (*CreateEphemeralDatabaseResponse) GetUri ¶
func (x *CreateEphemeralDatabaseResponse) GetUri() string
func (*CreateEphemeralDatabaseResponse) ProtoMessage ¶
func (*CreateEphemeralDatabaseResponse) ProtoMessage()
func (*CreateEphemeralDatabaseResponse) ProtoReflect ¶
func (x *CreateEphemeralDatabaseResponse) ProtoReflect() protoreflect.Message
func (*CreateEphemeralDatabaseResponse) Reset ¶
func (x *CreateEphemeralDatabaseResponse) Reset()
func (*CreateEphemeralDatabaseResponse) String ¶
func (x *CreateEphemeralDatabaseResponse) String() string
type DropEphemeralDatabaseRequest ¶
type DropEphemeralDatabaseRequest struct { DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` // contains filtered or unexported fields }
func (*DropEphemeralDatabaseRequest) Descriptor
deprecated
func (*DropEphemeralDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use DropEphemeralDatabaseRequest.ProtoReflect.Descriptor instead.
func (*DropEphemeralDatabaseRequest) GetDatabaseId ¶
func (x *DropEphemeralDatabaseRequest) GetDatabaseId() string
func (*DropEphemeralDatabaseRequest) ProtoMessage ¶
func (*DropEphemeralDatabaseRequest) ProtoMessage()
func (*DropEphemeralDatabaseRequest) ProtoReflect ¶
func (x *DropEphemeralDatabaseRequest) ProtoReflect() protoreflect.Message
func (*DropEphemeralDatabaseRequest) Reset ¶
func (x *DropEphemeralDatabaseRequest) Reset()
func (*DropEphemeralDatabaseRequest) String ¶
func (x *DropEphemeralDatabaseRequest) String() string
type DropEphemeralDatabaseResponse ¶
type DropEphemeralDatabaseResponse struct {
// contains filtered or unexported fields
}
func (*DropEphemeralDatabaseResponse) Descriptor
deprecated
func (*DropEphemeralDatabaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use DropEphemeralDatabaseResponse.ProtoReflect.Descriptor instead.
func (*DropEphemeralDatabaseResponse) ProtoMessage ¶
func (*DropEphemeralDatabaseResponse) ProtoMessage()
func (*DropEphemeralDatabaseResponse) ProtoReflect ¶
func (x *DropEphemeralDatabaseResponse) ProtoReflect() protoreflect.Message
func (*DropEphemeralDatabaseResponse) Reset ¶
func (x *DropEphemeralDatabaseResponse) Reset()
func (*DropEphemeralDatabaseResponse) String ¶
func (x *DropEphemeralDatabaseResponse) String() string
type File ¶
type File struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetContents ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type QuickClient ¶
type QuickClient interface { CreateEphemeralDatabase(ctx context.Context, in *CreateEphemeralDatabaseRequest, opts ...grpc.CallOption) (*CreateEphemeralDatabaseResponse, error) DropEphemeralDatabase(ctx context.Context, in *DropEphemeralDatabaseRequest, opts ...grpc.CallOption) (*DropEphemeralDatabaseResponse, error) UploadArchive(ctx context.Context, in *UploadArchiveRequest, opts ...grpc.CallOption) (*UploadArchiveResponse, error) }
QuickClient is the client API for Quick service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQuickClient ¶
func NewQuickClient(cc grpc.ClientConnInterface) QuickClient
type QuickServer ¶
type QuickServer interface { CreateEphemeralDatabase(context.Context, *CreateEphemeralDatabaseRequest) (*CreateEphemeralDatabaseResponse, error) DropEphemeralDatabase(context.Context, *DropEphemeralDatabaseRequest) (*DropEphemeralDatabaseResponse, error) UploadArchive(context.Context, *UploadArchiveRequest) (*UploadArchiveResponse, error) }
QuickServer is the server API for Quick service.
type UnimplementedQuickServer ¶
type UnimplementedQuickServer struct { }
UnimplementedQuickServer can be embedded to have forward compatible implementations.
func (*UnimplementedQuickServer) CreateEphemeralDatabase ¶
func (*UnimplementedQuickServer) CreateEphemeralDatabase(context.Context, *CreateEphemeralDatabaseRequest) (*CreateEphemeralDatabaseResponse, error)
func (*UnimplementedQuickServer) DropEphemeralDatabase ¶
func (*UnimplementedQuickServer) DropEphemeralDatabase(context.Context, *DropEphemeralDatabaseRequest) (*DropEphemeralDatabaseResponse, error)
func (*UnimplementedQuickServer) UploadArchive ¶
func (*UnimplementedQuickServer) UploadArchive(context.Context, *UploadArchiveRequest) (*UploadArchiveResponse, error)
type UploadArchiveRequest ¶
type UploadArchiveRequest struct { SqlcVersion string `protobuf:"bytes,1,opt,name=sqlc_version,json=sqlcVersion,proto3" json:"sqlc_version,omitempty"` Inputs []*File `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*File `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
func (*UploadArchiveRequest) Descriptor
deprecated
func (*UploadArchiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadArchiveRequest.ProtoReflect.Descriptor instead.
func (*UploadArchiveRequest) GetInputs ¶
func (x *UploadArchiveRequest) GetInputs() []*File
func (*UploadArchiveRequest) GetOutputs ¶
func (x *UploadArchiveRequest) GetOutputs() []*File
func (*UploadArchiveRequest) GetSqlcVersion ¶
func (x *UploadArchiveRequest) GetSqlcVersion() string
func (*UploadArchiveRequest) ProtoMessage ¶
func (*UploadArchiveRequest) ProtoMessage()
func (*UploadArchiveRequest) ProtoReflect ¶
func (x *UploadArchiveRequest) ProtoReflect() protoreflect.Message
func (*UploadArchiveRequest) Reset ¶
func (x *UploadArchiveRequest) Reset()
func (*UploadArchiveRequest) String ¶
func (x *UploadArchiveRequest) String() string
type UploadArchiveResponse ¶
type UploadArchiveResponse struct { Checksum []byte `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` // contains filtered or unexported fields }
func (*UploadArchiveResponse) Descriptor
deprecated
func (*UploadArchiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadArchiveResponse.ProtoReflect.Descriptor instead.
func (*UploadArchiveResponse) GetChecksum ¶
func (x *UploadArchiveResponse) GetChecksum() []byte
func (*UploadArchiveResponse) ProtoMessage ¶
func (*UploadArchiveResponse) ProtoMessage()
func (*UploadArchiveResponse) ProtoReflect ¶
func (x *UploadArchiveResponse) ProtoReflect() protoreflect.Message
func (*UploadArchiveResponse) Reset ¶
func (x *UploadArchiveResponse) Reset()
func (*UploadArchiveResponse) String ¶
func (x *UploadArchiveResponse) String() string