- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 63 for testConfig (0.13 sec)
-
src/cmd/compile/internal/ssa/func_test.go
succs []string } type valu struct { name string op Op t *types.Type auxint int64 aux Aux args []string } func TestArgs(t *testing.T) { c := testConfig(t) fun := c.Fun("entry", Bloc("entry", Valu("a", OpConst64, c.config.Types.Int64, 14, nil), Valu("b", OpConst64, c.config.Types.Int64, 26, nil), Valu("sum", OpAdd64, c.config.Types.Int64, 0, nil, "a", "b"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:01:04 UTC 2023 - 13.1K bytes - Viewed (0) -
plugin/pkg/admission/imagepolicy/admission_test.go
if err != nil { return err } pc := tempconfigfile.Name() defer utiltesting.CloseAndRemove(t, tempconfigfile) configTmpl, err := template.New("testconfig").Parse(defaultConfigTmplJSON) if err != nil { return fmt.Errorf("failed to parse test template: %v", err) } dataConfig := struct { KubeConfig string AllowTTL int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 06:05:06 UTC 2023 - 32.9K bytes - Viewed (0) -
pkg/kube/client_config.go
Impersonate: restConfig.Impersonate.UserName, ImpersonateGroups: restConfig.Impersonate.Groups, ImpersonateUserExtra: restConfig.Impersonate.Extra, Username: restConfig.Username, Password: restConfig.Password, AuthProvider: restConfig.AuthProvider, Exec: restConfig.ExecProvider, } } func newCluster(restConfig *rest.Config) *api.Cluster { return &api.Cluster{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 17 16:52:06 UTC 2020 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/authentication_info_resolver.go
return &authenticationInfoResolver{ restConfig: &rest.Config{ TLSClientConfig: rest.TLSClientConfig{ CAData: testcerts.CACert, CertData: testcerts.ClientCert, KeyData: testcerts.ClientKey, }, }, cacheMisses: cacheMisses, } } type authenticationInfoResolver struct { restConfig *rest.Config cacheMisses *int32 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 18 18:49:55 UTC 2022 - 2.7K bytes - Viewed (0) -
pkg/kube/spdy.go
// roundTripperFor creates a SPDY upgrader that will work over custom transports. func roundTripperFor(restConfig *rest.Config) (http.RoundTripper, spdy.Upgrader, error) { // Get the TLS config. tlsConfig, err := rest.TLSConfigFor(restConfig) if err != nil { return nil, nil, fmt.Errorf("failed getting TLS config: %w", err) } if tlsConfig == nil && restConfig.Transport != nil { // If using a custom transport, skip server verification on the upgrade.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 15 21:30:37 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/kube/client_factory.go
restConfig, err := c.ToRESTConfig() if err != nil { return nil, err } return dynamic.NewForConfig(restConfig) } func (c *clientFactory) KubernetesClientSet() (*kubernetes.Clientset, error) { restConfig, err := c.ToRESTConfig() if err != nil { return nil, err } return kubernetes.NewForConfig(restConfig) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 15 21:30:37 UTC 2023 - 5.8K bytes - Viewed (0) -
tools/bug-report/pkg/kubeclient/kubeclient.go
co.Timeout = defaultTimeoutDurationStr }) restConfig, err := clientConfig.ClientConfig() if err != nil { return nil, nil, err } clientset, err := kubernetes.NewForConfig(kube.SetRestDefaults(restConfig)) if err != nil { return nil, nil, err } return restConfig, clientset, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Nov 04 12:07:50 UTC 2023 - 1.4K bytes - Viewed (0) -
pilot/pkg/status/distribution/state.go
restConfig.QPS = float32(features.StatusQPS) restConfig.Burst = features.StatusBurst var err error if c.dynamicClient, err = dynamic.NewForConfig(restConfig); err != nil { scope.Fatalf("Could not connect to kubernetes: %s", err) } // configmap informer i := informers.NewSharedInformerFactoryWithOptions(kubernetes.NewForConfigOrDie(restConfig), 1*time.Minute,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 7.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/client.go
if port == 0 { // Default to port 443 if no service port is specified port = 443 } restConfig, err := cm.authInfoResolver.ClientConfigForService(cc.Service.Name, cc.Service.Namespace, int(port)) if err != nil { return nil, err } cfg := rest.CopyConfig(restConfig) // Use http/1.1 instead of http/2.
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/portforwarder.go
stopCh: make(chan struct{}), restConfig: c.config, podName: podName, ns: ns, localAddress: localAddress, localPort: localPort, podPort: podPort, } return f, nil } func (f *forwarder) buildK8sPortForwarder(readyCh chan struct{}) (*portforward.PortForwarder, error) { restClient, err := rest.RESTClientFor(f.restConfig) if err != nil { return nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 02:12:37 UTC 2023 - 5.5K bytes - Viewed (0)