Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIncompatibleCliConn = errors.New("incompatible cli connection in use")
ErrIncompatibleCliConn raised when an invalid scrapligo cli transport type is found.
Functions ¶
Types ¶
type Node ¶
func (*Node) Create ¶
Create creates a Nokia SR Linux node by interfacing with srl-labs/srl-controller
func (*Node) PatchCLIConnOpen ¶
PatchCLIConnOpen sets the OpenCmd and ExecCmd of system transport to work with `kubectl exec` terminal.
func (*Node) SpawnCLIConn ¶
SpawnCLIConn spawns a CLI connection towards a Network OS using `kubectl exec` terminal and ensures CLI is ready to accept inputs.
func (*Node) WaitCLIReady ¶
WaitCLIReady attempts to open the transport channel towards a Network OS and perform scrapligo OnOpen actions for a given platform. Retries indefinitely till success.
Click to show internal directories.
Click to hide internal directories.