Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager, params Params) error
- type Params
- type ReconcileIngress
- func (r *ReconcileIngress) Reconcile(request reconcile.Request) (reconcile.Result, error)
- func (r *ReconcileIngress) Sync(log log.Logger, instance *edgev1beta1.Ingress) (edgev1beta1.IngressStatus, error)
- func (r *ReconcileIngress) SyncStatus(ingress *edgev1beta1.Ingress, status edgev1beta1.IngressStatus) error
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 ¶
Types ¶
type Params ¶
type Params struct { ContourTimeout string OriginEndpoint string OriginPolicy string OriginTimeout int64 }
Params which inform the Reconciler.
type ReconcileIngress ¶
ReconcileIngress reconciles a Ingress object
func (*ReconcileIngress) Reconcile ¶
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 ¶
func (r *ReconcileIngress) Sync(log log.Logger, instance *edgev1beta1.Ingress) (edgev1beta1.IngressStatus, error)
Sync Ingress / Certificate / CloudFront resources.
func (*ReconcileIngress) SyncStatus ¶
func (r *ReconcileIngress) SyncStatus(ingress *edgev1beta1.Ingress, status edgev1beta1.IngressStatus) error
SyncStatus with the Ingress object.
Click to show internal directories.
Click to hide internal directories.