Documentation ¶
Index ¶
- func CopyDeploymentSetFields(from, to *appsv1.Deployment) bool
- func CopyServiceFields(from, to *corev1.Service) bool
- func CopyStatefulSetFields(from, to *appsv1.StatefulSet) bool
- func CopyVirtualService(from, to *unstructured.Unstructured) bool
- func Deployment(ctx context.Context, r client.Client, deployment *appsv1.Deployment, ...) error
- func Service(ctx context.Context, r client.Client, service *corev1.Service, log logr.Logger) error
- func VirtualService(ctx context.Context, r client.Client, virtualServiceName, namespace string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDeploymentSetFields ¶
func CopyDeploymentSetFields(from, to *appsv1.Deployment) bool
func CopyServiceFields ¶
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 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.
Click to show internal directories.
Click to hide internal directories.