Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RunEtcd (0.07 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/factory_test.go

    	return clientv3.OpResponse{}, nil
    }
    func (mockKV) Txn(ctx context.Context) clientv3.Txn {
    	return nil
    }
    
    func TestCreateHealthcheck(t *testing.T) {
    	etcdConfig := testserver.NewTestConfig(t)
    	client := testserver.RunEtcd(t, etcdConfig)
    	newETCD3ClientFn := newETCD3Client
    	defer func() {
    		newETCD3Client = newETCD3ClientFn
    	}()
    	tests := []struct {
    		name         string
    		cfg          storagebackend.Config
    		want         error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 29 15:58:10 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    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)
    		}
    	}
    }
    
    func withPrefix(prefix string) setupOption {
    	return func(options *setupOptions) {
    		options.prefix = prefix
    	}
    }
    
    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