v1

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 (*CreateEphemeralDatabaseRequest) Reset

func (x *CreateEphemeralDatabaseRequest) Reset()

func (*CreateEphemeralDatabaseRequest) 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 (*CreateEphemeralDatabaseResponse) ProtoMessage

func (*CreateEphemeralDatabaseResponse) ProtoMessage()

func (*CreateEphemeralDatabaseResponse) ProtoReflect

func (*CreateEphemeralDatabaseResponse) Reset

func (*CreateEphemeralDatabaseResponse) 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 (*DropEphemeralDatabaseRequest) Reset

func (x *DropEphemeralDatabaseRequest) Reset()

func (*DropEphemeralDatabaseRequest) 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 (*DropEphemeralDatabaseResponse) Reset

func (x *DropEphemeralDatabaseResponse) Reset()

func (*DropEphemeralDatabaseResponse) 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) Descriptor() ([]byte, []int)

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetContents

func (x *File) GetContents() []byte

func (*File) GetName

func (x *File) GetName() string

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

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

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

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

QuickServer is the server API for Quick service.

type UnimplementedQuickServer

type UnimplementedQuickServer struct {
}

UnimplementedQuickServer can be embedded to have forward compatible implementations.

func (*UnimplementedQuickServer) UploadArchive

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

Jump to

Keyboard shortcuts

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