Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Type holds this controller type
Type = "SMI"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler holds required fields to reconcile SMI resources
func NewReconciler ¶
func NewReconciler(cfg ReconcilerConfig) (*Reconciler, error)
NewReconciler returns a reconciler struct that brings the SMI into the desired state
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(desiredWeight int32) error
Reconcile creates and modifies traffic splits based on the desired weight
func (*Reconciler) Type ¶
func (r *Reconciler) Type() string
Type indicates this reconciler is an SMI reconciler
type ReconcilerConfig ¶
type ReconcilerConfig struct { Rollout *v1alpha1.Rollout Client smiclientset.Interface Recorder record.EventRecorder ControllerKind schema.GroupVersionKind ApiVersion string }
ReconcilerConfig describes static configuration data for the SMI reconciler
type VersionedTrafficSplits ¶
type VersionedTrafficSplits struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.