workload

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: 23 Imported by: 0

README

internal/workload

This package is used by the workload controller. All logic for its reconcilers live here. It includes sub-packages for determining workload status and a utility for working with workload resources.

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  = "workloadLock"
	LockBucketDescr = "contains locks on workload objects"
)

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

Variables

This section is empty.

Functions

func WorkloadDefinitionReconciler

func WorkloadDefinitionReconciler(r *controller.Reconciler)

WorkloadDefinitionReconciler reconciles system state when a WorkloadDefinition is created, updated or deleted.

func WorkloadInstanceReconciler

func WorkloadInstanceReconciler(r *controller.Reconciler)

WorkloadInstanceReconciler reconciles system state when a WorkloadInstance 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