Documentation
¶
Index ¶
- Constants
- type CheckDeleteResponse
- type ErrorResponse
- type HostedInstance
- type ProbeAddResponse
- type ProbeDeleteResponse
- type ProbeUpdateResponse
- type RegistrationInitRequest
- type RegistrationInitResponse
- type RegistrationInstallRequest
- type RegistrationInstallResponse
- type RegistrationSaveRequest
- type RegistrationSaveResponse
- type TenantDescription
- type TokenCreateResponse
- type TokenDeleteResponse
- type TokenRefreshResponse
- type TokenValidateResponse
Constants ¶
View Source
const ( InstanceTypePrometheus = "prometheus" InstanceTypeLogs = "logs" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckDeleteResponse ¶
type ErrorResponse ¶
func (*ErrorResponse) Error ¶
func (e *ErrorResponse) Error() string
func (*ErrorResponse) MarshalJSON ¶
func (e *ErrorResponse) MarshalJSON() ([]byte, error)
type HostedInstance ¶
type ProbeAddResponse ¶
type ProbeAddResponse struct {
Probe synthetic_monitoring.Probe `json:"probe"`
Token []byte `json:"token"`
}
type ProbeDeleteResponse ¶
type ProbeUpdateResponse ¶
type ProbeUpdateResponse struct {
Probe synthetic_monitoring.Probe `json:"probe"`
Token []byte `json:"token,omitempty"`
}
type RegistrationInitRequest ¶
type RegistrationInitRequest struct {
AdminToken string `json:"apiToken"`
}
type RegistrationInitResponse ¶
type RegistrationInitResponse struct {
AccessToken string `json:"accessToken"`
TenantInfo *TenantDescription `json:"tenantInfo,omitempty"`
Instances []HostedInstance `json:"instances"`
}
type RegistrationInstallResponse ¶
type RegistrationInstallResponse struct {
AccessToken string `json:"accessToken"`
TenantInfo *TenantDescription `json:"tenantInfo,omitempty"`
}
type RegistrationSaveRequest ¶
type RegistrationSaveResponse ¶
type RegistrationSaveResponse struct{}
type TenantDescription ¶
type TenantDescription struct {
ID int64 `json:"id"`
MetricInstance HostedInstance `json:"metricInstance"`
LogInstance HostedInstance `json:"logInstance"`
}
type TokenCreateResponse ¶
type TokenDeleteResponse ¶
type TokenDeleteResponse struct {
Msg string `json:"msg,omitempty"`
}
type TokenRefreshResponse ¶
type TokenValidateResponse ¶
Click to show internal directories.
Click to hide internal directories.