Documentation ¶
Index ¶
- Variables
- type Descriptor
- func (*Descriptor) Descriptor() ([]byte, []int)
- func (m *Descriptor) Marshal() (dAtA []byte, err error)
- func (m *Descriptor) MarshalTo(dAtA []byte) (int, error)
- func (m *Descriptor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Descriptor) ProtoMessage()
- func (m *Descriptor) Reset()
- func (m *Descriptor) Size() (n int)
- func (this *Descriptor) String() string
- func (m *Descriptor) Unmarshal(dAtA []byte) error
- func (m *Descriptor) XXX_DiscardUnknown()
- func (m *Descriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Descriptor) XXX_Merge(src proto.Message)
- func (m *Descriptor) XXX_Size() int
- func (m *Descriptor) XXX_Unmarshal(b []byte) error
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)
- func (m *Metric) Marshal() (dAtA []byte, err error)
- func (m *Metric) MarshalTo(dAtA []byte) (int, error)
- func (m *Metric) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metric) ProtoMessage()
- func (m *Metric) Reset()
- func (m *Metric) Size() (n int)
- func (this *Metric) String() string
- func (m *Metric) Unmarshal(dAtA []byte) error
- func (m *Metric) XXX_DiscardUnknown()
- func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metric) XXX_Merge(src proto.Message)
- func (m *Metric) XXX_Size() int
- func (m *Metric) XXX_Unmarshal(b []byte) error
- type Mount
- func (*Mount) Descriptor() ([]byte, []int)
- func (m *Mount) Marshal() (dAtA []byte, err error)
- func (m *Mount) MarshalTo(dAtA []byte) (int, error)
- func (m *Mount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Mount) ProtoMessage()
- func (m *Mount) Reset()
- func (m *Mount) Size() (n int)
- func (this *Mount) String() string
- func (m *Mount) Unmarshal(dAtA []byte) error
- func (m *Mount) XXX_DiscardUnknown()
- func (m *Mount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Mount) XXX_Merge(src proto.Message)
- func (m *Mount) XXX_Size() int
- func (m *Mount) XXX_Unmarshal(b []byte) error
- type Platform
- func (*Platform) Descriptor() ([]byte, []int)
- func (m *Platform) Marshal() (dAtA []byte, err error)
- func (m *Platform) MarshalTo(dAtA []byte) (int, error)
- func (m *Platform) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Platform) ProtoMessage()
- func (m *Platform) Reset()
- func (m *Platform) Size() (n int)
- func (this *Platform) String() string
- func (m *Platform) Unmarshal(dAtA []byte) error
- func (m *Platform) XXX_DiscardUnknown()
- func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Platform) XXX_Merge(src proto.Message)
- func (m *Platform) XXX_Size() int
- func (m *Platform) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthDescriptor = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDescriptor = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDescriptor = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthMetrics = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMetrics = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMetrics = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
This section is empty.
Types ¶
type Descriptor ¶
type Descriptor struct { MediaType string `protobuf:"bytes,1,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"` Digest github_com_opencontainers_go_digest.Digest `protobuf:"bytes,2,opt,name=digest,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"digest"` Size_ int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Annotations map[string]string `` /* 163-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Descriptor describes a blob in a content store.
This descriptor can be used to reference content from an oci descriptor found in a manifest. See https://godoc.org/github.com/opencontainers/image-spec/specs-go/v1#Descriptor
func (*Descriptor) Descriptor ¶
func (*Descriptor) Descriptor() ([]byte, []int)
func (*Descriptor) Marshal ¶
func (m *Descriptor) Marshal() (dAtA []byte, err error)
func (*Descriptor) MarshalToSizedBuffer ¶
func (m *Descriptor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Descriptor) ProtoMessage ¶
func (*Descriptor) ProtoMessage()
func (*Descriptor) Reset ¶
func (m *Descriptor) Reset()
func (*Descriptor) Size ¶
func (m *Descriptor) Size() (n int)
func (*Descriptor) String ¶
func (this *Descriptor) String() string
func (*Descriptor) Unmarshal ¶
func (m *Descriptor) Unmarshal(dAtA []byte) error
func (*Descriptor) XXX_DiscardUnknown ¶
func (m *Descriptor) XXX_DiscardUnknown()
func (*Descriptor) XXX_Marshal ¶
func (m *Descriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Descriptor) XXX_Merge ¶
func (m *Descriptor) XXX_Merge(src proto.Message)
func (*Descriptor) XXX_Size ¶
func (m *Descriptor) XXX_Size() int
func (*Descriptor) XXX_Unmarshal ¶
func (m *Descriptor) XXX_Unmarshal(b []byte) error
type Metric ¶
type Metric struct { Timestamp time.Time `protobuf:"bytes,1,opt,name=timestamp,proto3,stdtime" json:"timestamp"` ID string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Data *types.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Metric) Descriptor ¶
func (*Metric) MarshalToSizedBuffer ¶
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) XXX_DiscardUnknown ¶
func (m *Metric) XXX_DiscardUnknown()
func (*Metric) XXX_Marshal ¶
func (*Metric) XXX_Unmarshal ¶
type Mount ¶
type Mount struct { // Type defines the nature of the mount. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Source specifies the name of the mount. Depending on mount type, this // may be a volume name or a host path, or even ignored. Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // Target path in container Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Options specifies zero or more fstab style mount options. Options []string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Mount describes mounts for a container.
This type is the lingua franca of ContainerD. All services provide mounts to be used with the container at creation time.
The Mount type follows the structure of the mount syscall, including a type, source, target and options.
func (*Mount) Descriptor ¶
func (*Mount) ProtoMessage ¶
func (*Mount) ProtoMessage()
func (*Mount) XXX_DiscardUnknown ¶
func (m *Mount) XXX_DiscardUnknown()
func (*Mount) XXX_Marshal ¶
func (*Mount) XXX_Unmarshal ¶
type Platform ¶
type Platform struct { OS string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"` Architecture string `protobuf:"bytes,2,opt,name=architecture,proto3" json:"architecture,omitempty"` Variant string `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Platform follows the structure of the OCI platform specification, from descriptors.
func (*Platform) Descriptor ¶
func (*Platform) MarshalToSizedBuffer ¶
func (*Platform) ProtoMessage ¶
func (*Platform) ProtoMessage()
func (*Platform) XXX_DiscardUnknown ¶
func (m *Platform) XXX_DiscardUnknown()
func (*Platform) XXX_Marshal ¶
func (*Platform) XXX_Unmarshal ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.