| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This package is not in the latest version of its module.
Go to latest Published: May 20, 2026 License: Apache-2.0The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Modules with tagged versions give importers more predictable builds.
When a project reaches major version v1 it is considered stable.
This section is empty.
var (
// optional bool fieldpath = 64400;
E_Fieldpath = &file_types_fieldpath_proto_extTypes[1]
)
Extension fields to descriptorpb.MessageOptions.
var (
// optional bool fieldpath_all = 63300;
E_FieldpathAll = &file_types_fieldpath_proto_extTypes[0]
)
Extension fields to descriptorpb.FileOptions.
var File_types_descriptor_proto protoreflect.FileDescriptor
var File_types_event_proto protoreflect.FileDescriptor
var File_types_fieldpath_proto protoreflect.FileDescriptor
var File_types_introspection_proto protoreflect.FileDescriptor
var File_types_metrics_proto protoreflect.FileDescriptor
var File_types_mount_proto protoreflect.FileDescriptor
var File_types_platform_proto protoreflect.FileDescriptor
var File_types_sandbox_proto protoreflect.FileDescriptor
OCIPlatformFromProto converts a slice of the protobuf definition Platform to a slice of OCI [specs.Platform].
type ActivationInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Active []*ActiveMount `protobuf:"bytes,2,rep,name=active,proto3" json:"active,omitempty"`
System []*Mount `protobuf:"bytes,3,rep,name=system,proto3" json:"system,omitempty"`
Labels map[string]string `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ActivationInfo) Descriptor() ([]byte, []int)
Deprecated: Use ActivationInfo.ProtoReflect.Descriptor instead.
func (x *ActivationInfo) GetActive() []*ActiveMount
func (x *ActivationInfo) GetLabels() map[string]string
func (x *ActivationInfo) GetName() string
func (x *ActivationInfo) GetSystem() []*Mount
func (*ActivationInfo) ProtoMessage()
func (x *ActivationInfo) ProtoReflect() protoreflect.Message
func (x *ActivationInfo) Reset()
func (x *ActivationInfo) String() string
type ActiveMount struct {
Mount *Mount `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
MountedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=mounted_at,json=mountedAt,proto3" json:"mounted_at,omitempty"`
MountPoint string `protobuf:"bytes,3,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"`
Data map[string]string `` /* 149-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ActiveMount) Descriptor() ([]byte, []int)
Deprecated: Use ActiveMount.ProtoReflect.Descriptor instead.
func (x *ActiveMount) GetData() map[string]string
func (x *ActiveMount) GetMount() *Mount
func (x *ActiveMount) GetMountPoint() string
func (x *ActiveMount) GetMountedAt() *timestamppb.Timestamp
func (*ActiveMount) ProtoMessage()
func (x *ActiveMount) ProtoReflect() protoreflect.Message
func (x *ActiveMount) Reset()
func (x *ActiveMount) String() string
type Descriptor struct {
MediaType string `protobuf:"bytes,1,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"`
Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
Annotations map[string]string `` /* 163-byte string literal not displayed */
// contains filtered or unexported fields
}
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() ([]byte, []int)
Deprecated: Use Descriptor.ProtoReflect.Descriptor instead.
func (x *Descriptor) GetAnnotations() map[string]string
func (x *Descriptor) GetDigest() string
func (x *Descriptor) GetMediaType() string
func (x *Descriptor) GetSize() int64
func (*Descriptor) ProtoMessage()
func (x *Descriptor) ProtoReflect() protoreflect.Message
func (x *Descriptor) Reset()
func (x *Descriptor) String() string
type Envelope struct {
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"`
Event *anypb.Any `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"`
// contains filtered or unexported fields
}
func (x *Envelope) GetTimestamp() *timestamppb.Timestamp
func (*Envelope) ProtoMessage()
func (x *Envelope) ProtoReflect() protoreflect.Message
type Metric struct {
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ID string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (x *Metric) GetTimestamp() *timestamppb.Timestamp
func (*Metric) ProtoMessage()
func (x *Metric) ProtoReflect() protoreflect.Message
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"`
// contains filtered or unexported fields
}
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) ProtoMessage()
func (x *Mount) ProtoReflect() protoreflect.Message
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"`
OSVersion string `protobuf:"bytes,4,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
OSFeatures []string `protobuf:"bytes,5,rep,name=os_features,json=osFeatures,proto3" json:"os_features,omitempty"`
// contains filtered or unexported fields
}
Platform follows the structure of the OCI platform specification, from descriptors.
OCIPlatformToProto converts from a slice of OCI [specs.Platform] to a slice of the protobuf definition Platform.
func (*Platform) ProtoMessage()
func (x *Platform) ProtoReflect() protoreflect.Message
type RuntimeInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Version *RuntimeVersion `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// Options correspond to RuntimeInfoRequest.Options (contains runc binary path, etc.)
Options *anypb.Any `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
// OCI-compatible runtimes should use https://github.com/opencontainers/runtime-spec/blob/main/features.md
Features *anypb.Any `protobuf:"bytes,4,opt,name=features,proto3" json:"features,omitempty"`
// Annotations of the shim. Irrelevant to features.Annotations.
Annotations map[string]string `` /* 163-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*RuntimeInfo) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeInfo.ProtoReflect.Descriptor instead.
func (x *RuntimeInfo) GetAnnotations() map[string]string
func (x *RuntimeInfo) GetFeatures() *anypb.Any
func (x *RuntimeInfo) GetName() string
func (x *RuntimeInfo) GetOptions() *anypb.Any
func (x *RuntimeInfo) GetVersion() *RuntimeVersion
func (*RuntimeInfo) ProtoMessage()
func (x *RuntimeInfo) ProtoReflect() protoreflect.Message
func (x *RuntimeInfo) Reset()
func (x *RuntimeInfo) String() string
type RuntimeRequest struct {
RuntimePath string `protobuf:"bytes,1,opt,name=runtime_path,json=runtimePath,proto3" json:"runtime_path,omitempty"`
// Options correspond to CreateTaskRequest.options.
// This is needed to pass the runc binary path, etc.
Options *anypb.Any `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*RuntimeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeRequest.ProtoReflect.Descriptor instead.
func (x *RuntimeRequest) GetOptions() *anypb.Any
func (x *RuntimeRequest) GetRuntimePath() string
func (*RuntimeRequest) ProtoMessage()
func (x *RuntimeRequest) ProtoReflect() protoreflect.Message
func (x *RuntimeRequest) Reset()
func (x *RuntimeRequest) String() string
type RuntimeVersion struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}
func (*RuntimeVersion) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeVersion.ProtoReflect.Descriptor instead.
func (x *RuntimeVersion) GetRevision() string
func (x *RuntimeVersion) GetVersion() string
func (*RuntimeVersion) ProtoMessage()
func (x *RuntimeVersion) ProtoReflect() protoreflect.Message
func (x *RuntimeVersion) Reset()
func (x *RuntimeVersion) String() string
type Sandbox struct {
// SandboxID is a unique instance identifier within namespace
SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
// Runtime specifies which runtime to use for executing this container.
Runtime *Sandbox_Runtime `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"`
// Spec is sandbox configuration (kin of OCI runtime spec), spec's data will be written to a config.json file in the
// bundle directory (similary to OCI spec).
Spec *anypb.Any `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
// Labels provides an area to include arbitrary data on containers.
Labels map[string]string `` /* 153-byte string literal not displayed */
// CreatedAt is the time the container was first created.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// UpdatedAt is the last time the container was mutated.
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// Extensions allow clients to provide optional blobs that can be handled by runtime.
Extensions map[string]*anypb.Any `` /* 161-byte string literal not displayed */
// Sandboxer is the name of the sandbox controller who manages the sandbox.
Sandboxer string `protobuf:"bytes,10,opt,name=sandboxer,proto3" json:"sandboxer,omitempty"`
// contains filtered or unexported fields
}
Sandbox represents a sandbox metadata object that keeps all info required by controller to work with a particular instance.
func (x *Sandbox) GetCreatedAt() *timestamppb.Timestamp
func (x *Sandbox) GetRuntime() *Sandbox_Runtime
func (x *Sandbox) GetUpdatedAt() *timestamppb.Timestamp
func (*Sandbox) ProtoMessage()
func (x *Sandbox) ProtoReflect() protoreflect.Message
type Sandbox_Runtime struct {
// Name is the name of the runtime.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Options specify additional runtime initialization options for the shim (this data will be available in StartShim).
// Typically this data expected to be runtime shim implementation specific.
Options *anypb.Any `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*Sandbox_Runtime) Descriptor() ([]byte, []int)
Deprecated: Use Sandbox_Runtime.ProtoReflect.Descriptor instead.
func (x *Sandbox_Runtime) GetName() string
func (x *Sandbox_Runtime) GetOptions() *anypb.Any
func (*Sandbox_Runtime) ProtoMessage()
func (x *Sandbox_Runtime) ProtoReflect() protoreflect.Message
func (x *Sandbox_Runtime) Reset()
func (x *Sandbox_Runtime) String() string
| Back | FazBrowse Home | New Git URL |