Documentation ¶
Index ¶
- func AddFinalizer(ctx context.Context, c client.Client, obj client.Object, finalizerID string) error
- func CompareYAMLs(left, right []byte) (dyff.Report, error)
- func ContainsString(slice []string, s string) bool
- func ConvertK8sOverlays(overlays []*v1alpha1.K8SResourceOverlayPatch) ([]resources.K8SResourceOverlay, error)
- func DyffReportMultilineDiffOutput(report dyff.Report, out io.Writer) error
- func IgnoreK8sStorageError(err error) error
- func ProtoFieldToStriMap(protoField proto.Message, striMap *helm.Strimap) error
- func RemoveFinalizer(ctx context.Context, c client.Client, obj client.Object, finalizerID string, ...) error
- func RemoveString(slice []string, s string) (result []string)
- func TransformStructToStriMapWithTemplate(data interface{}, filesystem fs.FS, templateFileName string) (helm.Strimap, error)
- type CalculateOption
- type ClusterTypeChangePredicate
- type ICPInjectorChangePredicate
- type IMGWAddressChangePredicate
- type NamespaceRevisionLabelChange
- type ObjectChangePredicate
- type PICPStatusChangePredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFinalizer ¶
func ContainsString ¶
func ConvertK8sOverlays ¶
func ConvertK8sOverlays(overlays []*v1alpha1.K8SResourceOverlayPatch) ([]resources.K8SResourceOverlay, error)
func DyffReportMultilineDiffOutput ¶ added in v2.12.0
func IgnoreK8sStorageError ¶ added in v2.11.7
func ProtoFieldToStriMap ¶
func RemoveFinalizer ¶
func RemoveString ¶
Types ¶
type CalculateOption ¶
type CalculateOption = patch.CalculateOption
func IgnoreMetadataAnnotations ¶
func IgnoreMetadataAnnotations(prefixes ...string) CalculateOption
func IgnoreWebhookFailurePolicy ¶
func IgnoreWebhookFailurePolicy() CalculateOption
type ClusterTypeChangePredicate ¶
type ClusterTypeChangePredicate struct{}
func (ClusterTypeChangePredicate) Create ¶
func (p ClusterTypeChangePredicate) Create(e event.CreateEvent) bool
func (ClusterTypeChangePredicate) Delete ¶
func (p ClusterTypeChangePredicate) Delete(e event.DeleteEvent) bool
func (ClusterTypeChangePredicate) Generic ¶
func (p ClusterTypeChangePredicate) Generic(e event.GenericEvent) bool
func (ClusterTypeChangePredicate) Update ¶
func (p ClusterTypeChangePredicate) Update(e event.UpdateEvent) bool
type ICPInjectorChangePredicate ¶
func (ICPInjectorChangePredicate) Create ¶
func (p ICPInjectorChangePredicate) Create(e event.CreateEvent) bool
func (ICPInjectorChangePredicate) Delete ¶
func (p ICPInjectorChangePredicate) Delete(e event.DeleteEvent) bool
func (ICPInjectorChangePredicate) Generic ¶
func (p ICPInjectorChangePredicate) Generic(e event.GenericEvent) bool
func (ICPInjectorChangePredicate) Update ¶
func (p ICPInjectorChangePredicate) Update(e event.UpdateEvent) bool
type IMGWAddressChangePredicate ¶
type IMGWAddressChangePredicate struct{}
func (IMGWAddressChangePredicate) Create ¶
func (p IMGWAddressChangePredicate) Create(e event.CreateEvent) bool
func (IMGWAddressChangePredicate) Delete ¶
func (p IMGWAddressChangePredicate) Delete(e event.DeleteEvent) bool
func (IMGWAddressChangePredicate) Generic ¶
func (p IMGWAddressChangePredicate) Generic(e event.GenericEvent) bool
func (IMGWAddressChangePredicate) Update ¶
func (p IMGWAddressChangePredicate) Update(e event.UpdateEvent) bool
type NamespaceRevisionLabelChange ¶
type NamespaceRevisionLabelChange struct{}
func (NamespaceRevisionLabelChange) Create ¶
func (p NamespaceRevisionLabelChange) Create(e event.CreateEvent) bool
func (NamespaceRevisionLabelChange) Delete ¶
func (p NamespaceRevisionLabelChange) Delete(e event.DeleteEvent) bool
func (NamespaceRevisionLabelChange) Generic ¶
func (p NamespaceRevisionLabelChange) Generic(e event.GenericEvent) bool
func (NamespaceRevisionLabelChange) Update ¶
func (p NamespaceRevisionLabelChange) Update(e event.UpdateEvent) bool
type ObjectChangePredicate ¶
type ObjectChangePredicate struct { predicate.Funcs CalculateOptions []CalculateOption Logger logger.Logger }
func (ObjectChangePredicate) Update ¶
func (p ObjectChangePredicate) Update(e event.UpdateEvent) bool
type PICPStatusChangePredicate ¶
type PICPStatusChangePredicate struct{}
func (PICPStatusChangePredicate) Create ¶
func (p PICPStatusChangePredicate) Create(e event.CreateEvent) bool
func (PICPStatusChangePredicate) Delete ¶
func (p PICPStatusChangePredicate) Delete(e event.DeleteEvent) bool
func (PICPStatusChangePredicate) Generic ¶
func (p PICPStatusChangePredicate) Generic(e event.GenericEvent) bool
func (PICPStatusChangePredicate) Update ¶
func (p PICPStatusChangePredicate) Update(e event.UpdateEvent) bool
Click to show internal directories.
Click to hide internal directories.