Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ResourceMapping (0.23 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    // beginning after the provided resource version.
    type Watchable interface {
    	Watch(resourceVersion string) (watch.Interface, error)
    }
    
    // ResourceMapping allows an object to return the resource mapping associated with
    // the resource or resources it represents.
    type ResourceMapping interface {
    	ResourceMapping() *meta.RESTMapping
    }
    
    // Info contains temporary info to execute a REST call, or show the results
    // of an already completed REST call.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    	}
    	if !apiequality.Semantic.DeepEqual(&pods.Items[0], test.Objects()[0]) {
    		t.Errorf("unexpected object: %#v", test.Objects()[0])
    	}
    
    	mapping, err := b.Do().ResourceMapping()
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if mapping.Resource != (schema.GroupVersionResource{Group: "", Version: "v1", Resource: "pods"}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/helper.go

    	// FieldValidation is the directive used to indicate how the server should perform
    	// field validation (Ignore, Warn, or Strict)
    	FieldValidation string
    }
    
    // NewHelper creates a Helper from a ResourceMapping
    func NewHelper(client RESTClient, mapping *meta.RESTMapping) *Helper {
    	return &Helper{
    		Resource:        mapping.Resource.Resource,
    		RESTClient:      client,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 26 03:45:13 UTC 2022
    - 10.5K bytes
    - Viewed (0)
Back to top