# Functions
NewCertWatcher returns a new CertWatcher watching the given certificate and key.
ValidateV1Beta1Snapshot performs additional strict validation.
ValidateV1Beta1SnapshotContent performs additional strict validation.
ValidateV1Snapshot performs additional strict validation.
ValidateV1SnapshotContent performs additional strict validation.
# Variables
CmdWebhook is used by Cobra.
SnapshotContentV1Beta1GVR is GroupVersionResource for v1beta1 VolumeSnapshotContents.
SnapshotContentV1GVR is GroupVersionResource for v1 VolumeSnapshotContents.
SnapshotV1Beta1GVR is GroupVersionResource for v1beta1 VolumeSnapshots.
SnapshotV1GVR is GroupVersionResource for v1 VolumeSnapshots.
# Structs
CertWatcher watches certificate and key files for changes.
Config contains the server (the webhook) cert and key.