config

package
v0.0.0-...-4bb0fba Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConcurrentVersionsSystemInfo

type ConcurrentVersionsSystemInfo struct {
	Enabled      bool     `yaml:"enabled" json:"enabled"`
	Token        string   `yaml:"token" json:"token"`
	Repositories []string `yaml:"repositories" json:"repositories"`
	Username     string   `yaml:"username" json:"username"`
}

type MachineInfo

type MachineInfo struct {
	ResourceType   string         `yaml:"resource_type" json:"resource_type"`
	AmiId          string         `yaml:"-" json:"-"`
	SubnetId       string         `yaml:"-" json:"-"`
	Hostname       string         `yaml:"hostname" json:"hostname"`
	UserName       string         `yaml:"username" json:"username"`
	InstanceType   string         `yaml:"instance_type" json:"instance_type"`
	OfferSpotPrice string         `yaml:"spot_price" json:"spot_price"`
	SpotPrice      string         `yaml:"-" json:"-"`
	OsDist         string         `yaml:"os_dist" json:"os_dist"`
	DiskSizeGB     int            `yaml:"disk_size" json:"disk_size"`
	Credentials    SshCredentials `yaml:"credentials" json:"credentials"`
}

type Settings

type Settings struct {
	DomainName     string                       `yaml:"_" json:"_"`         // computed
	Email          string                       `yaml:"email" json:"email"` // populated when we init the CVS certs
	HostedZone     string                       `yaml:"hosted_zone" json:"hosted_zone"`
	VpcId          string                       `yaml:"vpc_id" json:"vpc_id"`
	MachineInfo    MachineInfo                  `yaml:"instance" json:"instance"`
	Gitlab         ConcurrentVersionsSystemInfo `yaml:"gitlab" json:"gitlab"`
	Github         ConcurrentVersionsSystemInfo `yaml:"github" json:"github"`
	ExtraVariables map[string]string            `yaml:"variables" json:"variables"`
}

func (*Settings) Load

func (settings *Settings) Load(ctx *pulumi.Context) error

type SshCredentials

type SshCredentials struct {
	Created bool   `yaml:"_" json:"_" `
	Public  string `yaml:"public" json:"public" `
	Private string `yaml:"private" json:"private"`
}

Jump to

Keyboard shortcuts

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