podwatch

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPAMConfig

type IPAMConfig struct {
	Type       string    `json:"type,omitempty"`
	Subnet     string    `json:"subnet,omitempty"`
	RangeStart string    `json:"rangeStart,omitempty"`
	RangeEnd   string    `json:"rangeEnd,omitempty"`
	Routes     RouteInfo `json:"routes,omitempty"`
	Gateway    string    `json:"gateway,omitempty"`
}

type PodController

type PodController struct {
	// contains filtered or unexported fields
}

func NewPodController

func NewPodController(kubeClient clientset.Interface,
	netAttachDefClient netdefclient.K8sCniCncfIoV1Interface,
	podInformer cache.SharedIndexInformer,
	nodeName string,
	podCache cnipodcache.CNIPodInfoStore,
	cniServer *cniserver.CNIServer) *PodController

func (*PodController) Run

func (pc *PodController) Run(stopCh <-chan struct{})

func (*PodController) Worker

func (pc *PodController) Worker()

type RouteInfo

type RouteInfo struct {
	Dst string `json:"dst,omitempty"`
}

type SecondaryNetworkConfig

type SecondaryNetworkConfig struct {
	CNIVersion string     `json:"cniVersion,omitempty"`
	Name       string     `json:"name,omitempty"`
	Type       string     `json:"type,omitempty"`
	IPAM       IPAMConfig `json:"ipam,omitempty"`
}

type SecondaryNetworkObject

type SecondaryNetworkObject struct {
	NetworkName   string `json:"name,omitempty"`
	InterfaceName string `json:"interface,omitempty"`
	InterfaceType string `json:"type"`
}

Jump to

Keyboard shortcuts

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