- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for clientForGroupVersion (0.18 sec)
-
staging/src/k8s.io/cli-runtime/pkg/resource/client.go
"k8s.io/client-go/rest" ) // TODO require negotiatedSerializer. leaving it optional lets us plumb current behavior and deal with the difference after major plumbing is complete func (clientConfigFn ClientConfigFunc) clientForGroupVersion(gv schema.GroupVersion, negotiatedSerializer runtime.NegotiatedSerializer) (RESTClient, error) { cfg, err := clientConfigFn() if err != nil { return nil, err } if negotiatedSerializer != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 15 13:01:18 UTC 2021 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/builder.go
err error ) switch { case b.fakeClientFn != nil: client, err = b.fakeClientFn(gv) case b.negotiatedSerializer != nil: client, err = b.clientConfigFn.withStdinUnavailable(b.stdinInUse).clientForGroupVersion(gv, b.negotiatedSerializer) default: client, err = b.clientConfigFn.withStdinUnavailable(b.stdinInUse).unstructuredClientForGroupVersion(gv) } if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 10:17:56 UTC 2023 - 37.2K bytes - Viewed (0)