Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditEvent ¶ added in v0.1.2
type AuditEvent struct {
Time int64 `json:"time"`
TypeKey string `json:"type_key"`
TypeDescription string `json:"type_description"`
UserId string `json:"user_id"`
UserDetails string `json:"user_details"`
AccountId string `json:"account_id"`
ResourceTypeKey string `json:"resource_type_key"`
ResourceId string `json:"resource_id"`
Message string `json:"message"`
ContextKey string `json:"context_key"`
AssumedByUser string `json:"assumed_by_user"`
}
func (*AuditEvent) GetTime ¶ added in v0.1.2
func (ae *AuditEvent) GetTime() time.Time
func (*AuditEvent) String ¶ added in v0.1.2
func (ae *AuditEvent) String() string
type AuditEventsErrorResponse ¶ added in v0.1.2
type AuditEventsResponse ¶ added in v0.1.2
type AuditEventsResponse struct {
Total int `json:"total"`
Elements []AuditEvent `json:"elements"`
}
type BillingRecord ¶ added in v0.1.4
type BillingRecord struct {
BillingIssueDate time.Time `json:"billingIssueDate"`
StartDate time.Time `json:"startDate"`
EndDate time.Time `json:"endDate"`
PurchasedQuantity float64 `json:"purchasedQuantity"`
Plan string `json:"plan"`
PlanName string `json:"planName"`
Services []BillingService `json:"services"`
PlanUsage float64 `json:"planUsage"`
Overages float64 `json:"overages"`
BillingStatus string `json:"billingStatus"`
DataUnit string `json:"dataUnit"`
}
func (*BillingRecord) String ¶ added in v0.1.4
func (br *BillingRecord) String() string
type BillingService ¶ added in v0.1.4
type BillingSummaryResponse ¶ added in v0.1.4
type BillingSummaryResponse struct {
BillingRecords []BillingRecord `json:"billingRecords"`
}
type Imperva ¶
type Imperva struct {
// contains filtered or unexported fields
}
func (*Imperva) GetBillingSummary ¶ added in v0.1.4
func (i *Imperva) GetBillingSummary() (BillingSummaryResponse, error)
type InfraEvent ¶ added in v0.1.2
type InfraEvent struct {
EventTime string `json:"eventTime"`
EventType string `json:"eventType"`
BwTotal int `json:"bwTotal"`
PpsTotal int `json:"ppsTotal"`
BwPassed int `json:"bwPassed"`
PpsPassed int `json:"ppsPassed"`
BwBlocked int `json:"bwBlocked"`
PpsBlocked int `json:"ppsBlocked"`
EventTarget string `json:"eventTarget"`
ItemType string `json:"itemType"`
ReportedByPop string `json:"reportedByPop"`
}
func (*InfraEvent) GetTime ¶ added in v0.1.2
func (ie *InfraEvent) GetTime() time.Time
func (*InfraEvent) String ¶ added in v0.1.2
func (ie *InfraEvent) String() string
type InfraEventsResponse ¶ added in v0.1.2
type InfraEventsResponse struct {
Events []InfraEvent `json:"events"`
Res int `json:"res"`
ResMessage string `json:"res_message"`
DebugInfo struct {
} `json:"debug_info"`
}
Click to show internal directories.
Click to hide internal directories.