cniconflist

package
v1.4.50 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CiliumGenerator

type CiliumGenerator struct {
	Writer io.WriteCloser
}

CiliumGenerator generates the Azure CNI conflist for the Cilium scenario

func (*CiliumGenerator) Close

func (v *CiliumGenerator) Close() error

func (*CiliumGenerator) Generate

func (v *CiliumGenerator) Generate() error

Generate writes the CNI conflist to the Generator's output stream

type IPAM

type IPAM struct {
	Type string `json:"type,omitempty"`
}

type NetConf

type NetConf struct {
	CNIVersion   string          `json:"cniVersion,omitempty"`
	Name         string          `json:"name,omitempty"`
	Type         string          `json:"type,omitempty"`
	Capabilities map[string]bool `json:"capabilities,omitempty"`
	IPAM         IPAM            `json:"ipam,omitempty"`
	EnableDebug  bool            `json:"enable-debug"`
	LogFile      string          `json:"log-file"`

	RawPrevResult map[string]interface{} `json:"prevResult,omitempty"`
}

NetConf describes a network. It represents the Cilium specific containernetworking/cni/pkg/types.NetConf

type SWIFTGenerator

type SWIFTGenerator struct {
	Writer io.WriteCloser
}

SWIFTGenerator generates the Azure CNI conflist for the SWIFT scenario

func (*SWIFTGenerator) Close

func (v *SWIFTGenerator) Close() error

func (*SWIFTGenerator) Generate

func (v *SWIFTGenerator) Generate() error

Generate writes the CNI conflist to the Generator's output stream

type V4OverlayGenerator

type V4OverlayGenerator struct {
	Writer io.WriteCloser
}

V4OverlayGenerator generates the Azure CNI conflist for the ipv4 Overlay scenario

func (*V4OverlayGenerator) Close

func (v *V4OverlayGenerator) Close() error

func (*V4OverlayGenerator) Generate

func (v *V4OverlayGenerator) Generate() error

Generate writes the CNI conflist to the Generator's output stream

Jump to

Keyboard shortcuts

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