Documentation ¶
Overview ¶
Package snapshots is a generated protocol buffer package.
It is generated from these files:
github.com/containerd/containerd/api/services/snapshots/v1/snapshots.proto
It has these top-level messages:
PrepareSnapshotRequest PrepareSnapshotResponse ViewSnapshotRequest ViewSnapshotResponse MountsRequest MountsResponse RemoveSnapshotRequest CommitSnapshotRequest StatSnapshotRequest Info StatSnapshotResponse UpdateSnapshotRequest UpdateSnapshotResponse ListSnapshotsRequest ListSnapshotsResponse UsageRequest UsageResponse
Index ¶
- Variables
- func RegisterSnapshotsServer(s *grpc.Server, srv SnapshotsServer)
- type CommitSnapshotRequest
- func (*CommitSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *CommitSnapshotRequest) Marshal() (dAtA []byte, err error)
- func (m *CommitSnapshotRequest) MarshalTo(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
- type Info
- func (*Info) Descriptor() ([]byte, []int)
- func (m *Info) Marshal() (dAtA []byte, err error)
- func (m *Info) MarshalTo(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
- 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 (*ListSnapshotsRequest) ProtoMessage()
- func (m *ListSnapshotsRequest) Reset()
- func (m *ListSnapshotsRequest) Size() (n int)
- func (this *ListSnapshotsRequest) String() string
- func (m *ListSnapshotsRequest) Unmarshal(dAtA []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 (*ListSnapshotsResponse) ProtoMessage()
- func (m *ListSnapshotsResponse) Reset()
- func (m *ListSnapshotsResponse) Size() (n int)
- func (this *ListSnapshotsResponse) String() string
- func (m *ListSnapshotsResponse) Unmarshal(dAtA []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 (*MountsRequest) ProtoMessage()
- func (m *MountsRequest) Reset()
- func (m *MountsRequest) Size() (n int)
- func (this *MountsRequest) String() string
- func (m *MountsRequest) Unmarshal(dAtA []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 (*MountsResponse) ProtoMessage()
- func (m *MountsResponse) Reset()
- func (m *MountsResponse) Size() (n int)
- func (this *MountsResponse) String() string
- func (m *MountsResponse) Unmarshal(dAtA []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 (*PrepareSnapshotRequest) ProtoMessage()
- func (m *PrepareSnapshotRequest) Reset()
- func (m *PrepareSnapshotRequest) Size() (n int)
- func (this *PrepareSnapshotRequest) String() string
- func (m *PrepareSnapshotRequest) Unmarshal(dAtA []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 (*PrepareSnapshotResponse) ProtoMessage()
- func (m *PrepareSnapshotResponse) Reset()
- func (m *PrepareSnapshotResponse) Size() (n int)
- func (this *PrepareSnapshotResponse) String() string
- func (m *PrepareSnapshotResponse) Unmarshal(dAtA []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 (*RemoveSnapshotRequest) ProtoMessage()
- func (m *RemoveSnapshotRequest) Reset()
- func (m *RemoveSnapshotRequest) Size() (n int)
- func (this *RemoveSnapshotRequest) String() string
- func (m *RemoveSnapshotRequest) Unmarshal(dAtA []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 (*StatSnapshotRequest) ProtoMessage()
- func (m *StatSnapshotRequest) Reset()
- func (m *StatSnapshotRequest) Size() (n int)
- func (this *StatSnapshotRequest) String() string
- func (m *StatSnapshotRequest) Unmarshal(dAtA []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 (*StatSnapshotResponse) ProtoMessage()
- func (m *StatSnapshotResponse) Reset()
- func (m *StatSnapshotResponse) Size() (n int)
- func (this *StatSnapshotResponse) String() string
- func (m *StatSnapshotResponse) Unmarshal(dAtA []byte) 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 (*UpdateSnapshotRequest) ProtoMessage()
- func (m *UpdateSnapshotRequest) Reset()
- func (m *UpdateSnapshotRequest) Size() (n int)
- func (this *UpdateSnapshotRequest) String() string
- func (m *UpdateSnapshotRequest) Unmarshal(dAtA []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 (*UpdateSnapshotResponse) ProtoMessage()
- func (m *UpdateSnapshotResponse) Reset()
- func (m *UpdateSnapshotResponse) Size() (n int)
- func (this *UpdateSnapshotResponse) String() string
- func (m *UpdateSnapshotResponse) Unmarshal(dAtA []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 (*UsageRequest) ProtoMessage()
- func (m *UsageRequest) Reset()
- func (m *UsageRequest) Size() (n int)
- func (this *UsageRequest) String() string
- func (m *UsageRequest) Unmarshal(dAtA []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 (*UsageResponse) ProtoMessage()
- func (m *UsageResponse) Reset()
- func (m *UsageResponse) Size() (n int)
- func (this *UsageResponse) String() string
- func (m *UsageResponse) Unmarshal(dAtA []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 (*ViewSnapshotRequest) ProtoMessage()
- func (m *ViewSnapshotRequest) Reset()
- func (m *ViewSnapshotRequest) Size() (n int)
- func (this *ViewSnapshotRequest) String() string
- func (m *ViewSnapshotRequest) Unmarshal(dAtA []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 (*ViewSnapshotResponse) ProtoMessage()
- func (m *ViewSnapshotResponse) Reset()
- func (m *ViewSnapshotResponse) Size() (n int)
- func (this *ViewSnapshotResponse) String() string
- func (m *ViewSnapshotResponse) Unmarshal(dAtA []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") )
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 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 `` /* 146-byte string literal not displayed */ }
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) 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
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,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,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 `` /* 146-byte string literal not displayed */ }
func (*Info) Descriptor ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
type ListSnapshotsRequest ¶
type ListSnapshotsRequest struct {
Snapshotter string `protobuf:"bytes,1,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"`
}
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) 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
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct {
Info []Info `protobuf:"bytes,1,rep,name=info" json:"info"`
}
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) 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
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"` }
func (*MountsRequest) Descriptor ¶
func (*MountsRequest) Descriptor() ([]byte, []int)
func (*MountsRequest) Marshal ¶
func (m *MountsRequest) Marshal() (dAtA []byte, err 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
type MountsResponse ¶
type MountsResponse struct {
Mounts []*containerd_types.Mount `protobuf:"bytes,1,rep,name=mounts" json:"mounts,omitempty"`
}
func (*MountsResponse) Descriptor ¶
func (*MountsResponse) Descriptor() ([]byte, []int)
func (*MountsResponse) Marshal ¶
func (m *MountsResponse) Marshal() (dAtA []byte, err 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
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 `` /* 146-byte string literal not displayed */ }
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) 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
type PrepareSnapshotResponse ¶
type PrepareSnapshotResponse struct {
Mounts []*containerd_types.Mount `protobuf:"bytes,1,rep,name=mounts" json:"mounts,omitempty"`
}
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) 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
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"` }
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) 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
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) (*google_protobuf1.Empty, error) Remove(ctx context.Context, in *RemoveSnapshotRequest, opts ...grpc.CallOption) (*google_protobuf1.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) }
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) (*google_protobuf1.Empty, error) Remove(context.Context, *RemoveSnapshotRequest) (*google_protobuf1.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) }
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"` }
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) 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
type StatSnapshotResponse ¶
type StatSnapshotResponse struct {
Info Info `protobuf:"bytes,1,opt,name=info" json:"info"`
}
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) 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
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" 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 *google_protobuf2.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
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) 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
type UpdateSnapshotResponse ¶
type UpdateSnapshotResponse struct {
Info Info `protobuf:"bytes,1,opt,name=info" json:"info"`
}
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) 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
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"` }
func (*UsageRequest) Descriptor ¶
func (*UsageRequest) Descriptor() ([]byte, []int)
func (*UsageRequest) Marshal ¶
func (m *UsageRequest) Marshal() (dAtA []byte, err 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
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"` }
func (*UsageResponse) Descriptor ¶
func (*UsageResponse) Descriptor() ([]byte, []int)
func (*UsageResponse) Marshal ¶
func (m *UsageResponse) Marshal() (dAtA []byte, err 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
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 `` /* 146-byte string literal not displayed */ }
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) 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
type ViewSnapshotResponse ¶
type ViewSnapshotResponse struct {
Mounts []*containerd_types.Mount `protobuf:"bytes,1,rep,name=mounts" json:"mounts,omitempty"`
}
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) 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
Click to show internal directories.
Click to hide internal directories.