Documentation
¶
Index ¶
- Variables
- func GetAccount(ctx context.Context, c client.Client, account *uptimerobotv1.Account, ...) error
- func GetApiKey(ctx context.Context, c client.Client, account *uptimerobotv1.Account) (string, error)
- func GetContact(ctx context.Context, c client.Client, contact *uptimerobotv1.Contact, ...) error
- type AccountReconciler
- type ContactReconciler
- type IngressReconciler
- type MonitorReconciler
Constants ¶
This section is empty.
Variables ¶
var ( ErrNoDefaultAccount = errors.New("no default account") ErrMultipleDefaultAccount = errors.New("more than 1 default account found") )
var ( ErrNoDefaultContact = errors.New("no default contact") ErrMultipleDefaultContact = errors.New("more than 1 default contact found") )
var ( ErrContactMissingID = errors.New("contact missing ID") ErrSecretMissingKey = errors.New("secret missing key") )
var ClusterResourceNamespace = "uptime-robot-system"
var ErrKeyNotFound = errors.New("secret key not found")
var IngressAnnotationPrefix = "uptime-robot.clevyr.com/"
Functions ¶
func GetAccount ¶
func GetContact ¶
Types ¶
type AccountReconciler ¶
AccountReconciler reconciles a Account object
func (*AccountReconciler) Reconcile ¶
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.2/pkg/reconcile
func (*AccountReconciler) SetupWithManager ¶
func (r *AccountReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ContactReconciler ¶
ContactReconciler reconciles a Contact object
func (*ContactReconciler) Reconcile ¶
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.2/pkg/reconcile
func (*ContactReconciler) SetupWithManager ¶
func (r *ContactReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type IngressReconciler ¶ added in v0.1.0
type IngressReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
IngressReconciler reconciles a Ingress object
func (*IngressReconciler) Reconcile ¶ added in v0.1.0
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.2/pkg/reconcile
func (*IngressReconciler) SetupWithManager ¶ added in v0.1.0
func (r *IngressReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type MonitorReconciler ¶
MonitorReconciler reconciles a Monitor object
func (*MonitorReconciler) Reconcile ¶
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.2/pkg/reconcile
func (*MonitorReconciler) SetupWithManager ¶
func (r *MonitorReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.