- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getOrCreate (0.11 sec)
-
pkg/kubelet/cm/dra/state/state_checkpoint.go
"k8s.io/kubernetes/pkg/kubelet/checkpointmanager/errors" ) var _ CheckpointState = &stateCheckpoint{} // CheckpointState interface provides to get and store state type CheckpointState interface { GetOrCreate() (ClaimInfoStateList, error) Store(ClaimInfoStateList) error } // ClaimInfoState is used to store claim info state in a checkpoint // +k8s:deepcopy-gen=true type ClaimInfoState struct { // Name of the DRA driver
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:27 UTC 2024 - 4.3K bytes - Viewed (0) -
pkg/kubelet/cm/dra/claiminfo.go
if err != nil { return nil, fmt.Errorf("could not initialize checkpoint manager, please drain node and remove dra state file, err: %+v", err) } curState, err := stateImpl.GetOrCreate() if err != nil { return nil, fmt.Errorf("error calling GetOrCreate() on checkpoint state: %v", err) } cache := &claimInfoCache{ state: stateImpl, claimInfo: make(map[string]*ClaimInfo), }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:31 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor.cc
config.ordinal = ordinal; return GetExecutor(config); } absl::StatusOr<StreamExecutor*> CPlatform::GetExecutor( const StreamExecutorConfig& config) { return executor_cache_.GetOrCreate( config, [&]() { return GetUncachedExecutor(config); }); } absl::StatusOr<std::unique_ptr<StreamExecutor>> CPlatform::GetUncachedExecutor( const StreamExecutorConfig& config) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 27.1K bytes - Viewed (0) -
cmd/erasure-server-pool.go
// object SparkJSONRead { // def main(args: Array[String]): Unit = { // val spark:SparkSession = SparkSession.builder() // .appName("SparkByExample") // .master("local[1]").getOrCreate() // // spark.sparkContext.setLogLevel("ERROR") // spark.sparkContext.hadoopConfiguration.set("fs.s3a.endpoint", "http://minio-lb:9000")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 82.5K bytes - Viewed (0)