Documentation ¶
Index ¶
Constants ¶
const (
AliasConditionTypeReady = "AliasReady"
)
const (
DomainConditionTypeReady = "DomainReady"
)
const (
FinalizerName = "operator.mailu.io/finalizer"
)
const (
UserConditionTypeReady = "UserReady"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasReconciler ¶
type AliasReconciler struct { client.Client Scheme *runtime.Scheme ApiURL string ApiToken string ApiClient *mailu.Client }
AliasReconciler reconciles a Alias object
func (*AliasReconciler) Reconcile ¶
func (r *AliasReconciler) Reconcile(ctx context.Context, alias *operatorv1alpha1.Alias) (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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.3/pkg/reconcile
func (*AliasReconciler) SetupWithManager ¶
func (r *AliasReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DomainReconciler ¶
type DomainReconciler struct { client.Client Scheme *runtime.Scheme ApiURL string ApiToken string ApiClient *mailu.Client }
DomainReconciler reconciles a Domain object
func (*DomainReconciler) Reconcile ¶
func (r *DomainReconciler) Reconcile(ctx context.Context, domain *operatorv1alpha1.Domain) (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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.3/pkg/reconcile
func (*DomainReconciler) SetupWithManager ¶
func (r *DomainReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type UserReconciler ¶
type UserReconciler struct { client.Client Scheme *runtime.Scheme ApiURL string ApiToken string ApiClient *mailu.Client }
UserReconciler reconciles a User object
func (*UserReconciler) Reconcile ¶
func (r *UserReconciler) Reconcile(ctx context.Context, user *operatorv1alpha1.User) (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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.3/pkg/reconcile
func (*UserReconciler) SetupWithManager ¶
func (r *UserReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.