cni

package
v0.0.0-...-97a9278 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(args *skel.CmdArgs) error

Delete removes the file with the cni stdin data for a CNI request (unique tuple composed of the network namespace, network name and interface name).

func Get

func Get(args *skel.CmdArgs) ([]byte, error)

Get retrieves the cni stdin data for a CNI request from a previously saved file (unique tuple composed of the network namespace, network name and interface name).

func Store

func Store(args *skel.CmdArgs) error

Store saves the cni stdin data to a file a CNI request (unique tuple composed of the network namespace, network name and interface name).

Types

type PolicyRoute

type PolicyRoute struct {
	SrcPrefix string `json:"srcPrefix"`
}

PolicyRoute represents the fields on which the policy route will be based one.

Jump to

Keyboard shortcuts

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