Documentation ¶
Index ¶
- Variables
- type CompleteUploadResponse
- func (*CompleteUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteUploadResponse) GetError() string
- func (x *CompleteUploadResponse) GetStatus() CompletionStatus
- func (*CompleteUploadResponse) ProtoMessage()
- func (x *CompleteUploadResponse) ProtoReflect() protoreflect.Message
- func (x *CompleteUploadResponse) Reset()
- func (x *CompleteUploadResponse) String() string
- type CompletionStatus
- func (CompletionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x CompletionStatus) Enum() *CompletionStatus
- func (CompletionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompletionStatus) Number() protoreflect.EnumNumber
- func (x CompletionStatus) String() string
- func (CompletionStatus) Type() protoreflect.EnumType
- type NewUploadRequest
- func (*NewUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewUploadRequest) GetChecksum() string
- func (x *NewUploadRequest) GetPath() string
- func (x *NewUploadRequest) GetSize() int64
- func (*NewUploadRequest) ProtoMessage()
- func (x *NewUploadRequest) ProtoReflect() protoreflect.Message
- func (x *NewUploadRequest) Reset()
- func (x *NewUploadRequest) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CompletionStatus_name = map[int32]string{ 0: "PENDING", 1: "COMPLETED", 2: "FAILED", } CompletionStatus_value = map[string]int32{ "PENDING": 0, "COMPLETED": 1, "FAILED": 2, } )
Enum value maps for CompletionStatus.
View Source
var File_v1alpha1_windlass_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CompleteUploadResponse ¶
type CompleteUploadResponse struct { // The status of the upload. Status CompletionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=bucketsailor.windlass.v1alpha1.CompletionStatus" json:"status,omitempty"` // The error message if the upload failed. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*CompleteUploadResponse) Descriptor
deprecated
func (*CompleteUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompleteUploadResponse.ProtoReflect.Descriptor instead.
func (*CompleteUploadResponse) GetError ¶
func (x *CompleteUploadResponse) GetError() string
func (*CompleteUploadResponse) GetStatus ¶
func (x *CompleteUploadResponse) GetStatus() CompletionStatus
func (*CompleteUploadResponse) ProtoMessage ¶
func (*CompleteUploadResponse) ProtoMessage()
func (*CompleteUploadResponse) ProtoReflect ¶
func (x *CompleteUploadResponse) ProtoReflect() protoreflect.Message
func (*CompleteUploadResponse) Reset ¶
func (x *CompleteUploadResponse) Reset()
func (*CompleteUploadResponse) String ¶
func (x *CompleteUploadResponse) String() string
type CompletionStatus ¶
type CompletionStatus int32
CompletionStatus is the status of an upload.
const ( // The completion of the upload is still pending. CompletionStatus_PENDING CompletionStatus = 0 // The upload has been completed is ready for downloads. CompletionStatus_COMPLETED CompletionStatus = 1 // Completion of the upload failed. CompletionStatus_FAILED CompletionStatus = 2 )
func (CompletionStatus) Descriptor ¶
func (CompletionStatus) Descriptor() protoreflect.EnumDescriptor
func (CompletionStatus) Enum ¶
func (x CompletionStatus) Enum() *CompletionStatus
func (CompletionStatus) EnumDescriptor
deprecated
func (CompletionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompletionStatus.Descriptor instead.
func (CompletionStatus) Number ¶
func (x CompletionStatus) Number() protoreflect.EnumNumber
func (CompletionStatus) String ¶
func (x CompletionStatus) String() string
func (CompletionStatus) Type ¶
func (CompletionStatus) Type() protoreflect.EnumType
type NewUploadRequest ¶
type NewUploadRequest struct { // The destination path of the uploaded file. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // The total size of the uploaded file. Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // The expected checksum of the uploaded file in the format "algorithm:hex". Checksum string `protobuf:"bytes,3,opt,name=checksum,proto3" json:"checksum,omitempty"` // contains filtered or unexported fields }
func (*NewUploadRequest) Descriptor
deprecated
func (*NewUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewUploadRequest.ProtoReflect.Descriptor instead.
func (*NewUploadRequest) GetChecksum ¶
func (x *NewUploadRequest) GetChecksum() string
func (*NewUploadRequest) GetPath ¶
func (x *NewUploadRequest) GetPath() string
func (*NewUploadRequest) GetSize ¶
func (x *NewUploadRequest) GetSize() int64
func (*NewUploadRequest) ProtoMessage ¶
func (*NewUploadRequest) ProtoMessage()
func (*NewUploadRequest) ProtoReflect ¶
func (x *NewUploadRequest) ProtoReflect() protoreflect.Message
func (*NewUploadRequest) Reset ¶
func (x *NewUploadRequest) Reset()
func (*NewUploadRequest) String ¶
func (x *NewUploadRequest) String() string
Click to show internal directories.
Click to hide internal directories.