Documentation ¶
Index ¶
- func CheckStack(sess *session.Session, StackName string) *awscf.DescribeStacksOutput
- func Create_Master_sdk(sess *session.Session, vpcsecuritygps []*string, vpcclustername string, ...) (string, []*string, string)
- func Create_NodeGroup_SDK(sess *session.Session, nodelen int, MClusterName string, MSubnetIds []*string, ...)
- func Create_SG(sess *session.Session, SGNames []string, ClusterName string, CIDR string, ...) ([]*string, map[string]string)
- func Create_VPC(sess *session.Session, file []byte, cluster string, S3 string, ...) (*string, string, string, map[string]string)
- func Createcft(sess *session.Session, d cftvpc, stack []*awscf.Parameter) *awscf.CreateStackOutput
- func ListStack(sess *session.Session, c cftvpc, stackcreate []*awscf.Parameter, ...)
- func ListStack_sdk(sess *session.Session, ClusterName string, NodegroupName string, Module string) (string, *eks.DescribeClusterOutput, *eks.DescribeNodegroupOutput, error, ...)
- func ReadEKSYaml(f []byte, sf string, clustertype string, clustergreenfile []byte)
- func UpdateStack(sess *session.Session, u cftvpc, stack []*awscf.Parameter) *awscf.UpdateStackOutput
- func ValidateStack(sess *session.Session, TemplateURL string, ElementsCreate map[string]string, ...) ([]*awscf.Parameter, []*awscf.Parameter)
- type Config
- type EksMaster
- type EksMasterSDK
- type EksVPC
- type NodeList
- type Nodevalues
- type RemoteAccess
- type SecurityGroup
- type SecurityRules
- type Taints
- type YamlConvert
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckStack ¶
func CheckStack(sess *session.Session, StackName string) *awscf.DescribeStacksOutput
func Create_Master_sdk ¶ added in v0.4.9
func Create_NodeGroup_SDK ¶ added in v0.4.9
func Create_VPC ¶
func ListStack_sdk ¶ added in v0.4.9
func ReadEKSYaml ¶
func UpdateStack ¶
Types ¶
type EksMaster ¶
type EksMaster struct { Master struct { KubernetesVersion string `yaml:"KubernetesVersion"` SecurityGroupIds string `yaml:"SecurityGroupIds"` SubnetIds interface{} `yaml:"SubnetIds"` PrivateAccess *bool `yaml:"PrivateAccess"` PublicAccess *bool `yaml:"PublicAccess"` PublicCIDR interface{} `yaml:"PublicCIDR"` Logging interface{} `yaml:"Logging"` KMSKey string `yaml:"KMSKey"` Tags interface{} `yaml:"Tags"` KubernetesNetworkCIDR string `yaml:"KubernetesNetworkCIDR"` } `yaml:"Master"` }
type EksMasterSDK ¶ added in v0.4.9
type EksMasterSDK struct { Master struct { KubernetesVersion string `yaml:"KubernetesVersion"` SecurityGroupIds []*string `yaml:"SecurityGroupIds"` SubnetIds []*string `yaml:"SubnetIds"` PrivateAccess *bool `yaml:"PrivateAccess"` PublicAccess *bool `yaml:"PublicAccess"` PublicCIDR []*string `yaml:"PublicCIDR"` Logging []*string `yaml:"Logging"` KMSKey *string `yaml:"KMSKey"` Tags map[string]string `yaml:"Tags"` KubernetesNetworkCIDR string `yaml:"KubernetesNetworkCIDR"` } `yaml:"Master"` }
type EksVPC ¶
type EksVPC struct { VPC struct { VpcBlock string `yaml:"VpcBlock"` PublicSubnets map[interface{}]interface{} `yaml:"PublicSubnets"` PrivateSubnets map[interface{}]interface{} `yaml:"PrivateSubnets"` } `yaml:"VPC"` }
type NodeList ¶
type NodeList struct {
Nodes []Nodevalues `yaml:"Nodes"`
}
type Nodevalues ¶
type Nodevalues struct { NodegroupName string `yaml:"NodegroupName"` InstanceTypes []*string `yaml:"InstanceTypes"` SubnetIds []*string `yaml:"SubnetIds"` SpotInstance bool `yaml:"SpotInstance"` DiskSize string `yaml:"DiskSize"` Labels map[string]string `yaml:"Labels"` AmiType string `yaml:"AmiType"` Tags map[string]string `yaml:"Tags"` ScalingConfig map[string]int `yaml:"ScalingConfig"` RemoteAccess RemoteAccess `yaml:"RemoteAccess"` Taints []Taints `yaml:"Taints"` }
type RemoteAccess ¶ added in v0.4.9
type RemoteAccess struct { //SSHKey string `yaml:"SSHKey"` SourceSecurityGroups []string `yaml:"SourceSecurityGroups"` }
type SecurityGroup ¶ added in v0.4.9
type SecurityGroup struct { SecurityGroups struct { Names []string `yaml:"Names"` } `yaml:"SecurityGroups"` }
type SecurityRules ¶ added in v0.4.9
type SecurityRules struct { Name string `yaml:"Name"` Egress []struct { FromPort int64 `yaml:"FromPort"` IPProtocal string `yaml:"IPProtocal"` IPRange []string `yaml:"IPRange"` ToPort int64 `yaml:"ToPort"` SecurityGroups []string `yaml:"SecurityGroups"` } `yaml:"Egress"` Ingress []struct { FromPort int64 `yaml:"FromPort"` IPProtocal string `yaml:"IPProtocal"` IPRange []string `yaml:"IPRange"` ToPort int64 `yaml:"ToPort"` SecurityGroups []string `yaml:"SecurityGroups"` } `yaml:"Ingress"` }
type YamlConvert ¶
type YamlConvert struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.