injector

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUpdatedAllocation

func GetUpdatedAllocation(resp *allocpb.Response, prefixKind ipamv1alpha1.PrefixKind) (*kyaml.RNode, error)

func ResourcesToPackageBuffer

func ResourcesToPackageBuffer(resources map[string]string) (*kio.PackageBuffer, error)

Code adapted from Porch internal cmdrpkgpull and cmdrpkgpush

func SetFieldValue

func SetFieldValue(options *types.FieldOptions, targetField *kyaml.RNode, value *kyaml.RNode) error

func Setup

func Setup(mgr ctrl.Manager, options *shared.Options) error

SetupWithManager sets up the controller with the Manager.

func UpdateValue

func UpdateValue(fp string, target, value *kyaml.RNode) error

Types

type IpamAllocation added in v0.0.2

type IpamAllocation struct {
	Obj fn.KubeObject
}

func (*IpamAllocation) GetSpec added in v0.0.2

Jump to

Keyboard shortcuts

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