nix

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildMachines

func BuildMachines(evalMachines string, deploymentPath string, hosts []Host, nixArgs []string) (path string, err error)

func GetNixSystemDerivation

func GetNixSystemDerivation(host Host, resultPath string) (string, error)

func GetNixSystemPath

func GetNixSystemPath(host Host, resultPath string) (string, error)

func GetPathsToPush

func GetPathsToPush(host Host, resultPath string) (paths []string, err error)

func Push

func Push(ctx *ssh.SSHContext, host Host, paths ...string) (err error)

Types

type Host

type Host struct {
	HealthChecks healthchecks.HealthChecks
	Name         string
	NixosRelease string
	TargetHost   string
	Secrets      map[string]secrets.Secret
	BuildOnly    bool
}

func GetMachines

func GetMachines(evalMachines string, deploymentPath string) (hosts []Host, err error)

func (*Host) GetHealthChecks

func (host *Host) GetHealthChecks() healthchecks.HealthChecks

func (*Host) GetTargetHost

func (host *Host) GetTargetHost() string

Jump to

Keyboard shortcuts

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