eks

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsClient

type AwsClient interface {
	GetRegion() ptypes.AwsRegion
	GetAccountID() ptypes.AwsAccountID
	EKS() *eks.Client
}

type Cluster

type Cluster struct {
	service.AbstractResource
	*types.Cluster
}

func NewCluster

func NewCluster(client AwsClient, cluster *types.Cluster) Cluster

func (Cluster) GetName

func (e Cluster) GetName() string

func (Cluster) GetTagValue

func (e Cluster) GetTagValue(tag string) string

func (Cluster) GetTags

func (e Cluster) GetTags() map[string]string

type ClusterList

type ClusterList struct {
	Items []Cluster
}

type EksRepository

type EksRepository struct {
	// contains filtered or unexported fields
}

func NewEksRepository

func NewEksRepository(ctx context.Context, client AwsClient) *EksRepository

func (*EksRepository) GetRegion

func (r *EksRepository) GetRegion() ptypes.AwsRegion

func (*EksRepository) ListClustersAll

func (r *EksRepository) ListClustersAll() ([]Cluster, error)

func (*EksRepository) ListClustersByInput

func (r *EksRepository) ListClustersByInput(query *eks.ListClustersInput) ([]Cluster, error)

Jump to

Keyboard shortcuts

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