apischeme

package
v0.0.0-...-7938a71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APISchemeReconciler

type APISchemeReconciler struct {
	Client client.Client
	Scheme *runtime.Scheme
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL