Documentation ¶
Index ¶
- type AzureIdentityTerminatorReconciler
- func (r *AzureIdentityTerminatorReconciler) AzureIdentityBindingManifest(t *terminatorv1alpha1.AzureIdentityTerminator, azID *aadpodv1.AzureIdentity) *aadpodv1.AzureIdentityBinding
- func (r *AzureIdentityTerminatorReconciler) AzureIdentityManifest(t *terminatorv1alpha1.AzureIdentityTerminator, app *azuread.App) *aadpodv1.AzureIdentity
- func (r *AzureIdentityTerminatorReconciler) CreateApp(t *terminatorv1alpha1.AzureIdentityTerminator) (*azuread.App, error)
- func (r *AzureIdentityTerminatorReconciler) DeleteResources(t *terminatorv1alpha1.AzureIdentityTerminator) error
- func (r *AzureIdentityTerminatorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *AzureIdentityTerminatorReconciler) SecretManfiest(t *terminatorv1alpha1.AzureIdentityTerminator, app *azuread.App) *corev1.Secret
- func (r *AzureIdentityTerminatorReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureIdentityTerminatorReconciler ¶
type AzureIdentityTerminatorReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme }
AzureIdentityTerminatorReconciler reconciles a AzureIdentityTerminator object
func (*AzureIdentityTerminatorReconciler) AzureIdentityBindingManifest ¶
func (r *AzureIdentityTerminatorReconciler) AzureIdentityBindingManifest(t *terminatorv1alpha1.AzureIdentityTerminator, azID *aadpodv1.AzureIdentity) *aadpodv1.AzureIdentityBinding
AzureIdentityBindingManifest creates teh AzureIdentityBinding manifest
func (*AzureIdentityTerminatorReconciler) AzureIdentityManifest ¶
func (r *AzureIdentityTerminatorReconciler) AzureIdentityManifest(t *terminatorv1alpha1.AzureIdentityTerminator, app *azuread.App) *aadpodv1.AzureIdentity
AzureIdentityManifest creates the AzureIdentity manifest
func (*AzureIdentityTerminatorReconciler) CreateApp ¶
func (r *AzureIdentityTerminatorReconciler) CreateApp(t *terminatorv1alpha1.AzureIdentityTerminator) (*azuread.App, error)
CreateApp creates the Azure AD Application, SPN, and returns the necessary information
func (*AzureIdentityTerminatorReconciler) DeleteResources ¶
func (r *AzureIdentityTerminatorReconciler) DeleteResources(t *terminatorv1alpha1.AzureIdentityTerminator) error
DeleteResources deletes all the resources created by the AzureIdentityTerminator
func (*AzureIdentityTerminatorReconciler) Reconcile ¶
func (r *AzureIdentityTerminatorReconciler) Reconcile(ctx context.Context, req 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.
func (*AzureIdentityTerminatorReconciler) SecretManfiest ¶
func (r *AzureIdentityTerminatorReconciler) SecretManfiest(t *terminatorv1alpha1.AzureIdentityTerminator, app *azuread.App) *corev1.Secret
SecretManfiest creates the Secret needed for the AzureIdentity
func (*AzureIdentityTerminatorReconciler) SetupWithManager ¶
func (r *AzureIdentityTerminatorReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the reconciler management