testutil

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFileConfig

func CreateFileConfig() error

CreateFileConfig create file config for kernel

func CreateInvalidPrivateKey

func CreateInvalidPrivateKey(direction string) (string, error)

CreateInvalidPrivateKey create invalid key for tests

func CreatePrivateKey

func CreatePrivateKey(direction string) (string, error)

CreatePrivateKey generate and save private key in file

func GeneratePrivateKey

func GeneratePrivateKey() ([]byte, error)

GeneratePrivateKey generate private key for ssh connect

func RemoveDirectionPrivateKey

func RemoveDirectionPrivateKey() error

RemoveDirectionPrivateKey delete dir with private keys

func RemoveFileConnections

func RemoveFileConnections() error

RemoveFileConnections delete file connection

Types

This section is empty.

Jump to

Keyboard shortcuts

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