package
1.1.5
Repository: https://github.com/opencord/cordctl.git
Documentation: pkg.go.dev

# Functions

Check to see if a model name is valid.
Take a string of comma-separated queries and turn it into a map of queries.
Print a confirmation prompt and get a response from the user.
Create a file:/// URI to use for storing the file in the core.
Create a model in XOS given a map of fields.
Separate the operator from the query value.
Get a model from XOS given its ID.
No description provided by the author
Filter models based on field values queries is a map of <field_name> to <operator><query> For example, map[string]string{"name": "==mysite"}.
Get a model from XOS given a fieldName/fieldValue.
Find a model, but retry under a variety of circumstances.
Applies common output options to format and generate output.
Applies common output options to format and generate output.
No description provided by the author
No description provided by the author
No description provided by the author
Convert a user-supplied state filter argument to the appropriate enum name.
Common processing for commands that take a modelname and a list of ids or a filter.
Get a model from XOS given its ID.
Return a list of all available model names.
Get a model, but retry under a variety of circumstances.
No description provided by the author
Perform the GetVersion API call on the core to get the version.
Returns a context used for gRPC timeouts.
No description provided by the author
Initialize ModelStatusOutput structure, creating a row for each model that will be output.
Returns True if a message has been enacted.
No description provided by the author
No description provided by the author
List all objects of a given model.
Call ListModels or FilterModels as appropriate.
Takes a *dynamic.Message and turns it into a map of fields to interfaces TODO: Might be more useful to convert the values to strings and ints.
No description provided by the author
Take a string list of queries and turns it into a map of queries.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A makeshift substitute for C's Ternary operator.
Convert a string into the appropriate gRPC type for a given field.
Update a model in XOS given a map of fields.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Valid choices for FilterModels `Kind` argument.
Valid choices for FilterModels `Kind` argument.
Valid choices for FilterModels `Kind` argument.
Valid choices for FilterModels `Kind` argument.
Valid choices for FilterModels `Kind` argument.
Valid choices for FilterModels `Kind` argument.
Flags for calling the *WithRetry methods.
Flags for calling the *WithRetry methods.
Flags for calling the *WithRetry methods.
Flags for calling the *WithRetry methods.
Flags for calling the InitReflectionClient Method.
Do not check whether server is allowed version.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
Make it easy to override output stream for testing.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author