system

package
v0.5.31 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterInfo added in v0.5.13

type ClusterInfo struct {
	Name  string         `yaml:"name"`
	Ports map[string]int `yaml:"ports"`
}

type Environment added in v0.3.0

type Environment struct {
	Name          string                  `yaml:"name"`
	FQDN          string                  `yaml:"fqdn"`
	Vars          Vars                    `yaml:"vars"`
	Systems       []string                `yaml:"systems"`
	Nerthus       string                  `yaml:"nerthus_host"`
	Visuale       string                  `yaml:"visuale_host"`
	OSName        string                  `yaml:"os_name"`
	OSArch        string                  `yaml:"os_arch"`
	InstanceType  string                  `yaml:"instance_type"`
	Roles         map[string]ansible.Role `yaml:",omitempty"`
	FS            fs.FS                   `yaml:",omitempty"`
	Dir           string                  `yaml:",omitempty"`
	SystemConfigs map[string]System       `yaml:",omitempty"`
}

type Service

type Service struct {
	Name               string                      `yaml:"name"`
	Vars               Vars                        `yaml:"vars"`
	Expose             map[string]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"`
	ClusterName        string                      `yaml:"cluster_name"`
	SecurityGroup      string                      `yaml:"security_group"`
	TargetGroup        string                      `yaml:"target_group"`
	IAM                string                      `yaml:"iam"`
	OSName             string                      `yaml:"os_name"`
	OSArch             string                      `yaml:"os_arch"`
	InstanceType       string                      `yaml:"instance_type"`
	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"`
	ServiceInfo        *service.Service            `yaml:",omitempty"`
	Roles              map[string]ansible.Role     `yaml:",omitempty"`
	SecurityGroupRules []ansible.SecurityGroupRule `yaml:",omitempty"`
	ClusterInfo        map[string]ClusterInfo      `yaml:",omitempty"`
	Generated          bool                        `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"`
	OSName            string                  `yaml:"os_name"`
	OSArch            string                  `yaml:"os_arch"`
	InstanceType      string                  `yaml:"instance_type"`
	CIDR              string                  `yaml:"cidr_base"`
	Zone              string                  `yaml:"zone"`
	Roles             map[string]ansible.Role `yaml:",omitempty"`
	FS                fs.FS                   `yaml:",omitempty"`
	Dir               string                  `yaml:",omitempty"`
}

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