Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for hook1 (0.07 sec)

  1. pkg/apis/admissionregistration/validation/validation.go

    		allErrors = append(allErrors, field.Invalid(fldPath.Child("timeoutSeconds"), *hook.TimeoutSeconds, "the timeout value must be between 1 and 30 seconds"))
    	}
    
    	if hook.NamespaceSelector != nil {
    		allErrors = append(allErrors, metav1validation.ValidateLabelSelector(hook.NamespaceSelector, labelSelectorValidationOpts, fldPath.Child("namespaceSelector"))...)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	}
    	return cStatus
    }
    
    // executePreStopHook runs the pre-stop lifecycle hooks if applicable and returns the duration it takes.
    func (m *kubeGenericRuntimeManager) executePreStopHook(ctx context.Context, pod *v1.Pod, containerID kubecontainer.ContainerID, containerSpec *v1.Container, gracePeriod int64) int64 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  3. src/cmd/dist/test.go

    	// already quite long and mayMoreStackMove makes it about
    	// twice as slow.
    	if !t.compileOnly && !t.short {
    		// hooks is the set of maymorestack hooks to test with.
    		hooks := []string{"mayMoreStackPreempt", "mayMoreStackMove"}
    		// hookPkgs is the set of package patterns to apply
    		// the maymorestack hook to.
    		hookPkgs := []string{"runtime/...", "reflect", "sync"}
    		// unhookPkgs is the set of package patterns to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	"k8s.io/klog/v2"
    )
    
    // FinishFunc is a function returned by Begin hooks to complete an operation.
    type FinishFunc func(ctx context.Context, success bool)
    
    // AfterDeleteFunc is the type used for the Store.AfterDelete hook.
    type AfterDeleteFunc func(obj runtime.Object, options *metav1.DeleteOptions)
    
    // BeginCreateFunc is the type used for the Store.BeginCreate hook.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  5. pkg/proxy/nftables/proxier.go

    // syncProxyRules().
    //
    // All of our base chains have names that are just "${type}-${hook}". e.g., "nat-prerouting".
    type nftablesBaseChain struct {
    	name      string
    	chainType knftables.BaseChainType
    	hook      knftables.BaseChainHook
    	priority  knftables.BaseChainPriority
    }
    
    var nftablesBaseChains = []nftablesBaseChain{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    	if err := objectAPI.MakeBucket(ctx, bucket, opts); err != nil {
    		if _, ok := err.(BucketExists); ok {
    			// Though bucket exists locally, we send the site-replication
    			// hook to ensure all sites have this bucket. If the hook
    			// succeeds, the client will still receive a bucket exists
    			// message.
    			globalSiteReplicationSys.MakeBucketHook(ctx, bucket, opts)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/types.go

    	// "imagepolicy" is the name of the webhook, and kubernetes.io is the name
    	// of the organization.
    	// Required.
    	Name string
    
    	// ClientConfig defines how to communicate with the hook.
    	// Required
    	ClientConfig WebhookClientConfig
    
    	// Rules describes what operations on what resources/subresources the webhook cares about.
    	// The webhook cares about an operation if it matches _any_ Rule.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, encryptedData)
    
    	// Call hook for cluster-replication if the service account is not for a
    	// root user.
    	if newCred.ParentUser != globalActiveCred.AccessKey {
    		replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    Usually, this deprecation is caused by mutating a configuration in a link:{javadocPath}/org/gradle/api/artifacts/ResolvableDependencies.html#beforeResolve-org.gradle.api.Action-[`beforeResolve`] hook.
    This hook is only executed after a configuration is fully resolved but not when it is partially resolved for computing task dependencies.
    
    Consider the following code that showcases the deprecated behavior:
    
    =====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  10. src/net/http/transport.go

    		if c == nil && err == nil {
    			err = errors.New("net/http: Transport.DialContext hook returned (nil, nil)")
    		}
    		return c, err
    	}
    	if t.Dial != nil {
    		c, err := t.Dial(network, addr)
    		if c == nil && err == nil {
    			err = errors.New("net/http: Transport.Dial hook returned (nil, nil)")
    		}
    		return c, err
    	}
    	return zeroDialer.DialContext(ctx, network, addr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top