testing

package
v0.0.0-...-76823b0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package testing contains - all generic API tests which depend on Kubernetes API types - all cross-Kubernetes-API tests.

Index

Constants

This section is empty.

Variables

FuzzerFuncs is a list of fuzzer functions

Functions

func DeepEqualSafePodSpec

func DeepEqualSafePodSpec() api.PodSpec

DeepEqualSafePodSpec returns a PodSpec which is ready to be used with apiequality.Semantic.DeepEqual

func TestSelectableFieldLabelConversionsOfKind

func TestSelectableFieldLabelConversionsOfKind(t *testing.T, apiVersion string, kind string, fields fields.Set, labelMap map[string]string)

TestSelectableFieldLabelConversionsOfKind verifies that given resource have field label conversion defined for each its selectable field. fields contains selectable fields of the resource. labelMap maps deprecated labels to their canonical names.

func V1DeepEqualSafePodSpec

func V1DeepEqualSafePodSpec() v1.PodSpec

V1DeepEqualSafePodSpec returns a PodSpec which is ready to be used with apiequality.Semantic.DeepEqual

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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