webhooks

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package webhooks provides a set of functions and types for validating the data structures contained in the api pkg. It is designed to be used within the controller-runtime webhooks API to ensure that incoming data meets the required criteria before processing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateBackupConfiguration

func ValidateBackupConfiguration(
	barmanObjectStore *api.BarmanObjectStoreConfiguration,
	path *field.Path,
) field.ErrorList

ValidateBackupConfiguration validates the backup configuration

func ValidateRetentionPolicy

func ValidateRetentionPolicy(retentionPolicy string, path *field.Path) field.ErrorList

ValidateRetentionPolicy validates a Barman retention policy

Types

This section is empty.

Jump to

Keyboard shortcuts

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