- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 173 for clientV3 (0.26 sec)
-
internal/config/dns/etcd_dns.go
type CoreDNS struct { domainNames []string domainIPs set.StringSet domainPort string prefixPath string etcdClient *clientv3.Client } // EtcdOption - functional options pattern style type EtcdOption func(*CoreDNS) // DomainNames set a list of domain names used by this CoreDNS // client setting, note this will fail if set to empty when // constructor initializes. func DomainNames(domainNames []string) EtcdOption {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/testing/test_server.go
*/ package testing import ( "testing" clientv3 "go.etcd.io/etcd/client/v3" "k8s.io/apiserver/pkg/storage/etcd3/testserver" "k8s.io/apiserver/pkg/storage/storagebackend" ) // EtcdTestServer encapsulates the datastructures needed to start local instance for testing type EtcdTestServer struct { V3Client *clientv3.Client } func (e *EtcdTestServer) Terminate(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 13:35:58 UTC 2023 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/server.go
*/ package fixtures import ( "os" "strings" "time" "github.com/google/uuid" "go.etcd.io/etcd/client/pkg/v3/transport" clientv3 "go.etcd.io/etcd/client/v3" "google.golang.org/grpc" "k8s.io/apiextensions-apiserver/pkg/apiserver" "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset" serveroptions "k8s.io/apiextensions-apiserver/pkg/cmd/server/options"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker_test.go
{endpointsVersion: []mockEndpointVersion{ {Version: "3.5.14", Endpoint: "localhost:2391"}}, expectedResult: true}}, }, { testName: "Disabled - enabled success on first client, error on second client, disabled success on third client", rounds: []testCase{ {endpointsVersion: []mockEndpointVersion{ {Version: "3.6.0", Endpoint: "localhost:2390"}}, expectedResult: true, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/compact_test.go
etcdrpc "go.etcd.io/etcd/api/v3/v3rpc/rpctypes" clientv3 "go.etcd.io/etcd/client/v3" "k8s.io/apiserver/pkg/storage/etcd3/testserver" ) func TestCompact(t *testing.T) { client := testserver.RunEtcd(t, nil) ctx := context.Background() putResp, err := client.Put(ctx, "/somekey", "data") if err != nil { t.Fatalf("Put failed: %v", err) } putResp1, err := client.Put(ctx, "/somekey", "data2") if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 23 14:22:57 UTC 2021 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker.go
// Returns true if all endpoints in etcd clients are supporting the feature. // If client A supports and client B doesn't support the feature, the `Supports` will // first return true at client A initializtion and then return false on client B // initialzation, it can flip the support at runtime. Supports(feature storage.Feature) bool // CheckClient works with etcd client to recalcualte feature support and cache it internally.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 6.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go
return server, storage } func computePodKey(obj *example.Pod) string { return fmt.Sprintf("/pods/%s/%s", obj.Namespace, obj.Name) } func compactStorage(c *Cacher, client *clientv3.Client) storagetesting.Compaction { return func(ctx context.Context, t *testing.T, resourceVersion string) { versioner := storage.APIObjectVersioner{} rv, err := versioner.ParseResourceVersion(resourceVersion)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 20:43:52 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy
} def "expires enough idle worker daemons to release requested memory"() { given: def client1 = reserveNewClient(threeGbOptions) def client2 = reserveNewClient(twoGbOptions) def client3 = reserveNewClient(oneGbOptions) and: clientsManager.release(client1) clientsManager.release(client2) clientsManager.release(client3) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:56:11 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/sts/client-grants.go
} var ( stsEndpoint string idpEndpoint string clientID string clientSecret string ) func init() { flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint") flag.StringVar(&idpEndpoint, "idp-ep", "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token", "IDP token endpoint") flag.StringVar(&clientID, "cid", "", "Client ID") flag.StringVar(&clientSecret, "csec", "", "Client secret") }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/client_ca_test.go
}, { name: "same", lhs: &dynamicCertificateContent{ clientCA: caBundleContent{caBundle: []byte("foo")}, }, rhs: &dynamicCertificateContent{ clientCA: caBundleContent{caBundle: []byte("foo")}, }, expected: true, }, { name: "different", lhs: &dynamicCertificateContent{ clientCA: caBundleContent{caBundle: []byte("foo")}, }, rhs: &dynamicCertificateContent{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 17 13:37:16 UTC 2019 - 3.8K bytes - Viewed (0)