istio

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Type = "Istio"

Variables

This section is empty.

Functions

func GetRolloutVirtualServiceKeys

func GetRolloutVirtualServiceKeys(rollout *v1alpha1.Rollout) []string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL