ipam

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildIPAMAllocation

func BuildIPAMAllocation(nfName string, epName types.NamespacedName, spec ipamv1alpha1.IPAllocationSpec) (*kyaml.RNode, error)

func BuildIPAMAllocationFn

func BuildIPAMAllocationFn(nfName string, epName types.NamespacedName, spec ipamv1alpha1.IPAllocationSpec) (*fn.KubeObject, error)

func GetIPAllocationSelectorMatchLabels added in v0.0.5

func GetIPAllocationSelectorMatchLabels(source *kyaml.RNode) (map[string]string, error)

func GetPrefixKind added in v0.0.5

func GetPrefixKind(source *kyaml.RNode) string

func GetPrefixLength added in v0.0.5

func GetPrefixLength(source *kyaml.RNode) (int, error)

func GetValue added in v0.0.5

func GetValue(source *kyaml.RNode, fp string) (string, error)

func MustGetValue added in v0.0.5

func MustGetValue(source *kyaml.RNode, fp string) string

Types

type IpamAllocation added in v0.0.7

type IpamAllocation struct {
	Obj fn.KubeObject
}

func (*IpamAllocation) GetSpec added in v0.0.7

Jump to

Keyboard shortcuts

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