Versions in this module Expand all Collapse all v0 v0.14.0 Jul 7, 2020 v0.11.0 Apr 9, 2020 Changes in this version + func AddConnectionToList(httpClient utils.HTTPClient, c *cli.Context) (*Connection, *ConError) + func GetAllConnections() ([]Connection, *ConError) + func GetConnectionByID(conID string) (*Connection, *ConError) + func GetConnectionConfigDir() string + func GetConnectionConfigFilename() string + func GetConnectionsConfig() (*ConnectionConfig, *ConError) + func UpdateExistingConnection(httpClient utils.HTTPClient, c *cli.Context) (*Connection, *ConError) + type ConError struct + Desc string + Err error + Op string + func InitConfigFileIfRequired() *ConError + func RemoveConnectionFromList(c *cli.Context) *ConError + func ResetConnectionsFile() *ConError + func (se *ConError) Error() string + type Connection struct + AuthURL string + ClientID string + ID string + Label string + Realm string + URL string + Username string + type ConnectionConfig struct + Connections []Connection + SchemaVersion int + type ConnectionConfigV0 struct + Connections []ConnectionV0 + type ConnectionConfigV1 struct + Connections []ConnectionV1 + SchemaVersion int + type ConnectionV0 struct + AuthURL string + ClientID string + Label string + Name string + Realm string + URL string + type ConnectionV1 struct + AuthURL string + ClientID string + ID string + Label string + Realm string + URL string + type Result struct + Status string + StatusMessage string