Documentation
¶
Index ¶
- func GetNixSystemDerivation(host Host, resultPath string) (string, error)
- func GetNixSystemPath(host Host, resultPath string) (string, error)
- func GetPathsToPush(host Host, resultPath string) (paths []string, err error)
- func Push(ctx *ssh.SSHContext, host Host, paths ...string) (err error)
- type FileArgs
- type Host
- type NixContext
- func (ctx *NixContext) BuildMachines(deploymentPath string, hosts []Host, nixArgs []string, nixBuildTargets string) (resultPath string, err error)
- func (ctx *NixContext) GetBuildShell(deploymentPath string) (buildShell *string, err error)
- func (ctx *NixContext) GetMachines(deploymentPath string) (hosts []Host, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNixSystemDerivation ¶
Types ¶
type Host ¶
type Host struct { HealthChecks healthchecks.HealthChecks Name string NixosRelease string TargetHost string TargetUser string Secrets map[string]secrets.Secret BuildOnly bool SubstituteOnDestination bool NixConfig map[string]string }
func (*Host) GetHealthChecks ¶
func (host *Host) GetHealthChecks() healthchecks.HealthChecks
func (*Host) GetTargetHost ¶
func (*Host) GetTargetUser ¶ added in v1.4.0
type NixContext ¶ added in v1.2.0
func (*NixContext) BuildMachines ¶ added in v1.2.0
func (*NixContext) GetBuildShell ¶ added in v1.5.0
func (ctx *NixContext) GetBuildShell(deploymentPath string) (buildShell *string, err error)
func (*NixContext) GetMachines ¶ added in v1.2.0
func (ctx *NixContext) GetMachines(deploymentPath string) (hosts []Host, err error)
Click to show internal directories.
Click to hide internal directories.