Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 277 for patchtype (0.15 sec)

  1. pkg/kube/kclient/interfaces.go

    	// UpdateStatus updates a resource's status, returning the newly applied resource.
    	UpdateStatus(object T) (T, error)
    	// Patch patches the resource, returning the newly applied resource.
    	Patch(name, namespace string, pt apitypes.PatchType, data []byte) (T, error)
    	// Delete removes a resource.
    	Delete(name, namespace string) error
    }
    
    type ReadWriter[T controllers.Object] interface {
    	Reader[T]
    	Writer[T]
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 05:09:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	List(ctx context.Context, opts metav1.ListOptions) (*v1.ExampleList, error)
    	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
    	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)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// +optional
    	ReadOnly bool `json:"readOnly,omitempty"`
    	// PathType is the type of the HostPath.
    	// +optional
    	PathType corev1.HostPathType `json:"pathType,omitempty"`
    }
    
    // Patches contains options related to applying patches to components deployed by kubeadm.
    type Patches struct {
    	// Directory is a path to a directory that contains files named "target[suffix][+patchtype].extension".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. pkg/config/schema/codegen/templates/crdclient.go.tmpl

    	default:
    		return nil, fmt.Errorf("unsupported type: %v", cfg.GroupVersionKind)
    	}
    }
    
    func patch(c kube.Client, orig config.Config, origMeta metav1.ObjectMeta, mod config.Config, modMeta metav1.ObjectMeta, typ types.PatchType) (metav1.Object, error) {
    	if orig.GroupVersionKind != mod.GroupVersionKind {
    		return nil, fmt.Errorf("gvk mismatch: %v, modified: %v", orig.GroupVersionKind, mod.GroupVersionKind)
    	}
    	switch orig.GroupVersionKind {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    	List(ctx context.Context, opts metav1.ListOptions) (*v1.CustomResourceDefinitionList, error)
    	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
    	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CustomResourceDefinition, err error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. pkg/controller/garbagecollector/operations.go

    	}
    	return gc.metadataClient.Resource(resource).Namespace(namespace).Get(context.TODO(), item.Name, metav1.GetOptions{})
    }
    
    func (gc *GarbageCollector) patchObject(item objectReference, patch []byte, pt types.PatchType) (*metav1.PartialObjectMetadata, error) {
    	resource, namespaced, err := gc.apiResource(item.APIVersion, item.Kind)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 13:37:56 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/fake/fake_customresourcedefinition.go

    	return err
    }
    
    // Patch applies the patch and returns the patched customResourceDefinition.
    func (c *FakeCustomResourceDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CustomResourceDefinition, err error) {
    	emptyResult := &v1.CustomResourceDefinition{}
    	obj, err := c.Fake.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake/fake_example.go

    	_, err := c.Fake.Invokes(action, &v1.ExampleList{})
    	return err
    }
    
    // Patch applies the patch and returns the patched example.
    func (c *FakeExamples) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Example, err error) {
    	emptyResult := &v1.Example{}
    	obj, err := c.Fake.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admission/v1/types_swagger_doc_generated.go

    	"patch":            "The patch body. Currently we only support \"JSONPatch\" which implements RFC 6902.",
    	"patchType":        "The type of Patch. Currently we only allow \"JSONPatch\".",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. pkg/kube/kubetypes/types.go

    type WriteAPI[T runtime.Object] interface {
    	Create(ctx context.Context, object T, opts metav1.CreateOptions) (T, error)
    	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result T, err error)
    	Update(ctx context.Context, object T, opts metav1.UpdateOptions) (T, error)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top