Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ApplyOptions (0.27 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    	Apply(ctx context.Context, customResourceDefinition *apiextensionsv1.CustomResourceDefinitionApplyConfiguration, opts metav1.ApplyOptions) (result *v1.CustomResourceDefinition, err error)
    	ApplyStatus(ctx context.Context, customResourceDefinition *apiextensionsv1.CustomResourceDefinitionApplyConfiguration, opts metav1.ApplyOptions) (result *v1.CustomResourceDefinition, err error)
    	CustomResourceDefinitionExpansion
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    	Apply(ctx context.Context, customResourceDefinition *apiextensionsv1beta1.CustomResourceDefinitionApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.CustomResourceDefinition, err error)
    	ApplyStatus(ctx context.Context, customResourceDefinition *apiextensionsv1beta1.CustomResourceDefinitionApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.CustomResourceDefinition, err error)
    	CustomResourceDefinitionExpansion
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Example, err error)
    	Apply(ctx context.Context, example *crv1.ExampleApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Example, err error)
    	ExampleExpansion
    }
    
    // examples implements ExampleInterface
    type examples struct {
    	client rest.Interface
    	ns     string
    }
    
    // newExamples returns a Examples
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. pkg/controller/testutil/test_utils.go

    	}
    
    	return &updatedNode, nil
    }
    
    // Apply applies a NodeApplyConfiguration to a Node in the fake store.
    func (m *FakeNodeHandler) Apply(ctx context.Context, node *v1apply.NodeApplyConfiguration, opts metav1.ApplyOptions) (*v1.Node, error) {
    	patchOpts := opts.ToPatchOptions()
    	data, err := json.Marshal(node)
    	if err != nil {
    		return nil, err
    	}
    	name := node.Name
    	if name == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/config.go

    	return c.lifecycleSignals.ShutdownInitiated.Signaled()
    }
    
    // Complete fills in any fields not set that are required to have valid data and can be derived
    // from other fields. If you're going to `ApplyOptions`, do that first. It's mutating the receiver.
    func (c *Config) Complete(informers informers.SharedInformerFactory) CompletedConfig {
    	if len(c.ExternalAddress) == 0 && c.PublicAddress != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  6. cmd/object-multipart-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Check if bucket encryption is enabled
    	sseConfig, _ := globalBucketSSEConfigSys.Get(bucket)
    	sseConfig.Apply(r.Header, sse.ApplyOptions{
    		AutoEncrypt: globalAutoEncryption,
    	})
    
    	// Validate storage class metadata if present
    	if sc := r.Header.Get(xhttp.AmzStorageClass); sc != "" {
    		if !storageclass.IsValid(sc) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		return
    	}
    
    	// Check if bucket encryption is enabled
    	sseConfig, _ := globalBucketSSEConfigSys.Get(dstBucket)
    	sseConfig.Apply(r.Header, sse.ApplyOptions{
    		AutoEncrypt: globalAutoEncryption,
    	})
    
    	var srcOpts, dstOpts ObjectOptions
    	srcOpts, err = copySrcOpts(ctx, r, srcBucket, srcObject)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    	patch.SetNamespace("default")
    
    	_, err := ctx.DynamicClient.
    		Resource(a.gvr).
    		Namespace(patch.GetNamespace()).
    		Apply(
    			context.TODO(),
    			patch.GetName(),
    			patch,
    			metav1.ApplyOptions{
    				FieldManager: "manager",
    			})
    
    	return err
    
    }
    
    func (a applyPatchOperation) Description() string {
    	return a.description
    }
    
    // Replaces schema used for v1beta1 of crd
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    	pReader := NewPutObjReader(rawReader)
    	var objectEncryptionKey crypto.ObjectKey
    
    	// Check if bucket encryption is enabled
    	sseConfig, _ := globalBucketSSEConfigSys.Get(bucket)
    	sseConfig.Apply(formValues, sse.ApplyOptions{
    		AutoEncrypt: globalAutoEncryption,
    	})
    
    	var opts ObjectOptions
    	opts, err = putOptsFromReq(ctx, r, bucket, object, metadata)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    			} else {
    				logger.V(5).Info("Patching PodSchedulingContext", "podSchedulingCtx", klog.KObj(pod))
    			}
    			_, err = clientset.ResourceV1alpha2().PodSchedulingContexts(pod.Namespace).Apply(ctx, schedulingCtxApply, metav1.ApplyOptions{FieldManager: "kube-scheduler", Force: true})
    		}
    
    	} else {
    		// Create it.
    		schedulingCtx := &resourcev1alpha2.PodSchedulingContext{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:            pod.Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
Back to top