Documentation ¶
Index ¶
- func AlreadyExistsMessage(msg string) bool
- func AttachIAMPolicy(iamClient *iam.IAM, roleName string, policyName string, policyDocument string) error
- func AttachToRoleByPolicyArn(iamClient *iam.IAM, roleName string, policyArn string) error
- func AttachToRoleByPolicyName(iamClient *iam.IAM, roleName string, policyName string) error
- func CheckOrGetFirstVpcId(ec2Client *ec2.EC2, vpcId string) (string, error)
- func CreateDefaultSession() *session.Session
- func CreateEksCluster(eksClient *eks.EKS, createClusterInput *eks.CreateClusterInput) error
- func CreateEksKubeConfig(region string, clusterName string) (kubelib.KubeConfig, error)
- func CreateEksKubernetesClient(region string, clusterName string) (kubelib.KubeConfig, *kubernetes.Clientset, error)
- func CreateKubeConfig(region string, kubeConfigFile string, clusterName string) (kubelib.KubeConfig, error)
- func CreateKubernetesClient(region string, kubeConfigFile string, clusterName string) (kubelib.KubeConfig, *kubernetes.Clientset, error)
- func CreateS3Bucket(region string, bucketName string) error
- func CreateSession(region string) *session.Session
- func DeleteEKSCluster(region string, clusterName string) error
- func DeleteLoadBalancerOnEKS(region string, vpcId string, eksClusterName string, namespace string) error
- func DeleteNodeGroup(region string, clusterName string, nodeGroupName string) error
- func DeleteSecurityGroupById(ec2Client *ec2.EC2, securityGroupId string) error
- func DeleteSecurityGroupByIdIgnoreError(ec2Client *ec2.EC2, securityGroupId string, maxRetryDuration time.Duration)
- func FindAttachedPolicy(iamClient *iam.IAM, roleName string, policyArn string) (bool, error)
- func FindIamPolicy(iamClient *iam.IAM, policyName string) (*iam.Policy, error)
- func GetCurrentAccount(session client.ConfigProvider) (string, error)
- func GetEksClient(region string) (*session.Session, *eks.EKS)
- func GetFirstVpcId(ec2Client *ec2.EC2) (string, error)
- func GetIAMRoleArnByName(region string, roleName string) (string, error)
- func GetLoadBalancerByDNSName(elbClient *elb.ELB, dnsName string) (*elb.LoadBalancerDescription, error)
- func GetLoadBalancerInstanceStatesByDNSName(elbClient *elb.ELB, dnsName string) ([]*elb.InstanceState, error)
- func GetSecurityGroupId(ec2Client *ec2.EC2, vpcId string, securityGroupName string) (string, error)
- func ListEksClusters(eksClient *eks.EKS) ([]string, error)
- func ListLoadBalancers(elbClient *elb.ELB) ([]*elb.LoadBalancerDescription, error)
- func ListNetworkInterfaces(ec2Client *ec2.EC2, vpcId string, securityGroupId string) ([]*ec2.NetworkInterface, error)
- func ListSecurityGroupRoles(ec2Client *ec2.EC2, vpcId string, securityGroupName string) ([]*ec2.SecurityGroupRule, error)
- func ListSecurityGroups(ec2Client *ec2.EC2, vpcId string, securityGroupName string) ([]*ec2.SecurityGroup, error)
- func NodeGroupExists(eksClient *eks.EKS, clusterName string, nodeGroupName string) (bool, error)
- func SecurityGroupNotFoundMessage(msg string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlreadyExistsMessage ¶
func AttachIAMPolicy ¶
func AttachToRoleByPolicyArn ¶
func CheckOrGetFirstVpcId ¶
func CreateDefaultSession ¶
func CreateEksCluster ¶
func CreateEksCluster(eksClient *eks.EKS, createClusterInput *eks.CreateClusterInput) error
func CreateEksKubeConfig ¶
func CreateEksKubeConfig(region string, clusterName string) (kubelib.KubeConfig, error)
func CreateEksKubernetesClient ¶
func CreateEksKubernetesClient(region string, clusterName string) (kubelib.KubeConfig, *kubernetes.Clientset, error)
func CreateKubeConfig ¶
func CreateKubernetesClient ¶
func CreateKubernetesClient(region string, kubeConfigFile string, clusterName string) (kubelib.KubeConfig, *kubernetes.Clientset, error)
func CreateS3Bucket ¶
func CreateSession ¶
func DeleteEKSCluster ¶
func DeleteLoadBalancerOnEKS ¶
func DeleteNodeGroup ¶
func DeleteSecurityGroupById ¶
func FindAttachedPolicy ¶
func GetCurrentAccount ¶
func GetCurrentAccount(session client.ConfigProvider) (string, error)
func GetSecurityGroupId ¶
func ListLoadBalancers ¶
func ListLoadBalancers(elbClient *elb.ELB) ([]*elb.LoadBalancerDescription, error)
func ListNetworkInterfaces ¶
func ListSecurityGroupRoles ¶
func ListSecurityGroups ¶
func NodeGroupExists ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.