reconcilehelper

package
v1.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDeploymentSetFields

func CopyDeploymentSetFields(from, to *appsv1.Deployment) bool

func CopyServiceFields

func CopyServiceFields(from, to *corev1.Service) bool

CopyServiceFields copies the owned fields from one Service to another

func CopyStatefulSetFields

func CopyStatefulSetFields(from, to *appsv1.StatefulSet) bool

CopyStatefulSetFields copies the owned fields from one StatefulSet to another Returns true if the fields copied from don't match to.

func CopyVirtualService

func CopyVirtualService(from, to *unstructured.Unstructured) bool

Copy configuration related fields to another instance and returns true if there is a diff and thus needs to update.

func Deployment

func Deployment(ctx context.Context, r client.Client, deployment *appsv1.Deployment, log logr.Logger) error

Deployment reconciles a k8s deployment object.

func Service

func Service(ctx context.Context, r client.Client, service *corev1.Service, log logr.Logger) error

Service reconciles a k8s service object.

func VirtualService

func VirtualService(ctx context.Context, r client.Client, virtualServiceName, namespace string, virtualservice *unstructured.Unstructured, log logr.Logger) error

VirtualService reconciles an Istio virtual service object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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