Documentation ¶
Index ¶
Constants ¶
View Source
const Type = "Istio"
Variables ¶
This section is empty.
Functions ¶
func GetRolloutVirtualServiceKeys ¶
GetRolloutVirtualServiceKeys gets the virtual service and its namespace from a rollout
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler holds required fields to reconcile Istio resources
func NewReconciler ¶
func NewReconciler(r *v1alpha1.Rollout, client dynamic.Interface, recorder record.EventRecorder, defaultAPIVersion string) *Reconciler
NewReconciler returns a reconciler struct that brings the Virtual Service into the desired state
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(desiredWeight int32) error
Reconcile modifies Istio resources to reach desired state
func (*Reconciler) Type ¶
func (r *Reconciler) Type() string
Type indicates this reconciler is an Istio reconciler
Click to show internal directories.
Click to hide internal directories.