Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkpoint ¶
type Checkpoint struct {
DatasetPrefix string `toml:"dataset_prefix"`
}
type Config ¶
type Defaults ¶
type Defaults struct {
Image string `toml:"image"`
CPU string `toml:"cpu"`
Memory int64 `toml:"memory"` // MiB
Pool string `toml:"pool"`
NICType string `toml:"nic_type"` // "macvlan" or "bridged"
Parent string `toml:"parent"` // parent interface (e.g. "eno1", "br0")
Network string `toml:"network"` // Incus network name (e.g. "incusbr0")
DNS []string `toml:"dns"` // nameservers to write into containers
}
type Network ¶
func (*Network) IsRestricted ¶
type Provision ¶
func (*Provision) DevToolsEnabled ¶
type TrueNAS ¶
type TrueNAS struct {
Host string `toml:"host"`
Port int `toml:"port"`
Username string `toml:"username"`
APIKey string `toml:"api_key"`
InsecureSkipVerify *bool `toml:"insecure_skip_verify"`
}
func (*TrueNAS) InsecureSkipVerifyValue ¶
InsecureSkipVerify returns whether TLS verification should be skipped. Defaults to true (skip) when not explicitly set, since most TrueNAS boxes use self-signed certs.
Click to show internal directories.
Click to hide internal directories.