package
0.6.1
Repository: https://github.com/circonus-labs/cosi-tool.git
Documentation: pkg.go.dev

# Functions

Create graph from supplied configuration, returns created graph or error.
CreateFromFile uses Circonus API to create a graph from supplied configuration file.
Delete uses Circonus API to delete a graph from supplied configuration file or id.
Fetch retrieves a graph using the Circonus CircAPI.
FetchByID retrieves a graph by CID using Circonus CircAPI.
FetchByTitle retrieves a graph by Display Title using Circonus CircAPI.
List local cosi graphs.
Update uses Circonus API to update a graph from supplied configuration file.

# Constants

CIDDefault is the default value for the id fetch option.
ForceDefault is the default value for the force flag.
InFileDefault is the default value for the input file option.
KeyCID is the graph id.
KeyForce is a flag to force overwritting files.
KeyInFile is the input graph configuration file.
KeyLong is a flag indicating list should output long, more verbose, listings.
KeyOutFile is the output file for saving a fetched graph configuration.
KeyQuiet is a flag for limiting output.
KeyTitle is the title of a graph.
KeyType is the cosi graph type.
KeyVerify is a flag to indicate list should verify graph has not been modified.
LongDefault is the default value for the long flag.
OutFileDefault is the default value for the output file option.
QuietDefault is the default value for the quiet flag.
TitleDefault is the default value for the name fetch option.
TypeDefault is the default value for the type fetch option.
VerifyDefault is the default value for the verify flag.

# Interfaces

CircAPI interface abstraction of circonus api (for mocking).