Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TimeUnitValues = []TimeUnit{ TU_NANOSECONDS, TU_MICROSECONDS, TU_MILLISECONDS, TU_SECONDS, TU_MINUTES, TU_HOURS, TU_DAYS, }
Functions ¶
This section is empty.
Types ¶
type ApiError ¶
type ApiError struct { StatusCode int RequestError RequestError `json:"requestError"` }
type Authorizer ¶
type Authorizer interface {
Authorization() string
}
func NewApiKeyCredentials ¶
func NewApiKeyCredentials(apiKey string) Authorizer
func NewBasicCredentials ¶
func NewBasicCredentials(username string, password string) Authorizer
func NewIBSSOCredentials ¶
func NewIBSSOCredentials(token string) Authorizer
type AuthorizerFunc ¶
type AuthorizerFunc func() string
func (AuthorizerFunc) Authorization ¶
func (f AuthorizerFunc) Authorization() string
type RequestError ¶
type RequestError struct {
ServiceException ServiceException `json:"serviceException"`
}
type ServiceException ¶
Click to show internal directories.
Click to hide internal directories.