Documentation
¶
Overview ¶
Package migration reads third-party session exports without modifying them.
Index ¶
Constants ¶
View Source
const MaxBytes int64 = 32 << 20
View Source
const MaxEntries = 10000
View Source
const MaxFiles = 1024
View Source
const MaxIssues = 10000
Variables ¶
View Source
var ( ErrFormat = errors.New("unsupported or malformed migration format") ErrTooLarge = errors.New("migration input exceeds limit") ErrNoEntries = errors.New("no SSH entries found") ErrRead = errors.New("cannot read migration input") ErrEncrypted = errors.New("encrypted migration input is not supported") )
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
ID, Name, Address, User, Group string
Port int
Password, PrivateKey, Passphrase []byte `json:"-" yaml:"-"`
KeyPath string
Jumps []Hop
Issues []Issue
}
Secrets are transient bytes and must never be serialized to application metadata.
Click to show internal directories.
Click to hide internal directories.