- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for APIPath (0.1 sec)
-
staging/src/k8s.io/cli-runtime/pkg/resource/client.go
if err != nil { return nil, err } if negotiatedSerializer != nil { cfg.ContentConfig.NegotiatedSerializer = negotiatedSerializer } cfg.GroupVersion = &gv if len(gv.Group) == 0 { cfg.APIPath = "/api" } else { cfg.APIPath = "/apis" } return rest.RESTClientFor(cfg) } func (clientConfigFn ClientConfigFunc) unstructuredClientForGroupVersion(gv schema.GroupVersion) (RESTClient, error) {
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/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/apiextensions_client.go
func New(c rest.Interface) *ApiextensionsV1Client { return &ApiextensionsV1Client{c} } func setConfigDefaults(config *rest.Config) error { gv := v1.SchemeGroupVersion config.GroupVersion = &gv config.APIPath = "/apis" config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() if config.UserAgent == "" { config.UserAgent = rest.DefaultKubernetesUserAgent() } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 04:39:39 UTC 2021 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/client.go
cfg.NextProtos = []string{"http/1.1"} serverName := cc.Service.Name + "." + cc.Service.Namespace + ".svc" host := net.JoinHostPort(serverName, strconv.Itoa(int(port))) cfg.Host = "https://" + host cfg.APIPath = cc.Service.Path // Set the server name if not already set if len(cfg.TLSClientConfig.ServerName) == 0 { cfg.TLSClientConfig.ServerName = serverName } delegateDialer := cfg.Dial
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 04 09:09:10 UTC 2024 - 7.3K bytes - Viewed (0) -
pkg/kube/inject/initializer.go
constants.KubeNodeLeaseNamespace, constants.LocalPathStorageNamespace) var ( kinds = []struct { groupVersion schema.GroupVersion obj runtime.Object resource string apiPath string }{ {v1.SchemeGroupVersion, &v1.ReplicationController{}, "replicationcontrollers", "/api"}, {v1.SchemeGroupVersion, &v1.Pod{}, "pods", "/api"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 30 20:07:58 UTC 2022 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/cr_client.go
func New(c rest.Interface) *CrV1Client { return &CrV1Client{c} } func setConfigDefaults(config *rest.Config) error { gv := v1.SchemeGroupVersion config.GroupVersion = &gv config.APIPath = "/apis" config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() if config.UserAgent == "" { config.UserAgent = rest.DefaultKubernetesUserAgent() } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 04:39:39 UTC 2021 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/apiextensions_client.go
func New(c rest.Interface) *ApiextensionsV1beta1Client { return &ApiextensionsV1beta1Client{c} } func setConfigDefaults(config *rest.Config) error { gv := v1beta1.SchemeGroupVersion config.GroupVersion = &gv config.APIPath = "/apis" config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() if config.UserAgent == "" { config.UserAgent = rest.DefaultKubernetesUserAgent() } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 04:39:39 UTC 2021 - 3.2K bytes - Viewed (0) -
pkg/kube/util.go
if config.GroupVersion == nil || config.GroupVersion.Empty() { config.GroupVersion = &corev1.SchemeGroupVersion } if len(config.APIPath) == 0 { if len(config.GroupVersion.Group) == 0 { config.APIPath = "/api" } else { config.APIPath = "/apis" } } if len(config.ContentType) == 0 { if features.KubernetesClientContentType == "json" { config.ContentType = runtime.ContentTypeJSON
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 18.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller_debug.go
"StartTime", // 10 })) if includeRequestDetails { continueLine(tabWriter) tabPrint(tabWriter, rowForHeaders([]string{ "UserName", // 11 "Verb", // 12 "APIPath", // 13 "Namespace", // 14 "Name", // 15 "APIVersion", // 16 "Resource", // 17 "SubResource", // 18 })) } endLine(tabWriter)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 17:38:43 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/controlplane/instance_test.go
config.ControlPlane.Generic.Version = &kubeVersion config.ControlPlane.StorageFactory = storageFactory config.ControlPlane.Generic.LoopbackClientConfig = &restclient.Config{APIPath: "/api", ContentConfig: restclient.ContentConfig{NegotiatedSerializer: legacyscheme.Codecs}} config.ControlPlane.Generic.PublicAddress = netutils.ParseIPSloppy("192.168.10.4")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:50:04 UTC 2024 - 21.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go
scheme.AddKnownTypes(metav1.SchemeGroupVersion, &metav1.Table{}, &metav1.TableOptions{}) crConfig := *config crConfig.GroupVersion = &gv crConfig.APIPath = "/apis" crConfig.NegotiatedSerializer = codecs.WithoutConversion() crRestClient, err := rest.RESTClientFor(&crConfig) if err != nil { t.Fatal(err) } // metav1beta1 table {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 02 19:34:41 UTC 2021 - 18.9K bytes - Viewed (0)