install

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 30 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FrrDaemons = `` /* 784-byte string literal not displayed */

Functions

func BuildContainerSpec

func BuildContainerSpec(name string, config *mrsconfig.Config) (string, error)

func CertInit

func CertInit(config *Config) error

func FrrDaemonsPath

func FrrDaemonsPath() string

func Genspec

func Genspec(tbx *xir.Facility, config *Config, zinUpdate, nft bool) error

func SpecToContents added in v1.0.6

func SpecToContents(spec *PodmanServiceTemplateArgs) (string, error)

func SystemdInstallPath

func SystemdInstallPath() string

TODO: query ignition?

func TLSCertPath

func TLSCertPath(name string) string

func TLSKeyPath

func TLSKeyPath(name string) string

Types

type BondMasterConfig

type BondMasterConfig struct {
	Devname string
	Mtu     uint16
}

type BondMemberConfig

type BondMemberConfig struct {
	Master  string
	Devname string
	Mtu     uint16
}

type Config

type Config struct {
	Gc   *gcconfig.Config  `yaml:"ground-control,omitempty"`
	Mars *mrsconfig.Config `yaml:"mars,omitempty"`
}

func GetConfig

func GetConfig(userConfigFilename string) (*Config, error)

func (*Config) OpsPasswordHash

func (c *Config) OpsPasswordHash() (string, error)

type ControlbrMemberConfig

type ControlbrMemberConfig struct {
	Devname string
}

type DiskFormatTemplateArgs

type DiskFormatTemplateArgs struct {
	Dev string
}

type DiskMountTemplateArgs

type DiskMountTemplateArgs struct {
	Dev  string
	Name string
}

type LinkConfig

type LinkConfig struct {
	Devname string
	Mtu     uint16
}

type MgmtlinkConfig

type MgmtlinkConfig struct {
	Devname string
}

type PkgInstallTemplateArgs

type PkgInstallTemplateArgs struct {
	Packages []string
}

type PodmanServiceTemplateArgs

type PodmanServiceTemplateArgs struct {
	Name           string
	Image          string
	RunOptions     []string
	Args           []string
	After          []string
	Requires       []string
	PullOptions    []string
	UnitOptions    []string
	ServiceOptions []string
}

func BuildContainerSpecTemplate added in v1.0.6

func BuildContainerSpecTemplate(name string, config *mrsconfig.Config) (*PodmanServiceTemplateArgs, error)

type ZtpTemplateArgs

type ZtpTemplateArgs struct {
	Username string
	Password string
	Pubkey   string
	TLSCert  string
	TLSKey   string
	Timezone string
}

Jump to

Keyboard shortcuts

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