# Functions
CheckConfigKeyExists checks a given configuration key exists in the default viper.
CheckError checks if an error occurred (it's not nil).
GetClient returns the cached Portainer API client.
GetDefaultClient returns a new Portainer API client with the default configuration.
GetDefaultClientConfig returns the default configuration for a Portainer API client.
GetDefaultEndpoint returns the default endpoint (if only one endpoint exists).
GetDefaultHTTPClient returns the default HTTP client for a Portainer API client.
GetEndpointByName returns an endpoint by its name from the list of all endpoints.
GetEndpointFromListByID returns an endpoint by its id from a list of endpoints.
GetEndpointFromListByName returns an endpoint by its name from a list of endpoints.
GetEndpointGroupByName returns an endpoint group by its name from the list of all endpoint groups.
GetEndpointSwarmClusterID returns an endpoint's swarm cluster id.
GetFormatHelp returns the help string for --format flags.
GetStackByName returns a stack by its name from the (endpoint filtered) list of all stacks.
LoadCofig loads the configuration file currently used by viper into a new viper instance.
NewTabWriter returns a new tabwriter.Writer.
# Constants
Common errors.
Common errors.
Common errors.
Common errors.
Common errors.
Common errors.
# Type aliases
Error represents an application error.