system

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment added in v0.3.0

type Environment struct {
	Name    string   `yaml:"name"`
	Cert    string   `yaml:"certificate_arn"`
	Vars    Vars     `yaml:"vars"`
	Systems []string `yaml:"systems"`
}

type Service

type Service struct {
	Name          string             `yaml:"name"`
	Vars          Vars               `yaml:"vars"`
	Expose        []int              `yaml:"expose,omitempty"`
	Playbook      string             `yaml:"playbook,omitempty"`
	Local         string             `yaml:"local,omitempty"`
	Git           string             `yaml:"git,omitempty"`
	Branch        string             `yaml:"branch,omitempty"`
	Override      map[string]string  `yaml:"override,omitempty"`
	Internal      bool               `yaml:"internal"`
	NumberOfNodes int                `yaml:"number_of_nodes"`
	NodeNames     []string           `yaml:"node_names"`
	SecurityGroup string             `yaml:"security_group"`
	TargetGroup   string             `yaml:"target_group"`
	WebserverPort *int               `yaml:"webserver_port,omitempty"`
	Properties    *string            `yaml:"properties,omitempty"`
	Dirs          *map[string]string `yaml:"dirs,omitempty"`
	Files         *map[string]string `yaml:"files,omitempty"`
	Node          *ansible.Playbook  `yaml:",omitempty"`
	Prov          *ansible.Playbook  `yaml:",omitempty"`
	ServiceInfo   *service.Service   `yaml:",omitempty"`
}

type System

type System struct {
	Name              string    `yaml:"name"`
	Vars              Vars      `yaml:"vars"`
	Services          []Service `yaml:"services"`
	Scope             string    `yaml:"scope"`
	VPC               string    `yaml:"vpc"`
	Key               string    `yaml:"key"`
	Loadbalancer      string    `yaml:"loadbalancer"`
	LoadbalancerGroup string    `yaml:"loadbalancerGroup"`
}

type Vars

type Vars map[string]any

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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