srl

package
v0.54.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KindNames = []string{"srl", "nokia_srlinux"}
)

Functions

func Register added in v0.34.0

func Register(r *nodes.NodeRegistry)

Register registers the node in the NodeRegistry.

Types

type SrlVersion

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

SrlVersion represents an sr linux version as a set of fields.

func (*SrlVersion) MajorMinorSemverString added in v0.53.0

func (v *SrlVersion) MajorMinorSemverString() string

MajorMinorSemverString returns a string representation of the major.minor version with a leading v.

func (*SrlVersion) String added in v0.44.0

func (v *SrlVersion) String() string

String returns a string representation of the version in a semver fashion (with leading v).

Jump to

Keyboard shortcuts

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