kubernetesruntime

package
v0.5.2 Latest Latest
Warning

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

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

README

internal/kubernetesruntime

This package contains the generated and custom code for the kubernetes runtime controller. It reconciles state for runtimes by managing the objects needed for cloud providers to run Kubernetes clusters.

It includes mappings for the threeport abstractions for cloud provider regions and machine types. This allows threeport users to use a common set of configurations for Kubernetes runtime clusters, no matter the underlying provider. Threeport uses this package to translate the threeport values into each cloud provider's implementation (so far AWS EKS only).

Some of the code in these packages is generated by threeport-sdk. Any file with the _gen.go suffix should not be edited directly - it will be overwritten by subsequent code generation.

Documentation

Index

Constants

View Source
const (
	LockBucketName  = "kubernetesRuntimeLock"
	LockBucketDescr = "contains locks on kubernetes runtime objects"
)

The name and description of the NATS bucket used for kubernetes runtime object locks

Variables

This section is empty.

Functions

func GetCloudProviderForInfraProvider added in v0.5.0

func GetCloudProviderForInfraProvider(input string) (string, error)

GetCloudProviderForInfraProvider returns the cloud provider for a given infrastructure provider.

func KubernetesRuntimeDefinitionReconciler

func KubernetesRuntimeDefinitionReconciler(r *controller.Reconciler)

KubernetesRuntimeDefinitionReconciler reconciles system state when a KubernetesRuntimeDefinition is created, updated or deleted.

func KubernetesRuntimeInstanceReconciler

func KubernetesRuntimeInstanceReconciler(r *controller.Reconciler)

KubernetesRuntimeInstanceReconciler reconciles system state when a KubernetesRuntimeInstance is created, updated or deleted.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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