- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CRDFromDynamic (0.2 sec)
-
staging/src/k8s.io/cli-runtime/pkg/resource/crd_finder.go
"k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/dynamic" ) // CRDGetter is a function that can download the list of GVK for all // CRDs. type CRDGetter func() ([]schema.GroupKind, error) func CRDFromDynamic(client dynamic.Interface) CRDGetter { return func() ([]schema.GroupKind, error) { list, err := client.Resource(schema.GroupVersionResource{ Group: "apiextensions.k8s.io", Version: "v1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 19 14:05:43 UTC 2021 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier_v3.go
func NewQueryParamVerifierV3(dynamicClient dynamic.Interface, oapiClient openapi.Client, queryParam VerifiableQueryParam) Verifier { return &queryParamVerifierV3{ finder: NewCRDFinder(CRDFromDynamic(dynamicClient)), root: openapi3.NewRoot(oapiClient), queryParam: queryParam, } } // queryParamVerifierV3 encapsulates info necessary to determine if
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 01:23:27 UTC 2023 - 5.3K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier.go
) func NewQueryParamVerifier(dynamicClient dynamic.Interface, openAPIGetter discovery.OpenAPISchemaInterface, queryParam VerifiableQueryParam) *QueryParamVerifier { return &QueryParamVerifier{ finder: NewCRDFinder(CRDFromDynamic(dynamicClient)), openAPIGetter: openAPIGetter, queryParam: queryParam, } } // QueryParamVerifier verifies if a given group-version-kind supports a // given VerifiableQueryParam against the current server.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 01:23:27 UTC 2023 - 5.7K bytes - Viewed (0)