local

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "ingress-local-controller"

ControllerName used for identifying which controller is performing an operation.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Ingress Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileIngress

type ReconcileIngress struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileIngress reconciles a Ingress object

func (*ReconcileIngress) Reconcile

func (r *ReconcileIngress) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Ingress object and makes changes based on the state read and what is in the Ingress.Spec Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=edge.skpr.io,resources=ingresses,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=edge.skpr.io,resources=ingresses/status,verbs=get;update;patch

func (*ReconcileIngress) Sync

Sync Ingress / Certificate / CloudFront resources.

func (*ReconcileIngress) SyncStatus

func (r *ReconcileIngress) SyncStatus(ingress *edgev1beta1.Ingress, status edgev1beta1.IngressStatus) error

SyncStatus with the Ingress object.

Jump to

Keyboard shortcuts

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