configuration

package
v0.6.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS struct {
	NetworkCIDR         string            `yaml:"networkCIDR"`
	PublicSubnetsCIDRs  []string          `yaml:"publicSubnetsCIDRs"`
	PrivateSubnetsCIDRs []string          `yaml:"privateSubnetsCIDRs"`
	VPN                 AWSVPN            `yaml:"vpn"`
	Tags                map[string]string `yaml:"tags"`
}

AWS represents the configuration spec of a AWS bootstrap project including VPC and VPN

type AWSVPN

type AWSVPN struct {
	Instances     int      `yaml:"instances"`
	Port          int      `yaml:"port"`
	InstanceType  string   `yaml:"instanceType"`
	DiskSize      int      `yaml:"diskSize"`
	OperatorName  string   `yaml:"operatorName"`
	DHParamsBits  int      `yaml:"dhParamsBits"`
	SubnetCIDR    string   `yaml:"subnetCIDR"`
	SSHUsers      []string `yaml:"sshUsers"`
	OperatorCIDRs []string `yaml:"operatorCIDRs"`
}

AWSVPN represents an VPN configuration

type GCP added in v0.3.4

type GCP struct {
	PublicSubnetsCIDRs  []string          `yaml:"publicSubnetsCIDRs"`
	PrivateSubnetsCIDRs []string          `yaml:"privateSubnetsCIDRs"`
	ClusterNetwork      GCPClusterNetwork `yaml:"clusterNetwork"`
	VPN                 GCPVPN            `yaml:"vpn"`
	Tags                map[string]string `yaml:"tags"`
}

GCP represents the configuration spec of a AWS bootstrap project including VPC and VPN

type GCPClusterNetwork added in v0.3.4

type GCPClusterNetwork struct {
	SubnetworkCIDR        string `yaml:"subnetworkCIDR"`
	ControlPlaneCIDR      string `yaml:"controlPlaneCIDR"`
	PodSubnetworkCIDR     string `yaml:"podSubnetworkCIDR"`
	ServiceSubnetworkCIDR string `yaml:"serviceSubnetworkCIDR"`
}

GCPClusterNetwork represents the cluster network configuration

type GCPVPN added in v0.3.4

type GCPVPN struct {
	Instances     int      `yaml:"instances"`
	Port          int      `yaml:"port"`
	InstanceType  string   `yaml:"instanceType"`
	DiskSize      int      `yaml:"diskSize"`
	OperatorName  string   `yaml:"operatorName"`
	DHParamsBits  int      `yaml:"dhParamsBits"`
	SubnetCIDR    string   `yaml:"subnetCIDR"`
	SSHUsers      []string `yaml:"sshUsers"`
	OperatorCIDRs []string `yaml:"operatorCIDRs"`
}

GCPVPN represents an VPN configuration

Jump to

Keyboard shortcuts

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