Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for withClientConfig (0.14 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/webhookconversion.go

    	return &WebhookConversionApplyConfiguration{}
    }
    
    // WithClientConfig sets the ClientConfig field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the ClientConfig field is set to the value of the last call.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags_fake.go

    		expander := restmapper.NewShortcutExpander(mapper, f.discoveryClient, nil)
    		return expander, nil
    	}
    	return nil, fmt.Errorf("no restmapper")
    }
    
    // WithClientConfig sets the clientConfig flag
    func (f *TestConfigFlags) WithClientConfig(clientConfig clientcmd.ClientConfig) *TestConfigFlags {
    	f.clientConfig = clientConfig
    	return f
    }
    
    // WithRESTMapper sets the restMapper flag
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/mutatingwebhook.go

    	b.Name = &value
    	return b
    }
    
    // WithClientConfig sets the ClientConfig field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the ClientConfig field is set to the value of the last call.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:28:26 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingwebhook.go

    	b.Name = &value
    	return b
    }
    
    // WithClientConfig sets the ClientConfig field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the ClientConfig field is set to the value of the last call.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:28:26 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingwebhook.go

    	b.Name = &value
    	return b
    }
    
    // WithClientConfig sets the ClientConfig field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the ClientConfig field is set to the value of the last call.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:28:26 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingwebhook.go

    	b.Name = &value
    	return b
    }
    
    // WithClientConfig sets the ClientConfig field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the ClientConfig field is set to the value of the last call.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:28:26 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go

    }
    
    func TestProgressNotify(t *testing.T) {
    	clusterConfig := testserver.NewTestConfig(t)
    	clusterConfig.ExperimentalWatchProgressNotifyInterval = time.Second
    	ctx, store, _ := testSetup(t, withClientConfig(clusterConfig))
    
    	storagetesting.RunOptionalTestProgressNotify(ctx, t, store)
    }
    
    // TestWatchDispatchBookmarkEvents makes sure that
    // setting allowWatchBookmarks query param against
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	groupResource  schema.GroupResource
    	transformer    value.Transformer
    	leaseConfig    LeaseManagerConfig
    
    	recorderEnabled bool
    }
    
    type setupOption func(*setupOptions)
    
    func withClientConfig(config *embed.Config) setupOption {
    	return func(options *setupOptions) {
    		options.client = func(t testing.TB) *clientv3.Client {
    			return testserver.RunEtcd(t, config)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top