snapshots

package
v2.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: github.com/containerd/containerd/api/services/snapshots/v1/snapshots.proto

Index

Constants

This section is empty.

Variables

View Source
var (
	Kind_name = map[int32]string{
		0: "UNKNOWN",
		1: "VIEW",
		2: "ACTIVE",
		3: "COMMITTED",
	}
	Kind_value = map[string]int32{
		"UNKNOWN":   0,
		"VIEW":      1,
		"ACTIVE":    2,
		"COMMITTED": 3,
	}
)

Enum value maps for Kind.

View Source
var File_github_com_containerd_containerd_api_services_snapshots_v1_snapshots_proto protoreflect.FileDescriptor
View Source
var Snapshots_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "containerd.services.snapshots.v1.Snapshots",
	HandlerType: (*SnapshotsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Prepare",
			Handler:    _Snapshots_Prepare_Handler,
		},
		{
			MethodName: "View",
			Handler:    _Snapshots_View_Handler,
		},
		{
			MethodName: "Mounts",
			Handler:    _Snapshots_Mounts_Handler,
		},
		{
			MethodName: "Commit",
			Handler:    _Snapshots_Commit_Handler,
		},
		{
			MethodName: "Remove",
			Handler:    _Snapshots_Remove_Handler,
		},
		{
			MethodName: "Stat",
			Handler:    _Snapshots_Stat_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Snapshots_Update_Handler,
		},
		{
			MethodName: "Usage",
			Handler:    _Snapshots_Usage_Handler,
		},
		{
			MethodName: "Cleanup",
			Handler:    _Snapshots_Cleanup_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "List",
			Handler:       _Snapshots_List_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "github.com/containerd/containerd/api/services/snapshots/v1/snapshots.proto",
}

Snapshots_ServiceDesc is the grpc.ServiceDesc for Snapshots service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSnapshotsServer

func RegisterSnapshotsServer(s grpc.ServiceRegistrar, srv SnapshotsServer)

func RegisterTTRPCSnapshotsService

func RegisterTTRPCSnapshotsService(srv *ttrpc.Server, svc TTRPCSnapshotsService)

Types

type CleanupRequest

type CleanupRequest struct {
	Snapshotter string `protobuf:"bytes,1,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"`
	// contains filtered or unexported fields
}

func (*CleanupRequest) Descriptor deprecated

func (*CleanupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CleanupRequest.ProtoReflect.Descriptor instead.

func (*CleanupRequest) GetSnapshotter

func (x *CleanupRequest) GetSnapshotter() string

func (*CleanupRequest) ProtoMessage

func (*CleanupRequest) ProtoMessage()

func (*CleanupRequest) ProtoReflect

func (x *CleanupRequest) ProtoReflect() protoreflect.Message

func (*CleanupRequest) Reset

func (x *CleanupRequest) Reset()

func (*CleanupRequest) String

func (x *CleanupRequest) String() string

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 */
	// contains filtered or unexported fields
}

func (*CommitSnapshotRequest) Descriptor deprecated

func (*CommitSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use CommitSnapshotRequest.ProtoReflect.Descriptor instead.

func (*CommitSnapshotRequest) GetKey

func (x *CommitSnapshotRequest) GetKey() string

func (*CommitSnapshotRequest) GetLabels

func (x *CommitSnapshotRequest) GetLabels() map[string]string

func (*CommitSnapshotRequest) GetName

func (x *CommitSnapshotRequest) GetName() string

func (*CommitSnapshotRequest) GetSnapshotter

func (x *CommitSnapshotRequest) GetSnapshotter() string

func (*CommitSnapshotRequest) ProtoMessage

func (*CommitSnapshotRequest) ProtoMessage()

func (*CommitSnapshotRequest) ProtoReflect

func (x *CommitSnapshotRequest) ProtoReflect() protoreflect.Message

func (*CommitSnapshotRequest) Reset

func (x *CommitSnapshotRequest) Reset()

func (*CommitSnapshotRequest) String

func (x *CommitSnapshotRequest) String() string

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 *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// UpdatedAt provides the time the info was last updated.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,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 */
	// contains filtered or unexported fields
}

func (*Info) Descriptor deprecated

func (*Info) Descriptor() ([]byte, []int)

Deprecated: Use Info.ProtoReflect.Descriptor instead.

func (*Info) GetCreatedAt

func (x *Info) GetCreatedAt() *timestamppb.Timestamp

func (*Info) GetKind

func (x *Info) GetKind() Kind

func (*Info) GetLabels

func (x *Info) GetLabels() map[string]string

func (*Info) GetName

func (x *Info) GetName() string

func (*Info) GetParent

func (x *Info) GetParent() string

func (*Info) GetUpdatedAt

func (x *Info) GetUpdatedAt() *timestamppb.Timestamp

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) ProtoReflect

func (x *Info) ProtoReflect() protoreflect.Message

func (*Info) Reset

func (x *Info) Reset()

func (*Info) String

func (x *Info) String() string

type Kind

type Kind int32
const (
	Kind_UNKNOWN   Kind = 0
	Kind_VIEW      Kind = 1
	Kind_ACTIVE    Kind = 2
	Kind_COMMITTED Kind = 3
)

func (Kind) Descriptor

func (Kind) Descriptor() protoreflect.EnumDescriptor

func (Kind) Enum

func (x Kind) Enum() *Kind

func (Kind) EnumDescriptor deprecated

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

Deprecated: Use Kind.Descriptor instead.

func (Kind) Number

func (x Kind) Number() protoreflect.EnumNumber

func (Kind) String

func (x Kind) String() string

func (Kind) Type

func (Kind) Type() protoreflect.EnumType

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"`
	// contains filtered or unexported fields
}

func (*ListSnapshotsRequest) Descriptor deprecated

func (*ListSnapshotsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSnapshotsRequest.ProtoReflect.Descriptor instead.

func (*ListSnapshotsRequest) GetFilters

func (x *ListSnapshotsRequest) GetFilters() []string

func (*ListSnapshotsRequest) GetSnapshotter

func (x *ListSnapshotsRequest) GetSnapshotter() string

func (*ListSnapshotsRequest) ProtoMessage

func (*ListSnapshotsRequest) ProtoMessage()

func (*ListSnapshotsRequest) ProtoReflect

func (x *ListSnapshotsRequest) ProtoReflect() protoreflect.Message

func (*ListSnapshotsRequest) Reset

func (x *ListSnapshotsRequest) Reset()

func (*ListSnapshotsRequest) String

func (x *ListSnapshotsRequest) String() string

type ListSnapshotsResponse

type ListSnapshotsResponse struct {
	Info []*Info `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSnapshotsResponse) Descriptor deprecated

func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSnapshotsResponse.ProtoReflect.Descriptor instead.

func (*ListSnapshotsResponse) GetInfo

func (x *ListSnapshotsResponse) GetInfo() []*Info

func (*ListSnapshotsResponse) ProtoMessage

func (*ListSnapshotsResponse) ProtoMessage()

func (*ListSnapshotsResponse) ProtoReflect

func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Message

func (*ListSnapshotsResponse) Reset

func (x *ListSnapshotsResponse) Reset()

func (*ListSnapshotsResponse) String

func (x *ListSnapshotsResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*MountsRequest) Descriptor deprecated

func (*MountsRequest) Descriptor() ([]byte, []int)

Deprecated: Use MountsRequest.ProtoReflect.Descriptor instead.

func (*MountsRequest) GetKey

func (x *MountsRequest) GetKey() string

func (*MountsRequest) GetSnapshotter

func (x *MountsRequest) GetSnapshotter() string

func (*MountsRequest) ProtoMessage

func (*MountsRequest) ProtoMessage()

func (*MountsRequest) ProtoReflect

func (x *MountsRequest) ProtoReflect() protoreflect.Message

func (*MountsRequest) Reset

func (x *MountsRequest) Reset()

func (*MountsRequest) String

func (x *MountsRequest) String() string

type MountsResponse

type MountsResponse struct {
	Mounts []*types.Mount `protobuf:"bytes,1,rep,name=mounts,proto3" json:"mounts,omitempty"`
	// contains filtered or unexported fields
}

func (*MountsResponse) Descriptor deprecated

func (*MountsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MountsResponse.ProtoReflect.Descriptor instead.

func (*MountsResponse) GetMounts

func (x *MountsResponse) GetMounts() []*types.Mount

func (*MountsResponse) ProtoMessage

func (*MountsResponse) ProtoMessage()

func (*MountsResponse) ProtoReflect

func (x *MountsResponse) ProtoReflect() protoreflect.Message

func (*MountsResponse) Reset

func (x *MountsResponse) Reset()

func (*MountsResponse) String

func (x *MountsResponse) String() string

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 */
	// contains filtered or unexported fields
}

func (*PrepareSnapshotRequest) Descriptor deprecated

func (*PrepareSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use PrepareSnapshotRequest.ProtoReflect.Descriptor instead.

func (*PrepareSnapshotRequest) GetKey

func (x *PrepareSnapshotRequest) GetKey() string

func (*PrepareSnapshotRequest) GetLabels

func (x *PrepareSnapshotRequest) GetLabels() map[string]string

func (*PrepareSnapshotRequest) GetParent

func (x *PrepareSnapshotRequest) GetParent() string

func (*PrepareSnapshotRequest) GetSnapshotter

func (x *PrepareSnapshotRequest) GetSnapshotter() string

func (*PrepareSnapshotRequest) ProtoMessage

func (*PrepareSnapshotRequest) ProtoMessage()

func (*PrepareSnapshotRequest) ProtoReflect

func (x *PrepareSnapshotRequest) ProtoReflect() protoreflect.Message

func (*PrepareSnapshotRequest) Reset

func (x *PrepareSnapshotRequest) Reset()

func (*PrepareSnapshotRequest) String

func (x *PrepareSnapshotRequest) String() string

type PrepareSnapshotResponse

type PrepareSnapshotResponse struct {
	Mounts []*types.Mount `protobuf:"bytes,1,rep,name=mounts,proto3" json:"mounts,omitempty"`
	// contains filtered or unexported fields
}

func (*PrepareSnapshotResponse) Descriptor deprecated

func (*PrepareSnapshotResponse) Descriptor() ([]byte, []int)

Deprecated: Use PrepareSnapshotResponse.ProtoReflect.Descriptor instead.

func (*PrepareSnapshotResponse) GetMounts

func (x *PrepareSnapshotResponse) GetMounts() []*types.Mount

func (*PrepareSnapshotResponse) ProtoMessage

func (*PrepareSnapshotResponse) ProtoMessage()

func (*PrepareSnapshotResponse) ProtoReflect

func (x *PrepareSnapshotResponse) ProtoReflect() protoreflect.Message

func (*PrepareSnapshotResponse) Reset

func (x *PrepareSnapshotResponse) Reset()

func (*PrepareSnapshotResponse) String

func (x *PrepareSnapshotResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*RemoveSnapshotRequest) Descriptor deprecated

func (*RemoveSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveSnapshotRequest.ProtoReflect.Descriptor instead.

func (*RemoveSnapshotRequest) GetKey

func (x *RemoveSnapshotRequest) GetKey() string

func (*RemoveSnapshotRequest) GetSnapshotter

func (x *RemoveSnapshotRequest) GetSnapshotter() string

func (*RemoveSnapshotRequest) ProtoMessage

func (*RemoveSnapshotRequest) ProtoMessage()

func (*RemoveSnapshotRequest) ProtoReflect

func (x *RemoveSnapshotRequest) ProtoReflect() protoreflect.Message

func (*RemoveSnapshotRequest) Reset

func (x *RemoveSnapshotRequest) Reset()

func (*RemoveSnapshotRequest) String

func (x *RemoveSnapshotRequest) String() string

type SnapshotsClient

SnapshotsClient is the client API for Snapshots service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewSnapshotsClient

func NewSnapshotsClient(cc grpc.ClientConnInterface) SnapshotsClient

type SnapshotsServer

SnapshotsServer is the server API for Snapshots service. All implementations must embed UnimplementedSnapshotsServer for forward compatibility

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"`
	// contains filtered or unexported fields
}

func (*StatSnapshotRequest) Descriptor deprecated

func (*StatSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatSnapshotRequest.ProtoReflect.Descriptor instead.

func (*StatSnapshotRequest) GetKey

func (x *StatSnapshotRequest) GetKey() string

func (*StatSnapshotRequest) GetSnapshotter

func (x *StatSnapshotRequest) GetSnapshotter() string

func (*StatSnapshotRequest) ProtoMessage

func (*StatSnapshotRequest) ProtoMessage()

func (*StatSnapshotRequest) ProtoReflect

func (x *StatSnapshotRequest) ProtoReflect() protoreflect.Message

func (*StatSnapshotRequest) Reset

func (x *StatSnapshotRequest) Reset()

func (*StatSnapshotRequest) String

func (x *StatSnapshotRequest) String() string

type StatSnapshotResponse

type StatSnapshotResponse struct {
	Info *Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*StatSnapshotResponse) Descriptor deprecated

func (*StatSnapshotResponse) Descriptor() ([]byte, []int)

Deprecated: Use StatSnapshotResponse.ProtoReflect.Descriptor instead.

func (*StatSnapshotResponse) GetInfo

func (x *StatSnapshotResponse) GetInfo() *Info

func (*StatSnapshotResponse) ProtoMessage

func (*StatSnapshotResponse) ProtoMessage()

func (*StatSnapshotResponse) ProtoReflect

func (x *StatSnapshotResponse) ProtoReflect() protoreflect.Message

func (*StatSnapshotResponse) Reset

func (x *StatSnapshotResponse) Reset()

func (*StatSnapshotResponse) String

func (x *StatSnapshotResponse) String() string

type TTRPCSnapshots_ListClient

type TTRPCSnapshots_ListClient interface {
	Recv() (*ListSnapshotsResponse, error)
	ttrpc.ClientStream
}

type TTRPCSnapshots_ListServer

type TTRPCSnapshots_ListServer interface {
	Send(*ListSnapshotsResponse) error
	ttrpc.StreamServer
}

type UnimplementedSnapshotsServer

type UnimplementedSnapshotsServer struct {
}

UnimplementedSnapshotsServer must be embedded to have forward compatible implementations.

func (UnimplementedSnapshotsServer) Cleanup

func (UnimplementedSnapshotsServer) Commit

func (UnimplementedSnapshotsServer) List

func (UnimplementedSnapshotsServer) Mounts

func (UnimplementedSnapshotsServer) Remove

func (UnimplementedSnapshotsServer) Stat

func (UnimplementedSnapshotsServer) Update

func (UnimplementedSnapshotsServer) Usage

func (UnimplementedSnapshotsServer) View

type UnsafeSnapshotsServer

type UnsafeSnapshotsServer interface {
	// contains filtered or unexported methods
}

UnsafeSnapshotsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SnapshotsServer will result in compilation errors.

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,omitempty"`
	// 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 *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSnapshotRequest) Descriptor deprecated

func (*UpdateSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSnapshotRequest.ProtoReflect.Descriptor instead.

func (*UpdateSnapshotRequest) GetInfo

func (x *UpdateSnapshotRequest) GetInfo() *Info

func (*UpdateSnapshotRequest) GetSnapshotter

func (x *UpdateSnapshotRequest) GetSnapshotter() string

func (*UpdateSnapshotRequest) GetUpdateMask

func (x *UpdateSnapshotRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateSnapshotRequest) ProtoMessage

func (*UpdateSnapshotRequest) ProtoMessage()

func (*UpdateSnapshotRequest) ProtoReflect

func (x *UpdateSnapshotRequest) ProtoReflect() protoreflect.Message

func (*UpdateSnapshotRequest) Reset

func (x *UpdateSnapshotRequest) Reset()

func (*UpdateSnapshotRequest) String

func (x *UpdateSnapshotRequest) String() string

type UpdateSnapshotResponse

type UpdateSnapshotResponse struct {
	Info *Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSnapshotResponse) Descriptor deprecated

func (*UpdateSnapshotResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSnapshotResponse.ProtoReflect.Descriptor instead.

func (*UpdateSnapshotResponse) GetInfo

func (x *UpdateSnapshotResponse) GetInfo() *Info

func (*UpdateSnapshotResponse) ProtoMessage

func (*UpdateSnapshotResponse) ProtoMessage()

func (*UpdateSnapshotResponse) ProtoReflect

func (x *UpdateSnapshotResponse) ProtoReflect() protoreflect.Message

func (*UpdateSnapshotResponse) Reset

func (x *UpdateSnapshotResponse) Reset()

func (*UpdateSnapshotResponse) String

func (x *UpdateSnapshotResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*UsageRequest) Descriptor deprecated

func (*UsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use UsageRequest.ProtoReflect.Descriptor instead.

func (*UsageRequest) GetKey

func (x *UsageRequest) GetKey() string

func (*UsageRequest) GetSnapshotter

func (x *UsageRequest) GetSnapshotter() string

func (*UsageRequest) ProtoMessage

func (*UsageRequest) ProtoMessage()

func (*UsageRequest) ProtoReflect

func (x *UsageRequest) ProtoReflect() protoreflect.Message

func (*UsageRequest) Reset

func (x *UsageRequest) Reset()

func (*UsageRequest) String

func (x *UsageRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*UsageResponse) Descriptor deprecated

func (*UsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use UsageResponse.ProtoReflect.Descriptor instead.

func (*UsageResponse) GetInodes

func (x *UsageResponse) GetInodes() int64

func (*UsageResponse) GetSize

func (x *UsageResponse) GetSize() int64

func (*UsageResponse) ProtoMessage

func (*UsageResponse) ProtoMessage()

func (*UsageResponse) ProtoReflect

func (x *UsageResponse) ProtoReflect() protoreflect.Message

func (*UsageResponse) Reset

func (x *UsageResponse) Reset()

func (*UsageResponse) String

func (x *UsageResponse) String() string

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 */
	// contains filtered or unexported fields
}

func (*ViewSnapshotRequest) Descriptor deprecated

func (*ViewSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use ViewSnapshotRequest.ProtoReflect.Descriptor instead.

func (*ViewSnapshotRequest) GetKey

func (x *ViewSnapshotRequest) GetKey() string

func (*ViewSnapshotRequest) GetLabels

func (x *ViewSnapshotRequest) GetLabels() map[string]string

func (*ViewSnapshotRequest) GetParent

func (x *ViewSnapshotRequest) GetParent() string

func (*ViewSnapshotRequest) GetSnapshotter

func (x *ViewSnapshotRequest) GetSnapshotter() string

func (*ViewSnapshotRequest) ProtoMessage

func (*ViewSnapshotRequest) ProtoMessage()

func (*ViewSnapshotRequest) ProtoReflect

func (x *ViewSnapshotRequest) ProtoReflect() protoreflect.Message

func (*ViewSnapshotRequest) Reset

func (x *ViewSnapshotRequest) Reset()

func (*ViewSnapshotRequest) String

func (x *ViewSnapshotRequest) String() string

type ViewSnapshotResponse

type ViewSnapshotResponse struct {
	Mounts []*types.Mount `protobuf:"bytes,1,rep,name=mounts,proto3" json:"mounts,omitempty"`
	// contains filtered or unexported fields
}

func (*ViewSnapshotResponse) Descriptor deprecated

func (*ViewSnapshotResponse) Descriptor() ([]byte, []int)

Deprecated: Use ViewSnapshotResponse.ProtoReflect.Descriptor instead.

func (*ViewSnapshotResponse) GetMounts

func (x *ViewSnapshotResponse) GetMounts() []*types.Mount

func (*ViewSnapshotResponse) ProtoMessage

func (*ViewSnapshotResponse) ProtoMessage()

func (*ViewSnapshotResponse) ProtoReflect

func (x *ViewSnapshotResponse) ProtoReflect() protoreflect.Message

func (*ViewSnapshotResponse) Reset

func (x *ViewSnapshotResponse) Reset()

func (*ViewSnapshotResponse) String

func (x *ViewSnapshotResponse) String() string

Jump to

Keyboard shortcuts

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