Documentation ¶
Index ¶
- Constants
- type IngressWrapper
- type Reconciler
- func (r *Reconciler) RemoveManagedRoutes() error
- func (r *Reconciler) RemoveManagedRoutesPerIngress(ingresses []string) error
- func (r *Reconciler) SetHeaderRoute(headerRoute *v1alpha1.SetHeaderRoute) error
- func (r *Reconciler) SetHeaderRoutePerIngress(headerRoute *v1alpha1.SetHeaderRoute, ingresses []string) error
- func (r *Reconciler) SetMirrorRoute(setMirrorRoute *v1alpha1.SetMirrorRoute) error
- func (r *Reconciler) SetWeight(desiredWeight int32, additionalDestinations ...v1alpha1.WeightDestination) error
- func (r *Reconciler) SetWeightPerIngress(desiredWeight int32, ingresses []string, ...) error
- func (r *Reconciler) Type() string
- func (r *Reconciler) UpdateHash(canaryHash, stableHash string, ...) error
- func (r *Reconciler) VerifyWeight(desiredWeight int32, additionalDestinations ...v1alpha1.WeightDestination) (*bool, error)
- func (r *Reconciler) VerifyWeightPerIngress(desiredWeight int32, ingresses []string, ...) (*bool, error)
- type ReconcilerConfig
Constants ¶
View Source
const (
// Type holds this controller type
Type = "ALB"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngressWrapper ¶ added in v1.2.0
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler holds required fields to reconcile ALB Ingress resources
func NewReconciler ¶
func NewReconciler(cfg ReconcilerConfig) (*Reconciler, error)
NewReconciler returns a reconciler struct that brings the ALB Ingress into the desired state
func (*Reconciler) RemoveManagedRoutes ¶ added in v1.3.0
func (r *Reconciler) RemoveManagedRoutes() error
func (*Reconciler) RemoveManagedRoutesPerIngress ¶ added in v1.6.0
func (r *Reconciler) RemoveManagedRoutesPerIngress(ingresses []string) error
func (*Reconciler) SetHeaderRoute ¶ added in v1.3.0
func (r *Reconciler) SetHeaderRoute(headerRoute *v1alpha1.SetHeaderRoute) error
func (*Reconciler) SetHeaderRoutePerIngress ¶ added in v1.6.0
func (r *Reconciler) SetHeaderRoutePerIngress(headerRoute *v1alpha1.SetHeaderRoute, ingresses []string) error
func (*Reconciler) SetMirrorRoute ¶ added in v1.3.0
func (r *Reconciler) SetMirrorRoute(setMirrorRoute *v1alpha1.SetMirrorRoute) error
func (*Reconciler) SetWeight ¶ added in v1.0.0
func (r *Reconciler) SetWeight(desiredWeight int32, additionalDestinations ...v1alpha1.WeightDestination) error
SetWeight modifies ALB Ingress resources to reach desired state
func (*Reconciler) SetWeightPerIngress ¶ added in v1.6.0
func (r *Reconciler) SetWeightPerIngress(desiredWeight int32, ingresses []string, additionalDestinations ...v1alpha1.WeightDestination) error
SetWeightPerIngress modifies each ALB Ingress resource to reach desired state in the scenario of a rollout
func (*Reconciler) Type ¶
func (r *Reconciler) Type() string
Type indicates this reconciler is an ALB ingress reconciler
func (*Reconciler) UpdateHash ¶ added in v1.0.0
func (r *Reconciler) UpdateHash(canaryHash, stableHash string, additionalDestinations ...v1alpha1.WeightDestination) error
UpdateHash informs a traffic routing reconciler about new canary/stable pod hashes
func (*Reconciler) VerifyWeight ¶ added in v1.0.0
func (r *Reconciler) VerifyWeight(desiredWeight int32, additionalDestinations ...v1alpha1.WeightDestination) (*bool, error)
func (*Reconciler) VerifyWeightPerIngress ¶ added in v1.6.0
func (r *Reconciler) VerifyWeightPerIngress(desiredWeight int32, ingresses []string, additionalDestinations ...v1alpha1.WeightDestination) (*bool, error)
type ReconcilerConfig ¶
type ReconcilerConfig struct { Rollout *v1alpha1.Rollout Client kubernetes.Interface Recorder record.EventRecorder ControllerKind schema.GroupVersionKind IngressWrapper IngressWrapper Status *v1alpha1.RolloutStatus VerifyWeight *bool }
ReconcilerConfig describes static configuration data for the ALB Ingress reconciler
Click to show internal directories.
Click to hide internal directories.