define

package
v0.0.0-...-d667782 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPVlanNad

func IPVlanNad(apiClient *clients.Settings, name, nsName, intName string, ipam *nad.IPAM) (*nad.Builder, error)

IPVlanNad defines and creates IP-Vlan NetworkAttachmentDefinition on a cluster.

func MacVlanNad

func MacVlanNad(apiClient *clients.Settings, name, nsName, intName string, ipam *nad.IPAM) (*nad.Builder, error)

MacVlanNad defines and creates mac-vlan NetworkAttachmentDefinition on a cluster.

func MasterNadPlugin

func MasterNadPlugin(nadName, mode string, ipam *nad.IPAM, masterInterface ...string) (*nad.MasterPlugin, error)

MasterNadPlugin sets NetworkAttachmentDefinition master plugin based on given input.

func TapNad

func TapNad(
	apiClient *clients.Settings,
	name string,
	nsname string,
	user int,
	group int,
	sysctlConfig map[string]string) (*nad.Builder, error)

TapNad defines and creates tap NetworkAttachmentDefinition on a cluster.

func VlanNad

func VlanNad(
	apiClient *clients.Settings, name, nsName, intName string, vlanID uint16, ipam *nad.IPAM) (*nad.Builder, error)

VlanNad defines and creates Vlan NetworkAttachmentDefinition on a cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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