nddo

package
v0.0.69 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	WithLogger(log logging.Logger)
	WithClient(client.Client)
	GetSelectedNodeItfces(mg resource.Managed, epgSelectors []*nddov1.EpgInfo, nodeItfceSelectors map[string]*nddov1.ItfceInfo) (map[string][]schema.ItfceInfo, error)
	GetSelectedNodeItfcesIrb(mg resource.Managed, s schema.Schema, niName string) (map[string][]schema.ItfceInfo, error)
	GetSelectedNodeItfcesVxlan(mg resource.Managed, s schema.Schema, niName string) (map[string][]schema.ItfceInfo, error)
}

func New

func New(opts ...Option) Handler

type NodeItfceSelection

type NodeItfceSelection interface {
	GetSelectedNodeItfces() map[string][]schema.ItfceInfo
	GetNodeItfcesByEpgSelector([]*nddov1.EpgInfo, networkv1alpha1.IfList)
	GetNodeItfcesByNodeItfceSelector(map[string]*nddov1.ItfceInfo, networkv1alpha1.IfList)
	GetVxlanNodeItfces(string, schema.Schema, networkv1alpha1.IfList)
	GetIrbNodeItfces(string, schema.Schema, networkv1alpha1.IfList)
}

func NewNodeItfceSelection

func NewNodeItfceSelection() NodeItfceSelection

type Option

type Option func(Handler)

Option can be used to manipulate Options.

func WithClient

func WithClient(c client.Client) Option

func WithLogger

func WithLogger(log logging.Logger) Option

WithLogger specifies how the Reconciler should log messages.

Jump to

Keyboard shortcuts

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