Add New functions to initialize cmds and cmpnent

This CL added New functions to commands.go and components.go in order
for other packages to initialize unexported fields of command and
components struct from the profiler package.

Change-Id: If9b5086b4593a91d9f51d6a5cd58f5590140803a
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/19170
Reviewed-by: Dexter Rivera <riverade@google.com>
Tested-by: Dexter Rivera <riverade@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
2 files changed
tree: 3ff522219022506de215af3c805669f91a732717
  1. BUILD.bazel
  2. CONTRIBUTING.md
  3. LICENSE
  4. README.md
  5. WORKSPACE
  6. cloudbuild.yaml
  7. deps.bzl
  8. go.mod
  9. go.sum
  10. release/
  11. run_tests.sh
  12. src/
  13. testing/
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.