scrapligo

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScrapligoNetconfTarget

type ScrapligoNetconfTarget struct {
	// contains filtered or unexported fields
}

func NewScrapligoNetconfTarget

func NewScrapligoNetconfTarget(cfg *config.SBI) (*ScrapligoNetconfTarget, error)

NewScrapligoNetconfTarget inits a new ScrapligoNetconfTarget which is already connected to the target node

func (*ScrapligoNetconfTarget) Close

func (snt *ScrapligoNetconfTarget) Close() error

func (*ScrapligoNetconfTarget) Commit

func (snt *ScrapligoNetconfTarget) Commit() error

func (*ScrapligoNetconfTarget) CopyConfig

func (snt *ScrapligoNetconfTarget) CopyConfig(source, target string) (*types.NetconfResponse, error)

func (*ScrapligoNetconfTarget) Discard

func (snt *ScrapligoNetconfTarget) Discard() error

func (*ScrapligoNetconfTarget) EditConfig

func (snt *ScrapligoNetconfTarget) EditConfig(target string, config string) (*types.NetconfResponse, error)

EditConfig transforms the generalized EditConfig into the scrapligo implementation

func (*ScrapligoNetconfTarget) Get

func (*ScrapligoNetconfTarget) GetConfig

func (snt *ScrapligoNetconfTarget) GetConfig(source string, filter string) (*types.NetconfResponse, error)

func (*ScrapligoNetconfTarget) IsAlive

func (snt *ScrapligoNetconfTarget) IsAlive() bool

func (*ScrapligoNetconfTarget) Lock

func (*ScrapligoNetconfTarget) Unlock

func (snt *ScrapligoNetconfTarget) Unlock(target string) (*types.NetconfResponse, error)

func (*ScrapligoNetconfTarget) Validate

func (snt *ScrapligoNetconfTarget) Validate(source string) (*types.NetconfResponse, error)

Jump to

Keyboard shortcuts

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