package
Version:
v0.4.1
Opens a new window with list of versions in this module.
Published: Mar 21, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Machine struct {
ID uuid.UUID `json:"id" db:"id"`
UserID uuid.UUID `json:"user_id" db:"user_id"`
Name string `json:"name" db:"name"`
PublicKey []byte `json:"public_key" db:"public_key"`
}
type SshConfig struct {
ID uuid.UUID `json:"id" db:"id"`
UserID uuid.UUID `json:"user_id" db:"user_id"`
MachineID uuid.UUID `json:"machine_id" db:"machine_id"`
Host string `json:"host" db:"host"`
Values map[string][]string `json:"values" db:"values"`
IdentityFiles []string `json:"identity_files" db:"identity_files"`
}
type SshKey struct {
ID uuid.UUID `json:"id" db:"id"`
UserID uuid.UUID `json:"user_id" db:"user_id"`
Filename string `json:"filename" db:"filename"`
Data []byte `json:"data" db:"data"`
}
type User struct {
ID uuid.UUID `json:"id" db:"id"`
Username string `json:"username" db:"username"`
Keys []SshKey `json:"keys"`
Config []SshConfig `json:"config"`
Machines []Machine `json:"machines"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.