Documentation
¶
Index ¶
Constants ¶
View Source
const ( RequestCreateKind requestKind = iota + 1 RequestUpdateKind RequestDeleteKind )
View Source
const ( ApiClientKind maskinportenResourceKind = iota + 1 SecretKind )
View Source
const ( ActionUpsertKind reconciliationActionKind = iota + 1 ActionDeleteKind )
View Source
const FinalizerName = "client.altinn.operator/finalizer"
View Source
const JsonFileName = "maskinporten-client.json"
View Source
const UnkownStr = "Unknown"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MaskinportenClientReconciler ¶
type MaskinportenClientReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
MaskinportenClientReconciler reconciles a MaskinportenClient object
func (*MaskinportenClientReconciler) Reconcile ¶
func (r *MaskinportenClientReconciler) Reconcile(ctx context.Context, kreq ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the MaskinportenClient object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.0/pkg/reconcile
func (*MaskinportenClientReconciler) SetupWithManager ¶
func (r *MaskinportenClientReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.