Documentation ¶
Index ¶
- type APISchemeReconciler
- func (r *APISchemeReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
- func (r *APISchemeReconciler) SetAPISchemeStatus(crObject *cloudingressv1alpha1.APIScheme, reason, message string, ...)
- func (r *APISchemeReconciler) SetAPISchemeStatusMetric(crObject *cloudingressv1alpha1.APIScheme)
- func (r *APISchemeReconciler) SetupWithManager(mgr ctrl.Manager) error
- type LoadBalancer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APISchemeReconciler ¶
APISchemeReconciler reconciles a APIScheme object
func (*APISchemeReconciler) Reconcile ¶
func (r *APISchemeReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile will ensure that the rh-api management api endpoint is created and ready. Rough Steps: 1. Create Service 2. Add DNS CNAME from rh-api to the ELB created by AWS provider 3. Add Forwarding rule in GCP for the lb service 3. Ready for work (Ready)
func (*APISchemeReconciler) SetAPISchemeStatus ¶
func (r *APISchemeReconciler) SetAPISchemeStatus(crObject *cloudingressv1alpha1.APIScheme, reason, message string, ctype cloudingressv1alpha1.APISchemeConditionType)
SetAPISchemeStatus will set the status on the APISscheme object with a human message, as in an error situation
func (*APISchemeReconciler) SetAPISchemeStatusMetric ¶
func (r *APISchemeReconciler) SetAPISchemeStatusMetric(crObject *cloudingressv1alpha1.APIScheme)
SetAPISchemeStatusMetric updates a gauge in localmetrics
func (*APISchemeReconciler) SetupWithManager ¶
func (r *APISchemeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type LoadBalancer ¶
type LoadBalancer struct { EndpointName string // FQDN of what it should be called BaseDomain string // What is the base domain (DNS zone) for the EndpointName record? }
LoadBalancer contains the relevant information to create a Load Balancer TODO: Move this into pkg/client