ctrdtaskapi

package
v0.15.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerMount added in v0.11.2

type ContainerMount struct {
	HostPath      string
	ContainerPath string
	ReadOnly      bool
	Type          string
}

type PolicyFragment

type PolicyFragment struct {
	// Fragment is used by containerd to pass additional security policy
	// constraint fragments as part of shim task Update request.
	// The value is a base64 encoded COSE_Sign1 document that contains the
	// fragment and any additional information required for validation.
	Fragment string `json:"fragment,omitempty"`
	// MediaType is the media type of the blob carried in Fragment. It allows
	// the same delivery mechanism to carry payloads other than Rego policy
	// fragments (e.g. a Transparency Trust List). An empty value is treated by
	// the guest as the default "application/cose-x509+rego" for backward
	// compatibility with older hosts that do not set this field.
	MediaType string `json:"mediaType,omitempty"`
}

Jump to

Keyboard shortcuts

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