Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
Alert AlertsManager
// contains filtered or unexported fields
}
APIClient ...
func Init ¶
func Init(cloudID, apiToken, userName string, options *ClientOptions) *APIClient
Init initializes the package
func (*APIClient) BackupJSON ¶
BackupJSON ...
type APIError ¶
type APIError struct {
APIError string
// contains filtered or unexported fields
}
APIError ...
type AlertsManager ¶
type AlertsManager interface {
CreateAlert(*alert.CreateAlertRequest) (*alert.SuccessResponse, error)
ListAlerts(*alert.ListAlertsRequest) (*alert.ListAlertsResult, error)
AcknowledgeAlert(*alert.AcknowledgeAlertRequest) (*alert.SuccessResponse, error)
CloseAlert(*alert.CloseAlertRequest) (*alert.SuccessResponse, error)
AddAlertNote(*alert.AddNoteRequest) (*alert.SuccessResponse, error)
}
Click to show internal directories.
Click to hide internal directories.