cloudfront

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: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ControllerName used for identifying which controller is performing an operation.
	ControllerName = "ingress-cloudfront-controller"

	// AnnotationContourTimeout is used to override the default 15s which Envoy proxy uses for a request.
	// https://github.com/heptio/contour/blob/master/docs/annotations.md
	AnnotationContourTimeout = "contour.heptio.com/request-timeout"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, params Params) 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 Params

type Params struct {
	ContourTimeout string
	OriginEndpoint string
	OriginPolicy   string
	OriginTimeout  int64
}

Params which inform the Reconciler.

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