Documentation ¶
Index ¶
- Variables
- func RegisterSnapshotsServer(s *grpc.Server, srv SnapshotsServer)
- type CleanupRequest
- func (*CleanupRequest) Descriptor() ([]byte, []int)
- func (m *CleanupRequest) Marshal() (dAtA []byte, err error)
- func (m *CleanupRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CleanupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CleanupRequest) ProtoMessage()
- func (m *CleanupRequest) Reset()
- func (m *CleanupRequest) Size() (n int)
- func (this *CleanupRequest) String() string
- func (m *CleanupRequest) Unmarshal(dAtA []byte) error
- func (m *CleanupRequest) XXX_DiscardUnknown()
- func (m *CleanupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CleanupRequest) XXX_Merge(src proto.Message)
- func (m *CleanupRequest) XXX_Size() int
- func (m *CleanupRequest) XXX_Unmarshal(b []byte) error
- type CommitSnapshotRequest
- func (*CommitSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *CommitSnapshotRequest) Marshal() (dAtA []byte, err error)
- func (m *CommitSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CommitSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommitSnapshotRequest) ProtoMessage()
- func (m *CommitSnapshotRequest) Reset()
- func (m *CommitSnapshotRequest) Size() (n int)
- func (this *CommitSnapshotRequest) String() string
- func (m *CommitSnapshotRequest) Unmarshal(dAtA []byte) error
- func (m *CommitSnapshotRequest) XXX_DiscardUnknown()
- func (m *CommitSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommitSnapshotRequest) XXX_Merge(src proto.Message)
- func (m *CommitSnapshotRequest) XXX_Size() int
- func (m *CommitSnapshotRequest) XXX_Unmarshal(b []byte) error
- type Info
- func (*Info) Descriptor() ([]byte, []int)
- func (m *Info) Marshal() (dAtA []byte, err error)
- func (m *Info) MarshalTo(dAtA []byte) (int, error)
- func (m *Info) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) Size() (n int)
- func (this *Info) String() string
- func (m *Info) Unmarshal(dAtA []byte) error
- func (m *Info) XXX_DiscardUnknown()
- func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Info) XXX_Merge(src proto.Message)
- func (m *Info) XXX_Size() int
- func (m *Info) XXX_Unmarshal(b []byte) error
- type Kind
- type ListSnapshotsRequest
- func (*ListSnapshotsRequest) Descriptor() ([]byte, []int)
- func (m *ListSnapshotsRequest) Marshal() (dAtA []byte, err error)
- func (m *ListSnapshotsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListSnapshotsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListSnapshotsRequest) ProtoMessage()
- func (m *ListSnapshotsRequest) Reset()
- func (m *ListSnapshotsRequest) Size() (n int)
- func (this *ListSnapshotsRequest) String() string
- func (m *ListSnapshotsRequest) Unmarshal(dAtA []byte) error
- func (m *ListSnapshotsRequest) XXX_DiscardUnknown()
- func (m *ListSnapshotsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListSnapshotsRequest) XXX_Merge(src proto.Message)
- func (m *ListSnapshotsRequest) XXX_Size() int
- func (m *ListSnapshotsRequest) XXX_Unmarshal(b []byte) error
- type ListSnapshotsResponse
- func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)
- func (m *ListSnapshotsResponse) Marshal() (dAtA []byte, err error)
- func (m *ListSnapshotsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListSnapshotsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListSnapshotsResponse) ProtoMessage()
- func (m *ListSnapshotsResponse) Reset()
- func (m *ListSnapshotsResponse) Size() (n int)
- func (this *ListSnapshotsResponse) String() string
- func (m *ListSnapshotsResponse) Unmarshal(dAtA []byte) error
- func (m *ListSnapshotsResponse) XXX_DiscardUnknown()
- func (m *ListSnapshotsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListSnapshotsResponse) XXX_Merge(src proto.Message)
- func (m *ListSnapshotsResponse) XXX_Size() int
- func (m *ListSnapshotsResponse) XXX_Unmarshal(b []byte) error
- type MountsRequest
- func (*MountsRequest) Descriptor() ([]byte, []int)
- func (m *MountsRequest) Marshal() (dAtA []byte, err error)
- func (m *MountsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MountsRequest) ProtoMessage()
- func (m *MountsRequest) Reset()
- func (m *MountsRequest) Size() (n int)
- func (this *MountsRequest) String() string
- func (m *MountsRequest) Unmarshal(dAtA []byte) error
- func (m *MountsRequest) XXX_DiscardUnknown()
- func (m *MountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MountsRequest) XXX_Merge(src proto.Message)
- func (m *MountsRequest) XXX_Size() int
- func (m *MountsRequest) XXX_Unmarshal(b []byte) error
- type MountsResponse
- func (*MountsResponse) Descriptor() ([]byte, []int)
- func (m *MountsResponse) Marshal() (dAtA []byte, err error)
- func (m *MountsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MountsResponse) ProtoMessage()
- func (m *MountsResponse) Reset()
- func (m *MountsResponse) Size() (n int)
- func (this *MountsResponse) String() string
- func (m *MountsResponse) Unmarshal(dAtA []byte) error
- func (m *MountsResponse) XXX_DiscardUnknown()
- func (m *MountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MountsResponse) XXX_Merge(src proto.Message)
- func (m *MountsResponse) XXX_Size() int
- func (m *MountsResponse) XXX_Unmarshal(b []byte) error
- type PrepareSnapshotRequest
- func (*PrepareSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *PrepareSnapshotRequest) Marshal() (dAtA []byte, err error)
- func (m *PrepareSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PrepareSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrepareSnapshotRequest) ProtoMessage()
- func (m *PrepareSnapshotRequest) Reset()
- func (m *PrepareSnapshotRequest) Size() (n int)
- func (this *PrepareSnapshotRequest) String() string
- func (m *PrepareSnapshotRequest) Unmarshal(dAtA []byte) error
- func (m *PrepareSnapshotRequest) XXX_DiscardUnknown()
- func (m *PrepareSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrepareSnapshotRequest) XXX_Merge(src proto.Message)
- func (m *PrepareSnapshotRequest) XXX_Size() int
- func (m *PrepareSnapshotRequest) XXX_Unmarshal(b []byte) error
- type PrepareSnapshotResponse
- func (*PrepareSnapshotResponse) Descriptor() ([]byte, []int)
- func (m *PrepareSnapshotResponse) Marshal() (dAtA []byte, err error)
- func (m *PrepareSnapshotResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PrepareSnapshotResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrepareSnapshotResponse) ProtoMessage()
- func (m *PrepareSnapshotResponse) Reset()
- func (m *PrepareSnapshotResponse) Size() (n int)
- func (this *PrepareSnapshotResponse) String() string
- func (m *PrepareSnapshotResponse) Unmarshal(dAtA []byte) error
- func (m *PrepareSnapshotResponse) XXX_DiscardUnknown()
- func (m *PrepareSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrepareSnapshotResponse) XXX_Merge(src proto.Message)
- func (m *PrepareSnapshotResponse) XXX_Size() int
- func (m *PrepareSnapshotResponse) XXX_Unmarshal(b []byte) error
- type RemoveSnapshotRequest
- func (*RemoveSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *RemoveSnapshotRequest) Marshal() (dAtA []byte, err error)
- func (m *RemoveSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoveSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemoveSnapshotRequest) ProtoMessage()
- func (m *RemoveSnapshotRequest) Reset()
- func (m *RemoveSnapshotRequest) Size() (n int)
- func (this *RemoveSnapshotRequest) String() string
- func (m *RemoveSnapshotRequest) Unmarshal(dAtA []byte) error
- func (m *RemoveSnapshotRequest) XXX_DiscardUnknown()
- func (m *RemoveSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveSnapshotRequest) XXX_Merge(src proto.Message)
- func (m *RemoveSnapshotRequest) XXX_Size() int
- func (m *RemoveSnapshotRequest) XXX_Unmarshal(b []byte) error
- type SnapshotsClient
- type SnapshotsServer
- type Snapshots_ListClient
- type Snapshots_ListServer
- type StatSnapshotRequest
- func (*StatSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *StatSnapshotRequest) Marshal() (dAtA []byte, err error)
- func (m *StatSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *StatSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatSnapshotRequest) ProtoMessage()
- func (m *StatSnapshotRequest) Reset()
- func (m *StatSnapshotRequest) Size() (n int)
- func (this *StatSnapshotRequest) String() string
- func (m *StatSnapshotRequest) Unmarshal(dAtA []byte) error
- func (m *StatSnapshotRequest) XXX_DiscardUnknown()
- func (m *StatSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatSnapshotRequest) XXX_Merge(src proto.Message)
- func (m *StatSnapshotRequest) XXX_Size() int
- func (m *StatSnapshotRequest) XXX_Unmarshal(b []byte) error
- type StatSnapshotResponse
- func (*StatSnapshotResponse) Descriptor() ([]byte, []int)
- func (m *StatSnapshotResponse) Marshal() (dAtA []byte, err error)
- func (m *StatSnapshotResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *StatSnapshotResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatSnapshotResponse) ProtoMessage()
- func (m *StatSnapshotResponse) Reset()
- func (m *StatSnapshotResponse) Size() (n int)
- func (this *StatSnapshotResponse) String() string
- func (m *StatSnapshotResponse) Unmarshal(dAtA []byte) error
- func (m *StatSnapshotResponse) XXX_DiscardUnknown()
- func (m *StatSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatSnapshotResponse) XXX_Merge(src proto.Message)
- func (m *StatSnapshotResponse) XXX_Size() int
- func (m *StatSnapshotResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedSnapshotsServer
- func (*UnimplementedSnapshotsServer) Cleanup(ctx context.Context, req *CleanupRequest) (*types1.Empty, error)
- func (*UnimplementedSnapshotsServer) Commit(ctx context.Context, req *CommitSnapshotRequest) (*types1.Empty, error)
- func (*UnimplementedSnapshotsServer) List(req *ListSnapshotsRequest, srv Snapshots_ListServer) error
- func (*UnimplementedSnapshotsServer) Mounts(ctx context.Context, req *MountsRequest) (*MountsResponse, error)
- func (*UnimplementedSnapshotsServer) Prepare(ctx context.Context, req *PrepareSnapshotRequest) (*PrepareSnapshotResponse, error)
- func (*UnimplementedSnapshotsServer) Remove(ctx context.Context, req *RemoveSnapshotRequest) (*types1.Empty, error)
- func (*UnimplementedSnapshotsServer) Stat(ctx context.Context, req *StatSnapshotRequest) (*StatSnapshotResponse, error)
- func (*UnimplementedSnapshotsServer) Update(ctx context.Context, req *UpdateSnapshotRequest) (*UpdateSnapshotResponse, error)
- func (*UnimplementedSnapshotsServer) Usage(ctx context.Context, req *UsageRequest) (*UsageResponse, error)
- func (*UnimplementedSnapshotsServer) View(ctx context.Context, req *ViewSnapshotRequest) (*ViewSnapshotResponse, error)
- type UpdateSnapshotRequest
- func (*UpdateSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *UpdateSnapshotRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateSnapshotRequest) ProtoMessage()
- func (m *UpdateSnapshotRequest) Reset()
- func (m *UpdateSnapshotRequest) Size() (n int)
- func (this *UpdateSnapshotRequest) String() string
- func (m *UpdateSnapshotRequest) Unmarshal(dAtA []byte) error
- func (m *UpdateSnapshotRequest) XXX_DiscardUnknown()
- func (m *UpdateSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateSnapshotRequest) XXX_Merge(src proto.Message)
- func (m *UpdateSnapshotRequest) XXX_Size() int
- func (m *UpdateSnapshotRequest) XXX_Unmarshal(b []byte) error
- type UpdateSnapshotResponse
- func (*UpdateSnapshotResponse) Descriptor() ([]byte, []int)
- func (m *UpdateSnapshotResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdateSnapshotResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateSnapshotResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateSnapshotResponse) ProtoMessage()
- func (m *UpdateSnapshotResponse) Reset()
- func (m *UpdateSnapshotResponse) Size() (n int)
- func (this *UpdateSnapshotResponse) String() string
- func (m *UpdateSnapshotResponse) Unmarshal(dAtA []byte) error
- func (m *UpdateSnapshotResponse) XXX_DiscardUnknown()
- func (m *UpdateSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateSnapshotResponse) XXX_Merge(src proto.Message)
- func (m *UpdateSnapshotResponse) XXX_Size() int
- func (m *UpdateSnapshotResponse) XXX_Unmarshal(b []byte) error
- type UsageRequest
- func (*UsageRequest) Descriptor() ([]byte, []int)
- func (m *UsageRequest) Marshal() (dAtA []byte, err error)
- func (m *UsageRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UsageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UsageRequest) ProtoMessage()
- func (m *UsageRequest) Reset()
- func (m *UsageRequest) Size() (n int)
- func (this *UsageRequest) String() string
- func (m *UsageRequest) Unmarshal(dAtA []byte) error
- func (m *UsageRequest) XXX_DiscardUnknown()
- func (m *UsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UsageRequest) XXX_Merge(src proto.Message)
- func (m *UsageRequest) XXX_Size() int
- func (m *UsageRequest) XXX_Unmarshal(b []byte) error
- type UsageResponse
- func (*UsageResponse) Descriptor() ([]byte, []int)
- func (m *UsageResponse) Marshal() (dAtA []byte, err error)
- func (m *UsageResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *UsageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UsageResponse) ProtoMessage()
- func (m *UsageResponse) Reset()
- func (m *UsageResponse) Size() (n int)
- func (this *UsageResponse) String() string
- func (m *UsageResponse) Unmarshal(dAtA []byte) error
- func (m *UsageResponse) XXX_DiscardUnknown()
- func (m *UsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UsageResponse) XXX_Merge(src proto.Message)
- func (m *UsageResponse) XXX_Size() int
- func (m *UsageResponse) XXX_Unmarshal(b []byte) error
- type ViewSnapshotRequest
- func (*ViewSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *ViewSnapshotRequest) Marshal() (dAtA []byte, err error)
- func (m *ViewSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ViewSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ViewSnapshotRequest) ProtoMessage()
- func (m *ViewSnapshotRequest) Reset()
- func (m *ViewSnapshotRequest) Size() (n int)
- func (this *ViewSnapshotRequest) String() string
- func (m *ViewSnapshotRequest) Unmarshal(dAtA []byte) error
- func (m *ViewSnapshotRequest) XXX_DiscardUnknown()
- func (m *ViewSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ViewSnapshotRequest) XXX_Merge(src proto.Message)
- func (m *ViewSnapshotRequest) XXX_Size() int
- func (m *ViewSnapshotRequest) XXX_Unmarshal(b []byte) error
- type ViewSnapshotResponse
- func (*ViewSnapshotResponse) Descriptor() ([]byte, []int)
- func (m *ViewSnapshotResponse) Marshal() (dAtA []byte, err error)
- func (m *ViewSnapshotResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ViewSnapshotResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ViewSnapshotResponse) ProtoMessage()
- func (m *ViewSnapshotResponse) Reset()
- func (m *ViewSnapshotResponse) Size() (n int)
- func (this *ViewSnapshotResponse) String() string
- func (m *ViewSnapshotResponse) Unmarshal(dAtA []byte) error
- func (m *ViewSnapshotResponse) XXX_DiscardUnknown()
- func (m *ViewSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ViewSnapshotResponse) XXX_Merge(src proto.Message)
- func (m *ViewSnapshotResponse) XXX_Size() int
- func (m *ViewSnapshotResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthSnapshots = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSnapshots = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSnapshots = fmt.Errorf("proto: unexpected end of group") )
View Source
var Kind_name = map[int32]string{
0: "UNKNOWN",
1: "VIEW",
2: "ACTIVE",
3: "COMMITTED",
}
View Source
var Kind_value = map[string]int32{
"UNKNOWN": 0,
"VIEW": 1,
"ACTIVE": 2,
"COMMITTED": 3,
}
Functions ¶
func RegisterSnapshotsServer ¶
func RegisterSnapshotsServer(s *grpc.Server, srv SnapshotsServer)
Types ¶
type CleanupRequest ¶
type CleanupRequest struct { Snapshotter string `protobuf:"bytes,1,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CleanupRequest) Descriptor ¶
func (*CleanupRequest) Descriptor() ([]byte, []int)
func (*CleanupRequest) Marshal ¶
func (m *CleanupRequest) Marshal() (dAtA []byte, err error)
func (*CleanupRequest) MarshalToSizedBuffer ¶
func (m *CleanupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CleanupRequest) ProtoMessage ¶
func (*CleanupRequest) ProtoMessage()
func (*CleanupRequest) Reset ¶
func (m *CleanupRequest) Reset()
func (*CleanupRequest) Size ¶
func (m *CleanupRequest) Size() (n int)
func (*CleanupRequest) String ¶
func (this *CleanupRequest) String() string
func (*CleanupRequest) Unmarshal ¶
func (m *CleanupRequest) Unmarshal(dAtA []byte) error
func (*CleanupRequest) XXX_DiscardUnknown ¶
func (m *CleanupRequest) XXX_DiscardUnknown()
func (*CleanupRequest) XXX_Marshal ¶
func (m *CleanupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CleanupRequest) XXX_Merge ¶
func (m *CleanupRequest) XXX_Merge(src proto.Message)
func (*CleanupRequest) XXX_Size ¶
func (m *CleanupRequest) XXX_Size() int
func (*CleanupRequest) XXX_Unmarshal ¶
func (m *CleanupRequest) XXX_Unmarshal(b []byte) error
type CommitSnapshotRequest ¶
type CommitSnapshotRequest struct { Snapshotter string `protobuf:"bytes,1,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // Labels are arbitrary data on snapshots. // // The combined size of a key/value pair cannot exceed 4096 bytes. Labels map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommitSnapshotRequest) Descriptor ¶
func (*CommitSnapshotRequest) Descriptor() ([]byte, []int)
func (*CommitSnapshotRequest) Marshal ¶
func (m *CommitSnapshotRequest) Marshal() (dAtA []byte, err error)
func (*CommitSnapshotRequest) MarshalTo ¶
func (m *CommitSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
func (*CommitSnapshotRequest) MarshalToSizedBuffer ¶
func (m *CommitSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommitSnapshotRequest) ProtoMessage ¶
func (*CommitSnapshotRequest) ProtoMessage()
func (*CommitSnapshotRequest) Reset ¶
func (m *CommitSnapshotRequest) Reset()
func (*CommitSnapshotRequest) Size ¶
func (m *CommitSnapshotRequest) Size() (n int)
func (*CommitSnapshotRequest) String ¶
func (this *CommitSnapshotRequest) String() string
func (*CommitSnapshotRequest) Unmarshal ¶
func (m *CommitSnapshotRequest) Unmarshal(dAtA []byte) error
func (*CommitSnapshotRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CommitSnapshotRequest) XXX_DiscardUnknown()
func (*CommitSnapshotRequest) XXX_Marshal ¶ added in v1.3.0
func (m *CommitSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommitSnapshotRequest) XXX_Merge ¶ added in v1.3.0
func (m *CommitSnapshotRequest) XXX_Merge(src proto.Message)
func (*CommitSnapshotRequest) XXX_Size ¶ added in v1.3.0
func (m *CommitSnapshotRequest) XXX_Size() int
func (*CommitSnapshotRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *CommitSnapshotRequest) XXX_Unmarshal(b []byte) error
type Info ¶
type Info struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` Kind Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=containerd.services.snapshots.v1.Kind" json:"kind,omitempty"` // CreatedAt provides the time at which the snapshot was created. CreatedAt time.Time `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"` // UpdatedAt provides the time the info was last updated. UpdatedAt time.Time `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at"` // Labels are arbitrary data on snapshots. // // The combined size of a key/value pair cannot exceed 4096 bytes. Labels map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Info) Descriptor ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
func (*Info) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *Info) XXX_DiscardUnknown()
func (*Info) XXX_Marshal ¶ added in v1.3.0
func (*Info) XXX_Unmarshal ¶ added in v1.3.0
type ListSnapshotsRequest ¶
type ListSnapshotsRequest struct { Snapshotter string `protobuf:"bytes,1,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` // Filters contains one or more filters using the syntax defined in the // containerd filter package. // // The returned result will be those that match any of the provided // filters. Expanded, images that match the following will be // returned: // // filters[0] or filters[1] or ... or filters[n-1] or filters[n] // // If filters is zero-length or nil, all items will be returned. Filters []string `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListSnapshotsRequest) Descriptor ¶
func (*ListSnapshotsRequest) Descriptor() ([]byte, []int)
func (*ListSnapshotsRequest) Marshal ¶
func (m *ListSnapshotsRequest) Marshal() (dAtA []byte, err error)
func (*ListSnapshotsRequest) MarshalTo ¶
func (m *ListSnapshotsRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListSnapshotsRequest) MarshalToSizedBuffer ¶
func (m *ListSnapshotsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListSnapshotsRequest) ProtoMessage ¶
func (*ListSnapshotsRequest) ProtoMessage()
func (*ListSnapshotsRequest) Reset ¶
func (m *ListSnapshotsRequest) Reset()
func (*ListSnapshotsRequest) Size ¶
func (m *ListSnapshotsRequest) Size() (n int)
func (*ListSnapshotsRequest) String ¶
func (this *ListSnapshotsRequest) String() string
func (*ListSnapshotsRequest) Unmarshal ¶
func (m *ListSnapshotsRequest) Unmarshal(dAtA []byte) error
func (*ListSnapshotsRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *ListSnapshotsRequest) XXX_DiscardUnknown()
func (*ListSnapshotsRequest) XXX_Marshal ¶ added in v1.3.0
func (m *ListSnapshotsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSnapshotsRequest) XXX_Merge ¶ added in v1.3.0
func (m *ListSnapshotsRequest) XXX_Merge(src proto.Message)
func (*ListSnapshotsRequest) XXX_Size ¶ added in v1.3.0
func (m *ListSnapshotsRequest) XXX_Size() int
func (*ListSnapshotsRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *ListSnapshotsRequest) XXX_Unmarshal(b []byte) error
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct { Info []Info `protobuf:"bytes,1,rep,name=info,proto3" json:"info"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListSnapshotsResponse) Descriptor ¶
func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)
func (*ListSnapshotsResponse) Marshal ¶
func (m *ListSnapshotsResponse) Marshal() (dAtA []byte, err error)
func (*ListSnapshotsResponse) MarshalTo ¶
func (m *ListSnapshotsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListSnapshotsResponse) MarshalToSizedBuffer ¶
func (m *ListSnapshotsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListSnapshotsResponse) ProtoMessage ¶
func (*ListSnapshotsResponse) ProtoMessage()
func (*ListSnapshotsResponse) Reset ¶
func (m *ListSnapshotsResponse) Reset()
func (*ListSnapshotsResponse) Size ¶
func (m *ListSnapshotsResponse) Size() (n int)
func (*ListSnapshotsResponse) String ¶
func (this *ListSnapshotsResponse) String() string
func (*ListSnapshotsResponse) Unmarshal ¶
func (m *ListSnapshotsResponse) Unmarshal(dAtA []byte) error
func (*ListSnapshotsResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *ListSnapshotsResponse) XXX_DiscardUnknown()
func (*ListSnapshotsResponse) XXX_Marshal ¶ added in v1.3.0
func (m *ListSnapshotsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSnapshotsResponse) XXX_Merge ¶ added in v1.3.0
func (m *ListSnapshotsResponse) XXX_Merge(src proto.Message)
func (*ListSnapshotsResponse) XXX_Size ¶ added in v1.3.0
func (m *ListSnapshotsResponse) XXX_Size() int
func (*ListSnapshotsResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *ListSnapshotsResponse) XXX_Unmarshal(b []byte) error
type MountsRequest ¶
type MountsRequest struct { Snapshotter string `protobuf:"bytes,1,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MountsRequest) Descriptor ¶
func (*MountsRequest) Descriptor() ([]byte, []int)
func (*MountsRequest) Marshal ¶
func (m *MountsRequest) Marshal() (dAtA []byte, err error)
func (*MountsRequest) MarshalToSizedBuffer ¶
func (m *MountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MountsRequest) ProtoMessage ¶
func (*MountsRequest) ProtoMessage()
func (*MountsRequest) Reset ¶
func (m *MountsRequest) Reset()
func (*MountsRequest) Size ¶
func (m *MountsRequest) Size() (n int)
func (*MountsRequest) String ¶
func (this *MountsRequest) String() string
func (*MountsRequest) Unmarshal ¶
func (m *MountsRequest) Unmarshal(dAtA []byte) error
func (*MountsRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *MountsRequest) XXX_DiscardUnknown()
func (*MountsRequest) XXX_Marshal ¶ added in v1.3.0
func (m *MountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MountsRequest) XXX_Merge ¶ added in v1.3.0
func (m *MountsRequest) XXX_Merge(src proto.Message)
func (*MountsRequest) XXX_Size ¶ added in v1.3.0
func (m *MountsRequest) XXX_Size() int
func (*MountsRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *MountsRequest) XXX_Unmarshal(b []byte) error
type MountsResponse ¶
type MountsResponse struct { Mounts []*types.Mount `protobuf:"bytes,1,rep,name=mounts,proto3" json:"mounts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MountsResponse) Descriptor ¶
func (*MountsResponse) Descriptor() ([]byte, []int)
func (*MountsResponse) Marshal ¶
func (m *MountsResponse) Marshal() (dAtA []byte, err error)
func (*MountsResponse) MarshalToSizedBuffer ¶
func (m *MountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MountsResponse) ProtoMessage ¶
func (*MountsResponse) ProtoMessage()
func (*MountsResponse) Reset ¶
func (m *MountsResponse) Reset()
func (*MountsResponse) Size ¶
func (m *MountsResponse) Size() (n int)
func (*MountsResponse) String ¶
func (this *MountsResponse) String() string
func (*MountsResponse) Unmarshal ¶
func (m *MountsResponse) Unmarshal(dAtA []byte) error
func (*MountsResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *MountsResponse) XXX_DiscardUnknown()
func (*MountsResponse) XXX_Marshal ¶ added in v1.3.0
func (m *MountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MountsResponse) XXX_Merge ¶ added in v1.3.0
func (m *MountsResponse) XXX_Merge(src proto.Message)
func (*MountsResponse) XXX_Size ¶ added in v1.3.0
func (m *MountsResponse) XXX_Size() int
func (*MountsResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *MountsResponse) XXX_Unmarshal(b []byte) error
type PrepareSnapshotRequest ¶
type PrepareSnapshotRequest struct { Snapshotter string `protobuf:"bytes,1,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` // Labels are arbitrary data on snapshots. // // The combined size of a key/value pair cannot exceed 4096 bytes. Labels map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PrepareSnapshotRequest) Descriptor ¶
func (*PrepareSnapshotRequest) Descriptor() ([]byte, []int)
func (*PrepareSnapshotRequest) Marshal ¶
func (m *PrepareSnapshotRequest) Marshal() (dAtA []byte, err error)
func (*PrepareSnapshotRequest) MarshalTo ¶
func (m *PrepareSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
func (*PrepareSnapshotRequest) MarshalToSizedBuffer ¶
func (m *PrepareSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrepareSnapshotRequest) ProtoMessage ¶
func (*PrepareSnapshotRequest) ProtoMessage()
func (*PrepareSnapshotRequest) Reset ¶
func (m *PrepareSnapshotRequest) Reset()
func (*PrepareSnapshotRequest) Size ¶
func (m *PrepareSnapshotRequest) Size() (n int)
func (*PrepareSnapshotRequest) String ¶
func (this *PrepareSnapshotRequest) String() string
func (*PrepareSnapshotRequest) Unmarshal ¶
func (m *PrepareSnapshotRequest) Unmarshal(dAtA []byte) error
func (*PrepareSnapshotRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *PrepareSnapshotRequest) XXX_DiscardUnknown()
func (*PrepareSnapshotRequest) XXX_Marshal ¶ added in v1.3.0
func (m *PrepareSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrepareSnapshotRequest) XXX_Merge ¶ added in v1.3.0
func (m *PrepareSnapshotRequest) XXX_Merge(src proto.Message)
func (*PrepareSnapshotRequest) XXX_Size ¶ added in v1.3.0
func (m *PrepareSnapshotRequest) XXX_Size() int
func (*PrepareSnapshotRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *PrepareSnapshotRequest) XXX_Unmarshal(b []byte) error
type PrepareSnapshotResponse ¶
type PrepareSnapshotResponse struct { Mounts []*types.Mount `protobuf:"bytes,1,rep,name=mounts,proto3" json:"mounts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PrepareSnapshotResponse) Descriptor ¶
func (*PrepareSnapshotResponse) Descriptor() ([]byte, []int)
func (*PrepareSnapshotResponse) Marshal ¶
func (m *PrepareSnapshotResponse) Marshal() (dAtA []byte, err error)
func (*PrepareSnapshotResponse) MarshalTo ¶
func (m *PrepareSnapshotResponse) MarshalTo(dAtA []byte) (int, error)
func (*PrepareSnapshotResponse) MarshalToSizedBuffer ¶
func (m *PrepareSnapshotResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrepareSnapshotResponse) ProtoMessage ¶
func (*PrepareSnapshotResponse) ProtoMessage()
func (*PrepareSnapshotResponse) Reset ¶
func (m *PrepareSnapshotResponse) Reset()
func (*PrepareSnapshotResponse) Size ¶
func (m *PrepareSnapshotResponse) Size() (n int)
func (*PrepareSnapshotResponse) String ¶
func (this *PrepareSnapshotResponse) String() string
func (*PrepareSnapshotResponse) Unmarshal ¶
func (m *PrepareSnapshotResponse) Unmarshal(dAtA []byte) error
func (*PrepareSnapshotResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *PrepareSnapshotResponse) XXX_DiscardUnknown()
func (*PrepareSnapshotResponse) XXX_Marshal ¶ added in v1.3.0
func (m *PrepareSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrepareSnapshotResponse) XXX_Merge ¶ added in v1.3.0
func (m *PrepareSnapshotResponse) XXX_Merge(src proto.Message)
func (*PrepareSnapshotResponse) XXX_Size ¶ added in v1.3.0
func (m *PrepareSnapshotResponse) XXX_Size() int
func (*PrepareSnapshotResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *PrepareSnapshotResponse) XXX_Unmarshal(b []byte) error
type RemoveSnapshotRequest ¶
type RemoveSnapshotRequest struct { Snapshotter string `protobuf:"bytes,1,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveSnapshotRequest) Descriptor ¶
func (*RemoveSnapshotRequest) Descriptor() ([]byte, []int)
func (*RemoveSnapshotRequest) Marshal ¶
func (m *RemoveSnapshotRequest) Marshal() (dAtA []byte, err error)
func (*RemoveSnapshotRequest) MarshalTo ¶
func (m *RemoveSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
func (*RemoveSnapshotRequest) MarshalToSizedBuffer ¶
func (m *RemoveSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoveSnapshotRequest) ProtoMessage ¶
func (*RemoveSnapshotRequest) ProtoMessage()
func (*RemoveSnapshotRequest) Reset ¶
func (m *RemoveSnapshotRequest) Reset()
func (*RemoveSnapshotRequest) Size ¶
func (m *RemoveSnapshotRequest) Size() (n int)
func (*RemoveSnapshotRequest) String ¶
func (this *RemoveSnapshotRequest) String() string
func (*RemoveSnapshotRequest) Unmarshal ¶
func (m *RemoveSnapshotRequest) Unmarshal(dAtA []byte) error
func (*RemoveSnapshotRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *RemoveSnapshotRequest) XXX_DiscardUnknown()
func (*RemoveSnapshotRequest) XXX_Marshal ¶ added in v1.3.0
func (m *RemoveSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveSnapshotRequest) XXX_Merge ¶ added in v1.3.0
func (m *RemoveSnapshotRequest) XXX_Merge(src proto.Message)
func (*RemoveSnapshotRequest) XXX_Size ¶ added in v1.3.0
func (m *RemoveSnapshotRequest) XXX_Size() int
func (*RemoveSnapshotRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *RemoveSnapshotRequest) XXX_Unmarshal(b []byte) error
type SnapshotsClient ¶
type SnapshotsClient interface { Prepare(ctx context.Context, in *PrepareSnapshotRequest, opts ...grpc.CallOption) (*PrepareSnapshotResponse, error) View(ctx context.Context, in *ViewSnapshotRequest, opts ...grpc.CallOption) (*ViewSnapshotResponse, error) Mounts(ctx context.Context, in *MountsRequest, opts ...grpc.CallOption) (*MountsResponse, error) Commit(ctx context.Context, in *CommitSnapshotRequest, opts ...grpc.CallOption) (*types1.Empty, error) Remove(ctx context.Context, in *RemoveSnapshotRequest, opts ...grpc.CallOption) (*types1.Empty, error) Stat(ctx context.Context, in *StatSnapshotRequest, opts ...grpc.CallOption) (*StatSnapshotResponse, error) Update(ctx context.Context, in *UpdateSnapshotRequest, opts ...grpc.CallOption) (*UpdateSnapshotResponse, error) List(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (Snapshots_ListClient, error) Usage(ctx context.Context, in *UsageRequest, opts ...grpc.CallOption) (*UsageResponse, error) Cleanup(ctx context.Context, in *CleanupRequest, opts ...grpc.CallOption) (*types1.Empty, error) }
SnapshotsClient is the client API for Snapshots service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSnapshotsClient ¶
func NewSnapshotsClient(cc *grpc.ClientConn) SnapshotsClient
type SnapshotsServer ¶
type SnapshotsServer interface { Prepare(context.Context, *PrepareSnapshotRequest) (*PrepareSnapshotResponse, error) View(context.Context, *ViewSnapshotRequest) (*ViewSnapshotResponse, error) Mounts(context.Context, *MountsRequest) (*MountsResponse, error) Commit(context.Context, *CommitSnapshotRequest) (*types1.Empty, error) Remove(context.Context, *RemoveSnapshotRequest) (*types1.Empty, error) Stat(context.Context, *StatSnapshotRequest) (*StatSnapshotResponse, error) Update(context.Context, *UpdateSnapshotRequest) (*UpdateSnapshotResponse, error) List(*ListSnapshotsRequest, Snapshots_ListServer) error Usage(context.Context, *UsageRequest) (*UsageResponse, error) Cleanup(context.Context, *CleanupRequest) (*types1.Empty, error) }
SnapshotsServer is the server API for Snapshots service.
type Snapshots_ListClient ¶
type Snapshots_ListClient interface { Recv() (*ListSnapshotsResponse, error) grpc.ClientStream }
type Snapshots_ListServer ¶
type Snapshots_ListServer interface { Send(*ListSnapshotsResponse) error grpc.ServerStream }
type StatSnapshotRequest ¶
type StatSnapshotRequest struct { Snapshotter string `protobuf:"bytes,1,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatSnapshotRequest) Descriptor ¶
func (*StatSnapshotRequest) Descriptor() ([]byte, []int)
func (*StatSnapshotRequest) Marshal ¶
func (m *StatSnapshotRequest) Marshal() (dAtA []byte, err error)
func (*StatSnapshotRequest) MarshalTo ¶
func (m *StatSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
func (*StatSnapshotRequest) MarshalToSizedBuffer ¶
func (m *StatSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatSnapshotRequest) ProtoMessage ¶
func (*StatSnapshotRequest) ProtoMessage()
func (*StatSnapshotRequest) Reset ¶
func (m *StatSnapshotRequest) Reset()
func (*StatSnapshotRequest) Size ¶
func (m *StatSnapshotRequest) Size() (n int)
func (*StatSnapshotRequest) String ¶
func (this *StatSnapshotRequest) String() string
func (*StatSnapshotRequest) Unmarshal ¶
func (m *StatSnapshotRequest) Unmarshal(dAtA []byte) error
func (*StatSnapshotRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *StatSnapshotRequest) XXX_DiscardUnknown()
func (*StatSnapshotRequest) XXX_Marshal ¶ added in v1.3.0
func (m *StatSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatSnapshotRequest) XXX_Merge ¶ added in v1.3.0
func (m *StatSnapshotRequest) XXX_Merge(src proto.Message)
func (*StatSnapshotRequest) XXX_Size ¶ added in v1.3.0
func (m *StatSnapshotRequest) XXX_Size() int
func (*StatSnapshotRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *StatSnapshotRequest) XXX_Unmarshal(b []byte) error
type StatSnapshotResponse ¶
type StatSnapshotResponse struct { Info Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatSnapshotResponse) Descriptor ¶
func (*StatSnapshotResponse) Descriptor() ([]byte, []int)
func (*StatSnapshotResponse) Marshal ¶
func (m *StatSnapshotResponse) Marshal() (dAtA []byte, err error)
func (*StatSnapshotResponse) MarshalTo ¶
func (m *StatSnapshotResponse) MarshalTo(dAtA []byte) (int, error)
func (*StatSnapshotResponse) MarshalToSizedBuffer ¶
func (m *StatSnapshotResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatSnapshotResponse) ProtoMessage ¶
func (*StatSnapshotResponse) ProtoMessage()
func (*StatSnapshotResponse) Reset ¶
func (m *StatSnapshotResponse) Reset()
func (*StatSnapshotResponse) Size ¶
func (m *StatSnapshotResponse) Size() (n int)
func (*StatSnapshotResponse) String ¶
func (this *StatSnapshotResponse) String() string
func (*StatSnapshotResponse) Unmarshal ¶
func (m *StatSnapshotResponse) Unmarshal(dAtA []byte) error
func (*StatSnapshotResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *StatSnapshotResponse) XXX_DiscardUnknown()
func (*StatSnapshotResponse) XXX_Marshal ¶ added in v1.3.0
func (m *StatSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatSnapshotResponse) XXX_Merge ¶ added in v1.3.0
func (m *StatSnapshotResponse) XXX_Merge(src proto.Message)
func (*StatSnapshotResponse) XXX_Size ¶ added in v1.3.0
func (m *StatSnapshotResponse) XXX_Size() int
func (*StatSnapshotResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *StatSnapshotResponse) XXX_Unmarshal(b []byte) error
type UnimplementedSnapshotsServer ¶
type UnimplementedSnapshotsServer struct { }
UnimplementedSnapshotsServer can be embedded to have forward compatible implementations.
func (*UnimplementedSnapshotsServer) Cleanup ¶
func (*UnimplementedSnapshotsServer) Cleanup(ctx context.Context, req *CleanupRequest) (*types1.Empty, error)
func (*UnimplementedSnapshotsServer) Commit ¶
func (*UnimplementedSnapshotsServer) Commit(ctx context.Context, req *CommitSnapshotRequest) (*types1.Empty, error)
func (*UnimplementedSnapshotsServer) List ¶
func (*UnimplementedSnapshotsServer) List(req *ListSnapshotsRequest, srv Snapshots_ListServer) error
func (*UnimplementedSnapshotsServer) Mounts ¶
func (*UnimplementedSnapshotsServer) Mounts(ctx context.Context, req *MountsRequest) (*MountsResponse, error)
func (*UnimplementedSnapshotsServer) Prepare ¶
func (*UnimplementedSnapshotsServer) Prepare(ctx context.Context, req *PrepareSnapshotRequest) (*PrepareSnapshotResponse, error)
func (*UnimplementedSnapshotsServer) Remove ¶
func (*UnimplementedSnapshotsServer) Remove(ctx context.Context, req *RemoveSnapshotRequest) (*types1.Empty, error)
func (*UnimplementedSnapshotsServer) Stat ¶
func (*UnimplementedSnapshotsServer) Stat(ctx context.Context, req *StatSnapshotRequest) (*StatSnapshotResponse, error)
func (*UnimplementedSnapshotsServer) Update ¶
func (*UnimplementedSnapshotsServer) Update(ctx context.Context, req *UpdateSnapshotRequest) (*UpdateSnapshotResponse, error)
func (*UnimplementedSnapshotsServer) Usage ¶
func (*UnimplementedSnapshotsServer) Usage(ctx context.Context, req *UsageRequest) (*UsageResponse, error)
func (*UnimplementedSnapshotsServer) View ¶
func (*UnimplementedSnapshotsServer) View(ctx context.Context, req *ViewSnapshotRequest) (*ViewSnapshotResponse, error)
type UpdateSnapshotRequest ¶
type UpdateSnapshotRequest struct { Snapshotter string `protobuf:"bytes,1,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` Info Info `protobuf:"bytes,2,opt,name=info,proto3" json:"info"` // UpdateMask specifies which fields to perform the update on. If empty, // the operation applies to all fields. // // In info, Name, Parent, Kind, Created are immutable, // other field may be updated using this mask. // If no mask is provided, all mutable field are updated. UpdateMask *types1.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateSnapshotRequest) Descriptor ¶
func (*UpdateSnapshotRequest) Descriptor() ([]byte, []int)
func (*UpdateSnapshotRequest) Marshal ¶
func (m *UpdateSnapshotRequest) Marshal() (dAtA []byte, err error)
func (*UpdateSnapshotRequest) MarshalTo ¶
func (m *UpdateSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateSnapshotRequest) MarshalToSizedBuffer ¶
func (m *UpdateSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateSnapshotRequest) ProtoMessage ¶
func (*UpdateSnapshotRequest) ProtoMessage()
func (*UpdateSnapshotRequest) Reset ¶
func (m *UpdateSnapshotRequest) Reset()
func (*UpdateSnapshotRequest) Size ¶
func (m *UpdateSnapshotRequest) Size() (n int)
func (*UpdateSnapshotRequest) String ¶
func (this *UpdateSnapshotRequest) String() string
func (*UpdateSnapshotRequest) Unmarshal ¶
func (m *UpdateSnapshotRequest) Unmarshal(dAtA []byte) error
func (*UpdateSnapshotRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *UpdateSnapshotRequest) XXX_DiscardUnknown()
func (*UpdateSnapshotRequest) XXX_Marshal ¶ added in v1.3.0
func (m *UpdateSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateSnapshotRequest) XXX_Merge ¶ added in v1.3.0
func (m *UpdateSnapshotRequest) XXX_Merge(src proto.Message)
func (*UpdateSnapshotRequest) XXX_Size ¶ added in v1.3.0
func (m *UpdateSnapshotRequest) XXX_Size() int
func (*UpdateSnapshotRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *UpdateSnapshotRequest) XXX_Unmarshal(b []byte) error
type UpdateSnapshotResponse ¶
type UpdateSnapshotResponse struct { Info Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateSnapshotResponse) Descriptor ¶
func (*UpdateSnapshotResponse) Descriptor() ([]byte, []int)
func (*UpdateSnapshotResponse) Marshal ¶
func (m *UpdateSnapshotResponse) Marshal() (dAtA []byte, err error)
func (*UpdateSnapshotResponse) MarshalTo ¶
func (m *UpdateSnapshotResponse) MarshalTo(dAtA []byte) (int, error)
func (*UpdateSnapshotResponse) MarshalToSizedBuffer ¶
func (m *UpdateSnapshotResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateSnapshotResponse) ProtoMessage ¶
func (*UpdateSnapshotResponse) ProtoMessage()
func (*UpdateSnapshotResponse) Reset ¶
func (m *UpdateSnapshotResponse) Reset()
func (*UpdateSnapshotResponse) Size ¶
func (m *UpdateSnapshotResponse) Size() (n int)
func (*UpdateSnapshotResponse) String ¶
func (this *UpdateSnapshotResponse) String() string
func (*UpdateSnapshotResponse) Unmarshal ¶
func (m *UpdateSnapshotResponse) Unmarshal(dAtA []byte) error
func (*UpdateSnapshotResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *UpdateSnapshotResponse) XXX_DiscardUnknown()
func (*UpdateSnapshotResponse) XXX_Marshal ¶ added in v1.3.0
func (m *UpdateSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateSnapshotResponse) XXX_Merge ¶ added in v1.3.0
func (m *UpdateSnapshotResponse) XXX_Merge(src proto.Message)
func (*UpdateSnapshotResponse) XXX_Size ¶ added in v1.3.0
func (m *UpdateSnapshotResponse) XXX_Size() int
func (*UpdateSnapshotResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *UpdateSnapshotResponse) XXX_Unmarshal(b []byte) error
type UsageRequest ¶
type UsageRequest struct { Snapshotter string `protobuf:"bytes,1,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UsageRequest) Descriptor ¶
func (*UsageRequest) Descriptor() ([]byte, []int)
func (*UsageRequest) Marshal ¶
func (m *UsageRequest) Marshal() (dAtA []byte, err error)
func (*UsageRequest) MarshalToSizedBuffer ¶
func (m *UsageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UsageRequest) ProtoMessage ¶
func (*UsageRequest) ProtoMessage()
func (*UsageRequest) Reset ¶
func (m *UsageRequest) Reset()
func (*UsageRequest) Size ¶
func (m *UsageRequest) Size() (n int)
func (*UsageRequest) String ¶
func (this *UsageRequest) String() string
func (*UsageRequest) Unmarshal ¶
func (m *UsageRequest) Unmarshal(dAtA []byte) error
func (*UsageRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *UsageRequest) XXX_DiscardUnknown()
func (*UsageRequest) XXX_Marshal ¶ added in v1.3.0
func (m *UsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UsageRequest) XXX_Merge ¶ added in v1.3.0
func (m *UsageRequest) XXX_Merge(src proto.Message)
func (*UsageRequest) XXX_Size ¶ added in v1.3.0
func (m *UsageRequest) XXX_Size() int
func (*UsageRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *UsageRequest) XXX_Unmarshal(b []byte) error
type UsageResponse ¶
type UsageResponse struct { Size_ int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` Inodes int64 `protobuf:"varint,2,opt,name=inodes,proto3" json:"inodes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UsageResponse) Descriptor ¶
func (*UsageResponse) Descriptor() ([]byte, []int)
func (*UsageResponse) Marshal ¶
func (m *UsageResponse) Marshal() (dAtA []byte, err error)
func (*UsageResponse) MarshalToSizedBuffer ¶
func (m *UsageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UsageResponse) ProtoMessage ¶
func (*UsageResponse) ProtoMessage()
func (*UsageResponse) Reset ¶
func (m *UsageResponse) Reset()
func (*UsageResponse) Size ¶
func (m *UsageResponse) Size() (n int)
func (*UsageResponse) String ¶
func (this *UsageResponse) String() string
func (*UsageResponse) Unmarshal ¶
func (m *UsageResponse) Unmarshal(dAtA []byte) error
func (*UsageResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *UsageResponse) XXX_DiscardUnknown()
func (*UsageResponse) XXX_Marshal ¶ added in v1.3.0
func (m *UsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UsageResponse) XXX_Merge ¶ added in v1.3.0
func (m *UsageResponse) XXX_Merge(src proto.Message)
func (*UsageResponse) XXX_Size ¶ added in v1.3.0
func (m *UsageResponse) XXX_Size() int
func (*UsageResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *UsageResponse) XXX_Unmarshal(b []byte) error
type ViewSnapshotRequest ¶
type ViewSnapshotRequest struct { Snapshotter string `protobuf:"bytes,1,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` // Labels are arbitrary data on snapshots. // // The combined size of a key/value pair cannot exceed 4096 bytes. Labels map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ViewSnapshotRequest) Descriptor ¶
func (*ViewSnapshotRequest) Descriptor() ([]byte, []int)
func (*ViewSnapshotRequest) Marshal ¶
func (m *ViewSnapshotRequest) Marshal() (dAtA []byte, err error)
func (*ViewSnapshotRequest) MarshalTo ¶
func (m *ViewSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
func (*ViewSnapshotRequest) MarshalToSizedBuffer ¶
func (m *ViewSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ViewSnapshotRequest) ProtoMessage ¶
func (*ViewSnapshotRequest) ProtoMessage()
func (*ViewSnapshotRequest) Reset ¶
func (m *ViewSnapshotRequest) Reset()
func (*ViewSnapshotRequest) Size ¶
func (m *ViewSnapshotRequest) Size() (n int)
func (*ViewSnapshotRequest) String ¶
func (this *ViewSnapshotRequest) String() string
func (*ViewSnapshotRequest) Unmarshal ¶
func (m *ViewSnapshotRequest) Unmarshal(dAtA []byte) error
func (*ViewSnapshotRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *ViewSnapshotRequest) XXX_DiscardUnknown()
func (*ViewSnapshotRequest) XXX_Marshal ¶ added in v1.3.0
func (m *ViewSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ViewSnapshotRequest) XXX_Merge ¶ added in v1.3.0
func (m *ViewSnapshotRequest) XXX_Merge(src proto.Message)
func (*ViewSnapshotRequest) XXX_Size ¶ added in v1.3.0
func (m *ViewSnapshotRequest) XXX_Size() int
func (*ViewSnapshotRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *ViewSnapshotRequest) XXX_Unmarshal(b []byte) error
type ViewSnapshotResponse ¶
type ViewSnapshotResponse struct { Mounts []*types.Mount `protobuf:"bytes,1,rep,name=mounts,proto3" json:"mounts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ViewSnapshotResponse) Descriptor ¶
func (*ViewSnapshotResponse) Descriptor() ([]byte, []int)
func (*ViewSnapshotResponse) Marshal ¶
func (m *ViewSnapshotResponse) Marshal() (dAtA []byte, err error)
func (*ViewSnapshotResponse) MarshalTo ¶
func (m *ViewSnapshotResponse) MarshalTo(dAtA []byte) (int, error)
func (*ViewSnapshotResponse) MarshalToSizedBuffer ¶
func (m *ViewSnapshotResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ViewSnapshotResponse) ProtoMessage ¶
func (*ViewSnapshotResponse) ProtoMessage()
func (*ViewSnapshotResponse) Reset ¶
func (m *ViewSnapshotResponse) Reset()
func (*ViewSnapshotResponse) Size ¶
func (m *ViewSnapshotResponse) Size() (n int)
func (*ViewSnapshotResponse) String ¶
func (this *ViewSnapshotResponse) String() string
func (*ViewSnapshotResponse) Unmarshal ¶
func (m *ViewSnapshotResponse) Unmarshal(dAtA []byte) error
func (*ViewSnapshotResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *ViewSnapshotResponse) XXX_DiscardUnknown()
func (*ViewSnapshotResponse) XXX_Marshal ¶ added in v1.3.0
func (m *ViewSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ViewSnapshotResponse) XXX_Merge ¶ added in v1.3.0
func (m *ViewSnapshotResponse) XXX_Merge(src proto.Message)
func (*ViewSnapshotResponse) XXX_Size ¶ added in v1.3.0
func (m *ViewSnapshotResponse) XXX_Size() int
func (*ViewSnapshotResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *ViewSnapshotResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.