configuration

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 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 EKS

type EKS struct {
	Version      string            `yaml:"version"`
	Network      string            `yaml:"network"`
	SubNetworks  []string          `yaml:"subnetworks"`
	DMZCIDRRange string            `yaml:"dmzCIDRRange"`
	SSHPublicKey string            `yaml:"sshPublicKey"`
	NodePools    []EKSNodePool     `yaml:"nodePools"`
	Tags         map[string]string `yaml:"tags"`
	Auth         EKSAuth           `yaml:"auth"`
}

EKS represents the configuration spec of a EKS Cluster

type EKSAuth

type EKSAuth struct {
	AdditionalAccounts []string      `yaml:"additionalAccounts"`
	Users              []EKSAuthData `yaml:"users"`
	Roles              []EKSAuthData `yaml:"roles"`
}

EKSAuth represent a auth structure

type EKSAuthData

type EKSAuthData struct {
	Username string   `yaml:"username"`
	Groups   []string `yaml:"groups"`
	UserARN  string   `yaml:"userarn,omitempty"`
	RoleARN  string   `yaml:"rolearn,omitempty"`
}

EKSAuthData represent a auth structure

type EKSNodePool

type EKSNodePool struct {
	Name         string            `yaml:"name"`
	Version      string            `yaml:"version"`
	MinSize      int               `yaml:"minSize"`
	MaxSize      int               `yaml:"maxSize"`
	InstanceType string            `yaml:"instanceType"`
	MaxPods      int               `yaml:"maxPods"`
	VolumeSize   int               `yaml:"volumeSize"`
	Labels       map[string]string `yaml:"labels"`
	Taints       []string          `yaml:"taints"`
	SubNetworks  []string          `yaml:"subnetworks"`
	Tags         map[string]string `yaml:"tags"`
}

EKSNodePool represent a node pool configuration

Jump to

Keyboard shortcuts

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