compare

package
v0.0.0-...-54c5aff Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffClusterRole

func DiffClusterRole(found, desired *rbac.ClusterRole) string

func DiffClusterRoleBinding

func DiffClusterRoleBinding(found, desired *rbac.ClusterRoleBinding) string

func DiffConfigMap

func DiffConfigMap(found, desired *v1.ConfigMap) string

func DiffPodDisruptionBudget

func DiffPodDisruptionBudget(found, desired *policyv1.PodDisruptionBudget) string

func DiffRole

func DiffRole(found, desired *rbac.Role) string

func DiffRoleBinding

func DiffRoleBinding(found, desired *rbac.RoleBinding) string

func DiffService

func DiffService(found, desired *v1.Service) string

DiffService generates a patch diff between 2 services

func DiffServiceAccount

func DiffServiceAccount(found, desired *v1.ServiceAccount) string

func DiffServiceMonitor

func DiffServiceMonitor(found, desired *unstructured.Unstructured) string

DiffStatefulSet generates a patch diff between 2 servicemonitors

func DiffStatefulSet

func DiffStatefulSet(found, desired *appsv1.StatefulSet) string

DiffStatefulSet generates a patch diff between 2 statefulsets

func DiffVarnishClusterStatus

func DiffVarnishClusterStatus(old, current *vcapi.VarnishClusterStatus) string

DiffVarnishClusterStatus generates a patch diff between 2 statuses

func EqualClusterRole

func EqualClusterRole(found, desired *rbac.ClusterRole) bool

func EqualClusterRoleBinding

func EqualClusterRoleBinding(found, desired *rbac.ClusterRoleBinding) bool

func EqualConfigMap

func EqualConfigMap(found, desired *v1.ConfigMap) bool

func EqualPodDisruptionBudget

func EqualPodDisruptionBudget(found, desired *policyv1.PodDisruptionBudget) bool

func EqualRole

func EqualRole(found, desired *rbac.Role) bool

func EqualRoleBinding

func EqualRoleBinding(found, desired *rbac.RoleBinding) bool

func EqualService

func EqualService(found, desired *v1.Service) bool

EqualService compares 2 services for equality

func EqualServiceAccount

func EqualServiceAccount(found, desired *v1.ServiceAccount) bool

func EqualServiceMonitor

func EqualServiceMonitor(found, desired *unstructured.Unstructured) bool

EqualServiceMonitor compares 2 servicemonitors for equality

func EqualStatefulSet

func EqualStatefulSet(found, desired *appsv1.StatefulSet) bool

EqualStatefulSet compares 2 statefulsets for equality

func EqualVarnishClusterStatus

func EqualVarnishClusterStatus(old, current *vcapi.VarnishClusterStatus) bool

EqualVarnishClusterStatus compares 2 statuses for equality

Types

This section is empty.

Jump to

Keyboard shortcuts

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