eks

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package eks package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAMConfig

type IAMConfig struct {
	sync.Mutex
	// contains filtered or unexported fields
}

IAMConfig is an EKS configurer with IAM credentials

func New

func New(ctx context.Context, region, clusterName string) (*IAMConfig, error)

New generates a new EKS IAM Config struct that implements the configurer.Configurer.

func (*IAMConfig) GetConfig

func (c *IAMConfig) GetConfig(ctx context.Context) (*rest.Config, error)

GetConfig implements the configurer.Configurer interface by generating a rest config for the kubernetes client

Jump to

Keyboard shortcuts

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