snapshots

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 `` /* 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) 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

func (m *CommitSnapshotRequest) XXX_DiscardUnknown()

func (*CommitSnapshotRequest) XXX_Marshal

func (m *CommitSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommitSnapshotRequest) XXX_Merge

func (m *CommitSnapshotRequest) XXX_Merge(src proto.Message)

func (*CommitSnapshotRequest) XXX_Size

func (m *CommitSnapshotRequest) XXX_Size() int

func (*CommitSnapshotRequest) XXX_Unmarshal

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) Descriptor() ([]byte, []int)

func (*Info) Marshal

func (m *Info) Marshal() (dAtA []byte, err error)

func (*Info) MarshalTo

func (m *Info) MarshalTo(dAtA []byte) (int, error)

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) Reset

func (m *Info) Reset()

func (*Info) Size

func (m *Info) Size() (n int)

func (*Info) String

func (this *Info) String() string

func (*Info) Unmarshal

func (m *Info) Unmarshal(dAtA []byte) error

func (*Info) XXX_DiscardUnknown

func (m *Info) XXX_DiscardUnknown()

func (*Info) XXX_Marshal

func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Info) XXX_Merge

func (m *Info) XXX_Merge(src proto.Message)

func (*Info) XXX_Size

func (m *Info) XXX_Size() int

func (*Info) XXX_Unmarshal

func (m *Info) XXX_Unmarshal(b []byte) error

type Kind

type Kind int32
const (
	KindUnknown   Kind = 0
	KindView      Kind = 1
	KindActive    Kind = 2
	KindCommitted Kind = 3
)

func (Kind) EnumDescriptor

func (Kind) EnumDescriptor() ([]byte, []int)

func (Kind) String

func (x Kind) String() string

type ListSnapshotsRequest

type ListSnapshotsRequest 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 (*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

func (*ListSnapshotsRequest) XXX_DiscardUnknown

func (m *ListSnapshotsRequest) XXX_DiscardUnknown()

func (*ListSnapshotsRequest) XXX_Marshal

func (m *ListSnapshotsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSnapshotsRequest) XXX_Merge

func (m *ListSnapshotsRequest) XXX_Merge(src proto.Message)

func (*ListSnapshotsRequest) XXX_Size

func (m *ListSnapshotsRequest) XXX_Size() int

func (*ListSnapshotsRequest) XXX_Unmarshal

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) 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

func (m *ListSnapshotsResponse) XXX_DiscardUnknown()

func (*ListSnapshotsResponse) XXX_Marshal

func (m *ListSnapshotsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSnapshotsResponse) XXX_Merge

func (m *ListSnapshotsResponse) XXX_Merge(src proto.Message)

func (*ListSnapshotsResponse) XXX_Size

func (m *ListSnapshotsResponse) XXX_Size() int

func (*ListSnapshotsResponse) XXX_Unmarshal

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) MarshalTo

func (m *MountsRequest) MarshalTo(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

func (m *MountsRequest) XXX_DiscardUnknown()

func (*MountsRequest) XXX_Marshal

func (m *MountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MountsRequest) XXX_Merge

func (m *MountsRequest) XXX_Merge(src proto.Message)

func (*MountsRequest) XXX_Size

func (m *MountsRequest) XXX_Size() int

func (*MountsRequest) XXX_Unmarshal

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) MarshalTo

func (m *MountsResponse) MarshalTo(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

func (m *MountsResponse) XXX_DiscardUnknown()

func (*MountsResponse) XXX_Marshal

func (m *MountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MountsResponse) XXX_Merge

func (m *MountsResponse) XXX_Merge(src proto.Message)

func (*MountsResponse) XXX_Size

func (m *MountsResponse) XXX_Size() int

func (*MountsResponse) XXX_Unmarshal

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) 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

func (m *PrepareSnapshotRequest) XXX_DiscardUnknown()

func (*PrepareSnapshotRequest) XXX_Marshal

func (m *PrepareSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrepareSnapshotRequest) XXX_Merge

func (m *PrepareSnapshotRequest) XXX_Merge(src proto.Message)

func (*PrepareSnapshotRequest) XXX_Size

func (m *PrepareSnapshotRequest) XXX_Size() int

func (*PrepareSnapshotRequest) XXX_Unmarshal

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) 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

func (m *PrepareSnapshotResponse) XXX_DiscardUnknown()

func (*PrepareSnapshotResponse) XXX_Marshal

func (m *PrepareSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrepareSnapshotResponse) XXX_Merge

func (m *PrepareSnapshotResponse) XXX_Merge(src proto.Message)

func (*PrepareSnapshotResponse) XXX_Size

func (m *PrepareSnapshotResponse) XXX_Size() int

func (*PrepareSnapshotResponse) XXX_Unmarshal

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) 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

func (m *RemoveSnapshotRequest) XXX_DiscardUnknown()

func (*RemoveSnapshotRequest) XXX_Marshal

func (m *RemoveSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveSnapshotRequest) XXX_Merge

func (m *RemoveSnapshotRequest) XXX_Merge(src proto.Message)

func (*RemoveSnapshotRequest) XXX_Size

func (m *RemoveSnapshotRequest) XXX_Size() int

func (*RemoveSnapshotRequest) XXX_Unmarshal

func (m *RemoveSnapshotRequest) XXX_Unmarshal(b []byte) error

type SnapshotsClient

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 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) 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

func (m *StatSnapshotRequest) XXX_DiscardUnknown()

func (*StatSnapshotRequest) XXX_Marshal

func (m *StatSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatSnapshotRequest) XXX_Merge

func (m *StatSnapshotRequest) XXX_Merge(src proto.Message)

func (*StatSnapshotRequest) XXX_Size

func (m *StatSnapshotRequest) XXX_Size() int

func (*StatSnapshotRequest) XXX_Unmarshal

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) 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

func (m *StatSnapshotResponse) XXX_DiscardUnknown()

func (*StatSnapshotResponse) XXX_Marshal

func (m *StatSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatSnapshotResponse) XXX_Merge

func (m *StatSnapshotResponse) XXX_Merge(src proto.Message)

func (*StatSnapshotResponse) XXX_Size

func (m *StatSnapshotResponse) XXX_Size() int

func (*StatSnapshotResponse) XXX_Unmarshal

func (m *StatSnapshotResponse) XXX_Unmarshal(b []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,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) 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

func (m *UpdateSnapshotRequest) XXX_DiscardUnknown()

func (*UpdateSnapshotRequest) XXX_Marshal

func (m *UpdateSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateSnapshotRequest) XXX_Merge

func (m *UpdateSnapshotRequest) XXX_Merge(src proto.Message)

func (*UpdateSnapshotRequest) XXX_Size

func (m *UpdateSnapshotRequest) XXX_Size() int

func (*UpdateSnapshotRequest) XXX_Unmarshal

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) 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

func (m *UpdateSnapshotResponse) XXX_DiscardUnknown()

func (*UpdateSnapshotResponse) XXX_Marshal

func (m *UpdateSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateSnapshotResponse) XXX_Merge

func (m *UpdateSnapshotResponse) XXX_Merge(src proto.Message)

func (*UpdateSnapshotResponse) XXX_Size

func (m *UpdateSnapshotResponse) XXX_Size() int

func (*UpdateSnapshotResponse) XXX_Unmarshal

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) MarshalTo

func (m *UsageRequest) MarshalTo(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

func (m *UsageRequest) XXX_DiscardUnknown()

func (*UsageRequest) XXX_Marshal

func (m *UsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UsageRequest) XXX_Merge

func (m *UsageRequest) XXX_Merge(src proto.Message)

func (*UsageRequest) XXX_Size

func (m *UsageRequest) XXX_Size() int

func (*UsageRequest) XXX_Unmarshal

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) MarshalTo

func (m *UsageResponse) MarshalTo(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

func (m *UsageResponse) XXX_DiscardUnknown()

func (*UsageResponse) XXX_Marshal

func (m *UsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UsageResponse) XXX_Merge

func (m *UsageResponse) XXX_Merge(src proto.Message)

func (*UsageResponse) XXX_Size

func (m *UsageResponse) XXX_Size() int

func (*UsageResponse) XXX_Unmarshal

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) 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

func (m *ViewSnapshotRequest) XXX_DiscardUnknown()

func (*ViewSnapshotRequest) XXX_Marshal

func (m *ViewSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ViewSnapshotRequest) XXX_Merge

func (m *ViewSnapshotRequest) XXX_Merge(src proto.Message)

func (*ViewSnapshotRequest) XXX_Size

func (m *ViewSnapshotRequest) XXX_Size() int

func (*ViewSnapshotRequest) XXX_Unmarshal

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) 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

func (m *ViewSnapshotResponse) XXX_DiscardUnknown()

func (*ViewSnapshotResponse) XXX_Marshal

func (m *ViewSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ViewSnapshotResponse) XXX_Merge

func (m *ViewSnapshotResponse) XXX_Merge(src proto.Message)

func (*ViewSnapshotResponse) XXX_Size

func (m *ViewSnapshotResponse) XXX_Size() int

func (*ViewSnapshotResponse) XXX_Unmarshal

func (m *ViewSnapshotResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL