Documentation ¶
Index ¶
- type APIError
- type Configv1PageParams
- type Configv1PageResult
- type GenericError
- type ProtobufAny
- type RuleEvaluationRuleType
- type Statev1ListRuleEvaluationsResponse
- func (m *Statev1ListRuleEvaluationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Statev1ListRuleEvaluationsResponse) MarshalBinary() ([]byte, error)
- func (m *Statev1ListRuleEvaluationsResponse) UnmarshalBinary(b []byte) error
- func (m *Statev1ListRuleEvaluationsResponse) Validate(formats strfmt.Registry) error
- type Statev1RuleEvaluation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type APIError struct { // An optional private error code whose values are undefined. Code int32 `json:"code,omitempty"` // An error message describing what went wrong. Message string `json:"message,omitempty"` }
APIError api error
swagger:model apiError
func (*APIError) ContextValidate ¶
ContextValidate validates this api error based on context it is used
func (*APIError) MarshalBinary ¶
MarshalBinary interface implementation
func (*APIError) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Configv1PageParams ¶
type Configv1PageParams struct { // Page size preference (i.e. how many items are returned in the next // page). If zero, the server will use a default. Regardless of what size // is given, clients must never assume how many items will be returned. MaxSize int64 `json:"max_size,omitempty"` // Opaque page token identifying which page to request. An empty token // identifies the first page. Token string `json:"token,omitempty"` }
Configv1PageParams configv1 page params
swagger:model configv1PageParams
func (*Configv1PageParams) ContextValidate ¶
ContextValidate validates this configv1 page params based on context it is used
func (*Configv1PageParams) MarshalBinary ¶
func (m *Configv1PageParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Configv1PageParams) UnmarshalBinary ¶
func (m *Configv1PageParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Configv1PageResult ¶
type Configv1PageResult struct { // Opaque page token which identifies the next page of items which the // client should request. An empty next_token indicates that there are no // more items to return. NextToken string `json:"next_token,omitempty"` }
Configv1PageResult configv1 page result
swagger:model configv1PageResult
func (*Configv1PageResult) ContextValidate ¶
ContextValidate validates this configv1 page result based on context it is used
func (*Configv1PageResult) MarshalBinary ¶
func (m *Configv1PageResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Configv1PageResult) UnmarshalBinary ¶
func (m *Configv1PageResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GenericError ¶
type GenericError interface{}
GenericError generic error
swagger:model genericError
type ProtobufAny ¶
type ProtobufAny struct { // at type AtType string `json:"@type,omitempty"` }
ProtobufAny protobuf any
swagger:model protobufAny
func (*ProtobufAny) ContextValidate ¶
ContextValidate validates this protobuf any based on context it is used
func (*ProtobufAny) MarshalBinary ¶
func (m *ProtobufAny) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufAny) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RuleEvaluationRuleType ¶
type RuleEvaluationRuleType string
RuleEvaluationRuleType rule evaluation rule type
swagger:model RuleEvaluationRuleType
const ( // RuleEvaluationRuleTypeMONITOR captures enum value "MONITOR" RuleEvaluationRuleTypeMONITOR RuleEvaluationRuleType = "MONITOR" // RuleEvaluationRuleTypeRECORDING captures enum value "RECORDING" RuleEvaluationRuleTypeRECORDING RuleEvaluationRuleType = "RECORDING" )
func NewRuleEvaluationRuleType ¶
func NewRuleEvaluationRuleType(value RuleEvaluationRuleType) *RuleEvaluationRuleType
func (RuleEvaluationRuleType) ContextValidate ¶
ContextValidate validates this rule evaluation rule type based on context it is used
func (RuleEvaluationRuleType) Pointer ¶
func (m RuleEvaluationRuleType) Pointer() *RuleEvaluationRuleType
Pointer returns a pointer to a freshly-allocated RuleEvaluationRuleType.
type Statev1ListRuleEvaluationsResponse ¶
type Statev1ListRuleEvaluationsResponse struct { // page Page *Configv1PageResult `json:"page,omitempty"` // rule evaluations RuleEvaluations []*Statev1RuleEvaluation `json:"rule_evaluations"` }
Statev1ListRuleEvaluationsResponse statev1 list rule evaluations response
swagger:model statev1ListRuleEvaluationsResponse
func (*Statev1ListRuleEvaluationsResponse) ContextValidate ¶
func (m *Statev1ListRuleEvaluationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this statev1 list rule evaluations response based on the context it is used
func (*Statev1ListRuleEvaluationsResponse) MarshalBinary ¶
func (m *Statev1ListRuleEvaluationsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Statev1ListRuleEvaluationsResponse) UnmarshalBinary ¶
func (m *Statev1ListRuleEvaluationsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Statev1RuleEvaluation ¶
type Statev1RuleEvaluation struct { // Unique identifier of the rule. RuleSlug string `json:"rule_slug,omitempty"` // rule type RuleType RuleEvaluationRuleType `json:"rule_type,omitempty"` // Timestamp when the rule evaluation issues are detected. // Rule evaluations issues are aggregated over last 5 minute leading up to detected_at. // Format: date-time DetectedAt strfmt.DateTime `json:"detected_at,omitempty"` // The number of rule evaluation issues occurred over last 5 minutes. Count int32 `json:"count,omitempty"` // Detailed message related to rule evaluation issue. See "Admin > Evaluation failures" in the Chronosphere documentation for more information. Message string `json:"message,omitempty"` }
Statev1RuleEvaluation statev1 rule evaluation
swagger:model statev1RuleEvaluation
func (*Statev1RuleEvaluation) ContextValidate ¶
ContextValidate validate this statev1 rule evaluation based on the context it is used
func (*Statev1RuleEvaluation) MarshalBinary ¶
func (m *Statev1RuleEvaluation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Statev1RuleEvaluation) UnmarshalBinary ¶
func (m *Statev1RuleEvaluation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation