Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultVPCCIDR = "10.0.0.0/16" DefaultInstanceCIDR = "10.0.0.0/24" DefaultControllerIP = "10.0.0.50" DefaultPodCIDR = "10.2.0.0/16" DefaultServiceCIDR = "10.3.0.0/24" DefaultKubernetesServiceIP = "10.3.0.1" DefaultDNSServiceIP = "10.3.0.10" )
Variables ¶
View Source
var (
DefaultClusterName = "kubernetes"
)
Functions ¶
func DecodeConfigFromFile ¶
func DefaultArtifactURL ¶
func StackTemplateBody ¶
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func (*Cluster) Info ¶
func (c *Cluster) Info() (*ClusterInfo, error)
type ClusterInfo ¶
func (*ClusterInfo) String ¶
func (c *ClusterInfo) String() string
type Config ¶
type Config struct { ClusterName string `yaml:"clusterName"` ExternalDNSName string `yaml:"externalDNSName"` KeyName string `yaml:"keyName"` Region string `yaml:"region"` AvailabilityZone string `yaml:"availabilityZone"` ArtifactURL string `yaml:"artifactURL"` ReleaseChannel string `yaml:"releaseChannel"` ControllerInstanceType string `yaml:"controllerInstanceType"` ControllerRootVolumeSize int `yaml:"controllerRootVolumeSize"` WorkerCount int `yaml:"workerCount"` WorkerInstanceType string `yaml:"workerInstanceType"` WorkerRootVolumeSize int `yaml:"workerRootVolumeSize"` WorkerSpotPrice string `yaml:"workerSpotPrice"` VPCCIDR string `yaml:"vpcCIDR"` InstanceCIDR string `yaml:"instanceCIDR"` ControllerIP string `yaml:"controllerIP"` PodCIDR string `yaml:"podCIDR"` ServiceCIDR string `yaml:"serviceCIDR"` KubernetesServiceIP string `yaml:"kubernetesServiceIP"` DNSServiceIP string `yaml:"dnsServiceIP"` }
func NewDefaultConfig ¶
Click to show internal directories.
Click to hide internal directories.