- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for registerapi (0.28 sec)
-
pkg/kubelet/pluginmanager/pluginwatcher/example_plugin.go
registrationStatus: make(chan registerapi.RegistrationStatus), } } // GetPluginInfo returns a PluginInfo object func GetPluginInfo(plugin *examplePlugin) cache.PluginInfo { return cache.PluginInfo{ SocketPath: plugin.endpoint, } } // GetInfo is the RPC invoked by plugin watcher func (e *examplePlugin) GetInfo(ctx context.Context, req *registerapi.InfoRequest) (*registerapi.PluginInfo, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 10 07:44:16 UTC 2021 - 5K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/reconciler/reconciler_test.go
dsw, asw, ) reconciler.AddHandler(registerapi.DevicePlugin, cache.PluginHandler(di)) // Start the reconciler to fill ASW. stopChan := make(chan struct{}) defer close(stopChan) go reconciler.Run(stopChan) socketPath := filepath.Join(socketDir, "plugin.sock") pluginName := fmt.Sprintf("example-plugin") p := pluginwatcher.NewTestExamplePlugin(pluginName, registerapi.DevicePlugin, socketPath, supportedVersions...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:21:15 UTC 2024 - 10.5K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go
return nil } return unregisterPluginFunc } func (og *operationGenerator) notifyPlugin(client registerapi.RegistrationClient, registered bool, errStr string) error { ctx, cancel := context.WithTimeout(context.Background(), notifyTimeoutDuration) defer cancel() status := ®isterapi.RegistrationStatus{ PluginRegistered: registered, Error: errStr, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:21:15 UTC 2024 - 7.1K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/plugin_manager_test.go
"reflect" "strconv" "sync" "testing" "time" "github.com/stretchr/testify/require" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/tools/record" registerapi "k8s.io/kubelet/pkg/apis/pluginregistration/v1" "k8s.io/kubernetes/pkg/kubelet/config" "k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher" ) var ( socketDir string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 4.4K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_test.go
package pluginwatcher import ( "flag" "fmt" "os" "path/filepath" "sync" "testing" "time" "github.com/stretchr/testify/require" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/klog/v2" registerapi "k8s.io/kubelet/pkg/apis/pluginregistration/v1" "k8s.io/kubernetes/pkg/kubelet/pluginmanager/cache" ) var ( supportedVersions = []string{"v1beta1", "v1beta2"} ) func init() { var logLevel string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 04 06:56:50 UTC 2023 - 8K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/pluginwatcher/example_handler.go
package pluginwatcher import ( "context" "errors" "fmt" "net" "reflect" "sync" "time" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" "k8s.io/klog/v2" registerapi "k8s.io/kubelet/pkg/apis/pluginregistration/v1" "k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta1" "k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 12:00:49 UTC 2023 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.cc
dialect.addOperations< #define GET_OP_LIST #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.cc.inc" >(); } void RegisterOps() { TF_DIALECT_REGISTER_ADDITIONAL_OPERATIONS(RegisterOpsHook); } static auto kRegistration = (RegisterOps(), true); } // namespace quant
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 24 12:48:34 UTC 2022 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.h
#define GET_OP_CLASSES #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.h.inc" namespace mlir { namespace quant { // Function to register TensorFlow Uniform Quantized ops. void RegisterOps(); } // namespace quant } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 29 08:20:46 UTC 2022 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc
stablehlo::registerAllDialects(registry); registry.insert<mlir::func::FuncDialect, mlir::tf_type::TFTypeDialect, mlir::quant::QuantizationDialect>(); mlir::quant::RegisterOps(); MLIRContext context(registry); context.loadAllAvailableDialects(); llvm::SourceMgr source_mgr; SourceMgrDiagnosticHandler sourceMgrHandler(source_mgr, &context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:16:49 UTC 2024 - 14.1K bytes - Viewed (0)