# Functions
Bool creates an Optional wrapper from its argument.
CheckPluginIndex checks the validity of a plugin index.
ClearRemovalMarker returns a key cleared from any removal marker.
No description provided by the author
DupStringMap creates a copy of a map with string keys and values.
DupStringSlice creates a copy of a string slice.
FileMode creates an Optional wrapper from its argument.
No description provided by the author
FromOCIEnv returns KeyValues from an OCI runtime Spec environment.
FromOCIHooks returns hooks from an OCI runtime Spec.
FromOCIHookSlice returns a hook slice from an OCI runtime Spec.
FromOCILinuxDevices returns a device slice from an OCI runtime Spec.
FromOCILinuxNamespaces returns a namespace slice from an OCI runtime Spec.
FromOCILinuxResources returns resources from an OCI runtime Spec.
FromOCIMounts returns a Mount slice for an OCI runtime Spec.
Int creates an Optional wrapper from its argument.
Int32 creates an Optional wrapper from its argument.
Int64 creates an Optional wrapper from its argument.
IsMarkedForRemoval checks if a key is marked for removal.
MarkForRemoval returns a key marked for removal.
MustParseEventMask parses the given events, panic()ing on errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseEventMask parses a string representation into an EventMask.
ParsePluginName parses the (file)name of a plugin into an index and a base.
No description provided by the author
No description provided by the author
No description provided by the author
String creates an Optional wrapper from its argument.
UInt32 creates an Optional wrapper from its argument.
UInt64 creates an Optional wrapper from its argument.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
is this useful/necessary ?.
No description provided by the author
No description provided by the author
No description provided by the author
DefaultPluginRegistrationTimeout is the default timeout for plugin registration.
DefaultPluginRequestTimeout is the default timeout for plugins to handle a request.
DefaultSocketPath is the default socket path for external plugins.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PluginIdxEnvVar is used to inform NRI-launched plugins about their ID.
PluginNameEnvVar is used to inform NRI-launched plugins about their name.
No description provided by the author
PluginSocketEnvVar is used to inform plugins about pre-connected sockets.
SELinuxRelabel is a Mount pseudo-option to request relabeling.
ValidEvents is the event mask of all valid events.
# Variables
Enum value maps for ContainerState.
Enum value maps for ContainerState.
No description provided by the author
No description provided by the author
No description provided by the author
Enum value maps for Event.
Enum value maps for Event.
No description provided by the author
Enum value maps for LogRequest_Level.
Enum value maps for LogRequest_Level.
# Structs
A CDI device reference.
No description provided by the author
No description provided by the author
Container metadata that is considered relevant for a plugin.
Requested adjustments to a container being created.
Request to evict (IOW unsolicitedly stop) a container.
Requested update to an already created container.
No description provided by the author
No description provided by the author
Empty response for those *Requests that are semantically events.
One OCI hook.
Container OCI hooks.
Container huge page limit.
KeyValue represents an environment variable.
Container (linux) metadata.
Adjustments to (linux) resources.
Updates to (linux) resources.
CPU-related parts of (linux) resources.
A container (linux) device.
A linux device cgroup controller rule.
Memory-related parts of (linux) resources.
A linux namespace.
Pids-related parts of (linux) resources.
PodSandbox linux-specific metadata.
Container (linux) resources.
No description provided by the author
A container mount.
An optional boolean value.
An optional value of file permissions.
An optional signed integer value.
An optional 32-bit signed integer value.
An optional 64-bit signed integer value.
An optional string value.
An optional 32-bit unsigned integer value.
An optional 64-bit unsigned integer value.
No description provided by the author
Pod metadata that is considered relevant for a plugin.
Container rlimits.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
go:plugin type=host.
No description provided by the author
Plugin is the API NRI uses to interact with plugins.
No description provided by the author
No description provided by the author
# Type aliases
Possible container states.
Events that plugins can subscribe to in ConfigureResponse.
EventMask corresponds to a set of enumerated Events.
No description provided by the author
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
No description provided by the author