yresource

package
v0.1.483 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 4 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 {
	WithLogging(log logging.Logger)
	GetRootPath(mg resource.Managed) []*gnmi.Path
	GetParentDependency(mg resource.Managed) []*leafref.LeafRef
}

type Option added in v0.1.271

type Option func(Handler)

func WithLogging

func WithLogging(log logging.Logger) Option

type Resource

type Resource struct {
	Log      logging.Logger
	RootPath []*gnmi.Path
}

func (*Resource) WithLogging

func (r *Resource) WithLogging(log logging.Logger)

Jump to

Keyboard shortcuts

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