Documentation ¶
Index ¶
- func DiffString(bootTime int64) string
- type Connection
- func (c *Connection) About() error
- func (c *Connection) Authenticate() error
- func (c *Connection) ClusterAppliances() error
- func (c *Connection) ClusterDatastores() error
- func (c *Connection) ClusterInfo() error
- func (c *Connection) ClusterPlatform() error
- func (c *Connection) ClusterSavings() error
- func (c *Connection) ClusterSummary() error
- func (c *Connection) ClusterVM() error
- func (c *Connection) ClusterVersion() error
- func (c *Connection) GetClientID() string
- func (c *Connection) GetClientSecret() string
- func (c *Connection) GetLicenseAgreement() error
- func (c *Connection) GetPassword() string
- func (c *Connection) GetResponseCode() int
- func (c *Connection) GetResponseData() interface{}
- func (c *Connection) GetResponseItem(item string) interface{}
- func (c *Connection) GetResponseItemBool(item string) bool
- func (c *Connection) GetResponseItemFloat(item string) float64
- func (c *Connection) GetResponseItemInt(item string) int
- func (c *Connection) GetResponseItemInt64(item string) int64
- func (c *Connection) GetResponseItemString(item string) string
- func (c *Connection) GetResponseItemTime(item string) time.Time
- func (c *Connection) GetResponseOK() bool
- func (c *Connection) GetResponseReason() string
- func (c *Connection) GetResponseURL() string
- func (c *Connection) GetTimeout() time.Duration
- func (c *Connection) GetToken() string
- func (c *Connection) GetUrl() string
- func (c *Connection) GetUsername() string
- func (c *Connection) SetClientID(clientid string)
- func (c *Connection) SetClientSecret(clientsecret string)
- func (c *Connection) SetPassword(password string)
- func (c *Connection) SetTimeout(timeout int)
- func (c *Connection) SetToken(token string)
- func (c *Connection) SetUrl(url string)
- func (c *Connection) SetUsername(username string)
- func (c *Connection) ValidateContactNumberWithCisco(contract string) error
- type Creds
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffString ¶
Types ¶
type Connection ¶
type Connection struct { Request *request.Client Metrics *metrics Capital *capital Credentials *Creds // contains filtered or unexported fields }
func New ¶
func New() *Connection
func (*Connection) About ¶
func (c *Connection) About() error
func (*Connection) Authenticate ¶
func (c *Connection) Authenticate() error
func (*Connection) ClusterAppliances ¶
func (c *Connection) ClusterAppliances() error
func (*Connection) ClusterDatastores ¶
func (c *Connection) ClusterDatastores() error
func (*Connection) ClusterInfo ¶
func (c *Connection) ClusterInfo() error
func (*Connection) ClusterPlatform ¶
func (c *Connection) ClusterPlatform() error
func (*Connection) ClusterSavings ¶
func (c *Connection) ClusterSavings() error
func (*Connection) ClusterSummary ¶
func (c *Connection) ClusterSummary() error
func (*Connection) ClusterVM ¶
func (c *Connection) ClusterVM() error
func (*Connection) ClusterVersion ¶
func (c *Connection) ClusterVersion() error
func (*Connection) GetClientID ¶
func (c *Connection) GetClientID() string
func (*Connection) GetClientSecret ¶
func (c *Connection) GetClientSecret() string
func (*Connection) GetLicenseAgreement ¶
func (c *Connection) GetLicenseAgreement() error
func (*Connection) GetPassword ¶
func (c *Connection) GetPassword() string
func (*Connection) GetResponseCode ¶
func (c *Connection) GetResponseCode() int
func (*Connection) GetResponseData ¶
func (c *Connection) GetResponseData() interface{}
func (*Connection) GetResponseItem ¶
func (c *Connection) GetResponseItem(item string) interface{}
func (*Connection) GetResponseItemBool ¶
func (c *Connection) GetResponseItemBool(item string) bool
func (*Connection) GetResponseItemFloat ¶
func (c *Connection) GetResponseItemFloat(item string) float64
func (*Connection) GetResponseItemInt ¶
func (c *Connection) GetResponseItemInt(item string) int
func (*Connection) GetResponseItemInt64 ¶
func (c *Connection) GetResponseItemInt64(item string) int64
func (*Connection) GetResponseItemString ¶
func (c *Connection) GetResponseItemString(item string) string
func (*Connection) GetResponseItemTime ¶
func (c *Connection) GetResponseItemTime(item string) time.Time
func (*Connection) GetResponseOK ¶
func (c *Connection) GetResponseOK() bool
func (*Connection) GetResponseReason ¶
func (c *Connection) GetResponseReason() string
func (*Connection) GetResponseURL ¶
func (c *Connection) GetResponseURL() string
func (*Connection) GetTimeout ¶
func (c *Connection) GetTimeout() time.Duration
func (*Connection) GetToken ¶
func (c *Connection) GetToken() string
func (*Connection) GetUrl ¶
func (c *Connection) GetUrl() string
func (*Connection) GetUsername ¶
func (c *Connection) GetUsername() string
func (*Connection) SetClientID ¶
func (c *Connection) SetClientID(clientid string)
func (*Connection) SetClientSecret ¶
func (c *Connection) SetClientSecret(clientsecret string)
func (*Connection) SetPassword ¶
func (c *Connection) SetPassword(password string)
func (*Connection) SetTimeout ¶
func (c *Connection) SetTimeout(timeout int)
func (*Connection) SetToken ¶
func (c *Connection) SetToken(token string)
func (*Connection) SetUrl ¶
func (c *Connection) SetUrl(url string)
func (*Connection) SetUsername ¶
func (c *Connection) SetUsername(username string)
func (*Connection) ValidateContactNumberWithCisco ¶
func (c *Connection) ValidateContactNumberWithCisco(contract string) error
Click to show internal directories.
Click to hide internal directories.