kubernetes: k8s.io/kubernetes/pkg/apis/scheduling/fuzzer Index | Files

package fuzzer

import "k8s.io/kubernetes/pkg/apis/scheduling/fuzzer"

Index

Package Files

fuzzer.go

Variables

var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} {
    return []interface{}{
        func(s *scheduling.PriorityClass, c fuzz.Continue) {
            c.FuzzNoCustom(s)
            if utilfeature.DefaultFeatureGate.Enabled(features.NonPreemptingPriority) && s.PreemptionPolicy == nil {
                preemptLowerPriority := core.PreemptLowerPriority
                s.PreemptionPolicy = &preemptLowerPriority
            }
        },
    }
}

Funcs returns the fuzzer functions for the scheduling api group.

Package fuzzer imports 6 packages (graph) and is imported by 19 packages. Updated 2019-06-13. Refresh now. Tools for package owners.