Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnvCumulocityHostNames = []string{
"C8Y_HOST",
"C8Y_BASEURL",
"C8Y_URL",
}
Functions ¶
func CreateCumulocityClient ¶
func GetHostFromEnvironment ¶
func GetHostFromEnvironment() string
GetHostFromEnvironment gets the first non-empty host environment variable value as Cumulocity uses different environment variable names for different tooling
func New ¶
func New(appVersion string, buildBranch string, configFunc func() (*config.Config, error), clientFunc func() (*c8y.Client, error), loggerFunc func() (*logger.Logger, error), activityLoggerFunc func() (*activitylogger.ActivityLogger, error), dataViewFunc func() (*dataview.DataView, error), consoleFunc func() (*console.Console, error)) *cmdutil.Factory
func WithProxyDisabled ¶
func WithProxyDisabled(disable bool) c8y.ClientOption
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.