kubernetes: k8s.io/kubernetes/pkg/api/testing Index | Files | Directories

package testing

import "k8s.io/kubernetes/pkg/api/testing"

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

Index

Package Files

conversion.go doc.go fuzzer.go pod_specs.go

Variables

var FuzzerFuncs = fuzzer.MergeFuzzerFuncs(
    overrideGenericFuncs,
    corefuzzer.Funcs,
    extensionsfuzzer.Funcs,
    appsfuzzer.Funcs,
    batchfuzzer.Funcs,
    autoscalingfuzzer.Funcs,
    rbacfuzzer.Funcs,
    policyfuzzer.Funcs,
    certificatesfuzzer.Funcs,
    admissionregistrationfuzzer.Funcs,
    auditregistrationfuzzer.Funcs,
    storagefuzzer.Funcs,
    networkingfuzzer.Funcs,
    metafuzzer.Funcs,
    schedulingfuzzer.Funcs,
    discoveryfuzzer.Funcs,
)

FuzzerFuncs is a list of fuzzer functions

func DeepEqualSafePodSpec Uses

func DeepEqualSafePodSpec() api.PodSpec

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

func TestSelectableFieldLabelConversionsOfKind Uses

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 Uses

func V1DeepEqualSafePodSpec() v1.PodSpec

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

Directories

PathSynopsis
compat

Package testing imports 29 packages (graph). Updated 2019-11-17. Refresh now. Tools for package owners.