aws

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package internal provides wrapper for creating aws sessions

Package aws provides function for working with EKS cluseters

Package aws provides function for generatig kubeconfig for EKS clusters

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowedParitions

func AllowedParitions() []string

AllowedParitions returns all the allowed AWS partitions

func GetEKSClusters

func GetEKSClusters(regions []string) []*cluster.Cluster

func GetRegions

func GetRegions(awsPartitions []string) []string

GetRegions will return all the available regions in the given aws partitions

Types

type AuthType

type AuthType int

type ClusterGetter

type ClusterGetter interface {
	GetClusters(ch chan<- *cluster.Cluster)
}

type EKSClient

type EKSClient struct {
	EKS    eksiface.EKSAPI
	Region string
}

func NewEKS

func NewEKS(region string) (*EKSClient, error)

func (*EKSClient) GetClusters

func (c *EKSClient) GetClusters(ch chan<- *cluster.Cluster)

TODO(mmicu): - test GetClusters function - use assert library in others tests also

func (*EKSClient) String

func (c *EKSClient) String() string

Jump to

Keyboard shortcuts

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