systems

package
v0.5.35 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissMatchNumberOfNamesAndProvidedNames = errors.New("provided node names does not match number of nodes")
View Source
var ErrOverrideDoesNotExportAnyPorts = errors.New("trying to connect to a service that does not expose any ports")

Functions

func BuiltinRoles

func BuiltinRoles(efs fs.FS) (roles map[string]ansible.Role, err error)

func Environment

func Environment(env string, builtinRoles map[string]ansible.Role) (config system.Environment, err error)

func GitService

func GitService(serv *system.Service) (servInfo *service.Service, err error)

func LoadConfig

func LoadConfig[T any](dir string) (out T, err error)

func LocalService

func LocalService(systemDir string, serv *system.Service) (servInfo *service.Service, err error)

func Service

func Service(sys system.System, serv *system.Service) (err error)

func System

func System(env system.Environment, systemDir string) (config system.System, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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