Documentation
¶
Index ¶
Constants ¶
View Source
const ( DebugLevel = 2 TFErrEventReason = "TerraformError" TFPlanEventReason = "TerraformPlan" TFApplyEventReason = "TerraformApply" TFDestroyEventReason = "TerraformDestroy" TFValidateEventReason = "TerraformValidate" // Terraform execution phases TFPhaseIdle = "" TFPhaseInitializing = "Initializing" TFPhasePlanning = "Planning" TFPhaseApplying = "Applying" TFPhaseCompleted = "Completed" TFPhaseErrored = "Errored" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotationChangedPredicate ¶
type AnnotationChangedPredicate = TypedAnnotationChangedPredicate[client.Object]
type Config ¶
type Config struct {
Port string
ProbeAddr string
LogLevel string
Namespace string
NamespaceLabel string
LeaderElectionID string
EnableLeaderElection bool
WorkspacePath string
}
func DefaultConfig ¶
func DefaultConfig() Config
type TypedAnnotationChangedPredicate ¶
type TypedAnnotationChangedPredicate[object metav1.Object] struct { predicate.TypedFuncs[object] }
TypedAnnotationChangedPredicate implements a default update predicate function on annotation change.
func (TypedAnnotationChangedPredicate[object]) Update ¶
func (TypedAnnotationChangedPredicate[object]) Update(e event.TypedUpdateEvent[object]) bool
Update implements default UpdateEvent filter for validating annotation change, allowing to ignore some annotations.
type WorkspaceReconciler ¶
type WorkspaceReconciler struct {
client.Client
Scheme *runtime.Scheme
Recorder record.EventRecorder
Tf *runner.Exec
Renderer render.Renderer
// contains filtered or unexported fields
}
WorkspaceReconciler reconciles a Workspace object
func (*WorkspaceReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.