Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasGVKExtensionV3 (0.2 sec)

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

    		}
    		return supportsQueryParamV3(namespaceSpec, namespaceGVK, v.queryParam)
    	}
    	return NewParamUnsupportedError(gvk, v.queryParam)
    }
    
    // hasGVKExtensionV3 returns true if the passed OpenAPI extensions map contains
    // the passed GVK; false otherwise.
    func hasGVKExtensionV3(extensions spec.Extensions, gvk schema.GroupVersionKind) bool {
    	var oapiGVK map[string]string
    	err := extensions.GetObject("x-kubernetes-group-version-kind", &oapiGVK)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 01:23:27 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top