Versions in this module Expand all Collapse all v1 v1.6.1 Oct 23, 2022 Changes in this version + var File_services_snapshots_v1_snapshots_proto protoreflect.FileDescriptor + var Kind_name = map[int32]string + var Kind_value = map[string]int32 + var Snapshots_ServiceDesc = grpc.ServiceDesc + func RegisterSnapshotsServer(s grpc.ServiceRegistrar, srv SnapshotsServer) + type CleanupRequest struct + Snapshotter string + func (*CleanupRequest) Descriptor() ([]byte, []int) + func (*CleanupRequest) ProtoMessage() + func (x *CleanupRequest) GetSnapshotter() string + func (x *CleanupRequest) ProtoReflect() protoreflect.Message + func (x *CleanupRequest) Reset() + func (x *CleanupRequest) String() string + type CommitSnapshotRequest struct + Key string + Labels map[string]string + Name string + Snapshotter string + func (*CommitSnapshotRequest) Descriptor() ([]byte, []int) + func (*CommitSnapshotRequest) ProtoMessage() + func (x *CommitSnapshotRequest) GetKey() string + func (x *CommitSnapshotRequest) GetLabels() map[string]string + func (x *CommitSnapshotRequest) GetName() string + func (x *CommitSnapshotRequest) GetSnapshotter() string + func (x *CommitSnapshotRequest) ProtoReflect() protoreflect.Message + func (x *CommitSnapshotRequest) Reset() + func (x *CommitSnapshotRequest) String() string + type Info struct + CreatedAt *timestamp.Timestamp + Kind Kind + Labels map[string]string + Name string + Parent string + UpdatedAt *timestamp.Timestamp + func (*Info) Descriptor() ([]byte, []int) + func (*Info) ProtoMessage() + func (x *Info) GetCreatedAt() *timestamp.Timestamp + func (x *Info) GetKind() Kind + func (x *Info) GetLabels() map[string]string + func (x *Info) GetName() string + func (x *Info) GetParent() string + func (x *Info) GetUpdatedAt() *timestamp.Timestamp + func (x *Info) ProtoReflect() protoreflect.Message + func (x *Info) Reset() + func (x *Info) String() string + type Kind int32 + const Kind_ACTIVE + const Kind_COMMITTED + const Kind_UNKNOWN + const Kind_VIEW + func (Kind) Descriptor() protoreflect.EnumDescriptor + func (Kind) EnumDescriptor() ([]byte, []int) + func (Kind) Type() protoreflect.EnumType + func (x Kind) Enum() *Kind + func (x Kind) Number() protoreflect.EnumNumber + func (x Kind) String() string + type ListSnapshotsRequest struct + Filters []string + Snapshotter string + func (*ListSnapshotsRequest) Descriptor() ([]byte, []int) + func (*ListSnapshotsRequest) ProtoMessage() + func (x *ListSnapshotsRequest) GetFilters() []string + func (x *ListSnapshotsRequest) GetSnapshotter() string + func (x *ListSnapshotsRequest) ProtoReflect() protoreflect.Message + func (x *ListSnapshotsRequest) Reset() + func (x *ListSnapshotsRequest) String() string + type ListSnapshotsResponse struct + Info []*Info + func (*ListSnapshotsResponse) Descriptor() ([]byte, []int) + func (*ListSnapshotsResponse) ProtoMessage() + func (x *ListSnapshotsResponse) GetInfo() []*Info + func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Message + func (x *ListSnapshotsResponse) Reset() + func (x *ListSnapshotsResponse) String() string + type MountsRequest struct + Key string + Snapshotter string + func (*MountsRequest) Descriptor() ([]byte, []int) + func (*MountsRequest) ProtoMessage() + func (x *MountsRequest) GetKey() string + func (x *MountsRequest) GetSnapshotter() string + func (x *MountsRequest) ProtoReflect() protoreflect.Message + func (x *MountsRequest) Reset() + func (x *MountsRequest) String() string + type MountsResponse struct + Mounts []*types.Mount + func (*MountsResponse) Descriptor() ([]byte, []int) + func (*MountsResponse) ProtoMessage() + func (x *MountsResponse) GetMounts() []*types.Mount + func (x *MountsResponse) ProtoReflect() protoreflect.Message + func (x *MountsResponse) Reset() + func (x *MountsResponse) String() string + type PrepareSnapshotRequest struct + Key string + Labels map[string]string + Parent string + Snapshotter string + func (*PrepareSnapshotRequest) Descriptor() ([]byte, []int) + func (*PrepareSnapshotRequest) ProtoMessage() + func (x *PrepareSnapshotRequest) GetKey() string + func (x *PrepareSnapshotRequest) GetLabels() map[string]string + func (x *PrepareSnapshotRequest) GetParent() string + func (x *PrepareSnapshotRequest) GetSnapshotter() string + func (x *PrepareSnapshotRequest) ProtoReflect() protoreflect.Message + func (x *PrepareSnapshotRequest) Reset() + func (x *PrepareSnapshotRequest) String() string + type PrepareSnapshotResponse struct + Mounts []*types.Mount + func (*PrepareSnapshotResponse) Descriptor() ([]byte, []int) + func (*PrepareSnapshotResponse) ProtoMessage() + func (x *PrepareSnapshotResponse) GetMounts() []*types.Mount + func (x *PrepareSnapshotResponse) ProtoReflect() protoreflect.Message + func (x *PrepareSnapshotResponse) Reset() + func (x *PrepareSnapshotResponse) String() string + type RemoveSnapshotRequest struct + Key string + Snapshotter string + func (*RemoveSnapshotRequest) Descriptor() ([]byte, []int) + func (*RemoveSnapshotRequest) ProtoMessage() + func (x *RemoveSnapshotRequest) GetKey() string + func (x *RemoveSnapshotRequest) GetSnapshotter() string + func (x *RemoveSnapshotRequest) ProtoReflect() protoreflect.Message + func (x *RemoveSnapshotRequest) Reset() + func (x *RemoveSnapshotRequest) String() string + type SaveCacheRequest struct + Data []byte + Key string + Snapshotter string + func (*SaveCacheRequest) Descriptor() ([]byte, []int) + func (*SaveCacheRequest) ProtoMessage() + func (x *SaveCacheRequest) GetData() []byte + func (x *SaveCacheRequest) GetKey() string + func (x *SaveCacheRequest) GetSnapshotter() string + func (x *SaveCacheRequest) ProtoReflect() protoreflect.Message + func (x *SaveCacheRequest) Reset() + func (x *SaveCacheRequest) String() string + type SnapshotsClient interface + Cleanup func(ctx context.Context, in *CleanupRequest, opts ...grpc.CallOption) (*empty.Empty, error) + Commit func(ctx context.Context, in *CommitSnapshotRequest, opts ...grpc.CallOption) (*empty.Empty, error) + List func(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (Snapshots_ListClient, error) + Mounts func(ctx context.Context, in *MountsRequest, opts ...grpc.CallOption) (*MountsResponse, error) + Prepare func(ctx context.Context, in *PrepareSnapshotRequest, opts ...grpc.CallOption) (*PrepareSnapshotResponse, error) + Remove func(ctx context.Context, in *RemoveSnapshotRequest, opts ...grpc.CallOption) (*empty.Empty, error) + SaveCache func(ctx context.Context, in *SaveCacheRequest, opts ...grpc.CallOption) (*empty.Empty, error) + Stat func(ctx context.Context, in *StatSnapshotRequest, opts ...grpc.CallOption) (*StatSnapshotResponse, error) + Update func(ctx context.Context, in *UpdateSnapshotRequest, opts ...grpc.CallOption) (*UpdateSnapshotResponse, error) + Usage func(ctx context.Context, in *UsageRequest, opts ...grpc.CallOption) (*UsageResponse, error) + View func(ctx context.Context, in *ViewSnapshotRequest, opts ...grpc.CallOption) (*ViewSnapshotResponse, error) + func NewSnapshotsClient(cc grpc.ClientConnInterface) SnapshotsClient + type SnapshotsServer interface + Cleanup func(context.Context, *CleanupRequest) (*empty.Empty, error) + Commit func(context.Context, *CommitSnapshotRequest) (*empty.Empty, error) + List func(*ListSnapshotsRequest, Snapshots_ListServer) error + Mounts func(context.Context, *MountsRequest) (*MountsResponse, error) + Prepare func(context.Context, *PrepareSnapshotRequest) (*PrepareSnapshotResponse, error) + Remove func(context.Context, *RemoveSnapshotRequest) (*empty.Empty, error) + SaveCache func(context.Context, *SaveCacheRequest) (*empty.Empty, error) + Stat func(context.Context, *StatSnapshotRequest) (*StatSnapshotResponse, error) + Update func(context.Context, *UpdateSnapshotRequest) (*UpdateSnapshotResponse, error) + Usage func(context.Context, *UsageRequest) (*UsageResponse, error) + View func(context.Context, *ViewSnapshotRequest) (*ViewSnapshotResponse, error) + type Snapshots_ListClient interface + Recv func() (*ListSnapshotsResponse, error) + type Snapshots_ListServer interface + Send func(*ListSnapshotsResponse) error + type StatSnapshotRequest struct + Key string + Snapshotter string + func (*StatSnapshotRequest) Descriptor() ([]byte, []int) + func (*StatSnapshotRequest) ProtoMessage() + func (x *StatSnapshotRequest) GetKey() string + func (x *StatSnapshotRequest) GetSnapshotter() string + func (x *StatSnapshotRequest) ProtoReflect() protoreflect.Message + func (x *StatSnapshotRequest) Reset() + func (x *StatSnapshotRequest) String() string + type StatSnapshotResponse struct + Info *Info + func (*StatSnapshotResponse) Descriptor() ([]byte, []int) + func (*StatSnapshotResponse) ProtoMessage() + func (x *StatSnapshotResponse) GetInfo() *Info + func (x *StatSnapshotResponse) ProtoReflect() protoreflect.Message + func (x *StatSnapshotResponse) Reset() + func (x *StatSnapshotResponse) String() string + type UnimplementedSnapshotsServer struct + func (UnimplementedSnapshotsServer) Cleanup(context.Context, *CleanupRequest) (*empty.Empty, error) + func (UnimplementedSnapshotsServer) Commit(context.Context, *CommitSnapshotRequest) (*empty.Empty, error) + func (UnimplementedSnapshotsServer) List(*ListSnapshotsRequest, Snapshots_ListServer) error + func (UnimplementedSnapshotsServer) Mounts(context.Context, *MountsRequest) (*MountsResponse, error) + func (UnimplementedSnapshotsServer) Prepare(context.Context, *PrepareSnapshotRequest) (*PrepareSnapshotResponse, error) + func (UnimplementedSnapshotsServer) Remove(context.Context, *RemoveSnapshotRequest) (*empty.Empty, error) + func (UnimplementedSnapshotsServer) SaveCache(context.Context, *SaveCacheRequest) (*empty.Empty, error) + func (UnimplementedSnapshotsServer) Stat(context.Context, *StatSnapshotRequest) (*StatSnapshotResponse, error) + func (UnimplementedSnapshotsServer) Update(context.Context, *UpdateSnapshotRequest) (*UpdateSnapshotResponse, error) + func (UnimplementedSnapshotsServer) Usage(context.Context, *UsageRequest) (*UsageResponse, error) + func (UnimplementedSnapshotsServer) View(context.Context, *ViewSnapshotRequest) (*ViewSnapshotResponse, error) + type UnsafeSnapshotsServer interface + type UpdateSnapshotRequest struct + Info *Info + Snapshotter string + UpdateMask *field_mask.FieldMask + func (*UpdateSnapshotRequest) Descriptor() ([]byte, []int) + func (*UpdateSnapshotRequest) ProtoMessage() + func (x *UpdateSnapshotRequest) GetInfo() *Info + func (x *UpdateSnapshotRequest) GetSnapshotter() string + func (x *UpdateSnapshotRequest) GetUpdateMask() *field_mask.FieldMask + func (x *UpdateSnapshotRequest) ProtoReflect() protoreflect.Message + func (x *UpdateSnapshotRequest) Reset() + func (x *UpdateSnapshotRequest) String() string + type UpdateSnapshotResponse struct + Info *Info + func (*UpdateSnapshotResponse) Descriptor() ([]byte, []int) + func (*UpdateSnapshotResponse) ProtoMessage() + func (x *UpdateSnapshotResponse) GetInfo() *Info + func (x *UpdateSnapshotResponse) ProtoReflect() protoreflect.Message + func (x *UpdateSnapshotResponse) Reset() + func (x *UpdateSnapshotResponse) String() string + type UsageRequest struct + Key string + Snapshotter string + func (*UsageRequest) Descriptor() ([]byte, []int) + func (*UsageRequest) ProtoMessage() + func (x *UsageRequest) GetKey() string + func (x *UsageRequest) GetSnapshotter() string + func (x *UsageRequest) ProtoReflect() protoreflect.Message + func (x *UsageRequest) Reset() + func (x *UsageRequest) String() string + type UsageResponse struct + Inodes int64 + Size int64 + func (*UsageResponse) Descriptor() ([]byte, []int) + func (*UsageResponse) ProtoMessage() + func (x *UsageResponse) GetInodes() int64 + func (x *UsageResponse) GetSize() int64 + func (x *UsageResponse) ProtoReflect() protoreflect.Message + func (x *UsageResponse) Reset() + func (x *UsageResponse) String() string + type ViewSnapshotRequest struct + Key string + Labels map[string]string + Parent string + Snapshotter string + func (*ViewSnapshotRequest) Descriptor() ([]byte, []int) + func (*ViewSnapshotRequest) ProtoMessage() + func (x *ViewSnapshotRequest) GetKey() string + func (x *ViewSnapshotRequest) GetLabels() map[string]string + func (x *ViewSnapshotRequest) GetParent() string + func (x *ViewSnapshotRequest) GetSnapshotter() string + func (x *ViewSnapshotRequest) ProtoReflect() protoreflect.Message + func (x *ViewSnapshotRequest) Reset() + func (x *ViewSnapshotRequest) String() string + type ViewSnapshotResponse struct + Mounts []*types.Mount + func (*ViewSnapshotResponse) Descriptor() ([]byte, []int) + func (*ViewSnapshotResponse) ProtoMessage() + func (x *ViewSnapshotResponse) GetMounts() []*types.Mount + func (x *ViewSnapshotResponse) ProtoReflect() protoreflect.Message + func (x *ViewSnapshotResponse) Reset() + func (x *ViewSnapshotResponse) String() string Other modules containing this package github.com/goodbaikin/containerd