Directories
¶
Path | Synopsis |
---|---|
api
|
|
bigquery
Package bqpb is the generated bigquery protos for the fleet cost service.
|
Package bqpb is the generated bigquery protos for the fleet cost service. |
bigquery/bqvaluesavers
Package bqvaluesavers wraps saveable-to-bigquery proto types so that we don't have to put methods on the proto message, which is bad style.
|
Package bqvaluesavers wraps saveable-to-bigquery proto types so that we don't have to put methods on the proto message, which is bad style. |
models
Package fleetcostpb is the generated protos for the fleet cost service.
|
Package fleetcostpb is the generated protos for the fleet cost service. |
rpc
Package fleetcostpb is the generated protos for the fleet cost service.
|
Package fleetcostpb is the generated protos for the fleet cost service. |
cmd
|
|
fleetcost/cli
Package cli contains the fleet cost CLI.
|
Package cli contains the fleet cost CLI. |
fleetcostserver
Package main is the entrypoint to the fleet cost server.
|
Package main is the entrypoint to the fleet cost server. |
fleetcostserver/serverlib
Package serverlib contains the main server loop and the modules used.
|
Package serverlib contains the main server loop and the modules used. |
internal
|
|
commands
Package commands contains the implementation of commands for the fleetcost command line tool.
|
Package commands contains the implementation of commands for the fleetcost command line tool. |
costserver
Package costserver contains the implementation of the RPCs for the fleet cost server.
|
Package costserver contains the implementation of the RPCs for the fleet cost server. |
costserver/controller
Package controller contains main business logic of the cost service.
|
Package controller contains main business logic of the cost service. |
costserver/entities
Package entities contains the datastore entities and handles datestore manipulation.
|
Package entities contains the datastore entities and handles datestore manipulation. |
costserver/fakeufsdata
Package fakeufsdata contains fake UFS data to be used in tests.
|
Package fakeufsdata contains fake UFS data to be used in tests. |
costserver/inventory/ufs
Package ufs handles logical for fetching data from UFS.
|
Package ufs handles logical for fetching data from UFS. |
costserver/maskutils
Package maskutils is a collection of utilities for getting, setting, validating and doing other stuff to protos like fleetcostpb.CostIndicator given a fieldmask.
|
Package maskutils is a collection of utilities for getting, setting, validating and doing other stuff to protos like fleetcostpb.CostIndicator given a fieldmask. |
costserver/testscenarios
Package testscenarios contains only tests.
|
Package testscenarios contains only tests. |
costserver/testsupport
Package testsupport provides a text fixture that sets up unit tests for the fleet cost server.
|
Package testsupport provides a text fixture that sets up unit tests for the fleet cost server. |
fleetcosterror
Package fleetcosterror provides error-related utilities, primarily for handling the issue of 500 errors being produced by *bare* Go errors.
|
Package fleetcosterror provides error-related utilities, primarily for handling the issue of 500 errors being produced by *bare* Go errors. |
site
Package site contains miscellaneous details specific to the fleet-cost project but not really related to the business logic, such as where to stash credentials.
|
Package site contains miscellaneous details specific to the fleet-cost project but not really related to the business logic, such as where to stash credentials. |
utils
Package utils for converting stuff into other stuff.
|
Package utils for converting stuff into other stuff. |
validation
Package validation contains validation for requests.
|
Package validation contains validation for requests. |
Click to show internal directories.
Click to hide internal directories.