resolvers

package
v0.0.0-...-61d75e0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultPrefix = "ipam.adevinta.com"

Functions

This section is empty.

Types

type CidrResolver

type CidrResolver struct {
	Client           client.Client
	AnnotationPrefix string
	// contains filtered or unexported fields
}

func (*CidrResolver) Annotation

func (r *CidrResolver) Annotation() string

func (*CidrResolver) AnnotationNotFoundError

func (r *CidrResolver) AnnotationNotFoundError() error

func (*CidrResolver) ClusterAnnotation

func (r *CidrResolver) ClusterAnnotation() string

func (*CidrResolver) GetCidrsFromObject

func (r *CidrResolver) GetCidrsFromObject(ctx context.Context, object client.Object) ([]string, error)

type ClusterCIDRResolver

type ClusterCIDRResolver struct {
	client.Client
}

func (*ClusterCIDRResolver) Kind

func (r *ClusterCIDRResolver) Kind() string

func (*ClusterCIDRResolver) ResolveCidrs

func (r *ClusterCIDRResolver) ResolveCidrs(namespace string, name string) ([]string, error)

type NamespacedCIDRResolver

type NamespacedCIDRResolver struct {
	client.Client
}

func (*NamespacedCIDRResolver) Kind

func (r *NamespacedCIDRResolver) Kind() string

func (*NamespacedCIDRResolver) ResolveCidrs

func (r *NamespacedCIDRResolver) ResolveCidrs(namespace string, name string) ([]string, error)

Jump to

Keyboard shortcuts

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