vlan-fn

command module
v0.0.0-...-a4e188f Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

README

vlan-fn

The vlan-fn is a KRM function leveraging the cond fn sdk. It uses the vlan.resource.nephio.org/v1alpha1.VLANClaim as a for KRM resource.

details

The function claims VLANs from a VLAN backend based on the content of the VLANClaim. The function is implemented to align with the cond fn sdk but, more importantly, the function can be used in a kpt pipeline without relying on porch. When used in a kpt pipeline, a stub backend can be deployed for testing purposes.

usage

kpt fn source <krm resource package> | go run main.go 
kpt fn eval --type mutator <krm resource package>  -i <ipam-container-image> 

build

make docker-build; make docker-push

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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