utils

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AWSClient

func AWSClient() *aws.Config

func FileExists

func FileExists(path string) bool

func GetEKSClusterName

func GetEKSClusterName() string

func IsEKS

func IsEKS() bool

IsEKS determines if the cluster in the current context does appear to be an EKS cluster

func K8sClient

func K8sClient() *kubernetes.Clientset

Types

type CaseInsensitiveMap added in v0.1.0

type CaseInsensitiveMap[T any] struct {
	// contains filtered or unexported fields
}

func NewCaseInsensitiveMap added in v0.1.0

func NewCaseInsensitiveMap[T any](from *map[string]T) *CaseInsensitiveMap[T]

func (*CaseInsensitiveMap[T]) Get added in v0.1.0

func (m *CaseInsensitiveMap[T]) Get(key string) (T, bool)

Jump to

Keyboard shortcuts

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