srl

package
v0.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Finalizer
	RegistrationFinalizer = "Registration.srl.ndd.yndd.io"
)

Variables

This section is empty.

Functions

func Ignore

func Ignore(is ErrorIs, err error) error

Ignore any errors that satisfy the supplied ErrorIs function by returning nil. Errors that do not satisfy the supplied function are returned unmodified.

func IgnoreNotFound

func IgnoreNotFound(err error) error

IgnoreNotFound returns the supplied error, or nil if the error indicates a Kubernetes resource was not found.

func SetupBfd

func SetupBfd(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupBfd adds a controller that reconciles Bfds.

func SetupInterface

func SetupInterface(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupInterface adds a controller that reconciles Interfaces.

func SetupInterfaceSubinterface

func SetupInterfaceSubinterface(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupInterfaceSubinterface adds a controller that reconciles InterfaceSubinterfaces.

func SetupNetworkinstance

func SetupNetworkinstance(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupNetworkinstance adds a controller that reconciles Networkinstances.

func SetupNetworkinstanceAggregateroutes

func SetupNetworkinstanceAggregateroutes(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupNetworkinstanceAggregateroutes adds a controller that reconciles NetworkinstanceAggregateroutess.

func SetupNetworkinstanceNexthopgroups

func SetupNetworkinstanceNexthopgroups(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupNetworkinstanceNexthopgroups adds a controller that reconciles NetworkinstanceNexthopgroupss.

func SetupNetworkinstanceProtocolsBgp

func SetupNetworkinstanceProtocolsBgp(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupNetworkinstanceProtocolsBgp adds a controller that reconciles NetworkinstanceProtocolsBgps.

func SetupNetworkinstanceProtocolsBgpevpn

func SetupNetworkinstanceProtocolsBgpevpn(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupNetworkinstanceProtocolsBgpevpn adds a controller that reconciles NetworkinstanceProtocolsBgpevpns.

func SetupNetworkinstanceProtocolsBgpvpn

func SetupNetworkinstanceProtocolsBgpvpn(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupNetworkinstanceProtocolsBgpvpn adds a controller that reconciles NetworkinstanceProtocolsBgpvpns.

func SetupNetworkinstanceProtocolsIsis

func SetupNetworkinstanceProtocolsIsis(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupNetworkinstanceProtocolsIsis adds a controller that reconciles NetworkinstanceProtocolsIsiss.

func SetupNetworkinstanceProtocolsLinux

func SetupNetworkinstanceProtocolsLinux(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupNetworkinstanceProtocolsLinux adds a controller that reconciles NetworkinstanceProtocolsLinuxs.

func SetupNetworkinstanceProtocolsOspf

func SetupNetworkinstanceProtocolsOspf(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupNetworkinstanceProtocolsOspf adds a controller that reconciles NetworkinstanceProtocolsOspfs.

func SetupNetworkinstanceStaticroutes

func SetupNetworkinstanceStaticroutes(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupNetworkinstanceStaticroutes adds a controller that reconciles NetworkinstanceStaticroutess.

func SetupRegistration

func SetupRegistration(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string, subChan chan collector.TargetUpdate) error

SetupRegistration adds a controller that reconciles Registrations.

func SetupRoutingpolicyAspathset

func SetupRoutingpolicyAspathset(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupRoutingpolicyAspathset adds a controller that reconciles RoutingpolicyAspathsets.

func SetupRoutingpolicyCommunityset

func SetupRoutingpolicyCommunityset(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupRoutingpolicyCommunityset adds a controller that reconciles RoutingpolicyCommunitysets.

func SetupRoutingpolicyPolicy

func SetupRoutingpolicyPolicy(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupRoutingpolicyPolicy adds a controller that reconciles RoutingpolicyPolicys.

func SetupRoutingpolicyPrefixset

func SetupRoutingpolicyPrefixset(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupRoutingpolicyPrefixset adds a controller that reconciles RoutingpolicyPrefixsets.

func SetupSystemName

func SetupSystemName(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupSystemName adds a controller that reconciles SystemNames.

func SetupSystemNetworkinstanceProtocolsBgpvpn

func SetupSystemNetworkinstanceProtocolsBgpvpn(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupSystemNetworkinstanceProtocolsBgpvpn adds a controller that reconciles SystemNetworkinstanceProtocolsBgpvpns.

func SetupSystemNetworkinstanceProtocolsEvpn

func SetupSystemNetworkinstanceProtocolsEvpn(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupSystemNetworkinstanceProtocolsEvpn adds a controller that reconciles SystemNetworkinstanceProtocolsEvpns.

func SetupSystemNetworkinstanceProtocolsEvpnEsisBgpinstance

func SetupSystemNetworkinstanceProtocolsEvpnEsisBgpinstance(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupSystemNetworkinstanceProtocolsEvpnEsisBgpinstance adds a controller that reconciles SystemNetworkinstanceProtocolsEvpnEsisBgpinstances.

func SetupSystemNetworkinstanceProtocolsEvpnEsisBgpinstanceEsi

func SetupSystemNetworkinstanceProtocolsEvpnEsisBgpinstanceEsi(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupSystemNetworkinstanceProtocolsEvpnEsisBgpinstanceEsi adds a controller that reconciles SystemNetworkinstanceProtocolsEvpnEsisBgpinstanceEsis.

func SetupSystemNtp

func SetupSystemNtp(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupSystemNtp adds a controller that reconciles SystemNtps.

func SetupTunnelinterface

func SetupTunnelinterface(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupTunnelinterface adds a controller that reconciles Tunnelinterfaces.

func SetupTunnelinterfaceVxlaninterface

func SetupTunnelinterfaceVxlaninterface(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)

SetupTunnelinterfaceVxlaninterface adds a controller that reconciles TunnelinterfaceVxlaninterfaces.

Types

type ErrorIs

type ErrorIs func(err error) bool

An ErrorIs function returns true if an error satisfies a particular condition.

Jump to

Keyboard shortcuts

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