Versions in this module Expand all Collapse all v1 v1.2.0 Oct 24, 2018 Changes in this version + var ErrIntOverflowContent = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthContent = fmt.Errorf("proto: negative length found during unmarshaling") + var WriteAction_name = map[int32]string + var WriteAction_value = map[string]int32 + func RegisterContentServer(s *grpc.Server, srv ContentServer) + type AbortRequest struct + Ref string + func (*AbortRequest) Descriptor() ([]byte, []int) + func (*AbortRequest) ProtoMessage() + func (m *AbortRequest) Marshal() (dAtA []byte, err error) + func (m *AbortRequest) MarshalTo(dAtA []byte) (int, error) + func (m *AbortRequest) Reset() + func (m *AbortRequest) Size() (n int) + func (m *AbortRequest) Unmarshal(dAtA []byte) error + func (this *AbortRequest) String() string + type ContentClient interface + Abort func(ctx context.Context, in *AbortRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) + Delete func(ctx context.Context, in *DeleteContentRequest, opts ...grpc.CallOption) (*google_protobuf3.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) + 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) + 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.ClientConn) ContentClient + type ContentServer interface + Abort func(context.Context, *AbortRequest) (*google_protobuf3.Empty, error) + Delete func(context.Context, *DeleteContentRequest) (*google_protobuf3.Empty, error) + Info func(context.Context, *InfoRequest) (*InfoResponse, error) + List func(*ListContentRequest, Content_ListServer) error + ListStatuses func(context.Context, *ListStatusesRequest) (*ListStatusesResponse, error) + Read func(*ReadContentRequest, Content_ReadServer) error + Status func(context.Context, *StatusRequest) (*StatusResponse, 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 github_com_opencontainers_go_digest.Digest + func (*DeleteContentRequest) Descriptor() ([]byte, []int) + func (*DeleteContentRequest) ProtoMessage() + func (m *DeleteContentRequest) Marshal() (dAtA []byte, err error) + func (m *DeleteContentRequest) MarshalTo(dAtA []byte) (int, error) + func (m *DeleteContentRequest) Reset() + func (m *DeleteContentRequest) Size() (n int) + func (m *DeleteContentRequest) Unmarshal(dAtA []byte) error + func (this *DeleteContentRequest) String() string + type Info struct + CreatedAt time.Time + Digest github_com_opencontainers_go_digest.Digest + Labels map[string]string + Size_ int64 + UpdatedAt time.Time + func (*Info) Descriptor() ([]byte, []int) + func (*Info) ProtoMessage() + func (m *Info) Marshal() (dAtA []byte, err error) + func (m *Info) MarshalTo(dAtA []byte) (int, error) + func (m *Info) Reset() + func (m *Info) Size() (n int) + func (m *Info) Unmarshal(dAtA []byte) error + func (this *Info) String() string + type InfoRequest struct + Digest github_com_opencontainers_go_digest.Digest + func (*InfoRequest) Descriptor() ([]byte, []int) + func (*InfoRequest) ProtoMessage() + func (m *InfoRequest) Marshal() (dAtA []byte, err error) + func (m *InfoRequest) MarshalTo(dAtA []byte) (int, error) + func (m *InfoRequest) Reset() + func (m *InfoRequest) Size() (n int) + func (m *InfoRequest) Unmarshal(dAtA []byte) error + func (this *InfoRequest) String() string + type InfoResponse struct + Info Info + func (*InfoResponse) Descriptor() ([]byte, []int) + func (*InfoResponse) ProtoMessage() + func (m *InfoResponse) Marshal() (dAtA []byte, err error) + func (m *InfoResponse) MarshalTo(dAtA []byte) (int, error) + func (m *InfoResponse) Reset() + func (m *InfoResponse) Size() (n int) + func (m *InfoResponse) Unmarshal(dAtA []byte) error + func (this *InfoResponse) String() string + type ListContentRequest struct + Filters []string + func (*ListContentRequest) Descriptor() ([]byte, []int) + func (*ListContentRequest) ProtoMessage() + func (m *ListContentRequest) Marshal() (dAtA []byte, err error) + func (m *ListContentRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ListContentRequest) Reset() + func (m *ListContentRequest) Size() (n int) + func (m *ListContentRequest) Unmarshal(dAtA []byte) error + func (this *ListContentRequest) String() string + type ListContentResponse struct + Info []Info + func (*ListContentResponse) Descriptor() ([]byte, []int) + func (*ListContentResponse) ProtoMessage() + func (m *ListContentResponse) Marshal() (dAtA []byte, err error) + func (m *ListContentResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ListContentResponse) Reset() + func (m *ListContentResponse) Size() (n int) + func (m *ListContentResponse) Unmarshal(dAtA []byte) error + func (this *ListContentResponse) String() string + type ListStatusesRequest struct + Filters []string + func (*ListStatusesRequest) Descriptor() ([]byte, []int) + func (*ListStatusesRequest) ProtoMessage() + func (m *ListStatusesRequest) Marshal() (dAtA []byte, err error) + func (m *ListStatusesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ListStatusesRequest) Reset() + func (m *ListStatusesRequest) Size() (n int) + func (m *ListStatusesRequest) Unmarshal(dAtA []byte) error + func (this *ListStatusesRequest) String() string + type ListStatusesResponse struct + Statuses []Status + func (*ListStatusesResponse) Descriptor() ([]byte, []int) + func (*ListStatusesResponse) ProtoMessage() + func (m *ListStatusesResponse) Marshal() (dAtA []byte, err error) + func (m *ListStatusesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ListStatusesResponse) Reset() + func (m *ListStatusesResponse) Size() (n int) + func (m *ListStatusesResponse) Unmarshal(dAtA []byte) error + func (this *ListStatusesResponse) String() string + type ReadContentRequest struct + Digest github_com_opencontainers_go_digest.Digest + Offset int64 + Size_ int64 + func (*ReadContentRequest) Descriptor() ([]byte, []int) + func (*ReadContentRequest) ProtoMessage() + func (m *ReadContentRequest) Marshal() (dAtA []byte, err error) + func (m *ReadContentRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ReadContentRequest) Reset() + func (m *ReadContentRequest) Size() (n int) + func (m *ReadContentRequest) Unmarshal(dAtA []byte) error + func (this *ReadContentRequest) String() string + type ReadContentResponse struct + Data []byte + Offset int64 + func (*ReadContentResponse) Descriptor() ([]byte, []int) + func (*ReadContentResponse) ProtoMessage() + func (m *ReadContentResponse) Marshal() (dAtA []byte, err error) + func (m *ReadContentResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ReadContentResponse) Reset() + func (m *ReadContentResponse) Size() (n int) + func (m *ReadContentResponse) Unmarshal(dAtA []byte) error + func (this *ReadContentResponse) String() string + type Status struct + Expected github_com_opencontainers_go_digest.Digest + Offset int64 + Ref string + StartedAt time.Time + Total int64 + UpdatedAt time.Time + func (*Status) Descriptor() ([]byte, []int) + func (*Status) ProtoMessage() + func (m *Status) Marshal() (dAtA []byte, err error) + func (m *Status) MarshalTo(dAtA []byte) (int, error) + func (m *Status) Reset() + func (m *Status) Size() (n int) + func (m *Status) Unmarshal(dAtA []byte) error + func (this *Status) String() string + type StatusRequest struct + Ref string + func (*StatusRequest) Descriptor() ([]byte, []int) + func (*StatusRequest) ProtoMessage() + func (m *StatusRequest) Marshal() (dAtA []byte, err error) + func (m *StatusRequest) MarshalTo(dAtA []byte) (int, error) + func (m *StatusRequest) Reset() + func (m *StatusRequest) Size() (n int) + func (m *StatusRequest) Unmarshal(dAtA []byte) error + func (this *StatusRequest) String() string + type StatusResponse struct + Status *Status + func (*StatusResponse) Descriptor() ([]byte, []int) + func (*StatusResponse) ProtoMessage() + func (m *StatusResponse) Marshal() (dAtA []byte, err error) + func (m *StatusResponse) MarshalTo(dAtA []byte) (int, error) + func (m *StatusResponse) Reset() + func (m *StatusResponse) Size() (n int) + func (m *StatusResponse) Unmarshal(dAtA []byte) error + func (this *StatusResponse) String() string + type UpdateRequest struct + Info Info + UpdateMask *google_protobuf1.FieldMask + func (*UpdateRequest) Descriptor() ([]byte, []int) + func (*UpdateRequest) ProtoMessage() + func (m *UpdateRequest) Marshal() (dAtA []byte, err error) + func (m *UpdateRequest) MarshalTo(dAtA []byte) (int, error) + func (m *UpdateRequest) Reset() + func (m *UpdateRequest) Size() (n int) + func (m *UpdateRequest) Unmarshal(dAtA []byte) error + func (this *UpdateRequest) String() string + type UpdateResponse struct + Info Info + func (*UpdateResponse) Descriptor() ([]byte, []int) + func (*UpdateResponse) ProtoMessage() + func (m *UpdateResponse) Marshal() (dAtA []byte, err error) + func (m *UpdateResponse) MarshalTo(dAtA []byte) (int, error) + func (m *UpdateResponse) Reset() + func (m *UpdateResponse) Size() (n int) + func (m *UpdateResponse) Unmarshal(dAtA []byte) error + func (this *UpdateResponse) String() string + type WriteAction int32 + const WriteActionCommit + const WriteActionStat + const WriteActionWrite + func (WriteAction) EnumDescriptor() ([]byte, []int) + func (x WriteAction) String() string + type WriteContentRequest struct + Action WriteAction + Data []byte + Expected github_com_opencontainers_go_digest.Digest + Labels map[string]string + Offset int64 + Ref string + Total int64 + func (*WriteContentRequest) Descriptor() ([]byte, []int) + func (*WriteContentRequest) ProtoMessage() + func (m *WriteContentRequest) Marshal() (dAtA []byte, err error) + func (m *WriteContentRequest) MarshalTo(dAtA []byte) (int, error) + func (m *WriteContentRequest) Reset() + func (m *WriteContentRequest) Size() (n int) + func (m *WriteContentRequest) Unmarshal(dAtA []byte) error + func (this *WriteContentRequest) String() string + type WriteContentResponse struct + Action WriteAction + Digest github_com_opencontainers_go_digest.Digest + Offset int64 + StartedAt time.Time + Total int64 + UpdatedAt time.Time + func (*WriteContentResponse) Descriptor() ([]byte, []int) + func (*WriteContentResponse) ProtoMessage() + func (m *WriteContentResponse) Marshal() (dAtA []byte, err error) + func (m *WriteContentResponse) MarshalTo(dAtA []byte) (int, error) + func (m *WriteContentResponse) Reset() + func (m *WriteContentResponse) Size() (n int) + func (m *WriteContentResponse) Unmarshal(dAtA []byte) error + func (this *WriteContentResponse) String() string