Documentation ¶
Index ¶
- func CreateList(prefix string, helper storage.Interface, list runtime.Object) error
- func CreateObj(helper storage.Interface, name string, obj, out runtime.Object, ttl uint64) error
- func CreateObjList(prefix string, helper storage.Interface, items []runtime.Object) error
- func DeepEqualSafePodSpec() example.PodSpec
- func EncodeContinueOrDie(key string, resourceVersion int64) string
- func ExpectNoDiff(t *testing.T, msg string, expected, got interface{})
- func ResourceVersionNotOlderThan(sentinel string) func(string) error
- func RunTestConditionalDelete(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestCount(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestCreate(ctx context.Context, t *testing.T, store storage.Interface, ...)
- func RunTestCreateWithKeyExist(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestCreateWithTTL(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestDeleteTriggerWatch(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestDeleteWithSuggestion(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestDeleteWithSuggestionAndConflict(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestDeleteWithSuggestionOfDeletedObject(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestGet(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestGetListNonRecursive(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestGuaranteedUpdateWithConflict(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestGuaranteedUpdateWithSuggestionAndConflict(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestGuaranteedUpdateWithTTL(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestList(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestListWithoutPaging(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestPreconditionalDeleteWithSuggestion(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestUnconditionalDelete(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestValidateDeletionWithSuggestion(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestWatch(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestWatchContextCancel(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestWatchFromNoneZero(ctx context.Context, t *testing.T, store storage.Interface)
- func RunTestWatchInitializationSignal(ctx context.Context, t *testing.T, store storage.Interface)
- func TestCheckEventType(t *testing.T, expectEventType watch.EventType, w watch.Interface)
- func TestCheckResult(t *testing.T, expectEventType watch.EventType, w watch.Interface, ...)
- func TestCheckResultFunc(t *testing.T, expectEventType watch.EventType, w watch.Interface, ...)
- func TestCheckStop(t *testing.T, w watch.Interface)
- func TestPropogateStore(ctx context.Context, t *testing.T, store storage.Interface, obj *example.Pod) (string, *example.Pod)
- func TestPropogateStoreWithKey(ctx context.Context, t *testing.T, store storage.Interface, key string, ...) *example.Pod
- type KeyValidation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateList ¶
CreateList will properly create a list using the storage interface.
func CreateObjList ¶
CreateObjList will create a list from the array of objects.
func DeepEqualSafePodSpec ¶ added in v0.16.4
DeepEqualSafePodSpec returns an example.PodSpec safe for deep-equal operations.
func EncodeContinueOrDie ¶ added in v0.25.0
func ExpectNoDiff ¶ added in v0.25.0
func ResourceVersionNotOlderThan ¶ added in v0.25.0
ResourceVersionNotOlderThan returns a function to validate resource versions. Resource versions referring to points in logical time before the sentinel generate an error. All logical times as new as the sentinel or newer generate no error.
func RunTestConditionalDelete ¶ added in v0.25.0
func RunTestCount ¶ added in v0.25.0
func RunTestCreate ¶ added in v0.25.0
func RunTestCreateWithKeyExist ¶ added in v0.25.0
func RunTestCreateWithTTL ¶ added in v0.25.0
func RunTestDeleteTriggerWatch ¶ added in v0.25.0
func RunTestDeleteWithSuggestion ¶ added in v0.25.0
func RunTestDeleteWithSuggestionAndConflict ¶ added in v0.25.0
func RunTestDeleteWithSuggestionOfDeletedObject ¶ added in v0.25.0
func RunTestGet ¶ added in v0.25.0
func RunTestGetListNonRecursive ¶ added in v0.25.0
func RunTestGuaranteedUpdateWithConflict ¶ added in v0.25.0
func RunTestGuaranteedUpdateWithSuggestionAndConflict ¶ added in v0.25.0
func RunTestGuaranteedUpdateWithTTL ¶ added in v0.25.0
func RunTestList ¶ added in v0.25.0
func RunTestListWithoutPaging ¶ added in v0.25.0
func RunTestPreconditionalDeleteWithSuggestion ¶ added in v0.25.0
func RunTestUnconditionalDelete ¶ added in v0.25.0
func RunTestValidateDeletionWithSuggestion ¶ added in v0.25.0
func RunTestWatch ¶ added in v0.25.0
func RunTestWatchContextCancel ¶ added in v0.25.0
func RunTestWatchFromNoneZero ¶ added in v0.25.0
func RunTestWatchInitializationSignal ¶ added in v0.25.0
func TestCheckEventType ¶ added in v0.25.0
func TestCheckResult ¶ added in v0.25.0
func TestCheckResultFunc ¶ added in v0.25.0
Types ¶
Click to show internal directories.
Click to hide internal directories.