Documentation ¶ Index ¶ Constants func Install(ctx context.Context, tracker *tracker.Tracker, src Source) error func NoOp() error func Uninstall() error type Source 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. Source Files ¶ View all Source files install.go Click to show internal directories. Click to hide internal directories.