Documentation
¶
Index ¶
- func EncodeCredentials(username string, password string) string
- func URL(server string, URI string) string
- type Session
- func (session *Session) CloseSession() (err error)
- func (session *Session) DeleteMetricRealTimeQuery(queryID int) error
- func (session *Session) GetDNSServer() (resp *types.DNSServer, err error)
- func (session *Session) GetMetricRealTimeQueryResult(queryID int) (resp *types.MetricRealTimeQueryResult, err error)
- func (session *Session) GetPool() (resp *types.Pool, err error)
- func (session *Session) GetStorageResource() (resp *types.StorageResource, err error)
- func (session *Session) GetbasicSystemInfo() (resp *types.BasicSystemInfo, err error)
- func (session *Session) GetkpiValue(path string) (resp *types.KpiValueResponse, err error)
- func (session *Session) GetmetricValue(path string) (resp *types.MetricValueResponse, err error)
- func (session *Session) NewMetricRealTimeQuery(paths []string, interval uint32) (resp *types.MetricRealTimeQueryResponse, err error)
- func (session *Session) Request(method string, URI string, fields string, filter string, engineering bool, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeCredentials ¶
EncodeCredentials purpose is to encode the Username and Password with base64 encoding which is required for UNITY
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session struct
func NewSession ¶
NewSession purpose is to build a session object and authenticate to the Unity array
func (*Session) CloseSession ¶
CloseSession purpose is to end the session with the Unity array.
func (*Session) DeleteMetricRealTimeQuery ¶
DeleteMetricRealTimeQuery purpose is to delete a real time query.
func (*Session) GetDNSServer ¶
GetDNSServer purpose is to get the DNS configuration of the Unity array.
func (*Session) GetMetricRealTimeQueryResult ¶
func (session *Session) GetMetricRealTimeQueryResult(queryID int) (resp *types.MetricRealTimeQueryResult, err error)
GetMetricRealTimeQueryResult tototo
func (*Session) GetStorageResource ¶
func (session *Session) GetStorageResource() (resp *types.StorageResource, err error)
GetStorageResource purpose is to get information about storage resources in the storage system.
func (*Session) GetbasicSystemInfo ¶
func (session *Session) GetbasicSystemInfo() (resp *types.BasicSystemInfo, err error)
GetbasicSystemInfo Provides access to system model, system name, software version, and API version information.
func (*Session) GetkpiValue ¶
func (session *Session) GetkpiValue(path string) (resp *types.KpiValueResponse, err error)
GetkpiValue Historical values for requested metrics
func (*Session) GetmetricValue ¶
func (session *Session) GetmetricValue(path string) (resp *types.MetricValueResponse, err error)
GetmetricValue Historical values for requested metrics
func (*Session) NewMetricRealTimeQuery ¶
func (session *Session) NewMetricRealTimeQuery(paths []string, interval uint32) (resp *types.MetricRealTimeQueryResponse, err error)
NewMetricRealTimeQuery purpose is to create a real time query.