annotations

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// ReconcilePolicyManage instructs the operator to manage the resource in question.
	// This includes issuing PUTs to update it and DELETE's to delete it from Azure if deleted in Kubernetes.
	// This is the default policy when no policy is specified.
	ReconcilePolicyManage = ReconcilePolicyValue("manage")

	// ReconcilePolicySkip instructs the operator to skip all reconciliation actions. This includes creating
	// the resource.
	ReconcilePolicySkip = ReconcilePolicyValue("skip")

	// ReconcilePolicyDetachOnDelete instructs the operator to skip deletion of resources in Azure. This allows
	// deletion of the resource in Kubernetes to go through but does not delete the underlying Azure resource.
	ReconcilePolicyDetachOnDelete = ReconcilePolicyValue("detach-on-delete")
)
View Source
const PerResourceSecret = "serviceoperator.azure.com/credential-from"
View Source
const ReconcilePolicy = "serviceoperator.azure.com/reconcile-policy"

ReconcilePolicy describes the reconcile policy for the resource in question. A reconcile policy describes what action (if any) the operator is allowed to take when reconciling the resource. If no reconcile policy is specified, the default is "run"

Variables

This section is empty.

Functions

This section is empty.

Types

type ReconcilePolicyValue

type ReconcilePolicyValue string

func (ReconcilePolicyValue) AllowsDelete

func (r ReconcilePolicyValue) AllowsDelete() bool

AllowsDelete determines if the policy allows deletion of the backing Azure resource

func (ReconcilePolicyValue) AllowsModify

func (r ReconcilePolicyValue) AllowsModify() bool

AllowsModify determines if the policy allows modification of the backing Azure resource

Jump to

Keyboard shortcuts

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