Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModelNCPTX = "ncptx" ModelCPTX = "cptx" )
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) GRPCConfig ¶
Returns config required to configure gRPC service
func (*Node) GenerateSelfSigned ¶
GenerateSelfSigned generates a self-signed TLS certificate using Junos PKI
func (*Node) SpawnCLIConn ¶
SpawnCLIConn spawns a CLI connection towards a Network OS using `kubectl exec` terminal and ensures CLI is ready to accept inputs. scrapligo options can be provided to this function for a caller to modify scrapligo platform. For example, mock transport can be set via options
Click to show internal directories.
Click to hide internal directories.