systems

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 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(bfs fs.FS) (roles map[string]ansible.Role, err error)

func Cluster added in v0.6.21

func Cluster(env system.Environment, sys system.System, cluster *system.Cluster) (err error)

func Environment

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

func GitService

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

func LoadConfig

func LoadConfig[T any](curFS fs.FS) (out T, err error)

func LocalService

func LocalService(serv *system.Service, envFS, sysFS fs.FS) (servInfo *service.Service, err error)

func Service

func Service(env system.Environment, sys system.System, cluster system.Cluster, 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