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. release/
  2. src/
  3. testing/
  4. BUILD.bazel
  5. cloudbuild.yaml
  6. CONTRIBUTING.md
  7. deps.bzl
  8. go.mod
  9. go.sum
  10. LICENSE
  11. README.md
  12. run_tests.sh
  13. WORKSPACE
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.