Versions in this module Expand all Collapse all v1 v1.6.1 Oct 23, 2022 Changes in this version + var Content_ServiceDesc = grpc.ServiceDesc + var File_content_proto protoreflect.FileDescriptor + var WriteAction_name = map[int32]string + var WriteAction_value = map[string]int32 + func RegisterContentServer(s grpc.ServiceRegistrar, srv ContentServer) + type AbortRequest struct + Ref string + func (*AbortRequest) Descriptor() ([]byte, []int) + func (*AbortRequest) ProtoMessage() + func (x *AbortRequest) GetRef() string + func (x *AbortRequest) ProtoReflect() protoreflect.Message + func (x *AbortRequest) Reset() + func (x *AbortRequest) String() string + type ContentClient interface + Abort func(ctx context.Context, in *AbortRequest, opts ...grpc.CallOption) (*empty.Empty, error) + Delete func(ctx context.Context, in *DeleteContentRequest, opts ...grpc.CallOption) (*empty.Empty, error) + Info func(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) + List func(ctx context.Context, in *ListContentRequest, opts ...grpc.CallOption) (Content_ListClient, error) + ListStatuses func(ctx context.Context, in *ListStatusesRequest, opts ...grpc.CallOption) (*ListStatusesResponse, error) + LockRef func(ctx context.Context, in *LockRefRequest, opts ...grpc.CallOption) (*empty.Empty, error) + Read func(ctx context.Context, in *ReadContentRequest, opts ...grpc.CallOption) (Content_ReadClient, error) + Status func(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) + UnlockRef func(ctx context.Context, in *UnlockRefRequest, opts ...grpc.CallOption) (*empty.Empty, error) + Update func(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) + Write func(ctx context.Context, opts ...grpc.CallOption) (Content_WriteClient, error) + func NewContentClient(cc grpc.ClientConnInterface) ContentClient + type ContentServer interface + Abort func(context.Context, *AbortRequest) (*empty.Empty, error) + Delete func(context.Context, *DeleteContentRequest) (*empty.Empty, error) + Info func(context.Context, *InfoRequest) (*InfoResponse, error) + List func(*ListContentRequest, Content_ListServer) error + ListStatuses func(context.Context, *ListStatusesRequest) (*ListStatusesResponse, error) + LockRef func(context.Context, *LockRefRequest) (*empty.Empty, error) + Read func(*ReadContentRequest, Content_ReadServer) error + Status func(context.Context, *StatusRequest) (*StatusResponse, error) + UnlockRef func(context.Context, *UnlockRefRequest) (*empty.Empty, error) + Update func(context.Context, *UpdateRequest) (*UpdateResponse, error) + Write func(Content_WriteServer) error + type Content_ListClient interface + Recv func() (*ListContentResponse, error) + type Content_ListServer interface + Send func(*ListContentResponse) error + type Content_ReadClient interface + Recv func() (*ReadContentResponse, error) + type Content_ReadServer interface + Send func(*ReadContentResponse) error + type Content_WriteClient interface + Recv func() (*WriteContentResponse, error) + Send func(*WriteContentRequest) error + type Content_WriteServer interface + Recv func() (*WriteContentRequest, error) + Send func(*WriteContentResponse) error + type DeleteContentRequest struct + Digest string + func (*DeleteContentRequest) Descriptor() ([]byte, []int) + func (*DeleteContentRequest) ProtoMessage() + func (x *DeleteContentRequest) GetDigest() string + func (x *DeleteContentRequest) ProtoReflect() protoreflect.Message + func (x *DeleteContentRequest) Reset() + func (x *DeleteContentRequest) String() string + type Info struct + CreatedAt *timestamp.Timestamp + Digest string + Labels map[string]string + Size int64 + UpdatedAt *timestamp.Timestamp + func (*Info) Descriptor() ([]byte, []int) + func (*Info) ProtoMessage() + func (x *Info) GetCreatedAt() *timestamp.Timestamp + func (x *Info) GetDigest() string + func (x *Info) GetLabels() map[string]string + func (x *Info) GetSize() int64 + func (x *Info) GetUpdatedAt() *timestamp.Timestamp + func (x *Info) ProtoReflect() protoreflect.Message + func (x *Info) Reset() + func (x *Info) String() string + type InfoRequest struct + Digest string + func (*InfoRequest) Descriptor() ([]byte, []int) + func (*InfoRequest) ProtoMessage() + func (x *InfoRequest) GetDigest() string + func (x *InfoRequest) ProtoReflect() protoreflect.Message + func (x *InfoRequest) Reset() + func (x *InfoRequest) String() string + type InfoResponse struct + Info *Info + func (*InfoResponse) Descriptor() ([]byte, []int) + func (*InfoResponse) ProtoMessage() + func (x *InfoResponse) GetInfo() *Info + func (x *InfoResponse) ProtoReflect() protoreflect.Message + func (x *InfoResponse) Reset() + func (x *InfoResponse) String() string + type ListContentRequest struct + Filters []string + func (*ListContentRequest) Descriptor() ([]byte, []int) + func (*ListContentRequest) ProtoMessage() + func (x *ListContentRequest) GetFilters() []string + func (x *ListContentRequest) ProtoReflect() protoreflect.Message + func (x *ListContentRequest) Reset() + func (x *ListContentRequest) String() string + type ListContentResponse struct + Info []*Info + func (*ListContentResponse) Descriptor() ([]byte, []int) + func (*ListContentResponse) ProtoMessage() + func (x *ListContentResponse) GetInfo() []*Info + func (x *ListContentResponse) ProtoReflect() protoreflect.Message + func (x *ListContentResponse) Reset() + func (x *ListContentResponse) String() string + type ListStatusesRequest struct + Filters []string + func (*ListStatusesRequest) Descriptor() ([]byte, []int) + func (*ListStatusesRequest) ProtoMessage() + func (x *ListStatusesRequest) GetFilters() []string + func (x *ListStatusesRequest) ProtoReflect() protoreflect.Message + func (x *ListStatusesRequest) Reset() + func (x *ListStatusesRequest) String() string + type ListStatusesResponse struct + Statuses []*Status + func (*ListStatusesResponse) Descriptor() ([]byte, []int) + func (*ListStatusesResponse) ProtoMessage() + func (x *ListStatusesResponse) GetStatuses() []*Status + func (x *ListStatusesResponse) ProtoReflect() protoreflect.Message + func (x *ListStatusesResponse) Reset() + func (x *ListStatusesResponse) String() string + type LockRefRequest struct + Ref string + func (*LockRefRequest) Descriptor() ([]byte, []int) + func (*LockRefRequest) ProtoMessage() + func (x *LockRefRequest) GetRef() string + func (x *LockRefRequest) ProtoReflect() protoreflect.Message + func (x *LockRefRequest) Reset() + func (x *LockRefRequest) String() string + type ReadContentRequest struct + Digest string + Offset int64 + Size int64 + func (*ReadContentRequest) Descriptor() ([]byte, []int) + func (*ReadContentRequest) ProtoMessage() + func (x *ReadContentRequest) GetDigest() string + func (x *ReadContentRequest) GetOffset() int64 + func (x *ReadContentRequest) GetSize() int64 + func (x *ReadContentRequest) ProtoReflect() protoreflect.Message + func (x *ReadContentRequest) Reset() + func (x *ReadContentRequest) String() string + type ReadContentResponse struct + Data []byte + Offset int64 + func (*ReadContentResponse) Descriptor() ([]byte, []int) + func (*ReadContentResponse) ProtoMessage() + func (x *ReadContentResponse) GetData() []byte + func (x *ReadContentResponse) GetOffset() int64 + func (x *ReadContentResponse) ProtoReflect() protoreflect.Message + func (x *ReadContentResponse) Reset() + func (x *ReadContentResponse) String() string + type Status struct + Expected string + Offset int64 + Ref string + StartedAt *timestamp.Timestamp + Total int64 + UpdatedAt *timestamp.Timestamp + func (*Status) Descriptor() ([]byte, []int) + func (*Status) ProtoMessage() + func (x *Status) GetExpected() string + func (x *Status) GetOffset() int64 + func (x *Status) GetRef() string + func (x *Status) GetStartedAt() *timestamp.Timestamp + func (x *Status) GetTotal() int64 + func (x *Status) GetUpdatedAt() *timestamp.Timestamp + func (x *Status) ProtoReflect() protoreflect.Message + func (x *Status) Reset() + func (x *Status) String() string + type StatusRequest struct + Ref string + func (*StatusRequest) Descriptor() ([]byte, []int) + func (*StatusRequest) ProtoMessage() + func (x *StatusRequest) GetRef() string + func (x *StatusRequest) ProtoReflect() protoreflect.Message + func (x *StatusRequest) Reset() + func (x *StatusRequest) String() string + type StatusResponse struct + Status *Status + func (*StatusResponse) Descriptor() ([]byte, []int) + func (*StatusResponse) ProtoMessage() + func (x *StatusResponse) GetStatus() *Status + func (x *StatusResponse) ProtoReflect() protoreflect.Message + func (x *StatusResponse) Reset() + func (x *StatusResponse) String() string + type UnimplementedContentServer struct + func (UnimplementedContentServer) Abort(context.Context, *AbortRequest) (*empty.Empty, error) + func (UnimplementedContentServer) Delete(context.Context, *DeleteContentRequest) (*empty.Empty, error) + func (UnimplementedContentServer) Info(context.Context, *InfoRequest) (*InfoResponse, error) + func (UnimplementedContentServer) List(*ListContentRequest, Content_ListServer) error + func (UnimplementedContentServer) ListStatuses(context.Context, *ListStatusesRequest) (*ListStatusesResponse, error) + func (UnimplementedContentServer) LockRef(context.Context, *LockRefRequest) (*empty.Empty, error) + func (UnimplementedContentServer) Read(*ReadContentRequest, Content_ReadServer) error + func (UnimplementedContentServer) Status(context.Context, *StatusRequest) (*StatusResponse, error) + func (UnimplementedContentServer) UnlockRef(context.Context, *UnlockRefRequest) (*empty.Empty, error) + func (UnimplementedContentServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error) + func (UnimplementedContentServer) Write(Content_WriteServer) error + type UnlockRefRequest struct + Ref string + func (*UnlockRefRequest) Descriptor() ([]byte, []int) + func (*UnlockRefRequest) ProtoMessage() + func (x *UnlockRefRequest) GetRef() string + func (x *UnlockRefRequest) ProtoReflect() protoreflect.Message + func (x *UnlockRefRequest) Reset() + func (x *UnlockRefRequest) String() string + type UnsafeContentServer interface + type UpdateRequest struct + Info *Info + UpdateMask *field_mask.FieldMask + func (*UpdateRequest) Descriptor() ([]byte, []int) + func (*UpdateRequest) ProtoMessage() + func (x *UpdateRequest) GetInfo() *Info + func (x *UpdateRequest) GetUpdateMask() *field_mask.FieldMask + func (x *UpdateRequest) ProtoReflect() protoreflect.Message + func (x *UpdateRequest) Reset() + func (x *UpdateRequest) String() string + type UpdateResponse struct + Info *Info + func (*UpdateResponse) Descriptor() ([]byte, []int) + func (*UpdateResponse) ProtoMessage() + func (x *UpdateResponse) GetInfo() *Info + func (x *UpdateResponse) ProtoReflect() protoreflect.Message + func (x *UpdateResponse) Reset() + func (x *UpdateResponse) String() string + type WriteAction int32 + const WriteAction_COMMIT + const WriteAction_STAT + const WriteAction_WRITE + func (WriteAction) Descriptor() protoreflect.EnumDescriptor + func (WriteAction) EnumDescriptor() ([]byte, []int) + func (WriteAction) Type() protoreflect.EnumType + func (x WriteAction) Enum() *WriteAction + func (x WriteAction) Number() protoreflect.EnumNumber + func (x WriteAction) String() string + type WriteContentRequest struct + Action WriteAction + Data []byte + Expected string + Labels map[string]string + Offset int64 + Ref string + Total int64 + func (*WriteContentRequest) Descriptor() ([]byte, []int) + func (*WriteContentRequest) ProtoMessage() + func (x *WriteContentRequest) GetAction() WriteAction + func (x *WriteContentRequest) GetData() []byte + func (x *WriteContentRequest) GetExpected() string + func (x *WriteContentRequest) GetLabels() map[string]string + func (x *WriteContentRequest) GetOffset() int64 + func (x *WriteContentRequest) GetRef() string + func (x *WriteContentRequest) GetTotal() int64 + func (x *WriteContentRequest) ProtoReflect() protoreflect.Message + func (x *WriteContentRequest) Reset() + func (x *WriteContentRequest) String() string + type WriteContentResponse struct + Action WriteAction + Digest string + Offset int64 + StartedAt *timestamp.Timestamp + Total int64 + UpdatedAt *timestamp.Timestamp + func (*WriteContentResponse) Descriptor() ([]byte, []int) + func (*WriteContentResponse) ProtoMessage() + func (x *WriteContentResponse) GetAction() WriteAction + func (x *WriteContentResponse) GetDigest() string + func (x *WriteContentResponse) GetOffset() int64 + func (x *WriteContentResponse) GetStartedAt() *timestamp.Timestamp + func (x *WriteContentResponse) GetTotal() int64 + func (x *WriteContentResponse) GetUpdatedAt() *timestamp.Timestamp + func (x *WriteContentResponse) ProtoReflect() protoreflect.Message + func (x *WriteContentResponse) Reset() + func (x *WriteContentResponse) String() string Other modules containing this package github.com/goodbaikin/containerd