Documentation ¶
Index ¶
- func CreateEksCluster(region string, vpcId string, eksCluster EKSCluster) error
- func CreateIAMRole(region string, iamRole IAMRole) error
- func CreateIAMRoleWithMorePolicies(region string, iamRole IAMRole, policies []IAMPolicy) (string, error)
- func CreateNodeGroup(region string, clusterName string, nodeGroup NodeGroup, nodeRoleArn string) error
- func CreateSecurityGroup(ec2Client *ec2.EC2, securityGroup SecurityGroup, vpcId string) (string, error)
- func MinikubeExec(arg ...string) (string, error)
- type EKSCluster
- type IAMPolicy
- type IAMRole
- type NodeGroup
- type SecurityGroup
- type SecurityGroupInboundRule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEksCluster ¶
func CreateEksCluster(region string, vpcId string, eksCluster EKSCluster) error
func CreateIAMRole ¶
func CreateNodeGroup ¶
func CreateSecurityGroup ¶
func MinikubeExec ¶
Types ¶
type EKSCluster ¶
type EKSCluster struct { ClusterName string `json:"clusterName" yaml:"clusterName"` // The Amazon Resource Name (ARN) of the IAM role that provides permissions // for the Kubernetes control plane to make calls to Amazon Web Services API // operations on your behalf. For more information, see Amazon EKS Service IAM // Role (https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html) // in the Amazon EKS User Guide. ControlPlaneRole IAMRole `json:"controlPlaneRole" yaml:"controlPlaneRole"` // See https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html SecurityGroups []SecurityGroup `json:"securityGroups" yaml:"securityGroups"` InstanceRole IAMRole `json:"instanceRole" yaml:"instanceRole"` }
type IAMRole ¶
type IAMRole struct { Name string `json:"name" yaml:"name"` // The trust relationship policy document that grants an entity permission to assume the role. AssumeRolePolicyDocument string `json:"assumeRolePolicyDocument" yaml:"assumeRolePolicyDocument"` Policies []IAMPolicy `json:"policies" yaml:"policies"` ExtraPolicyArns []string `json:"extraPolicyArns" yaml:"extraPolicyArns"` }
type SecurityGroup ¶
type SecurityGroup struct { Name string `json:"name" yaml:"name"` InboundRules []SecurityGroupInboundRule `json:"inboundRules" yaml:"inboundRules"` }
Click to show internal directories.
Click to hide internal directories.