Documentation ¶
Overview ¶
Package proto defines a functions to work with proto messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDefaultTypes ¶
func RegisterDefaultTypes()
RegisterDefaultTypes registers the pair of encoders/decoders for common types.
Types ¶
type LinuxIDMapping ¶ added in v1.6.0
type LinuxIDMapping struct { ContainerID uint32 `protobuf:"1"` HostID uint32 `protobuf:"2"` Size uint32 `protobuf:"3"` }
LinuxIDMapping specifies UID/GID mappings.
type Mount ¶
type Mount struct { Destination string `protobuf:"1"` Type string `protobuf:"2"` Source string `protobuf:"3"` Options []string `protobuf:"4"` UIDMappings []LinuxIDMapping `protobuf:"5"` GIDMappings []LinuxIDMapping `protobuf:"6"` }
Mount specifies a mount for a container.
type UnmarshalOptions ¶
type UnmarshalOptions = proto.UnmarshalOptions
UnmarshalOptions is alias for proto.UnmarshalOptions.
Click to show internal directories.
Click to hide internal directories.