Documentation
¶
Index ¶
Constants ¶
View Source
const (
MaxScheduledFailedDuration = 300 * time.Second
)
Variables ¶
View Source
var ( // HandlerGetterMap contains admission webhook handlers HandlerGetterMap = map[string]types.HandlerGetter{ "validate-apps-kruise-io-v1alpha1-workloadspread": func(mgr manager.Manager) admission.Handler { return &WorkloadSpreadCreateUpdateHandler{ Client: mgr.GetClient(), Decoder: admission.NewDecoder(mgr.GetScheme()), } }, } )
Functions ¶
This section is empty.
Types ¶
type WorkloadSpreadCreateUpdateHandler ¶
type WorkloadSpreadCreateUpdateHandler struct { // To use the client, you need to do the following: // - uncomment it // - import sigs.k8s.io/controller-runtime/pkg/client // - uncomment the InjectClient method at the bottom of this file. Client client.Client // Decoder decodes objects Decoder admission.Decoder }
WorkloadSpreadCreateUpdateHandler handles WorkloadSpread
Click to show internal directories.
Click to hide internal directories.