- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for joinData (0.43 sec)
-
cmd/kubeadm/app/cmd/join.go
} // compile-time assert that the local data object satisfies the phases data interface. var _ phases.JoinData = &joinData{} // joinData defines all the runtime information used when running the kubeadm join workflow; // this data is shared across all the phases that are included in the workflow. type joinData struct { cfg *kubeadmapi.JoinConfiguration initCfg *kubeadmapi.InitConfiguration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 15:33:38 UTC 2024 - 25.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/join_test.go
// Join data passed using config file { name: "Pass with config from file", flags: map[string]string{ options.CfgPath: configFilePath, }, validate: func(t *testing.T, data *joinData) { validData := &joinData{ cfg: &kubeadmapi.JoinConfiguration{ TypeMeta: metav1.TypeMeta{Kind: "", APIVersion: ""}, NodeRegistration: kubeadmapi.NodeRegistrationOptions{ Name: "somename",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 12:26:20 UTC 2024 - 12.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) -
tensorflow/cc/saved_model/saved_model_bundle_test.cc
void ValidateAssets(const string& export_dir, const SavedModelBundle& bundle) { const string asset_directory = io::JoinPath(export_dir, kSavedModelAssetsDirectory); const string asset_filename = "foo.txt"; const string asset_filepath = io::JoinPath(asset_directory, asset_filename); TF_EXPECT_OK(Env::Default()->FileExists(asset_filepath)); std::vector<Tensor> path_outputs; TF_ASSERT_OK(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 15.3K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_utils_test.cc
field_tags_sub.Add()->set_field(6); EXPECT_THAT(fieldTagMatches(field_tags_sub, field_tags), IsOkAndHolds(4)); } TEST(FingerprintingTest, TestPruneChunkedMessageSingleTarget) { std::string cpb_file = io::JoinPath( TensorFlowSrcRoot(), "tools/proto_splitter/testdata", "many-field.cpb"); TF_ASSERT_OK_AND_ASSIGN(auto reader, GetRiegeliReader(cpb_file)); auto read_metadata = GetChunkMetadata(reader);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 15.2K bytes - Viewed (0) -
tensorflow/cc/saved_model/loader.cc
} bool MaybeSavedModelDirectory(const string& export_dir) { const string saved_model_pb_path = io::JoinPath(export_dir, kSavedModelFilenamePb); const string saved_model_cpb_path = io::JoinPath(export_dir, kSavedModelFilenameCpb); const string saved_model_pbtxt_path = io::JoinPath(export_dir, kSavedModelFilenamePbTxt); return Env::Default()->FileExists(saved_model_pb_path).ok() ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 04:36:00 UTC 2024 - 23K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
EXPECT_TF_OK(status_); const std::string file = io::JoinPath(base, "TestFile.csv"); WriteString(file, "test"); EXPECT_TF_OK(status_); const std::string subdir = io::JoinPath(base, "SubDir"); tf_gcs_filesystem::CreateDir(filesystem_, subdir.c_str(), status_); EXPECT_TF_OK(status_); const std::string subfile = io::JoinPath(subdir, "TestSubFile.csv"); WriteString(subfile, "test");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 31 12:04:23 UTC 2020 - 24.9K 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) -
tensorflow/cc/saved_model/fingerprinting.cc
using ::tensorflow::protobuf::io::StringOutputStream; // TODO(b/290063184): remove when USM is GA uint64_t HashCheckpointIndexFile(absl::string_view model_dir) { std::string meta_filename = MetaFilename(io::JoinPath( model_dir, kSavedModelVariablesDirectory, kSavedModelVariablesFilename)); std::string data; absl::Status read_status = ReadFileToString(Env::Default(), meta_filename, &data); if (read_status.ok()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 26 00:24:44 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/debug/debug.cc
// reproducer will not be enabled. mlir::ReproducerStreamFactory GetReproducerStreamFactory( absl::string_view dump_dir) { std::string path = tsl::io::JoinPath(dump_dir, "tfl_mlir_crash_repro.mlir"); return [path = std::move(path)]( std::string& error) -> std::unique_ptr<mlir::ReproducerStream> { std::unique_ptr<tsl::WritableFile> file;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 10 02:44:52 UTC 2024 - 11.8K bytes - Viewed (0)