proxy

package
v0.0.0-...-1873eae Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InfoFromProto

func InfoFromProto(info *snapshotsapi.Info) snapshots.Info

InfoFromProto converts from the protobuf definition snapshots.Info to [Info].

func InfoToProto

func InfoToProto(info snapshots.Info) *snapshotsapi.Info

InfoToProto converts from [Info] to the protobuf definition snapshots.Info.

func KindFromProto

func KindFromProto(kind snapshotsapi.Kind) snapshots.Kind

KindFromProto converts from the protobuf definition snapshots.Kind to [Kind].

func KindToProto

func KindToProto(kind snapshots.Kind) snapshotsapi.Kind

KindToProto converts from [Kind] to the protobuf definition snapshots.Kind.

func NewSnapshotter

func NewSnapshotter(client snapshotsapi.SnapshotsClient, snapshotterName string) snapshots.Snapshotter

NewSnapshotter returns a new Snapshotter which communicates over a GRPC connection using the containerd snapshot GRPC API.

func UsageFromProto

func UsageFromProto(resp *snapshotsapi.UsageResponse) snapshots.Usage

UsageFromProto converts from the protobuf definition snapshots.Usage to [Usage].

func UsageToProto

func UsageToProto(usage snapshots.Usage) *snapshotsapi.UsageResponse

UsageToProto converts from [Usage] to the protobuf definition snapshots.Usage.

Types

This section is empty.

Jump to

Keyboard shortcuts

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