cni

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// BinPath is the path to the cni plugins binary.
	BinPath = "/opt/cni/bin"

	// TgzPath is the path to install the cni-plugins tgz file
	TgzPath = "/opt/cni/plugins/cni-plugins.tgz"
)

Variables

This section is empty.

Functions

func Install

func Install(ctx context.Context, tracker *tracker.Tracker, src Source) error

func NoOp

func NoOp() error

func Uninstall

func Uninstall() error

Types

type Source

type Source interface {
	GetCniPlugins(context.Context) (artifact.Source, error)
}

Source represents a source that serves a cni plugins binary.

Jump to

Keyboard shortcuts

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