testing

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2016 License: Apache-2.0, Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqualSafePodSpec

func DeepEqualSafePodSpec() api.PodSpec

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

func FuzzerFor

func FuzzerFor(t *testing.T, version unversioned.GroupVersion, src rand.Source) *fuzz.Fuzzer

FuzzerFor can randomly populate api objects that are destined for version.

func TestSelectableFieldLabelConversionsOfKind added in v1.0.0

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

TestSelectableFieldLabelConversions 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.

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