webhook

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestCase

type TestCase struct {
	Description     string
	GroupType       string
	StorageValue    string
	ShouldFail      bool
	ExpectedError   string
	CreateGroupFunc func(ns string, storage string) (client.Object, error)
}

TestCase represents a test case for volume storage validation

type UpdateTestCase

type UpdateTestCase struct {
	Description       string
	GroupType         string
	InitialStorage    string
	UpdatedStorage    string
	ShouldFail        bool
	ExpectedError     string
	CreateGroupFunc   func(ns string, storage string) (client.Object, error)
	UpdateStorageFunc func(obj client.Object, storage string) error
}

UpdateTestCase represents a test case for storage update validation

Jump to

Keyboard shortcuts

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