addon

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusActive       = "ACTIVE"
	StatusCreating     = "CREATING"
	StatusCreateFailed = "CREATE_FAILED"
	StatusUpdating     = "UPDATING"
	StatusUpdateFailed = "UPDATE_FAILED"
	StatusDeleting     = "DELETING"
	StatusDeleteFailed = "DELETE_FAILED"
	StatusDegraded     = "DEGRADED"
)

Taken from the list of addon statuses in the EKS API documentation: https://docs.aws.amazon.com/eks/latest/APIReference/API_Addon.html#AmazonEKS-Type-Addon-status

View Source
const (
	FinalizerString = "finalizers.eks.services.k8s.aws/Addon"
)

Variables

View Source
var (
	GroupVersionResource = svcapitypes.GroupVersion.WithResource("addons")
	GroupKind            = metav1.GroupKind{
		Group: "eks.services.k8s.aws",
		Kind:  "Addon",
	}
)
View Source
var (
	// TerminalStatuses defines the list of statuses that are terminal for an addon
	TerminalStatuses = []string{
		StatusCreateFailed,
		StatusUpdateFailed,
		StatusDeleteFailed,
	}
)

Functions

func FromACKTags added in v0.1.2

func FromACKTags(tags acktags.Tags) map[string]*string

FromACKTags converts the tags parameter into map[string]*string shape. This method helps in setting the tags back inside AWSResource after merging default controller tags with existing resource tags.

func ToACKTags added in v0.1.2

func ToACKTags(tags map[string]*string) acktags.Tags

ToACKTags converts the tags parameter into 'acktags.Tags' shape. This method helps in creating the hub(acktags.Tags) for merging default controller tags with existing resource tags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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