Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,067 for backends (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/audit/union.go

    )
    
    // Union returns an audit Backend which logs events to a set of backends. The returned
    // Sink implementation blocks in turn for each call to ProcessEvents.
    func Union(backends ...Backend) Backend {
    	if len(backends) == 1 {
    		return backends[0]
    	}
    	return union{backends}
    }
    
    type union struct {
    	backends []Backend
    }
    
    func (u union) ProcessEvents(events ...*auditinternal.Event) bool {
    Registered: 2024-06-15 01:39
    - Last Modified: 2022-05-20 09:51
    - 1.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/audit/union_test.go

    	b.ProcessEvents(events...)
    
    	for i, b := range backends {
    		// so we can inspect the underlying events.
    		backend := b.(*fakeBackend)
    
    		if got := len(backend.events); got != n {
    			t.Errorf("backend %d wanted %d events, got %d", i, n, got)
    			continue
    		}
    		for j, event := range backend.events {
    			wantID := types.UID(strconv.Itoa(j))
    			if event.AuditID != wantID {
    Registered: 2024-06-15 01:39
    - Last Modified: 2022-05-20 09:51
    - 2.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/tac_module.cc

      std::vector<std::unique_ptr<tac::TargetHardware>> backends;
      for (const auto& hardware_name : options_.hardware_backends) {
        auto factory = tac::GetTargetHardwareFactory(hardware_name);
        backends.emplace_back(factory());
        backends.back()->Init();
      }
      return backends;
    }
    
    absl::Status TacModule::Run() {
      // Construct all backends.
      backends_ = InstantiateBackends();
    Registered: 2024-06-16 05:45
    - Last Modified: 2023-06-08 01:19
    - 5.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/storage/storage_factory.go

    			tlsConfig.InsecureSkipVerify = false
    		}
    	}
    
    	backends := []Backend{}
    	for server := range servers {
    		backends = append(backends, Backend{
    			Server: server,
    			// We can't share TLSConfig across different backends to avoid races.
    			// For more details see: https://pr.k8s.io/59338
    			TLSConfig: tlsConfig.Clone(),
    		})
    	}
    	return backends
    }
    
    Registered: 2024-06-15 01:39
    - Last Modified: 2023-10-20 13:35
    - 14.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/tac_module.h

      std::unique_ptr<TacImporter> importer_;
      std::unique_ptr<TacExporter> exporter_;
      // Owned list of all target hardware backends.
      std::vector<std::unique_ptr<tac::TargetHardware>> backends_;
      // Holder for const pointers for the data in 'backends_'
      std::vector<const tac::TargetHardware*> const_backends_;
      // Extra dialects requested by the user.
      mlir::DialectRegistry registry_;
    
    Registered: 2024-06-16 05:45
    - Last Modified: 2023-06-08 01:19
    - 4.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs-asciidoctor-extensions/build.gradle.kts

    plugins {
        id("gradlebuild.internal.java")
    }
    
    description = "Asciidoctor extensions that only work with html backends"
    
    val asciiDoctorVersion = "2.5.11"
    
    dependencies {
        api("org.asciidoctor:asciidoctorj-api:$asciiDoctorVersion")
        api("org.asciidoctor:asciidoctorj:$asciiDoctorVersion")
    
        implementation("commons-io:commons-io:2.11.0")
        implementation(project(":docs-asciidoctor-extensions-base"))
    }
    
    java {
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-01-29 10:45
    - 526 bytes
    - Viewed (0)
  7. platforms/documentation/docs-asciidoctor-extensions-base/build.gradle.kts

    plugins {
        id("gradlebuild.internal.java")
        groovy
    }
    
    description = "Asciidoctor extensions that work with all backends"
    
    val asciiDoctorVersion = "2.5.11"
    
    errorprone {
        disabledChecks.addAll(
            "DefaultCharset", // 1 occurrences
            "OperatorPrecedence", // 1 occurrences
            "StringCaseLocaleUsage", // 1 occurrences
        )
    }
    
    dependencies {
        api("org.asciidoctor:asciidoctorj-api:$asciiDoctorVersion")
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-01-30 10:37
    - 711 bytes
    - Viewed (0)
  8. cluster/addons/dns-horizontal-autoscaler/README.md

    DNS Horizontal Autoscaler enables horizontal autoscaling feature for DNS service
    in Kubernetes clusters. This autoscaler runs as a Deployment. It collects cluster
    status from the APIServer, horizontally scales the number of DNS backends based
    on demand. Autoscaling parameters could be tuned by modifying the `kube-dns-autoscaler`
    ConfigMap in `kube-system` namespace.
    
    Learn more about:
    Registered: 2024-06-15 01:39
    - Last Modified: 2020-08-13 20:03
    - 596 bytes
    - Viewed (0)
  9. pkg/registry/core/rest/storage_core_test.go

    	return nil, nil
    }
    
    func (f fakeStorageFactory) ResourcePrefix(groupResource schema.GroupResource) string {
    	return ""
    }
    
    func (f fakeStorageFactory) Backends() []storage.Backend {
    	return []storage.Backend{{Server: "etcd-0"}}
    }
    
    func (f fakeStorageFactory) Configs() []storagebackend.Config {
    	return []storagebackend.Config{{Transport: storagebackend.TransportConfig{ServerList: []string{"etcd-0"}}}}
    Registered: 2024-06-15 01:39
    - Last Modified: 2023-06-13 08:10
    - 1.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/etcd.go

    func (s *SimpleStorageFactory) Configs() []storagebackend.Config {
    	return serverstorage.Configs(s.StorageConfig)
    }
    
    func (s *SimpleStorageFactory) Backends() []serverstorage.Backend {
    	// nothing should ever call this method but we still provide a functional implementation
    	return serverstorage.Backends(s.StorageConfig)
    }
    
    var _ serverstorage.StorageFactory = &transformerStorageFactory{}
    
    type transformerStorageFactory struct {
    Registered: 2024-06-15 01:39
    - Last Modified: 2024-04-18 15:02
    - 20K bytes
    - Viewed (0)
Back to top