- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for joinData (0.1 sec)
-
cmd/kubeadm/app/cmd/phases/join/controlplanejoin.go
Run: runMarkControlPlanePhase, InheritFlags: getControlPlaneJoinPhaseFlags("mark-control-plane"), ArgsValidator: cobra.NoArgs, } } func runEtcdPhase(c workflow.RunData) error { data, ok := c.(JoinData) if !ok { return errors.New("control-plane-join phase invoked with an invalid data struct") } if data.Cfg().ControlPlane == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 03:09:42 UTC 2024 - 5.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/kubelet.go
options.Patches, options.DryRun, }, } } func getKubeletStartJoinData(c workflow.RunData) (*kubeadmapi.JoinConfiguration, *kubeadmapi.InitConfiguration, *clientcmdapi.Config, error) { data, ok := c.(JoinData) if !ok { return nil, nil, nil, errors.New("kubelet-start phase invoked with an invalid data struct") } cfg := data.Cfg() initCfg, err := data.InitCfg() if err != nil { return nil, nil, nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 10.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/preflight.go
options.TokenDiscoverySkipCAHash, options.CertificateKey, options.DryRun, }, } } // runPreflight executes preflight checks logic. func runPreflight(c workflow.RunData) error { j, ok := c.(JoinData) if !ok { return errors.New("preflight phase invoked with an invalid data struct") } fmt.Println("[preflight] Running pre-flight checks") // Start with general checks
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 03:55:23 UTC 2024 - 5.3K bytes - Viewed (0) -
src/go/build/build.go
// If OpenFile is nil, Import uses os.Open. OpenFile func(path string) (io.ReadCloser, error) } // joinPath calls ctxt.JoinPath (if not nil) or else filepath.Join. func (ctxt *Context) joinPath(elem ...string) string { if f := ctxt.JoinPath; f != nil { return f(elem...) } return filepath.Join(elem...) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc
inputs.emplace_back("max", 0, DT_FLOAT); inputs.emplace_back("histogram", 0, DT_INT64); const std::string dir = testing::TmpDir(); const std::string output_file_path = io::JoinPath(dir, "statistics.pbtxt"); TF_CHECK_OK(NodeDefBuilder("op", "CalibrationStatisticsSaver") .Input(inputs) .Attr("ids", ids)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 01:31:23 UTC 2024 - 11.4K bytes - Viewed (0) -
src/syscall/fs_wasip1.go
} preopens = append(preopens, opendir{ fd: preopenFd, name: string(dirNameBuf[:prestat.dir.prNameLen]), }) } if cwd, _ = Getenv("PWD"); cwd != "" { cwd = joinPath("/", cwd) } else if len(preopens) > 0 { cwd = preopens[0].name } } // Provided by package runtime. func now() (sec int64, nsec int32) //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24.1K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/controller.cc
for (const auto& op : op_list_.op()) { for (const auto& dir : path_config_.api_dirs) { const string file_name = absl::Substitute("api_def_$0.pbtxt", op.name()); const string file_path = io::JoinPath(dir, file_name); if (env_->FileExists(file_path).ok()) { TF_CHECK_OK(api_def_map_->LoadFile(env_, file_path)) << file_path; } else { // API defs are currently used for only optional pieces.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/statistics.cc
for (const std::string& statistics_file : statistics_files) { TF_ASSIGN_OR_RETURN( const auto single_map, io::ReadBinaryProto<CalibrationStatisticsMap>( tsl::io::JoinPath(calibration_data_dir, statistics_file))); statistics_map.insert(single_map.statistics().begin(), single_map.statistics().end()); } return statistics_map; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/go/internal/modindex/read.go
pkga = pkgtargetroot + "/" + p.ImportPath + ".a" } p.SrcRoot = ctxt.joinPath(p.Root, "src") p.PkgRoot = ctxt.joinPath(p.Root, "pkg") p.BinDir = ctxt.joinPath(p.Root, "bin") if pkga != "" { // Always set PkgTargetRoot. It might be used when building in shared // mode. p.PkgTargetRoot = ctxt.joinPath(p.Root, pkgtargetroot) // Set the install target if applicable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
src/net/url/url.go
} } return false } // JoinPath returns a [URL] string with the provided path elements joined to // the existing path of base and the resulting path cleaned of any ./ or ../ elements. func JoinPath(base string, elem ...string) (result string, err error) { url, err := Parse(base) if err != nil { return } result = url.JoinPath(elem...).String() return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 36.1K bytes - Viewed (0)