network

package
v0.0.0-...-dbbfab9 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SourceNetworkNotValid      = "SourceNetworkNotValid"
	DestinationNetworkNotValid = "DestinationNetworkNotValid"
)

Types

View Source
const (
	Required = libcnd.Required
	Advisory = libcnd.Advisory
	Critical = libcnd.Critical
	Error    = libcnd.Error
	Warn     = libcnd.Warn
)

Categories

View Source
const (
	NotSet    = "NotSet"
	NotFound  = "NotFound"
	Ambiguous = "Ambiguous"
)

Reasons

View Source
const (
	True  = libcnd.True
	False = libcnd.False
)

Statuses

View Source
const (
	Pod     = "pod"
	Multus  = "multus"
	Ignored = "ignored"
)

Network types.

View Source
const (
	// Name.
	Name = "networkMap"
)

Variables

View Source
var Settings = &settings.Settings

Application settings.

Functions

func Add

func Add(mgr manager.Manager) error

Creates a new Map Controller and adds it to the Manager.

Types

type MapPredicate

type MapPredicate struct {
	predicate.TypedFuncs[*api.NetworkMap]
}

func (MapPredicate) Create

func (MapPredicate) Delete

func (MapPredicate) Update

type ProviderPredicate

type ProviderPredicate struct {
	handler.WatchManager
	predicate.TypedFuncs[*api.Provider]
	// contains filtered or unexported fields
}

Provider watch predicate. Also ensures an inventory watch is created and associated with the channel source.

func (*ProviderPredicate) Create

Provider created event.

func (*ProviderPredicate) Delete

Provider deleted event.

func (*ProviderPredicate) Generic

Generic provider watch event.

func (*ProviderPredicate) Update

Provider updated event.

type Reconciler

type Reconciler struct {
	base.Reconciler
}

Reconciles a Map object.

func (Reconciler) Reconcile

func (r Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (result reconcile.Result, err error)

Reconcile a Map CR. Note: Must not a pointer receiver to ensure that the logger and other state is not shared.

Directories

Path Synopsis
ocp
ova

Jump to

Keyboard shortcuts

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