cmd/

directory
v0.0.0-...-9febfc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2025 License: BSD-3-Clause

Directories

Path Synopsis
test
Package test defines a branch_util-specific test harness.
Package test defines a branch_util-specific test harness.
Package main includes the main function for running btpeer_manager as an executable.
Package main includes the main function for running btpeer_manager as an executable.
cmd
Package cmd defines the CLI for btpeer_manager.
Package cmd defines the CLI for btpeer_manager.
cmd/chameleond
Package chameleond defines commands related to managing chameleond on btpeers.
Package chameleond defines commands related to managing chameleond on btpeers.
cmd/chameleond/release
Package release provides commands for managing chameleond releases for btpeers.
Package release provides commands for managing chameleond releases for btpeers.
cmd/chameleond/release/config
Package config defines the "config" subcommand.
Package config defines the "config" subcommand.
cmd/common
Package common provides prompts functions for btpeer_manager commands.
Package common provides prompts functions for btpeer_manager commands.
cmd/image
Package image provides commands for managing images on btpeers.
Package image provides commands for managing images on btpeers.
cmd/image/release
Package release provides commands for managing btpeer image releases for btpeers.
Package release provides commands for managing btpeer image releases for btpeers.
cmd/image/release/config
Package config defines the "config" subcommand.
Package config defines the "config" subcommand.
dirs
Package dirs defines the working and source directories used by btpeer_manager.
Package dirs defines the working and source directories used by btpeer_manager.
fileutils
Package fileutils defines generic file utilities.
Package fileutils defines generic file utilities.
log
Package log contains logging utilities for btpeer_manager.
Package log contains logging utilities for btpeer_manager.
release/chameleond
Package chameleond provides commands for managing chameleond releases for btpeers.
Package chameleond provides commands for managing chameleond releases for btpeers.
release/image
Package image provides commands for managing release images on btpeers.
Package image provides commands for managing release images on btpeers.
caching-backend
conf-creator
This package creates the configuration files for nginx and keepalived used in the caching backend in Chrome OS fleet labs.
This package creates the configuration files for nginx and keepalived used in the caching backend in Chrome OS fleet labs.
cft
base-adb
Package main implements main function to start CLI.
Package main implements main function to start CLI.
base-adb/internal/cli
Package cli implement cli execution of adb-service API.
Package cli implement cli execution of adb-service API.
base-adb/internal/parser
Package parser parses input data to target Runners.
Package parser parses input data to target Runners.
base-adb/internal/runner
Package runner provides tool to run blocking ADB commands and provide output.
Package runner provides tool to run blocking ADB commands and provide output.
base-adb/internal/server
Package server implement adb-service API.
Package server implement adb-service API.
base-adb/internal/version
Package version provides runner for version of CLI.
Package version provides runner for version of CLI.
cros-test-finder/test_finder
Package test_finder implements the cros-test-finder for finding tests based on tags.
Package test_finder implements the cros-test-finder for finding tests based on tags.
dut/cros-dut
Package main implements the cros-dut for interfacing with the DUT.
Package main implements the cros-dut for interfacing with the DUT.
dut/cros-servod
Package main implements the cros-servod for starting/stopping servod daemon and sending commands to it to control and test DUTs via servo hardware by simulating user actions such as power on/off, flashing of firmware/OS, screen close, etc.
Package main implements the cros-servod for starting/stopping servod daemon and sending commands to it to control and test DUTs via servo hardware by simulating user actions such as power on/off, flashing of firmware/OS, screen close, etc.
dut/cros-servod/cli
Package cli implements the cros-servod for starting/stopping servod daemon and sending commands to it to control and test DUTs via servo hardware by simulating user actions such as power on/off, flashing of firmware/OS, screen close, etc.
Package cli implements the cros-servod for starting/stopping servod daemon and sending commands to it to control and test DUTs via servo hardware by simulating user actions such as power on/off, flashing of firmware/OS, screen close, etc.
dut/cros-servod/mock_commandexecutor
Package mock_commandexecutor is a generated GoMock package.
Package mock_commandexecutor is a generated GoMock package.
dut/cros-servod/mock_servod_client
Package mock_servod_client generate servod service request to test the servod server.
Package mock_servod_client generate servod service request to test the servod server.
dut/cros-servod/model
The model package holds the data model that is common to multiple packages in the project.
The model package holds the data model that is common to multiple packages in the project.
dut/cros-servod/servod
Package servod provides functions to manage connection and communication with servod daemon on servo-host.
Package servod provides functions to manage connection and communication with servod daemon on servo-host.
dut/cros-servod/servodserver
Package servodserver implements servod_service.proto (see proto for details)
Package servodserver implements servod_service.proto (see proto for details)
dut/cros-servod/ssh
Package ssh helps manage a pool of SSH clients.
Package ssh helps manage a pool of SSH clients.
dut/cros-servod/xmlrpc
Package xmlrpc implements the XML-RPC client library.
Package xmlrpc implements the XML-RPC client library.
execution/cros-test/cli
Package cli implements the executionservice for running tests.
Package cli implements the executionservice for running tests.
execution/cros-test/internal/common
Package common provide command utilities and variables for all components in cros-test to use.
Package common provide command utilities and variables for all components in cros-test to use.
execution/cros-test/internal/device
Package device implements utilities to extract device information.
Package device implements utilities to extract device information.
execution/cros-test/internal/driver
Package driver implements drivers to execute tests.
Package driver implements drivers to execute tests.
execution/cros-test/internal/tastrpc
Package tastrpc provides the Tast related RPC services by cros-test.
Package tastrpc provides the Tast related RPC services by cros-test.
execution/cros-test/internal/tautoresults
Package tautoresults provides test results for Tauto.
Package tautoresults provides test results for Tauto.
publish/ants-publish/cli
Package cli represents commands to run for ants-publish.
Package cli represents commands to run for ants-publish.
publish/ants-publish/server
Package server implements a GRPC Server.
Package server implements a GRPC Server.
publish/ants-publish/service
Package service provides the API handlers for ants publish.
Package service provides the API handlers for ants publish.
Command common-tls implements the shared high level test lab services (TLS) API.
Command common-tls implements the shared high level test lab services (TLS) API.
common_lib
analytics
Package analytics defines all analytics tooling.
Package analytics defines all analytics tooling.
android_api
Package androidapi provides library functions for interating with Android One platform APIs go/ants-api#one-platform
Package androidapi provides library functions for interating with Android One platform APIs go/ants-api#one-platform
android_api/mocks
Package mock_androidapi is a generated GoMock package.
Package mock_androidapi is a generated GoMock package.
ants/androidbuildinternal/v3
Package androidbuildinternal provides access to the Internal Android Build API.
Package androidbuildinternal provides access to the Internal Android Build API.
ants/gensupport
Package gensupport is an internal implementation detail used by code generated by the google-api-go-generator tool.
Package gensupport is an internal implementation detail used by code generated by the google-api-go-generator tool.
common
Code generated file.
Code generated file.
commonbuilders
Package commonbuilders defines common builders.
Package commonbuilders defines common builders.
commoncommands
Package commoncommands stores some command commands ran by ctpv2/filters.
Package commoncommands stores some command commands ran by ctpv2/filters.
commonconfigs
Package commonconfigs defines common configurations.
Package commonconfigs defines common configurations.
commonexecutors
Package commonexecutors contains the definitions of the commonly used executors.
Package commonexecutors contains the definitions of the commonly used executors.
containers
Package containers defines all container types.
Package containers defines all container types.
dynamicupdates
Package dynamicupdates defines the tooling around dynamic updates.
Package dynamicupdates defines the tooling around dynamic updates.
dynamicupdates/finders
Package finders defines dynamic finders.
Package finders defines dynamic finders.
dynamicupdates/resolver
Package resolver defines dynamic resolvers.
Package resolver defines dynamic resolvers.
dynamicupdates/updaters
Package updaters defines updates for dynamic requests.
Package updaters defines updates for dynamic requests.
interfaces
Package interfaces defines the common interface types.
Package interfaces defines the common interface types.
schedulers
Package schedulers contains implementations of the scheduler interface.
Package schedulers contains implementations of the scheduler interface.
tools/crostoolrunner
Package crostoolrunner includes all CTR logic.
Package crostoolrunner includes all CTR logic.
tools/outputprops
Package outputprops sets up the infrastructure to write custom types to the LUCIEXE output properties.
Package outputprops sets up the infrastructure to write custom types to the LUCIEXE output properties.
tools/rdb
Package rdb implements all rdb commands needed in the TSE environment.
Package rdb implements all rdb commands needed in the TSE environment.
tools/suitelimits
Package suitelimits implements the tooling to limit CTP requests to 3 DUT hours in total.
Package suitelimits implements the tooling to limit CTP requests to 3 DUT hours in total.
tools/ufs
Package ufs provides option to build connection to UFS service & invoke it's endpoints.
Package ufs provides option to build connection to UFS service & invoke it's endpoints.
cli
Package cli is responsible for the abstraction layer representing each command grouping
Package cli is responsible for the abstraction layer representing each command grouping
executions
Package executions contains the various executions for the uprev service.
Package executions contains the various executions for the uprev service.
internal
Package internal contains the internals of the uprev service.
Package internal contains the internals of the uprev service.
internal/preppers
Package preppers contains preppers for configured containers.
Package preppers contains preppers for configured containers.
cros-tool-runner is handling requests and run corresponding tools at various stages of build/test workflow.
cros-tool-runner is handling requests and run corresponding tools at various stages of build/test workflow.
internal/docker
Package docker provide abstaraction to pull/start/stop/remove docker image.
Package docker provide abstaraction to pull/start/stop/remove docker image.
internal/libsserver
Package libserver implements the test_libs_service.proto (see proto for details)
Package libserver implements the test_libs_service.proto (see proto for details)
internal/preprocess
Package preprocess to interface with pre-process.
Package preprocess to interface with pre-process.
internal/provision
Package provision run provisioning for DUT.
Package provision run provisioning for DUT.
internal/testexec
Package testexec runs tests.
Package testexec runs tests.
internal/testfinder
Package testfinder find tests by using cros-test-finder.
Package testfinder find tests by using cros-test-finder.
internal/v2/commands
Package commands hosts all CLI commands CTRv2 interacts with.
Package commands hosts all CLI commands CTRv2 interacts with.
internal/v2/templates
Package templates defines the container templates
Package templates defines the container templates
cli
Responsible for the abstraction layer representing each command grouping
Responsible for the abstraction layer representing each command grouping
service
Plain Old Go Object for persisting Server information
Plain Old Go Object for persisting Server information
cli
Responsible for the abstraction layer representing each command grouping
Responsible for the abstraction layer representing each command grouping
internal/mocked_services
Package mocked_services is a generated GoMock package.
Package mocked_services is a generated GoMock package.
service
Plain Old Go Object for persisting Server information
Plain Old Go Object for persisting Server information
cli
Package cli is responsible for the abstraction layer representing each command grouping
Package cli is responsible for the abstraction layer representing each command grouping
data
Package data handles data.
Package data handles data.
executions
Package executions stores the infrastructure to run the CTPv2 builder.
Package executions stores the infrastructure to run the CTPv2 builder.
internal/commands
Package commands contains the definitions for all commands used in CTPv2.
Package commands contains the definitions for all commands used in CTPv2.
internal/configs
Package configs contains the definitions and storage of command configs.
Package configs contains the definitions and storage of command configs.
internal/executors
Package executors defines the base executors type.
Package executors defines the base executors type.
ctpv2-filters
partner-staging/moblab
Use of Context
Use of Context
partner-staging/site
Package site provides service account pathing.
Package site provides service account pathing.
partner-staging/tools
Package tools provides tooling for staging builds through moblab.
Package tools provides tooling for staging builds through moblab.
pre_process_filter
Package main implements the pre-process-filter for finding tests based on tags.
Package main implements the pre-process-filter for finding tests based on tags.
test-finder/common
Package common is the common package.
Package common is the common package.
test-finder/finders
Package finders contains the implementations of the abstract finder interface.
Package finders contains the implementations of the abstract finder interface.
test-finder/service
Package service implements the logic of test-finder.
Package service implements the logic of test-finder.
Command fleet-tlw implements the TLS wiring API for Chrome OS fleet labs.
Command fleet-tlw implements the TLS wiring API for Chrome OS fleet labs.
internal/site
Package site contains site local constants for the qscheduler tool.
Package site contains site local constants for the qscheduler tool.
k8s-management
app-roller
Command app-roller generates latest application YAML file and applies it to the K8s cluster.
Command app-roller generates latest application YAML file and applies it to the K8s cluster.
app-roller/internal/changelog
Package changelog implements a K8s resource change logging on contexts.
Package changelog implements a K8s resource change logging on contexts.
liveness-checker
command liveness-checker checks the specified service endpoints with expectations and sent th result to Monarch.
command liveness-checker checks the specified service endpoints with expectations and sent th result to Monarch.
tag-manager
Command tag-manager scans registered container repo and updates image tags based on defined policies.
Command tag-manager scans registered container repo and updates image tags based on defined policies.
tag-manager/internal/image
Package image provides functions to operate on container images efficiently.
Package image provides functions to operate on container images efficiently.
buildbucket
Package buildbucket implements the interface required to schedule builder requests on the LUCI BuildBucket architecture.
Package buildbucket implements the interface required to schedule builder requests on the LUCI BuildBucket architecture.
builds
Package builds fetches and handles the build image information from the release team.
Package builds fetches and handles the build image information from the release team.
cloudsql
Package cloudsql implements the interface to interact with the Cloud SQL API.
Package cloudsql implements the interface to interact with the Cloud SQL API.
common
Package common has utilities that are not context specific and can be used by all packages.
Package common has utilities that are not context specific and can be used by all packages.
configparser
Package configparser implements logic to handle SuiteScheduler configuration files.
Package configparser implements logic to handle SuiteScheduler configuration files.
ctprequest
Package ctprequest will build and return a CTP request to be handled by the CTP BuildBucket builder.
Package ctprequest will build and return a CTP request to be handled by the CTP BuildBucket builder.
metrics
Package metrics holds all the schemas and utilities to handle metrics for Kron.
Package metrics holds all the schemas and utilities to handle metrics for Kron.
pubsub
Package pubsub wraps all the pubsub API interactions that will be required by SuiteScheduler.
Package pubsub wraps all the pubsub API interactions that will be required by SuiteScheduler.
run
Package run holds all of the internal logic for the execution steps of a SuiteScheduler run.
Package run holds all of the internal logic for the execution steps of a SuiteScheduler run.
secretmanager
Package secretmanager creates an interface for working with the GCP SecretManager API.
Package secretmanager creates an interface for working with the GCP SecretManager API.
subcommands
Package subcommands includes subcommand logic that will be used for the CLI front end.
Package subcommands includes subcommand logic that will be used for the CLI front end.
totmanager
Package totmanager encapsulates all the required functions for ensuring tot mapping rules are followed.
Package totmanager encapsulates all the required functions for ensuring tot mapping rules are followed.
The labpack program allows to run repair tasks f5or ChromeOS devices in the lab.
The labpack program allows to run repair tasks f5or ChromeOS devices in the lab.
cft
Package cft initialize CTR service to manage CFT containers.
Package cft initialize CTR service to manage CFT containers.
internal/site
Package site contains variables and general purpose utilities related to the labpack command line tool.
Package site contains variables and general purpose utilities related to the labpack command line tool.
internal/tlw
Package tlw defines a tlw.Access instance that represents access to named resources in the lab such as DUTs.
Package tlw defines a tlw.Access instance that represents access to named resources in the lab such as DUTs.
logger
Package logger creates a log stream for the labpack executable.
Package logger creates a log stream for the labpack executable.
Command labservice implements the Chrome OS Lab Service.
Command labservice implements the Chrome OS Lab Service.
api
Package api contains the generated protobufs and gRPC services for labservice.
Package api contains the generated protobufs and gRPC services for labservice.
internal/log
Package log adds an internal logging API.
Package log adds an internal logging API.
internal/ufs
Package ufs is a labservice internal package that contains types and functions related to UFS interaction.
Package ufs is a labservice internal package that contains types and functions related to UFS interaction.
internal/ufs/cache
Package cache provides functionality to map DUTs to caching servers.
Package cache provides functionality to map DUTs to caching servers.
internal/ufs/wifisecret
Package wifisecret provides functionality to map DUTs to a wifi secret.
Package wifisecret provides functionality to map DUTs to a wifi secret.
labtunnel is a service listens on specified local ports and forward the traffic to the specified remote device (DUT, labstation, etc.) in a on-prem lab via the lab proxy server.
labtunnel is a service listens on specified local ports and forward the traffic to the specified remote device (DUT, labstation, etc.) in a on-prem lab via the lab proxy server.
Command lucifer runs tests and admin tasks.
Command lucifer runs tests and admin tasks.
internal/abortsock
Package abortsock implements abort sockets.
Package abortsock implements abort sockets.
internal/annotations
Package annotations provides a basic API for writing annotation lines that annotee can parse and turn into LogDog annotations.
Package annotations provides a basic API for writing annotation lines that annotee can parse and turn into LogDog annotations.
internal/api
Package api contains the interface that Lucifer uses to talk to the outside world.
Package api contains the interface that Lucifer uses to talk to the outside world.
internal/autotest
Package autotest provides a Go API for interacting with Autotest.
Package autotest provides a Go API for interacting with Autotest.
internal/autotest/atutil
Package atutil provides a higher level Autotest interface than the autotest package.
Package atutil provides a higher level Autotest interface than the autotest package.
internal/autotest/dutprep
Package dutprep contains functions helpful in interaction with the Autotest DUT preparation tool.
Package dutprep contains functions helpful in interaction with the Autotest DUT preparation tool.
internal/event
Package event standardizes communication of events from Lucifer commands.
Package event standardizes communication of events from Lucifer commands.
internal/flagx
Package flagx contains extra utilities to complement the flag package.
Package flagx contains extra utilities to complement the flag package.
internal/logdog
Package logdog provide an interface for writing LogDog logs.
Package logdog provide an interface for writing LogDog logs.
internal/osutil
Package osutil contains high-level utility functions for operating system functionality.
Package osutil contains high-level utility functions for operating system functionality.
Command cros-admin is the Chrome OS infrastructure admin tool.
Command cros-admin is the Chrome OS infrastructure admin tool.
internal/cmdlib
Package cmdlib contains common base tool.
Package cmdlib contains common base tool.
internal/site
Package site contains site local constants for the paris tool.
Package site contains site local constants for the paris tool.
Command autotest_status_parser extracts individual test case results from status.log.
Command autotest_status_parser extracts individual test case results from status.log.
internal/autotest
Package autotest provides a Go API for interacting with Autotest.
Package autotest provides a Go API for interacting with Autotest.
internal/autotest/atutil
Package atutil provides a higher level Autotest interface than the autotest package.
Package atutil provides a higher level Autotest interface than the autotest package.
internal/botcache
Package botcache provides an interface to interact with data cached in a swarming bot corresponding to a Chrome OS DUT.package botcache
Package botcache provides an interface to interact with data cached in a swarming bot corresponding to a Chrome OS DUT.package botcache
internal/osutil
Package osutil contains high-level utility functions for operating system functionality.
Package osutil contains high-level utility functions for operating system functionality.
internal/parallels
Package parallels contains commands used in the build_parallels_image recipe.
Package parallels contains commands used in the build_parallels_image recipe.
internal/skylab_local_state/inv
Package inv provides option to build connection to Inventory server service.
Package inv provides option to build connection to Inventory server service.
internal/skylab_local_state/location
Package location provides utils for manipulating local file paths and URLs.
Package location provides utils for manipulating local file paths and URLs.
internal/skylab_local_state/ufs
Package ufs provides option t build connection to UFS service.
Package ufs provides option t build connection to UFS service.
internal/tls
Package tls provides utilities to manage a Test Library Services server running in the background for a phosphorus command.
Package tls provides utilities to manage a Test Library Services server running in the background for a phosphorus command.
Application prototype-rts is a local demo Remote Test Server.
Application prototype-rts is a local demo Remote Test Server.
Command dev-tlw implements the TLS wiring API for development convenience.
Command dev-tlw implements the TLS wiring API for development convenience.
Command result_flow implements the result flow recipe's steps.
Command result_flow implements the result flow recipe's steps.
internal/bb
Package bb implements a BuildBucket.Client using calls to BuildBucket.
Package bb implements a BuildBucket.Client using calls to BuildBucket.
internal/site
Package site contains site local constants for the Result Flow.
Package site contains site local constants for the Result Flow.
internal/transform
Package transform contains tools for transforming CTP build to test_platform/analytics/TestPlanRun proto.
Package transform contains tools for transforming CTP build to test_platform/analytics/TestPlanRun proto.
server
Package server implements the suite_manager grpc service.
Package server implements the suite_manager grpc service.
internal/bqsuites
Package bqsuites provides a common interface for publishing Suites and SuiteSets to BigQuery.
Package bqsuites provides a common interface for publishing Suites and SuiteSets to BigQuery.
internal/parse
Package parse implements parsing of proto files for Centralized Suites and SuiteSets
Package parse implements parsing of proto files for Centralized Suites and SuiteSets
internal/suite
Package suite defines interfaces for abstracting the fields of a Suite or SuiteSet.
Package suite defines interfaces for abstracting the fields of a Suite or SuiteSet.
test
Package test holds some helper functions for testing.
Package test holds some helper functions for testing.
Package main implements a distributed worker model for uploading debug symbols to the crash service.
Package main implements a distributed worker model for uploading debug symbols to the crash service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL