models

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation ¶

Index ¶

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 ¶

func (m *APIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this api error based on context it is used

func (*APIError) MarshalBinary ¶

func (m *APIError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIError) UnmarshalBinary ¶

func (m *APIError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIError) Validate ¶

func (m *APIError) Validate(formats strfmt.Registry) error

Validate validates this api error

type ConditionOp ¶

type ConditionOp string

ConditionOp condition op

swagger:model ConditionOp

const (

	// ConditionOpGEQ captures enum value "GEQ"
	ConditionOpGEQ ConditionOp = "GEQ"

	// ConditionOpGT captures enum value "GT"
	ConditionOpGT ConditionOp = "GT"

	// ConditionOpLEQ captures enum value "LEQ"
	ConditionOpLEQ ConditionOp = "LEQ"

	// ConditionOpLT captures enum value "LT"
	ConditionOpLT ConditionOp = "LT"

	// ConditionOpEQ captures enum value "EQ"
	ConditionOpEQ ConditionOp = "EQ"

	// ConditionOpNEQ captures enum value "NEQ"
	ConditionOpNEQ ConditionOp = "NEQ"

	// ConditionOpEXISTS captures enum value "EXISTS"
	ConditionOpEXISTS ConditionOp = "EXISTS"

	// ConditionOpNOTEXISTS captures enum value "NOT_EXISTS"
	ConditionOpNOTEXISTS ConditionOp = "NOT_EXISTS"
)

func NewConditionOp ¶

func NewConditionOp(value ConditionOp) *ConditionOp

func (ConditionOp) ContextValidate ¶

func (m ConditionOp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this condition op based on context it is used

func (ConditionOp) Pointer ¶

func (m ConditionOp) Pointer() *ConditionOp

Pointer returns a pointer to a freshly-allocated ConditionOp.

func (ConditionOp) Validate ¶

func (m ConditionOp) Validate(formats strfmt.Registry) error

Validate validates this condition op

type Configv1AggregationType ¶

type Configv1AggregationType string

Configv1AggregationType configv1 aggregation type

swagger:model configv1AggregationType

const (

	// Configv1AggregationTypeLAST captures enum value "LAST"
	Configv1AggregationTypeLAST Configv1AggregationType = "LAST"

	// Configv1AggregationTypeMIN captures enum value "MIN"
	Configv1AggregationTypeMIN Configv1AggregationType = "MIN"

	// Configv1AggregationTypeMAX captures enum value "MAX"
	Configv1AggregationTypeMAX Configv1AggregationType = "MAX"

	// Configv1AggregationTypeMEAN captures enum value "MEAN"
	Configv1AggregationTypeMEAN Configv1AggregationType = "MEAN"

	// Configv1AggregationTypeMEDIAN captures enum value "MEDIAN"
	Configv1AggregationTypeMEDIAN Configv1AggregationType = "MEDIAN"

	// Configv1AggregationTypeCOUNT captures enum value "COUNT"
	Configv1AggregationTypeCOUNT Configv1AggregationType = "COUNT"

	// Configv1AggregationTypeSUM captures enum value "SUM"
	Configv1AggregationTypeSUM Configv1AggregationType = "SUM"

	// Configv1AggregationTypeSUMSQ captures enum value "SUMSQ"
	Configv1AggregationTypeSUMSQ Configv1AggregationType = "SUMSQ"

	// Configv1AggregationTypeSTDEV captures enum value "STDEV"
	Configv1AggregationTypeSTDEV Configv1AggregationType = "STDEV"

	// Configv1AggregationTypeP10 captures enum value "P10"
	Configv1AggregationTypeP10 Configv1AggregationType = "P10"

	// Configv1AggregationTypeP20 captures enum value "P20"
	Configv1AggregationTypeP20 Configv1AggregationType = "P20"

	// Configv1AggregationTypeP30 captures enum value "P30"
	Configv1AggregationTypeP30 Configv1AggregationType = "P30"

	// Configv1AggregationTypeP40 captures enum value "P40"
	Configv1AggregationTypeP40 Configv1AggregationType = "P40"

	// Configv1AggregationTypeP50 captures enum value "P50"
	Configv1AggregationTypeP50 Configv1AggregationType = "P50"

	// Configv1AggregationTypeP60 captures enum value "P60"
	Configv1AggregationTypeP60 Configv1AggregationType = "P60"

	// Configv1AggregationTypeP70 captures enum value "P70"
	Configv1AggregationTypeP70 Configv1AggregationType = "P70"

	// Configv1AggregationTypeP80 captures enum value "P80"
	Configv1AggregationTypeP80 Configv1AggregationType = "P80"

	// Configv1AggregationTypeP90 captures enum value "P90"
	Configv1AggregationTypeP90 Configv1AggregationType = "P90"

	// Configv1AggregationTypeP95 captures enum value "P95"
	Configv1AggregationTypeP95 Configv1AggregationType = "P95"

	// Configv1AggregationTypeP99 captures enum value "P99"
	Configv1AggregationTypeP99 Configv1AggregationType = "P99"

	// Configv1AggregationTypeP999 captures enum value "P999"
	Configv1AggregationTypeP999 Configv1AggregationType = "P999"

	// Configv1AggregationTypeP9999 captures enum value "P9999"
	Configv1AggregationTypeP9999 Configv1AggregationType = "P9999"

	// Configv1AggregationTypeP25 captures enum value "P25"
	Configv1AggregationTypeP25 Configv1AggregationType = "P25"

	// Configv1AggregationTypeP75 captures enum value "P75"
	Configv1AggregationTypeP75 Configv1AggregationType = "P75"
)

func (Configv1AggregationType) ContextValidate ¶

func (m Configv1AggregationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 aggregation type based on context it is used

func (Configv1AggregationType) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1AggregationType.

func (Configv1AggregationType) Validate ¶

func (m Configv1AggregationType) Validate(formats strfmt.Registry) error

Validate validates this configv1 aggregation type

type Configv1Bucket ¶

type Configv1Bucket struct {

	// Unique identifier of the Bucket. If slug is not provided, one will be generated based of the name field. Cannot be modified after the Bucket is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the Bucket. May be modified after the Bucket is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Bucket was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Bucket was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Optional description of the bucket.
	Description string `json:"description,omitempty"`

	// Optional labels marking the bucket.
	Labels map[string]string `json:"labels,omitempty"`

	// Optional slug of the team the bucket belongs to.
	TeamSlug string `json:"team_slug,omitempty"`

	// Slug of the notification policy used by default for monitors in this bucket.
	// This is optional if the bucket does not contain monitors or all of its monitors explicitly reference a policy.
	// This policy takes precedence over a bucket-owned notification policy.
	// This does not override the policy used when a monitor explicitly references a policy.
	NotificationPolicySlug string `json:"notification_policy_slug,omitempty"`
}

Configv1Bucket configv1 bucket

swagger:model configv1Bucket

func (*Configv1Bucket) ContextValidate ¶

func (m *Configv1Bucket) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 bucket based on the context it is used

func (*Configv1Bucket) MarshalBinary ¶

func (m *Configv1Bucket) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Bucket) UnmarshalBinary ¶

func (m *Configv1Bucket) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Bucket) Validate ¶

func (m *Configv1Bucket) Validate(formats strfmt.Registry) error

Validate validates this configv1 bucket

type Configv1Collection ¶

type Configv1Collection struct {

	// Unique identifier of the Collection. If slug is not provided, one will be generated based of the name field. Cannot be modified after the Collection is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the Collection. May be modified after the Collection is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Collection was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Collection was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Required slug of the team the collection belongs to.
	TeamSlug string `json:"team_slug,omitempty"`

	// Optional description of the collection.
	Description string `json:"description,omitempty"`

	// Slug of the notification policy used by default for monitors in this collection.
	// This is optional if the collection does not contain monitors or all of its monitors explicitly reference a policy.
	// This does not override the policy used when a monitor explicitly references a policy.
	NotificationPolicySlug string `json:"notification_policy_slug,omitempty"`
}

Configv1Collection configv1 collection

swagger:model configv1Collection

func (*Configv1Collection) ContextValidate ¶

func (m *Configv1Collection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 collection based on the context it is used

func (*Configv1Collection) MarshalBinary ¶

func (m *Configv1Collection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Collection) UnmarshalBinary ¶

func (m *Configv1Collection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Collection) Validate ¶

func (m *Configv1Collection) Validate(formats strfmt.Registry) error

Validate validates this configv1 collection

type Configv1CollectionReference ¶

type Configv1CollectionReference struct {

	// type
	Type Configv1CollectionReferenceType `json:"type,omitempty"`

	// slug
	Slug string `json:"slug,omitempty"`
}

Configv1CollectionReference configv1 collection reference

swagger:model configv1CollectionReference

func (*Configv1CollectionReference) ContextValidate ¶

func (m *Configv1CollectionReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 collection reference based on the context it is used

func (*Configv1CollectionReference) MarshalBinary ¶

func (m *Configv1CollectionReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CollectionReference) UnmarshalBinary ¶

func (m *Configv1CollectionReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CollectionReference) Validate ¶

func (m *Configv1CollectionReference) Validate(formats strfmt.Registry) error

Validate validates this configv1 collection reference

type Configv1CollectionReferenceType ¶

type Configv1CollectionReferenceType string

Configv1CollectionReferenceType Type values must match entitiespb.Collection.CollectionType.

swagger:model configv1CollectionReferenceType

const (

	// Configv1CollectionReferenceTypeSIMPLE captures enum value "SIMPLE"
	Configv1CollectionReferenceTypeSIMPLE Configv1CollectionReferenceType = "SIMPLE"

	// Configv1CollectionReferenceTypeSERVICE captures enum value "SERVICE"
	Configv1CollectionReferenceTypeSERVICE Configv1CollectionReferenceType = "SERVICE"
)

func (Configv1CollectionReferenceType) ContextValidate ¶

func (m Configv1CollectionReferenceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 collection reference type based on context it is used

func (Configv1CollectionReferenceType) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1CollectionReferenceType.

func (Configv1CollectionReferenceType) Validate ¶

Validate validates this configv1 collection reference type

type Configv1CreateBucketRequest ¶

type Configv1CreateBucketRequest struct {

	// bucket
	Bucket *Configv1Bucket `json:"bucket,omitempty"`

	// If true, the Bucket will not be created, and no response Bucket will be returned. The response will return an error if the given Bucket is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateBucketRequest configv1 create bucket request

swagger:model configv1CreateBucketRequest

func (*Configv1CreateBucketRequest) ContextValidate ¶

func (m *Configv1CreateBucketRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create bucket request based on the context it is used

func (*Configv1CreateBucketRequest) MarshalBinary ¶

func (m *Configv1CreateBucketRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateBucketRequest) UnmarshalBinary ¶

func (m *Configv1CreateBucketRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateBucketRequest) Validate ¶

func (m *Configv1CreateBucketRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create bucket request

type Configv1CreateBucketResponse ¶

type Configv1CreateBucketResponse struct {

	// bucket
	Bucket *Configv1Bucket `json:"bucket,omitempty"`
}

Configv1CreateBucketResponse configv1 create bucket response

swagger:model configv1CreateBucketResponse

func (*Configv1CreateBucketResponse) ContextValidate ¶

func (m *Configv1CreateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create bucket response based on the context it is used

func (*Configv1CreateBucketResponse) MarshalBinary ¶

func (m *Configv1CreateBucketResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateBucketResponse) UnmarshalBinary ¶

func (m *Configv1CreateBucketResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateBucketResponse) Validate ¶

func (m *Configv1CreateBucketResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 create bucket response

type Configv1CreateClassicDashboardRequest ¶

type Configv1CreateClassicDashboardRequest struct {

	// classic dashboard
	ClassicDashboard *Configv1GrafanaDashboard `json:"classic_dashboard,omitempty"`

	// If true, the GrafanaDashboard will not be created, and no response GrafanaDashboard will be returned. The response will return an error if the given GrafanaDashboard is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateClassicDashboardRequest configv1 create classic dashboard request

swagger:model configv1CreateClassicDashboardRequest

func (*Configv1CreateClassicDashboardRequest) ContextValidate ¶

func (m *Configv1CreateClassicDashboardRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create classic dashboard request based on the context it is used

func (*Configv1CreateClassicDashboardRequest) MarshalBinary ¶

func (m *Configv1CreateClassicDashboardRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateClassicDashboardRequest) UnmarshalBinary ¶

func (m *Configv1CreateClassicDashboardRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateClassicDashboardRequest) Validate ¶

Validate validates this configv1 create classic dashboard request

type Configv1CreateClassicDashboardResponse ¶

type Configv1CreateClassicDashboardResponse struct {

	// classic dashboard
	ClassicDashboard *Configv1GrafanaDashboard `json:"classic_dashboard,omitempty"`
}

Configv1CreateClassicDashboardResponse configv1 create classic dashboard response

swagger:model configv1CreateClassicDashboardResponse

func (*Configv1CreateClassicDashboardResponse) ContextValidate ¶

ContextValidate validate this configv1 create classic dashboard response based on the context it is used

func (*Configv1CreateClassicDashboardResponse) MarshalBinary ¶

func (m *Configv1CreateClassicDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateClassicDashboardResponse) UnmarshalBinary ¶

func (m *Configv1CreateClassicDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateClassicDashboardResponse) Validate ¶

Validate validates this configv1 create classic dashboard response

type Configv1CreateCollectionRequest ¶

type Configv1CreateCollectionRequest struct {

	// collection
	Collection *Configv1Collection `json:"collection,omitempty"`

	// If true, the Collection will not be created, and no response Collection will be returned. The response will return an error if the given Collection is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateCollectionRequest configv1 create collection request

swagger:model configv1CreateCollectionRequest

func (*Configv1CreateCollectionRequest) ContextValidate ¶

func (m *Configv1CreateCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create collection request based on the context it is used

func (*Configv1CreateCollectionRequest) MarshalBinary ¶

func (m *Configv1CreateCollectionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateCollectionRequest) UnmarshalBinary ¶

func (m *Configv1CreateCollectionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateCollectionRequest) Validate ¶

Validate validates this configv1 create collection request

type Configv1CreateCollectionResponse ¶

type Configv1CreateCollectionResponse struct {

	// collection
	Collection *Configv1Collection `json:"collection,omitempty"`
}

Configv1CreateCollectionResponse configv1 create collection response

swagger:model configv1CreateCollectionResponse

func (*Configv1CreateCollectionResponse) ContextValidate ¶

func (m *Configv1CreateCollectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create collection response based on the context it is used

func (*Configv1CreateCollectionResponse) MarshalBinary ¶

func (m *Configv1CreateCollectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateCollectionResponse) UnmarshalBinary ¶

func (m *Configv1CreateCollectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateCollectionResponse) Validate ¶

Validate validates this configv1 create collection response

type Configv1CreateDashboardRequest ¶

type Configv1CreateDashboardRequest struct {

	// dashboard
	Dashboard *Configv1Dashboard `json:"dashboard,omitempty"`

	// If true, the Dashboard will not be created, and no response Dashboard will be returned. The response will return an error if the given Dashboard is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateDashboardRequest configv1 create dashboard request

swagger:model configv1CreateDashboardRequest

func (*Configv1CreateDashboardRequest) ContextValidate ¶

func (m *Configv1CreateDashboardRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create dashboard request based on the context it is used

func (*Configv1CreateDashboardRequest) MarshalBinary ¶

func (m *Configv1CreateDashboardRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDashboardRequest) UnmarshalBinary ¶

func (m *Configv1CreateDashboardRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDashboardRequest) Validate ¶

func (m *Configv1CreateDashboardRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create dashboard request

type Configv1CreateDashboardResponse ¶

type Configv1CreateDashboardResponse struct {

	// dashboard
	Dashboard *Configv1Dashboard `json:"dashboard,omitempty"`
}

Configv1CreateDashboardResponse configv1 create dashboard response

swagger:model configv1CreateDashboardResponse

func (*Configv1CreateDashboardResponse) ContextValidate ¶

func (m *Configv1CreateDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create dashboard response based on the context it is used

func (*Configv1CreateDashboardResponse) MarshalBinary ¶

func (m *Configv1CreateDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDashboardResponse) UnmarshalBinary ¶

func (m *Configv1CreateDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDashboardResponse) Validate ¶

Validate validates this configv1 create dashboard response

type Configv1CreateDerivedLabelRequest ¶

type Configv1CreateDerivedLabelRequest struct {

	// derived label
	DerivedLabel *Configv1DerivedLabel `json:"derived_label,omitempty"`

	// If true, the DerivedLabel will not be created, and no response DerivedLabel will be returned. The response will return an error if the given DerivedLabel is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateDerivedLabelRequest configv1 create derived label request

swagger:model configv1CreateDerivedLabelRequest

func (*Configv1CreateDerivedLabelRequest) ContextValidate ¶

func (m *Configv1CreateDerivedLabelRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create derived label request based on the context it is used

func (*Configv1CreateDerivedLabelRequest) MarshalBinary ¶

func (m *Configv1CreateDerivedLabelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDerivedLabelRequest) UnmarshalBinary ¶

func (m *Configv1CreateDerivedLabelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDerivedLabelRequest) Validate ¶

Validate validates this configv1 create derived label request

type Configv1CreateDerivedLabelResponse ¶

type Configv1CreateDerivedLabelResponse struct {

	// derived label
	DerivedLabel *Configv1DerivedLabel `json:"derived_label,omitempty"`
}

Configv1CreateDerivedLabelResponse configv1 create derived label response

swagger:model configv1CreateDerivedLabelResponse

func (*Configv1CreateDerivedLabelResponse) ContextValidate ¶

func (m *Configv1CreateDerivedLabelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create derived label response based on the context it is used

func (*Configv1CreateDerivedLabelResponse) MarshalBinary ¶

func (m *Configv1CreateDerivedLabelResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDerivedLabelResponse) UnmarshalBinary ¶

func (m *Configv1CreateDerivedLabelResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDerivedLabelResponse) Validate ¶

Validate validates this configv1 create derived label response

type Configv1CreateDerivedMetricRequest ¶

type Configv1CreateDerivedMetricRequest struct {

	// derived metric
	DerivedMetric *Configv1DerivedMetric `json:"derived_metric,omitempty"`

	// If true, the DerivedMetric will not be created, and no response DerivedMetric will be returned. The response will return an error if the given DerivedMetric is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateDerivedMetricRequest configv1 create derived metric request

swagger:model configv1CreateDerivedMetricRequest

func (*Configv1CreateDerivedMetricRequest) ContextValidate ¶

func (m *Configv1CreateDerivedMetricRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create derived metric request based on the context it is used

func (*Configv1CreateDerivedMetricRequest) MarshalBinary ¶

func (m *Configv1CreateDerivedMetricRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDerivedMetricRequest) UnmarshalBinary ¶

func (m *Configv1CreateDerivedMetricRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDerivedMetricRequest) Validate ¶

Validate validates this configv1 create derived metric request

type Configv1CreateDerivedMetricResponse ¶

type Configv1CreateDerivedMetricResponse struct {

	// derived metric
	DerivedMetric *Configv1DerivedMetric `json:"derived_metric,omitempty"`
}

Configv1CreateDerivedMetricResponse configv1 create derived metric response

swagger:model configv1CreateDerivedMetricResponse

func (*Configv1CreateDerivedMetricResponse) ContextValidate ¶

func (m *Configv1CreateDerivedMetricResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create derived metric response based on the context it is used

func (*Configv1CreateDerivedMetricResponse) MarshalBinary ¶

func (m *Configv1CreateDerivedMetricResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDerivedMetricResponse) UnmarshalBinary ¶

func (m *Configv1CreateDerivedMetricResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDerivedMetricResponse) Validate ¶

Validate validates this configv1 create derived metric response

type Configv1CreateDropRuleRequest ¶

type Configv1CreateDropRuleRequest struct {

	// drop rule
	DropRule *Configv1DropRule `json:"drop_rule,omitempty"`

	// If true, the DropRule will not be created, and no response DropRule will be returned. The response will return an error if the given DropRule is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateDropRuleRequest configv1 create drop rule request

swagger:model configv1CreateDropRuleRequest

func (*Configv1CreateDropRuleRequest) ContextValidate ¶

func (m *Configv1CreateDropRuleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create drop rule request based on the context it is used

func (*Configv1CreateDropRuleRequest) MarshalBinary ¶

func (m *Configv1CreateDropRuleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDropRuleRequest) UnmarshalBinary ¶

func (m *Configv1CreateDropRuleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDropRuleRequest) Validate ¶

func (m *Configv1CreateDropRuleRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create drop rule request

type Configv1CreateDropRuleResponse ¶

type Configv1CreateDropRuleResponse struct {

	// drop rule
	DropRule *Configv1DropRule `json:"drop_rule,omitempty"`
}

Configv1CreateDropRuleResponse configv1 create drop rule response

swagger:model configv1CreateDropRuleResponse

func (*Configv1CreateDropRuleResponse) ContextValidate ¶

func (m *Configv1CreateDropRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create drop rule response based on the context it is used

func (*Configv1CreateDropRuleResponse) MarshalBinary ¶

func (m *Configv1CreateDropRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateDropRuleResponse) UnmarshalBinary ¶

func (m *Configv1CreateDropRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateDropRuleResponse) Validate ¶

func (m *Configv1CreateDropRuleResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 create drop rule response

type Configv1CreateGrafanaDashboardRequest ¶

type Configv1CreateGrafanaDashboardRequest struct {

	// grafana dashboard
	GrafanaDashboard *Configv1GrafanaDashboard `json:"grafana_dashboard,omitempty"`

	// If true, the GrafanaDashboard will not be created, and no response GrafanaDashboard will be returned. The response will return an error if the given GrafanaDashboard is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateGrafanaDashboardRequest configv1 create grafana dashboard request

swagger:model configv1CreateGrafanaDashboardRequest

func (*Configv1CreateGrafanaDashboardRequest) ContextValidate ¶

func (m *Configv1CreateGrafanaDashboardRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create grafana dashboard request based on the context it is used

func (*Configv1CreateGrafanaDashboardRequest) MarshalBinary ¶

func (m *Configv1CreateGrafanaDashboardRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateGrafanaDashboardRequest) UnmarshalBinary ¶

func (m *Configv1CreateGrafanaDashboardRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateGrafanaDashboardRequest) Validate ¶

Validate validates this configv1 create grafana dashboard request

type Configv1CreateGrafanaDashboardResponse ¶

type Configv1CreateGrafanaDashboardResponse struct {

	// grafana dashboard
	GrafanaDashboard *Configv1GrafanaDashboard `json:"grafana_dashboard,omitempty"`
}

Configv1CreateGrafanaDashboardResponse configv1 create grafana dashboard response

swagger:model configv1CreateGrafanaDashboardResponse

func (*Configv1CreateGrafanaDashboardResponse) ContextValidate ¶

ContextValidate validate this configv1 create grafana dashboard response based on the context it is used

func (*Configv1CreateGrafanaDashboardResponse) MarshalBinary ¶

func (m *Configv1CreateGrafanaDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateGrafanaDashboardResponse) UnmarshalBinary ¶

func (m *Configv1CreateGrafanaDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateGrafanaDashboardResponse) Validate ¶

Validate validates this configv1 create grafana dashboard response

type Configv1CreateMappingRuleRequest ¶

type Configv1CreateMappingRuleRequest struct {

	// mapping rule
	MappingRule *Configv1MappingRule `json:"mapping_rule,omitempty"`

	// If true, the MappingRule will not be created, and no response MappingRule will be returned. The response will return an error if the given MappingRule is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateMappingRuleRequest configv1 create mapping rule request

swagger:model configv1CreateMappingRuleRequest

func (*Configv1CreateMappingRuleRequest) ContextValidate ¶

func (m *Configv1CreateMappingRuleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create mapping rule request based on the context it is used

func (*Configv1CreateMappingRuleRequest) MarshalBinary ¶

func (m *Configv1CreateMappingRuleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateMappingRuleRequest) UnmarshalBinary ¶

func (m *Configv1CreateMappingRuleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateMappingRuleRequest) Validate ¶

Validate validates this configv1 create mapping rule request

type Configv1CreateMappingRuleResponse ¶

type Configv1CreateMappingRuleResponse struct {

	// mapping rule
	MappingRule *Configv1MappingRule `json:"mapping_rule,omitempty"`
}

Configv1CreateMappingRuleResponse configv1 create mapping rule response

swagger:model configv1CreateMappingRuleResponse

func (*Configv1CreateMappingRuleResponse) ContextValidate ¶

func (m *Configv1CreateMappingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create mapping rule response based on the context it is used

func (*Configv1CreateMappingRuleResponse) MarshalBinary ¶

func (m *Configv1CreateMappingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateMappingRuleResponse) UnmarshalBinary ¶

func (m *Configv1CreateMappingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateMappingRuleResponse) Validate ¶

Validate validates this configv1 create mapping rule response

type Configv1CreateMonitorRequest ¶

type Configv1CreateMonitorRequest struct {

	// monitor
	Monitor *Configv1Monitor `json:"monitor,omitempty"`

	// If true, the Monitor will not be created, and no response Monitor will be returned. The response will return an error if the given Monitor is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateMonitorRequest configv1 create monitor request

swagger:model configv1CreateMonitorRequest

func (*Configv1CreateMonitorRequest) ContextValidate ¶

func (m *Configv1CreateMonitorRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create monitor request based on the context it is used

func (*Configv1CreateMonitorRequest) MarshalBinary ¶

func (m *Configv1CreateMonitorRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateMonitorRequest) UnmarshalBinary ¶

func (m *Configv1CreateMonitorRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateMonitorRequest) Validate ¶

func (m *Configv1CreateMonitorRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create monitor request

type Configv1CreateMonitorResponse ¶

type Configv1CreateMonitorResponse struct {

	// monitor
	Monitor *Configv1Monitor `json:"monitor,omitempty"`
}

Configv1CreateMonitorResponse configv1 create monitor response

swagger:model configv1CreateMonitorResponse

func (*Configv1CreateMonitorResponse) ContextValidate ¶

func (m *Configv1CreateMonitorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create monitor response based on the context it is used

func (*Configv1CreateMonitorResponse) MarshalBinary ¶

func (m *Configv1CreateMonitorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateMonitorResponse) UnmarshalBinary ¶

func (m *Configv1CreateMonitorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateMonitorResponse) Validate ¶

func (m *Configv1CreateMonitorResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 create monitor response

type Configv1CreateMutingRuleRequest ¶

type Configv1CreateMutingRuleRequest struct {

	// muting rule
	MutingRule *Configv1MutingRule `json:"muting_rule,omitempty"`

	// If true, the MutingRule will not be created, and no response MutingRule will be returned. The response will return an error if the given MutingRule is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateMutingRuleRequest configv1 create muting rule request

swagger:model configv1CreateMutingRuleRequest

func (*Configv1CreateMutingRuleRequest) ContextValidate ¶

func (m *Configv1CreateMutingRuleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create muting rule request based on the context it is used

func (*Configv1CreateMutingRuleRequest) MarshalBinary ¶

func (m *Configv1CreateMutingRuleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateMutingRuleRequest) UnmarshalBinary ¶

func (m *Configv1CreateMutingRuleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateMutingRuleRequest) Validate ¶

Validate validates this configv1 create muting rule request

type Configv1CreateMutingRuleResponse ¶

type Configv1CreateMutingRuleResponse struct {

	// muting rule
	MutingRule *Configv1MutingRule `json:"muting_rule,omitempty"`
}

Configv1CreateMutingRuleResponse configv1 create muting rule response

swagger:model configv1CreateMutingRuleResponse

func (*Configv1CreateMutingRuleResponse) ContextValidate ¶

func (m *Configv1CreateMutingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create muting rule response based on the context it is used

func (*Configv1CreateMutingRuleResponse) MarshalBinary ¶

func (m *Configv1CreateMutingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateMutingRuleResponse) UnmarshalBinary ¶

func (m *Configv1CreateMutingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateMutingRuleResponse) Validate ¶

Validate validates this configv1 create muting rule response

type Configv1CreateNotificationPolicyRequest ¶

type Configv1CreateNotificationPolicyRequest struct {

	// notification policy
	NotificationPolicy *Configv1NotificationPolicy `json:"notification_policy,omitempty"`

	// If true, the NotificationPolicy will not be created, and no response NotificationPolicy will be returned. The response will return an error if the given NotificationPolicy is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateNotificationPolicyRequest configv1 create notification policy request

swagger:model configv1CreateNotificationPolicyRequest

func (*Configv1CreateNotificationPolicyRequest) ContextValidate ¶

ContextValidate validate this configv1 create notification policy request based on the context it is used

func (*Configv1CreateNotificationPolicyRequest) MarshalBinary ¶

func (m *Configv1CreateNotificationPolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateNotificationPolicyRequest) UnmarshalBinary ¶

func (m *Configv1CreateNotificationPolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateNotificationPolicyRequest) Validate ¶

Validate validates this configv1 create notification policy request

type Configv1CreateNotificationPolicyResponse ¶

type Configv1CreateNotificationPolicyResponse struct {

	// notification policy
	NotificationPolicy *Configv1NotificationPolicy `json:"notification_policy,omitempty"`
}

Configv1CreateNotificationPolicyResponse configv1 create notification policy response

swagger:model configv1CreateNotificationPolicyResponse

func (*Configv1CreateNotificationPolicyResponse) ContextValidate ¶

ContextValidate validate this configv1 create notification policy response based on the context it is used

func (*Configv1CreateNotificationPolicyResponse) MarshalBinary ¶

func (m *Configv1CreateNotificationPolicyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateNotificationPolicyResponse) UnmarshalBinary ¶

func (m *Configv1CreateNotificationPolicyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateNotificationPolicyResponse) Validate ¶

Validate validates this configv1 create notification policy response

type Configv1CreateNotifierRequest ¶

type Configv1CreateNotifierRequest struct {

	// notifier
	Notifier *Configv1Notifier `json:"notifier,omitempty"`

	// If true, the Notifier will not be created, and no response Notifier will be returned. The response will return an error if the given Notifier is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateNotifierRequest configv1 create notifier request

swagger:model configv1CreateNotifierRequest

func (*Configv1CreateNotifierRequest) ContextValidate ¶

func (m *Configv1CreateNotifierRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create notifier request based on the context it is used

func (*Configv1CreateNotifierRequest) MarshalBinary ¶

func (m *Configv1CreateNotifierRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateNotifierRequest) UnmarshalBinary ¶

func (m *Configv1CreateNotifierRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateNotifierRequest) Validate ¶

func (m *Configv1CreateNotifierRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create notifier request

type Configv1CreateNotifierResponse ¶

type Configv1CreateNotifierResponse struct {

	// notifier
	Notifier *Configv1Notifier `json:"notifier,omitempty"`
}

Configv1CreateNotifierResponse configv1 create notifier response

swagger:model configv1CreateNotifierResponse

func (*Configv1CreateNotifierResponse) ContextValidate ¶

func (m *Configv1CreateNotifierResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create notifier response based on the context it is used

func (*Configv1CreateNotifierResponse) MarshalBinary ¶

func (m *Configv1CreateNotifierResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateNotifierResponse) UnmarshalBinary ¶

func (m *Configv1CreateNotifierResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateNotifierResponse) Validate ¶

func (m *Configv1CreateNotifierResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 create notifier response

type Configv1CreateRecordingRuleRequest ¶

type Configv1CreateRecordingRuleRequest struct {

	// recording rule
	RecordingRule *Configv1RecordingRule `json:"recording_rule,omitempty"`

	// If true, the RecordingRule will not be created, and no response RecordingRule will be returned. The response will return an error if the given RecordingRule is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateRecordingRuleRequest configv1 create recording rule request

swagger:model configv1CreateRecordingRuleRequest

func (*Configv1CreateRecordingRuleRequest) ContextValidate ¶

func (m *Configv1CreateRecordingRuleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create recording rule request based on the context it is used

func (*Configv1CreateRecordingRuleRequest) MarshalBinary ¶

func (m *Configv1CreateRecordingRuleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateRecordingRuleRequest) UnmarshalBinary ¶

func (m *Configv1CreateRecordingRuleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateRecordingRuleRequest) Validate ¶

Validate validates this configv1 create recording rule request

type Configv1CreateRecordingRuleResponse ¶

type Configv1CreateRecordingRuleResponse struct {

	// recording rule
	RecordingRule *Configv1RecordingRule `json:"recording_rule,omitempty"`
}

Configv1CreateRecordingRuleResponse configv1 create recording rule response

swagger:model configv1CreateRecordingRuleResponse

func (*Configv1CreateRecordingRuleResponse) ContextValidate ¶

func (m *Configv1CreateRecordingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create recording rule response based on the context it is used

func (*Configv1CreateRecordingRuleResponse) MarshalBinary ¶

func (m *Configv1CreateRecordingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateRecordingRuleResponse) UnmarshalBinary ¶

func (m *Configv1CreateRecordingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateRecordingRuleResponse) Validate ¶

Validate validates this configv1 create recording rule response

type Configv1CreateResourcePoolsRequest ¶

type Configv1CreateResourcePoolsRequest struct {

	// resource pools
	ResourcePools *Configv1ResourcePools `json:"resource_pools,omitempty"`

	// dry run
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateResourcePoolsRequest configv1 create resource pools request

swagger:model configv1CreateResourcePoolsRequest

func (*Configv1CreateResourcePoolsRequest) ContextValidate ¶

func (m *Configv1CreateResourcePoolsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create resource pools request based on the context it is used

func (*Configv1CreateResourcePoolsRequest) MarshalBinary ¶

func (m *Configv1CreateResourcePoolsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateResourcePoolsRequest) UnmarshalBinary ¶

func (m *Configv1CreateResourcePoolsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateResourcePoolsRequest) Validate ¶

Validate validates this configv1 create resource pools request

type Configv1CreateResourcePoolsResponse ¶

type Configv1CreateResourcePoolsResponse struct {

	// resource pools
	ResourcePools *Configv1ResourcePools `json:"resource_pools,omitempty"`
}

Configv1CreateResourcePoolsResponse configv1 create resource pools response

swagger:model configv1CreateResourcePoolsResponse

func (*Configv1CreateResourcePoolsResponse) ContextValidate ¶

func (m *Configv1CreateResourcePoolsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create resource pools response based on the context it is used

func (*Configv1CreateResourcePoolsResponse) MarshalBinary ¶

func (m *Configv1CreateResourcePoolsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateResourcePoolsResponse) UnmarshalBinary ¶

func (m *Configv1CreateResourcePoolsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateResourcePoolsResponse) Validate ¶

Validate validates this configv1 create resource pools response

type Configv1CreateRollupRuleRequest ¶

type Configv1CreateRollupRuleRequest struct {

	// rollup rule
	RollupRule *Configv1RollupRule `json:"rollup_rule,omitempty"`

	// If true, the RollupRule will not be created, and no response RollupRule will be returned. The response will return an error if the given RollupRule is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateRollupRuleRequest configv1 create rollup rule request

swagger:model configv1CreateRollupRuleRequest

func (*Configv1CreateRollupRuleRequest) ContextValidate ¶

func (m *Configv1CreateRollupRuleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create rollup rule request based on the context it is used

func (*Configv1CreateRollupRuleRequest) MarshalBinary ¶

func (m *Configv1CreateRollupRuleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateRollupRuleRequest) UnmarshalBinary ¶

func (m *Configv1CreateRollupRuleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateRollupRuleRequest) Validate ¶

Validate validates this configv1 create rollup rule request

type Configv1CreateRollupRuleResponse ¶

type Configv1CreateRollupRuleResponse struct {

	// rollup rule
	RollupRule *Configv1RollupRule `json:"rollup_rule,omitempty"`
}

Configv1CreateRollupRuleResponse configv1 create rollup rule response

swagger:model configv1CreateRollupRuleResponse

func (*Configv1CreateRollupRuleResponse) ContextValidate ¶

func (m *Configv1CreateRollupRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create rollup rule response based on the context it is used

func (*Configv1CreateRollupRuleResponse) MarshalBinary ¶

func (m *Configv1CreateRollupRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateRollupRuleResponse) UnmarshalBinary ¶

func (m *Configv1CreateRollupRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateRollupRuleResponse) Validate ¶

Validate validates this configv1 create rollup rule response

type Configv1CreateServiceAccountRequest ¶

type Configv1CreateServiceAccountRequest struct {

	// service account
	ServiceAccount *Configv1ServiceAccount `json:"service_account,omitempty"`

	// If true, the ServiceAccount will not be created, and no response ServiceAccount will be returned. The response will return an error if the given ServiceAccount is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateServiceAccountRequest configv1 create service account request

swagger:model configv1CreateServiceAccountRequest

func (*Configv1CreateServiceAccountRequest) ContextValidate ¶

func (m *Configv1CreateServiceAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create service account request based on the context it is used

func (*Configv1CreateServiceAccountRequest) MarshalBinary ¶

func (m *Configv1CreateServiceAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateServiceAccountRequest) UnmarshalBinary ¶

func (m *Configv1CreateServiceAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateServiceAccountRequest) Validate ¶

Validate validates this configv1 create service account request

type Configv1CreateServiceAccountResponse ¶

type Configv1CreateServiceAccountResponse struct {

	// service account
	ServiceAccount *Configv1ServiceAccount `json:"service_account,omitempty"`
}

Configv1CreateServiceAccountResponse configv1 create service account response

swagger:model configv1CreateServiceAccountResponse

func (*Configv1CreateServiceAccountResponse) ContextValidate ¶

func (m *Configv1CreateServiceAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create service account response based on the context it is used

func (*Configv1CreateServiceAccountResponse) MarshalBinary ¶

func (m *Configv1CreateServiceAccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateServiceAccountResponse) UnmarshalBinary ¶

func (m *Configv1CreateServiceAccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateServiceAccountResponse) Validate ¶

Validate validates this configv1 create service account response

type Configv1CreateTeamRequest ¶

type Configv1CreateTeamRequest struct {

	// team
	Team *Configv1Team `json:"team,omitempty"`

	// If true, the Team will not be created, and no response Team will be returned. The response will return an error if the given Team is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1CreateTeamRequest configv1 create team request

swagger:model configv1CreateTeamRequest

func (*Configv1CreateTeamRequest) ContextValidate ¶

func (m *Configv1CreateTeamRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create team request based on the context it is used

func (*Configv1CreateTeamRequest) MarshalBinary ¶

func (m *Configv1CreateTeamRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateTeamRequest) UnmarshalBinary ¶

func (m *Configv1CreateTeamRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateTeamRequest) Validate ¶

func (m *Configv1CreateTeamRequest) Validate(formats strfmt.Registry) error

Validate validates this configv1 create team request

type Configv1CreateTeamResponse ¶

type Configv1CreateTeamResponse struct {

	// team
	Team *Configv1Team `json:"team,omitempty"`
}

Configv1CreateTeamResponse configv1 create team response

swagger:model configv1CreateTeamResponse

func (*Configv1CreateTeamResponse) ContextValidate ¶

func (m *Configv1CreateTeamResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 create team response based on the context it is used

func (*Configv1CreateTeamResponse) MarshalBinary ¶

func (m *Configv1CreateTeamResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1CreateTeamResponse) UnmarshalBinary ¶

func (m *Configv1CreateTeamResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1CreateTeamResponse) Validate ¶

func (m *Configv1CreateTeamResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 create team response

type Configv1Dashboard ¶

type Configv1Dashboard struct {

	// Unique identifier of the Dashboard. If slug is not provided, one will be generated based of the name field. Cannot be modified after the Dashboard is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the Dashboard. May be modified after the Dashboard is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Dashboard was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Dashboard was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Optional slug of the collection the dashboard belongs to.
	CollectionSlug string `json:"collection_slug,omitempty"`

	// collection
	Collection *Configv1CollectionReference `json:"collection,omitempty"`

	// Required raw JSON of the dashboard.
	DashboardJSON string `json:"dashboard_json,omitempty"`
}

Configv1Dashboard configv1 dashboard

swagger:model configv1Dashboard

func (*Configv1Dashboard) ContextValidate ¶

func (m *Configv1Dashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 dashboard based on the context it is used

func (*Configv1Dashboard) MarshalBinary ¶

func (m *Configv1Dashboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Dashboard) UnmarshalBinary ¶

func (m *Configv1Dashboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Dashboard) Validate ¶

func (m *Configv1Dashboard) Validate(formats strfmt.Registry) error

Validate validates this configv1 dashboard

type Configv1DeleteBucketResponse ¶

type Configv1DeleteBucketResponse struct {

	// Changes contains what resources are deleted. The bucket being deleted will
	// always be included. When force_delete is used, the changelog will include
	// all resources that reference the bucket that were deleted.
	Changes []*ResourceChange `json:"changes"`
}

Configv1DeleteBucketResponse configv1 delete bucket response

swagger:model configv1DeleteBucketResponse

func (*Configv1DeleteBucketResponse) ContextValidate ¶

func (m *Configv1DeleteBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 delete bucket response based on the context it is used

func (*Configv1DeleteBucketResponse) MarshalBinary ¶

func (m *Configv1DeleteBucketResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1DeleteBucketResponse) UnmarshalBinary ¶

func (m *Configv1DeleteBucketResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1DeleteBucketResponse) Validate ¶

func (m *Configv1DeleteBucketResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 delete bucket response

type Configv1DeleteClassicDashboardResponse ¶

type Configv1DeleteClassicDashboardResponse interface{}

Configv1DeleteClassicDashboardResponse configv1 delete classic dashboard response

swagger:model configv1DeleteClassicDashboardResponse

type Configv1DeleteCollectionResponse ¶

type Configv1DeleteCollectionResponse interface{}

Configv1DeleteCollectionResponse configv1 delete collection response

swagger:model configv1DeleteCollectionResponse

type Configv1DeleteDashboardResponse ¶

type Configv1DeleteDashboardResponse interface{}

Configv1DeleteDashboardResponse configv1 delete dashboard response

swagger:model configv1DeleteDashboardResponse

type Configv1DeleteDerivedLabelResponse ¶

type Configv1DeleteDerivedLabelResponse interface{}

Configv1DeleteDerivedLabelResponse configv1 delete derived label response

swagger:model configv1DeleteDerivedLabelResponse

type Configv1DeleteDerivedMetricResponse ¶

type Configv1DeleteDerivedMetricResponse interface{}

Configv1DeleteDerivedMetricResponse configv1 delete derived metric response

swagger:model configv1DeleteDerivedMetricResponse

type Configv1DeleteDropRuleResponse ¶

type Configv1DeleteDropRuleResponse interface{}

Configv1DeleteDropRuleResponse configv1 delete drop rule response

swagger:model configv1DeleteDropRuleResponse

type Configv1DeleteGrafanaDashboardResponse ¶

type Configv1DeleteGrafanaDashboardResponse interface{}

Configv1DeleteGrafanaDashboardResponse configv1 delete grafana dashboard response

swagger:model configv1DeleteGrafanaDashboardResponse

type Configv1DeleteMappingRuleResponse ¶

type Configv1DeleteMappingRuleResponse interface{}

Configv1DeleteMappingRuleResponse configv1 delete mapping rule response

swagger:model configv1DeleteMappingRuleResponse

type Configv1DeleteMonitorResponse ¶

type Configv1DeleteMonitorResponse interface{}

Configv1DeleteMonitorResponse configv1 delete monitor response

swagger:model configv1DeleteMonitorResponse

type Configv1DeleteMutingRuleResponse ¶

type Configv1DeleteMutingRuleResponse interface{}

Configv1DeleteMutingRuleResponse configv1 delete muting rule response

swagger:model configv1DeleteMutingRuleResponse

type Configv1DeleteNotificationPolicyResponse ¶

type Configv1DeleteNotificationPolicyResponse interface{}

Configv1DeleteNotificationPolicyResponse configv1 delete notification policy response

swagger:model configv1DeleteNotificationPolicyResponse

type Configv1DeleteNotifierResponse ¶

type Configv1DeleteNotifierResponse interface{}

Configv1DeleteNotifierResponse configv1 delete notifier response

swagger:model configv1DeleteNotifierResponse

type Configv1DeleteRecordingRuleResponse ¶

type Configv1DeleteRecordingRuleResponse interface{}

Configv1DeleteRecordingRuleResponse configv1 delete recording rule response

swagger:model configv1DeleteRecordingRuleResponse

type Configv1DeleteResourcePoolsResponse ¶

type Configv1DeleteResourcePoolsResponse interface{}

Configv1DeleteResourcePoolsResponse configv1 delete resource pools response

swagger:model configv1DeleteResourcePoolsResponse

type Configv1DeleteRollupRuleResponse ¶

type Configv1DeleteRollupRuleResponse interface{}

Configv1DeleteRollupRuleResponse configv1 delete rollup rule response

swagger:model configv1DeleteRollupRuleResponse

type Configv1DeleteServiceAccountResponse ¶

type Configv1DeleteServiceAccountResponse interface{}

Configv1DeleteServiceAccountResponse configv1 delete service account response

swagger:model configv1DeleteServiceAccountResponse

type Configv1DeleteTeamResponse ¶

type Configv1DeleteTeamResponse interface{}

Configv1DeleteTeamResponse configv1 delete team response

swagger:model configv1DeleteTeamResponse

type Configv1DerivedLabel ¶

type Configv1DerivedLabel struct {

	// Required name of the DerivedLabel. May be modified after the DerivedLabel is created.
	Name string `json:"name,omitempty"`

	// Unique identifier of the DerivedLabel. If slug is not provided, one will be generated based of the name field. Cannot be modified after the DerivedLabel is created.
	Slug string `json:"slug,omitempty"`

	// Timestamp of when the DerivedLabel was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the DerivedLabel was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Name of the derived label. It needs to be unique across the system.
	LabelName string `json:"label_name,omitempty"`

	// Optional description of the derived label.
	Description string `json:"description,omitempty"`

	// metric label
	MetricLabel *DerivedLabelMetricLabel `json:"metric_label,omitempty"`

	// existing label policy
	ExistingLabelPolicy Configv1DerivedLabelLabelPolicy `json:"existing_label_policy,omitempty"`
}

Configv1DerivedLabel configv1 derived label

swagger:model configv1DerivedLabel

func (*Configv1DerivedLabel) ContextValidate ¶

func (m *Configv1DerivedLabel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 derived label based on the context it is used

func (*Configv1DerivedLabel) MarshalBinary ¶

func (m *Configv1DerivedLabel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1DerivedLabel) UnmarshalBinary ¶

func (m *Configv1DerivedLabel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1DerivedLabel) Validate ¶

func (m *Configv1DerivedLabel) Validate(formats strfmt.Registry) error

Validate validates this configv1 derived label

type Configv1DerivedLabelLabelPolicy ¶

type Configv1DerivedLabelLabelPolicy string

Configv1DerivedLabelLabelPolicy configv1 derived label label policy

swagger:model configv1DerivedLabelLabelPolicy

const (

	// Configv1DerivedLabelLabelPolicyKEEP captures enum value "KEEP"
	Configv1DerivedLabelLabelPolicyKEEP Configv1DerivedLabelLabelPolicy = "KEEP"

	// Configv1DerivedLabelLabelPolicyOVERRIDE captures enum value "OVERRIDE"
	Configv1DerivedLabelLabelPolicyOVERRIDE Configv1DerivedLabelLabelPolicy = "OVERRIDE"
)

func (Configv1DerivedLabelLabelPolicy) ContextValidate ¶

func (m Configv1DerivedLabelLabelPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 derived label label policy based on context it is used

func (Configv1DerivedLabelLabelPolicy) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1DerivedLabelLabelPolicy.

func (Configv1DerivedLabelLabelPolicy) Validate ¶

Validate validates this configv1 derived label label policy

type Configv1DerivedMetric ¶

type Configv1DerivedMetric struct {

	// Required name of the DerivedMetric. May be modified after the DerivedMetric is created.
	Name string `json:"name,omitempty"`

	// Unique identifier of the DerivedMetric. If slug is not provided, one will be generated based of the name field. Cannot be modified after the DerivedMetric is created.
	Slug string `json:"slug,omitempty"`

	// Timestamp of when the DerivedMetric was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the DerivedMetric was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Required metric name of the derived metric, which must be unique across the system.
	// Example: cpu_usage:instance
	MetricName string `json:"metric_name,omitempty"`

	// Optional description of the derived metric.
	Description string `json:"description,omitempty"`

	// Required queries that the derived metric can map to.
	Queries []*DerivedMetricSelectorQuery `json:"queries"`
}

Configv1DerivedMetric configv1 derived metric

swagger:model configv1DerivedMetric

func (*Configv1DerivedMetric) ContextValidate ¶

func (m *Configv1DerivedMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 derived metric based on the context it is used

func (*Configv1DerivedMetric) MarshalBinary ¶

func (m *Configv1DerivedMetric) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1DerivedMetric) UnmarshalBinary ¶

func (m *Configv1DerivedMetric) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1DerivedMetric) Validate ¶

func (m *Configv1DerivedMetric) Validate(formats strfmt.Registry) error

Validate validates this configv1 derived metric

type Configv1DerivedMetricLabelMatcher ¶

type Configv1DerivedMetricLabelMatcher struct {

	// type
	Type Configv1DerivedMetricLabelMatcherMatcherType `json:"type,omitempty"`

	// name always matches against an exact label name.
	Name string `json:"name,omitempty"`

	// value matches against a label value based on the configured type.
	Value string `json:"value,omitempty"`
}

Configv1DerivedMetricLabelMatcher configv1 derived metric label matcher

swagger:model configv1DerivedMetricLabelMatcher

func (*Configv1DerivedMetricLabelMatcher) ContextValidate ¶

func (m *Configv1DerivedMetricLabelMatcher) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 derived metric label matcher based on the context it is used

func (*Configv1DerivedMetricLabelMatcher) MarshalBinary ¶

func (m *Configv1DerivedMetricLabelMatcher) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1DerivedMetricLabelMatcher) UnmarshalBinary ¶

func (m *Configv1DerivedMetricLabelMatcher) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1DerivedMetricLabelMatcher) Validate ¶

Validate validates this configv1 derived metric label matcher

type Configv1DerivedMetricLabelMatcherMatcherType ¶

type Configv1DerivedMetricLabelMatcherMatcherType string

Configv1DerivedMetricLabelMatcherMatcherType configv1 derived metric label matcher matcher type

swagger:model configv1DerivedMetricLabelMatcherMatcherType

const (

	// Configv1DerivedMetricLabelMatcherMatcherTypeEXACT captures enum value "EXACT"
	Configv1DerivedMetricLabelMatcherMatcherTypeEXACT Configv1DerivedMetricLabelMatcherMatcherType = "EXACT"
)

func (Configv1DerivedMetricLabelMatcherMatcherType) ContextValidate ¶

ContextValidate validates this configv1 derived metric label matcher matcher type based on context it is used

func (Configv1DerivedMetricLabelMatcherMatcherType) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1DerivedMetricLabelMatcherMatcherType.

func (Configv1DerivedMetricLabelMatcherMatcherType) Validate ¶

Validate validates this configv1 derived metric label matcher matcher type

type Configv1DropRule ¶

type Configv1DropRule struct {

	// Unique identifier of the DropRule. If slug is not provided, one will be generated based of the name field. Cannot be modified after the DropRule is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the DropRule. May be modified after the DropRule is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the DropRule was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the DropRule was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// mode
	Mode Configv1DropRuleMode `json:"mode,omitempty"`

	// Series that match this filter are dropped.
	Filters []*Configv1LabelFilter `json:"filters"`

	// conditional rate based drop
	ConditionalRateBasedDrop *DropRuleConditionalRateBasedDrop `json:"conditional_rate_based_drop,omitempty"`

	// value based drop
	ValueBasedDrop *DropRuleValueBasedDrop `json:"value_based_drop,omitempty"`
}

Configv1DropRule configv1 drop rule

swagger:model configv1DropRule

func (*Configv1DropRule) ContextValidate ¶

func (m *Configv1DropRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 drop rule based on the context it is used

func (*Configv1DropRule) MarshalBinary ¶

func (m *Configv1DropRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1DropRule) UnmarshalBinary ¶

func (m *Configv1DropRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1DropRule) Validate ¶

func (m *Configv1DropRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 drop rule

type Configv1DropRuleMode ¶

type Configv1DropRuleMode string

Configv1DropRuleMode configv1 drop rule mode

swagger:model configv1DropRuleMode

const (

	// Configv1DropRuleModeENABLED captures enum value "ENABLED"
	Configv1DropRuleModeENABLED Configv1DropRuleMode = "ENABLED"

	// Configv1DropRuleModeDISABLED captures enum value "DISABLED"
	Configv1DropRuleModeDISABLED Configv1DropRuleMode = "DISABLED"
)

func NewConfigv1DropRuleMode ¶

func NewConfigv1DropRuleMode(value Configv1DropRuleMode) *Configv1DropRuleMode

func (Configv1DropRuleMode) ContextValidate ¶

func (m Configv1DropRuleMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 drop rule mode based on context it is used

func (Configv1DropRuleMode) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1DropRuleMode.

func (Configv1DropRuleMode) Validate ¶

func (m Configv1DropRuleMode) Validate(formats strfmt.Registry) error

Validate validates this configv1 drop rule mode

type Configv1GrafanaDashboard ¶

type Configv1GrafanaDashboard struct {

	// Unique identifier of the GrafanaDashboard. If slug is not provided, one will be generated based of the name field. Cannot be modified after the GrafanaDashboard is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the GrafanaDashboard. May be modified after the GrafanaDashboard is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the GrafanaDashboard was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the GrafanaDashboard was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Slug of the bucket the dashboard belongs to. Required if collection_slug
	// is not set.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Slug of the collection the dashboard belongs to. Required if bucket_slug
	// is not set.
	CollectionSlug string `json:"collection_slug,omitempty"`

	// collection
	Collection *Configv1CollectionReference `json:"collection,omitempty"`

	// Required raw JSON of the Grafana dashboard.
	DashboardJSON string `json:"dashboard_json,omitempty"`
}

Configv1GrafanaDashboard configv1 grafana dashboard

swagger:model configv1GrafanaDashboard

func (*Configv1GrafanaDashboard) ContextValidate ¶

func (m *Configv1GrafanaDashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 grafana dashboard based on the context it is used

func (*Configv1GrafanaDashboard) MarshalBinary ¶

func (m *Configv1GrafanaDashboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1GrafanaDashboard) UnmarshalBinary ¶

func (m *Configv1GrafanaDashboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1GrafanaDashboard) Validate ¶

func (m *Configv1GrafanaDashboard) Validate(formats strfmt.Registry) error

Validate validates this configv1 grafana dashboard

type Configv1LabelFilter ¶

type Configv1LabelFilter struct {

	// Name of the label to match.
	// Example: job
	Name string `json:"name,omitempty"`

	// Glob value of the label to match.
	// Example: myservice*
	ValueGlob string `json:"value_glob,omitempty"`
}

Configv1LabelFilter configv1 label filter

swagger:model configv1LabelFilter

func (*Configv1LabelFilter) ContextValidate ¶

func (m *Configv1LabelFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 label filter based on context it is used

func (*Configv1LabelFilter) MarshalBinary ¶

func (m *Configv1LabelFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LabelFilter) UnmarshalBinary ¶

func (m *Configv1LabelFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LabelFilter) Validate ¶

func (m *Configv1LabelFilter) Validate(formats strfmt.Registry) error

Validate validates this configv1 label filter

type Configv1LabelMatcher ¶

type Configv1LabelMatcher struct {

	// type
	Type Configv1LabelMatcherMatcherType `json:"type,omitempty"`

	// name always matches against an exact label name.
	Name string `json:"name,omitempty"`

	// value matches against a label value based on the configured type.
	Value string `json:"value,omitempty"`
}

Configv1LabelMatcher configv1 label matcher

swagger:model configv1LabelMatcher

func (*Configv1LabelMatcher) ContextValidate ¶

func (m *Configv1LabelMatcher) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 label matcher based on the context it is used

func (*Configv1LabelMatcher) MarshalBinary ¶

func (m *Configv1LabelMatcher) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1LabelMatcher) UnmarshalBinary ¶

func (m *Configv1LabelMatcher) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1LabelMatcher) Validate ¶

func (m *Configv1LabelMatcher) Validate(formats strfmt.Registry) error

Validate validates this configv1 label matcher

type Configv1LabelMatcherMatcherType ¶

type Configv1LabelMatcherMatcherType string

Configv1LabelMatcherMatcherType configv1 label matcher matcher type

swagger:model configv1LabelMatcherMatcherType

const (

	// Configv1LabelMatcherMatcherTypeEXACT captures enum value "EXACT"
	Configv1LabelMatcherMatcherTypeEXACT Configv1LabelMatcherMatcherType = "EXACT"

	// Configv1LabelMatcherMatcherTypeREGEX captures enum value "REGEX"
	Configv1LabelMatcherMatcherTypeREGEX Configv1LabelMatcherMatcherType = "REGEX"
)

func (Configv1LabelMatcherMatcherType) ContextValidate ¶

func (m Configv1LabelMatcherMatcherType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 label matcher matcher type based on context it is used

func (Configv1LabelMatcherMatcherType) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1LabelMatcherMatcherType.

func (Configv1LabelMatcherMatcherType) Validate ¶

Validate validates this configv1 label matcher matcher type

type Configv1ListBucketsResponse ¶

type Configv1ListBucketsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// buckets
	Buckets []*Configv1Bucket `json:"buckets"`
}

Configv1ListBucketsResponse configv1 list buckets response

swagger:model configv1ListBucketsResponse

func (*Configv1ListBucketsResponse) ContextValidate ¶

func (m *Configv1ListBucketsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list buckets response based on the context it is used

func (*Configv1ListBucketsResponse) MarshalBinary ¶

func (m *Configv1ListBucketsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListBucketsResponse) UnmarshalBinary ¶

func (m *Configv1ListBucketsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListBucketsResponse) Validate ¶

func (m *Configv1ListBucketsResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list buckets response

type Configv1ListClassicDashboardsResponse ¶

type Configv1ListClassicDashboardsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// classic dashboards
	ClassicDashboards []*Configv1GrafanaDashboard `json:"classic_dashboards"`
}

Configv1ListClassicDashboardsResponse configv1 list classic dashboards response

swagger:model configv1ListClassicDashboardsResponse

func (*Configv1ListClassicDashboardsResponse) ContextValidate ¶

func (m *Configv1ListClassicDashboardsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list classic dashboards response based on the context it is used

func (*Configv1ListClassicDashboardsResponse) MarshalBinary ¶

func (m *Configv1ListClassicDashboardsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListClassicDashboardsResponse) UnmarshalBinary ¶

func (m *Configv1ListClassicDashboardsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListClassicDashboardsResponse) Validate ¶

Validate validates this configv1 list classic dashboards response

type Configv1ListCollectionsResponse ¶

type Configv1ListCollectionsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// collections
	Collections []*Configv1Collection `json:"collections"`
}

Configv1ListCollectionsResponse configv1 list collections response

swagger:model configv1ListCollectionsResponse

func (*Configv1ListCollectionsResponse) ContextValidate ¶

func (m *Configv1ListCollectionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list collections response based on the context it is used

func (*Configv1ListCollectionsResponse) MarshalBinary ¶

func (m *Configv1ListCollectionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListCollectionsResponse) UnmarshalBinary ¶

func (m *Configv1ListCollectionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListCollectionsResponse) Validate ¶

Validate validates this configv1 list collections response

type Configv1ListDashboardsResponse ¶

type Configv1ListDashboardsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// dashboards
	Dashboards []*Configv1Dashboard `json:"dashboards"`
}

Configv1ListDashboardsResponse configv1 list dashboards response

swagger:model configv1ListDashboardsResponse

func (*Configv1ListDashboardsResponse) ContextValidate ¶

func (m *Configv1ListDashboardsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list dashboards response based on the context it is used

func (*Configv1ListDashboardsResponse) MarshalBinary ¶

func (m *Configv1ListDashboardsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListDashboardsResponse) UnmarshalBinary ¶

func (m *Configv1ListDashboardsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListDashboardsResponse) Validate ¶

func (m *Configv1ListDashboardsResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list dashboards response

type Configv1ListDerivedLabelsResponse ¶

type Configv1ListDerivedLabelsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// derived labels
	DerivedLabels []*Configv1DerivedLabel `json:"derived_labels"`
}

Configv1ListDerivedLabelsResponse configv1 list derived labels response

swagger:model configv1ListDerivedLabelsResponse

func (*Configv1ListDerivedLabelsResponse) ContextValidate ¶

func (m *Configv1ListDerivedLabelsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list derived labels response based on the context it is used

func (*Configv1ListDerivedLabelsResponse) MarshalBinary ¶

func (m *Configv1ListDerivedLabelsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListDerivedLabelsResponse) UnmarshalBinary ¶

func (m *Configv1ListDerivedLabelsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListDerivedLabelsResponse) Validate ¶

Validate validates this configv1 list derived labels response

type Configv1ListDerivedMetricsResponse ¶

type Configv1ListDerivedMetricsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// derived metrics
	DerivedMetrics []*Configv1DerivedMetric `json:"derived_metrics"`
}

Configv1ListDerivedMetricsResponse configv1 list derived metrics response

swagger:model configv1ListDerivedMetricsResponse

func (*Configv1ListDerivedMetricsResponse) ContextValidate ¶

func (m *Configv1ListDerivedMetricsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list derived metrics response based on the context it is used

func (*Configv1ListDerivedMetricsResponse) MarshalBinary ¶

func (m *Configv1ListDerivedMetricsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListDerivedMetricsResponse) UnmarshalBinary ¶

func (m *Configv1ListDerivedMetricsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListDerivedMetricsResponse) Validate ¶

Validate validates this configv1 list derived metrics response

type Configv1ListDropRulesResponse ¶

type Configv1ListDropRulesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// drop rules
	DropRules []*Configv1DropRule `json:"drop_rules"`
}

Configv1ListDropRulesResponse configv1 list drop rules response

swagger:model configv1ListDropRulesResponse

func (*Configv1ListDropRulesResponse) ContextValidate ¶

func (m *Configv1ListDropRulesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list drop rules response based on the context it is used

func (*Configv1ListDropRulesResponse) MarshalBinary ¶

func (m *Configv1ListDropRulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListDropRulesResponse) UnmarshalBinary ¶

func (m *Configv1ListDropRulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListDropRulesResponse) Validate ¶

func (m *Configv1ListDropRulesResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list drop rules response

type Configv1ListGrafanaDashboardsResponse ¶

type Configv1ListGrafanaDashboardsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// grafana dashboards
	GrafanaDashboards []*Configv1GrafanaDashboard `json:"grafana_dashboards"`
}

Configv1ListGrafanaDashboardsResponse configv1 list grafana dashboards response

swagger:model configv1ListGrafanaDashboardsResponse

func (*Configv1ListGrafanaDashboardsResponse) ContextValidate ¶

func (m *Configv1ListGrafanaDashboardsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list grafana dashboards response based on the context it is used

func (*Configv1ListGrafanaDashboardsResponse) MarshalBinary ¶

func (m *Configv1ListGrafanaDashboardsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListGrafanaDashboardsResponse) UnmarshalBinary ¶

func (m *Configv1ListGrafanaDashboardsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListGrafanaDashboardsResponse) Validate ¶

Validate validates this configv1 list grafana dashboards response

type Configv1ListMappingRulesResponse ¶

type Configv1ListMappingRulesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// mapping rules
	MappingRules []*Configv1MappingRule `json:"mapping_rules"`
}

Configv1ListMappingRulesResponse configv1 list mapping rules response

swagger:model configv1ListMappingRulesResponse

func (*Configv1ListMappingRulesResponse) ContextValidate ¶

func (m *Configv1ListMappingRulesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list mapping rules response based on the context it is used

func (*Configv1ListMappingRulesResponse) MarshalBinary ¶

func (m *Configv1ListMappingRulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListMappingRulesResponse) UnmarshalBinary ¶

func (m *Configv1ListMappingRulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListMappingRulesResponse) Validate ¶

Validate validates this configv1 list mapping rules response

type Configv1ListMonitorsResponse ¶

type Configv1ListMonitorsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// monitors
	Monitors []*Configv1Monitor `json:"monitors"`
}

Configv1ListMonitorsResponse configv1 list monitors response

swagger:model configv1ListMonitorsResponse

func (*Configv1ListMonitorsResponse) ContextValidate ¶

func (m *Configv1ListMonitorsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list monitors response based on the context it is used

func (*Configv1ListMonitorsResponse) MarshalBinary ¶

func (m *Configv1ListMonitorsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListMonitorsResponse) UnmarshalBinary ¶

func (m *Configv1ListMonitorsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListMonitorsResponse) Validate ¶

func (m *Configv1ListMonitorsResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list monitors response

type Configv1ListMutingRulesResponse ¶

type Configv1ListMutingRulesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// muting rules
	MutingRules []*Configv1MutingRule `json:"muting_rules"`
}

Configv1ListMutingRulesResponse configv1 list muting rules response

swagger:model configv1ListMutingRulesResponse

func (*Configv1ListMutingRulesResponse) ContextValidate ¶

func (m *Configv1ListMutingRulesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list muting rules response based on the context it is used

func (*Configv1ListMutingRulesResponse) MarshalBinary ¶

func (m *Configv1ListMutingRulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListMutingRulesResponse) UnmarshalBinary ¶

func (m *Configv1ListMutingRulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListMutingRulesResponse) Validate ¶

Validate validates this configv1 list muting rules response

type Configv1ListNotificationPoliciesResponse ¶

type Configv1ListNotificationPoliciesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// notification policies
	NotificationPolicies []*Configv1NotificationPolicy `json:"notification_policies"`
}

Configv1ListNotificationPoliciesResponse configv1 list notification policies response

swagger:model configv1ListNotificationPoliciesResponse

func (*Configv1ListNotificationPoliciesResponse) ContextValidate ¶

ContextValidate validate this configv1 list notification policies response based on the context it is used

func (*Configv1ListNotificationPoliciesResponse) MarshalBinary ¶

func (m *Configv1ListNotificationPoliciesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListNotificationPoliciesResponse) UnmarshalBinary ¶

func (m *Configv1ListNotificationPoliciesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListNotificationPoliciesResponse) Validate ¶

Validate validates this configv1 list notification policies response

type Configv1ListNotifiersResponse ¶

type Configv1ListNotifiersResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// notifiers
	Notifiers []*Configv1Notifier `json:"notifiers"`
}

Configv1ListNotifiersResponse configv1 list notifiers response

swagger:model configv1ListNotifiersResponse

func (*Configv1ListNotifiersResponse) ContextValidate ¶

func (m *Configv1ListNotifiersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list notifiers response based on the context it is used

func (*Configv1ListNotifiersResponse) MarshalBinary ¶

func (m *Configv1ListNotifiersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListNotifiersResponse) UnmarshalBinary ¶

func (m *Configv1ListNotifiersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListNotifiersResponse) Validate ¶

func (m *Configv1ListNotifiersResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list notifiers response

type Configv1ListRecordingRulesResponse ¶

type Configv1ListRecordingRulesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// recording rules
	RecordingRules []*Configv1RecordingRule `json:"recording_rules"`
}

Configv1ListRecordingRulesResponse configv1 list recording rules response

swagger:model configv1ListRecordingRulesResponse

func (*Configv1ListRecordingRulesResponse) ContextValidate ¶

func (m *Configv1ListRecordingRulesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list recording rules response based on the context it is used

func (*Configv1ListRecordingRulesResponse) MarshalBinary ¶

func (m *Configv1ListRecordingRulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListRecordingRulesResponse) UnmarshalBinary ¶

func (m *Configv1ListRecordingRulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListRecordingRulesResponse) Validate ¶

Validate validates this configv1 list recording rules response

type Configv1ListRollupRulesResponse ¶

type Configv1ListRollupRulesResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// rollup rules
	RollupRules []*Configv1RollupRule `json:"rollup_rules"`
}

Configv1ListRollupRulesResponse configv1 list rollup rules response

swagger:model configv1ListRollupRulesResponse

func (*Configv1ListRollupRulesResponse) ContextValidate ¶

func (m *Configv1ListRollupRulesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list rollup rules response based on the context it is used

func (*Configv1ListRollupRulesResponse) MarshalBinary ¶

func (m *Configv1ListRollupRulesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListRollupRulesResponse) UnmarshalBinary ¶

func (m *Configv1ListRollupRulesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListRollupRulesResponse) Validate ¶

Validate validates this configv1 list rollup rules response

type Configv1ListServiceAccountsResponse ¶

type Configv1ListServiceAccountsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// service accounts
	ServiceAccounts []*Configv1ServiceAccount `json:"service_accounts"`
}

Configv1ListServiceAccountsResponse configv1 list service accounts response

swagger:model configv1ListServiceAccountsResponse

func (*Configv1ListServiceAccountsResponse) ContextValidate ¶

func (m *Configv1ListServiceAccountsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list service accounts response based on the context it is used

func (*Configv1ListServiceAccountsResponse) MarshalBinary ¶

func (m *Configv1ListServiceAccountsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListServiceAccountsResponse) UnmarshalBinary ¶

func (m *Configv1ListServiceAccountsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListServiceAccountsResponse) Validate ¶

Validate validates this configv1 list service accounts response

type Configv1ListTeamsResponse ¶

type Configv1ListTeamsResponse struct {

	// page
	Page *Configv1PageResult `json:"page,omitempty"`

	// teams
	Teams []*Configv1Team `json:"teams"`
}

Configv1ListTeamsResponse configv1 list teams response

swagger:model configv1ListTeamsResponse

func (*Configv1ListTeamsResponse) ContextValidate ¶

func (m *Configv1ListTeamsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 list teams response based on the context it is used

func (*Configv1ListTeamsResponse) MarshalBinary ¶

func (m *Configv1ListTeamsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ListTeamsResponse) UnmarshalBinary ¶

func (m *Configv1ListTeamsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ListTeamsResponse) Validate ¶

func (m *Configv1ListTeamsResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 list teams response

type Configv1MappingRule ¶

type Configv1MappingRule struct {

	// Unique identifier of the MappingRule. If slug is not provided, one will be generated based of the name field. Cannot be modified after the MappingRule is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the MappingRule. May be modified after the MappingRule is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the MappingRule was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the MappingRule was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Required slug of the bucket the MappingRule belongs to.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Required filters that determine to which metrics to apply the rule.
	Filters []*Configv1LabelFilter `json:"filters"`

	// aggregation policy
	AggregationPolicy *MappingRuleAggregationPolicy `json:"aggregation_policy,omitempty"`

	// Whether to drop the given set of metrics. If set, then the aggregation
	// policy can't be set.
	Drop bool `json:"drop,omitempty"`

	// mode
	Mode Configv1MappingRuleMode `json:"mode,omitempty"`
}

Configv1MappingRule configv1 mapping rule

swagger:model configv1MappingRule

func (*Configv1MappingRule) ContextValidate ¶

func (m *Configv1MappingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 mapping rule based on the context it is used

func (*Configv1MappingRule) MarshalBinary ¶

func (m *Configv1MappingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1MappingRule) UnmarshalBinary ¶

func (m *Configv1MappingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1MappingRule) Validate ¶

func (m *Configv1MappingRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 mapping rule

type Configv1MappingRuleMode ¶

type Configv1MappingRuleMode string

Configv1MappingRuleMode - ENABLED: ENABLED rules are applied. Rules default to ENABLED.

  • PREVIEW: PREVIEW rules are not applied, but shaping impact stats

for them rule are recorded.

swagger:model configv1MappingRuleMode

const (

	// Configv1MappingRuleModeENABLED captures enum value "ENABLED"
	Configv1MappingRuleModeENABLED Configv1MappingRuleMode = "ENABLED"

	// Configv1MappingRuleModePREVIEW captures enum value "PREVIEW"
	Configv1MappingRuleModePREVIEW Configv1MappingRuleMode = "PREVIEW"
)

func (Configv1MappingRuleMode) ContextValidate ¶

func (m Configv1MappingRuleMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 mapping rule mode based on context it is used

func (Configv1MappingRuleMode) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1MappingRuleMode.

func (Configv1MappingRuleMode) Validate ¶

func (m Configv1MappingRuleMode) Validate(formats strfmt.Registry) error

Validate validates this configv1 mapping rule mode

type Configv1MappingRuleStoragePolicy ¶

type Configv1MappingRuleStoragePolicy struct {

	// Required resolution of the aggregated metrics.
	Resolution string `json:"resolution,omitempty"`

	// Required retention of the aggregated metrics.
	Retention string `json:"retention,omitempty"`
}

Configv1MappingRuleStoragePolicy configv1 mapping rule storage policy

swagger:model configv1MappingRuleStoragePolicy

func (*Configv1MappingRuleStoragePolicy) ContextValidate ¶

func (m *Configv1MappingRuleStoragePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 mapping rule storage policy based on context it is used

func (*Configv1MappingRuleStoragePolicy) MarshalBinary ¶

func (m *Configv1MappingRuleStoragePolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1MappingRuleStoragePolicy) UnmarshalBinary ¶

func (m *Configv1MappingRuleStoragePolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1MappingRuleStoragePolicy) Validate ¶

Validate validates this configv1 mapping rule storage policy

type Configv1Monitor ¶

type Configv1Monitor struct {

	// Unique identifier of the Monitor. If slug is not provided, one will be generated based of the name field. Cannot be modified after the Monitor is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the Monitor. May be modified after the Monitor is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Monitor was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Monitor was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Slug of the bucket the monitor belongs to. Required if collection_slug is
	// not set.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Slug of the collection the monitor belongs to. Required if bucket_slug is
	// not set.
	CollectionSlug string `json:"collection_slug,omitempty"`

	// collection
	Collection *Configv1CollectionReference `json:"collection,omitempty"`

	// Labels are visible in notifications generated by this monitor,
	// and can be used to route alerts with notification overrides.
	Labels map[string]string `json:"labels,omitempty"`

	// Annotations are visible in notifications generated by this monitor.
	// They can be be templated with labels from notifications.
	Annotations map[string]string `json:"annotations,omitempty"`

	// signal grouping
	SignalGrouping *MonitorSignalGrouping `json:"signal_grouping,omitempty"`

	// series conditions
	SeriesConditions *MonitorSeriesConditions `json:"series_conditions,omitempty"`

	// Optional notification policy used to route alerts generated by the monitor.
	// If omitted, the notification policy is inherited from the monitor's bucket.
	NotificationPolicySlug string `json:"notification_policy_slug,omitempty"`

	// Optional setting for configuring how often alerts are evaluated.
	// If this is not set, it will default to 60s.
	IntervalSecs int32 `json:"interval_secs,omitempty"`

	// PromQL query. If set, graphite_query cannot be set.
	// Example: up{job=\"prometheus\"} == 0
	PrometheusQuery string `json:"prometheus_query,omitempty"`

	// Graphite query. If set, prometheus_query cannot be set.
	// Example: sumSeries(stats.timers.*.mean_90)
	GraphiteQuery string `json:"graphite_query,omitempty"`

	// schedule
	Schedule *MonitorSchedule `json:"schedule,omitempty"`
}

Configv1Monitor configv1 monitor

swagger:model configv1Monitor

func (*Configv1Monitor) ContextValidate ¶

func (m *Configv1Monitor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 monitor based on the context it is used

func (*Configv1Monitor) MarshalBinary ¶

func (m *Configv1Monitor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Monitor) UnmarshalBinary ¶

func (m *Configv1Monitor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Monitor) Validate ¶

func (m *Configv1Monitor) Validate(formats strfmt.Registry) error

Validate validates this configv1 monitor

type Configv1MutingRule ¶

type Configv1MutingRule struct {

	// Unique identifier of the MutingRule. If slug is not provided, one will be generated based of the name field. Cannot be modified after the MutingRule is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the MutingRule. May be modified after the MutingRule is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the MutingRule was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the MutingRule was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Specify which series are silenced by the muting rule. Alerting series must
	// match all muting rule matchers to be silenced.
	// This value cannot be updated. Updates must specify the original value.
	LabelMatchers []*Configv1MutingRuleLabelMatcher `json:"label_matchers"`

	// Timestamp of when the muting rule becomes active.
	// This value cannot be updated. Updates must specify the original value.
	// Format: date-time
	StartsAt strfmt.DateTime `json:"starts_at,omitempty"`

	// Timestamp of when the muting rule stops being active.
	// Format: date-time
	EndsAt strfmt.DateTime `json:"ends_at,omitempty"`

	// Optional comment that explains why the muting rule was created.
	Comment string `json:"comment,omitempty"`
}

Configv1MutingRule configv1 muting rule

swagger:model configv1MutingRule

func (*Configv1MutingRule) ContextValidate ¶

func (m *Configv1MutingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 muting rule based on the context it is used

func (*Configv1MutingRule) MarshalBinary ¶

func (m *Configv1MutingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1MutingRule) UnmarshalBinary ¶

func (m *Configv1MutingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1MutingRule) Validate ¶

func (m *Configv1MutingRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 muting rule

type Configv1MutingRuleLabelMatcher ¶

type Configv1MutingRuleLabelMatcher struct {

	// type
	Type Configv1MutingRuleLabelMatcherMatcherType `json:"type,omitempty"`

	// name always matches against an exact label name.
	Name string `json:"name,omitempty"`

	// value matches against a label value based on the configured type.
	Value string `json:"value,omitempty"`
}

Configv1MutingRuleLabelMatcher configv1 muting rule label matcher

swagger:model configv1MutingRuleLabelMatcher

func (*Configv1MutingRuleLabelMatcher) ContextValidate ¶

func (m *Configv1MutingRuleLabelMatcher) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 muting rule label matcher based on the context it is used

func (*Configv1MutingRuleLabelMatcher) MarshalBinary ¶

func (m *Configv1MutingRuleLabelMatcher) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1MutingRuleLabelMatcher) UnmarshalBinary ¶

func (m *Configv1MutingRuleLabelMatcher) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1MutingRuleLabelMatcher) Validate ¶

func (m *Configv1MutingRuleLabelMatcher) Validate(formats strfmt.Registry) error

Validate validates this configv1 muting rule label matcher

type Configv1MutingRuleLabelMatcherMatcherType ¶

type Configv1MutingRuleLabelMatcherMatcherType string

Configv1MutingRuleLabelMatcherMatcherType configv1 muting rule label matcher matcher type

swagger:model configv1MutingRuleLabelMatcherMatcherType

const (

	// Configv1MutingRuleLabelMatcherMatcherTypeEXACT captures enum value "EXACT"
	Configv1MutingRuleLabelMatcherMatcherTypeEXACT Configv1MutingRuleLabelMatcherMatcherType = "EXACT"

	// Configv1MutingRuleLabelMatcherMatcherTypeREGEX captures enum value "REGEX"
	Configv1MutingRuleLabelMatcherMatcherTypeREGEX Configv1MutingRuleLabelMatcherMatcherType = "REGEX"

	// Configv1MutingRuleLabelMatcherMatcherTypeNOTEXACT captures enum value "NOT_EXACT"
	Configv1MutingRuleLabelMatcherMatcherTypeNOTEXACT Configv1MutingRuleLabelMatcherMatcherType = "NOT_EXACT"

	// Configv1MutingRuleLabelMatcherMatcherTypeNOTREGEXP captures enum value "NOT_REGEXP"
	Configv1MutingRuleLabelMatcherMatcherTypeNOTREGEXP Configv1MutingRuleLabelMatcherMatcherType = "NOT_REGEXP"
)

func (Configv1MutingRuleLabelMatcherMatcherType) ContextValidate ¶

ContextValidate validates this configv1 muting rule label matcher matcher type based on context it is used

func (Configv1MutingRuleLabelMatcherMatcherType) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1MutingRuleLabelMatcherMatcherType.

func (Configv1MutingRuleLabelMatcherMatcherType) Validate ¶

Validate validates this configv1 muting rule label matcher matcher type

type Configv1NotificationPolicy ¶

type Configv1NotificationPolicy struct {

	// Unique identifier of the NotificationPolicy. If slug is not provided, one will be generated based of the name field. Cannot be modified after the NotificationPolicy is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the NotificationPolicy. May be modified after the NotificationPolicy is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the NotificationPolicy was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the NotificationPolicy was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Slug of the bucket the notification policy belongs to. Required if
	// team_slug is not set.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Slug of the team the notification policy belongs to. Required if
	// bucket_slug is not set.
	TeamSlug string `json:"team_slug,omitempty"`

	// routes
	Routes *NotificationPolicyRoutes `json:"routes,omitempty"`
}

Configv1NotificationPolicy configv1 notification policy

swagger:model configv1NotificationPolicy

func (*Configv1NotificationPolicy) ContextValidate ¶

func (m *Configv1NotificationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 notification policy based on the context it is used

func (*Configv1NotificationPolicy) MarshalBinary ¶

func (m *Configv1NotificationPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1NotificationPolicy) UnmarshalBinary ¶

func (m *Configv1NotificationPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1NotificationPolicy) Validate ¶

func (m *Configv1NotificationPolicy) Validate(formats strfmt.Registry) error

Validate validates this configv1 notification policy

type Configv1Notifier ¶

type Configv1Notifier struct {

	// Unique identifier of the Notifier. If slug is not provided, one will be generated based of the name field. Cannot be modified after the Notifier is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the Notifier. May be modified after the Notifier is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Notifier was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Notifier was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// If true, do not notify on resolved alerts. Cannot set if discard is set.
	SkipResolved bool `json:"skip_resolved,omitempty"`

	// webhook
	Webhook *NotifierWebhookConfig `json:"webhook,omitempty"`

	// slack
	Slack *NotifierSlackConfig `json:"slack,omitempty"`

	// pagerduty
	Pagerduty *NotifierPagerdutyConfig `json:"pagerduty,omitempty"`

	// email
	Email *NotifierEmailConfig `json:"email,omitempty"`

	// ops genie
	OpsGenie *NotifierOpsGenieConfig `json:"ops_genie,omitempty"`

	// victor ops
	VictorOps *NotifierVictorOpsConfig `json:"victor_ops,omitempty"`

	// If set, enables the "discard" integration which simply discards all
	// notifications. Cannot set if another integration is set.
	Discard bool `json:"discard,omitempty"`
}

Configv1Notifier configv1 notifier

swagger:model configv1Notifier

func (*Configv1Notifier) ContextValidate ¶

func (m *Configv1Notifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 notifier based on the context it is used

func (*Configv1Notifier) MarshalBinary ¶

func (m *Configv1Notifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Notifier) UnmarshalBinary ¶

func (m *Configv1Notifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Notifier) Validate ¶

func (m *Configv1Notifier) Validate(formats strfmt.Registry) error

Validate validates this configv1 notifier

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 ¶

func (m *Configv1PageParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Configv1PageParams) Validate ¶

func (m *Configv1PageParams) Validate(formats strfmt.Registry) error

Validate validates this configv1 page params

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 ¶

func (m *Configv1PageResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Configv1PageResult) Validate ¶

func (m *Configv1PageResult) Validate(formats strfmt.Registry) error

Validate validates this configv1 page result

type Configv1ReadBucketResponse ¶

type Configv1ReadBucketResponse struct {

	// bucket
	Bucket *Configv1Bucket `json:"bucket,omitempty"`
}

Configv1ReadBucketResponse configv1 read bucket response

swagger:model configv1ReadBucketResponse

func (*Configv1ReadBucketResponse) ContextValidate ¶

func (m *Configv1ReadBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read bucket response based on the context it is used

func (*Configv1ReadBucketResponse) MarshalBinary ¶

func (m *Configv1ReadBucketResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadBucketResponse) UnmarshalBinary ¶

func (m *Configv1ReadBucketResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadBucketResponse) Validate ¶

func (m *Configv1ReadBucketResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read bucket response

type Configv1ReadClassicDashboardResponse ¶

type Configv1ReadClassicDashboardResponse struct {

	// classic dashboard
	ClassicDashboard *Configv1GrafanaDashboard `json:"classic_dashboard,omitempty"`
}

Configv1ReadClassicDashboardResponse configv1 read classic dashboard response

swagger:model configv1ReadClassicDashboardResponse

func (*Configv1ReadClassicDashboardResponse) ContextValidate ¶

func (m *Configv1ReadClassicDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read classic dashboard response based on the context it is used

func (*Configv1ReadClassicDashboardResponse) MarshalBinary ¶

func (m *Configv1ReadClassicDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadClassicDashboardResponse) UnmarshalBinary ¶

func (m *Configv1ReadClassicDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadClassicDashboardResponse) Validate ¶

Validate validates this configv1 read classic dashboard response

type Configv1ReadCollectionResponse ¶

type Configv1ReadCollectionResponse struct {

	// collection
	Collection *Configv1Collection `json:"collection,omitempty"`
}

Configv1ReadCollectionResponse configv1 read collection response

swagger:model configv1ReadCollectionResponse

func (*Configv1ReadCollectionResponse) ContextValidate ¶

func (m *Configv1ReadCollectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read collection response based on the context it is used

func (*Configv1ReadCollectionResponse) MarshalBinary ¶

func (m *Configv1ReadCollectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadCollectionResponse) UnmarshalBinary ¶

func (m *Configv1ReadCollectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadCollectionResponse) Validate ¶

func (m *Configv1ReadCollectionResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read collection response

type Configv1ReadDashboardResponse ¶

type Configv1ReadDashboardResponse struct {

	// dashboard
	Dashboard *Configv1Dashboard `json:"dashboard,omitempty"`
}

Configv1ReadDashboardResponse configv1 read dashboard response

swagger:model configv1ReadDashboardResponse

func (*Configv1ReadDashboardResponse) ContextValidate ¶

func (m *Configv1ReadDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read dashboard response based on the context it is used

func (*Configv1ReadDashboardResponse) MarshalBinary ¶

func (m *Configv1ReadDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadDashboardResponse) UnmarshalBinary ¶

func (m *Configv1ReadDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadDashboardResponse) Validate ¶

func (m *Configv1ReadDashboardResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read dashboard response

type Configv1ReadDerivedLabelResponse ¶

type Configv1ReadDerivedLabelResponse struct {

	// derived label
	DerivedLabel *Configv1DerivedLabel `json:"derived_label,omitempty"`
}

Configv1ReadDerivedLabelResponse configv1 read derived label response

swagger:model configv1ReadDerivedLabelResponse

func (*Configv1ReadDerivedLabelResponse) ContextValidate ¶

func (m *Configv1ReadDerivedLabelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read derived label response based on the context it is used

func (*Configv1ReadDerivedLabelResponse) MarshalBinary ¶

func (m *Configv1ReadDerivedLabelResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadDerivedLabelResponse) UnmarshalBinary ¶

func (m *Configv1ReadDerivedLabelResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadDerivedLabelResponse) Validate ¶

Validate validates this configv1 read derived label response

type Configv1ReadDerivedMetricResponse ¶

type Configv1ReadDerivedMetricResponse struct {

	// derived metric
	DerivedMetric *Configv1DerivedMetric `json:"derived_metric,omitempty"`
}

Configv1ReadDerivedMetricResponse configv1 read derived metric response

swagger:model configv1ReadDerivedMetricResponse

func (*Configv1ReadDerivedMetricResponse) ContextValidate ¶

func (m *Configv1ReadDerivedMetricResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read derived metric response based on the context it is used

func (*Configv1ReadDerivedMetricResponse) MarshalBinary ¶

func (m *Configv1ReadDerivedMetricResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadDerivedMetricResponse) UnmarshalBinary ¶

func (m *Configv1ReadDerivedMetricResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadDerivedMetricResponse) Validate ¶

Validate validates this configv1 read derived metric response

type Configv1ReadDropRuleResponse ¶

type Configv1ReadDropRuleResponse struct {

	// drop rule
	DropRule *Configv1DropRule `json:"drop_rule,omitempty"`
}

Configv1ReadDropRuleResponse configv1 read drop rule response

swagger:model configv1ReadDropRuleResponse

func (*Configv1ReadDropRuleResponse) ContextValidate ¶

func (m *Configv1ReadDropRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read drop rule response based on the context it is used

func (*Configv1ReadDropRuleResponse) MarshalBinary ¶

func (m *Configv1ReadDropRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadDropRuleResponse) UnmarshalBinary ¶

func (m *Configv1ReadDropRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadDropRuleResponse) Validate ¶

func (m *Configv1ReadDropRuleResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read drop rule response

type Configv1ReadGrafanaDashboardResponse ¶

type Configv1ReadGrafanaDashboardResponse struct {

	// grafana dashboard
	GrafanaDashboard *Configv1GrafanaDashboard `json:"grafana_dashboard,omitempty"`
}

Configv1ReadGrafanaDashboardResponse configv1 read grafana dashboard response

swagger:model configv1ReadGrafanaDashboardResponse

func (*Configv1ReadGrafanaDashboardResponse) ContextValidate ¶

func (m *Configv1ReadGrafanaDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read grafana dashboard response based on the context it is used

func (*Configv1ReadGrafanaDashboardResponse) MarshalBinary ¶

func (m *Configv1ReadGrafanaDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadGrafanaDashboardResponse) UnmarshalBinary ¶

func (m *Configv1ReadGrafanaDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadGrafanaDashboardResponse) Validate ¶

Validate validates this configv1 read grafana dashboard response

type Configv1ReadMappingRuleResponse ¶

type Configv1ReadMappingRuleResponse struct {

	// mapping rule
	MappingRule *Configv1MappingRule `json:"mapping_rule,omitempty"`
}

Configv1ReadMappingRuleResponse configv1 read mapping rule response

swagger:model configv1ReadMappingRuleResponse

func (*Configv1ReadMappingRuleResponse) ContextValidate ¶

func (m *Configv1ReadMappingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read mapping rule response based on the context it is used

func (*Configv1ReadMappingRuleResponse) MarshalBinary ¶

func (m *Configv1ReadMappingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadMappingRuleResponse) UnmarshalBinary ¶

func (m *Configv1ReadMappingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadMappingRuleResponse) Validate ¶

Validate validates this configv1 read mapping rule response

type Configv1ReadMonitorResponse ¶

type Configv1ReadMonitorResponse struct {

	// monitor
	Monitor *Configv1Monitor `json:"monitor,omitempty"`
}

Configv1ReadMonitorResponse configv1 read monitor response

swagger:model configv1ReadMonitorResponse

func (*Configv1ReadMonitorResponse) ContextValidate ¶

func (m *Configv1ReadMonitorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read monitor response based on the context it is used

func (*Configv1ReadMonitorResponse) MarshalBinary ¶

func (m *Configv1ReadMonitorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadMonitorResponse) UnmarshalBinary ¶

func (m *Configv1ReadMonitorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadMonitorResponse) Validate ¶

func (m *Configv1ReadMonitorResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read monitor response

type Configv1ReadMutingRuleResponse ¶

type Configv1ReadMutingRuleResponse struct {

	// muting rule
	MutingRule *Configv1MutingRule `json:"muting_rule,omitempty"`
}

Configv1ReadMutingRuleResponse configv1 read muting rule response

swagger:model configv1ReadMutingRuleResponse

func (*Configv1ReadMutingRuleResponse) ContextValidate ¶

func (m *Configv1ReadMutingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read muting rule response based on the context it is used

func (*Configv1ReadMutingRuleResponse) MarshalBinary ¶

func (m *Configv1ReadMutingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadMutingRuleResponse) UnmarshalBinary ¶

func (m *Configv1ReadMutingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadMutingRuleResponse) Validate ¶

func (m *Configv1ReadMutingRuleResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read muting rule response

type Configv1ReadNotificationPolicyResponse ¶

type Configv1ReadNotificationPolicyResponse struct {

	// notification policy
	NotificationPolicy *Configv1NotificationPolicy `json:"notification_policy,omitempty"`
}

Configv1ReadNotificationPolicyResponse configv1 read notification policy response

swagger:model configv1ReadNotificationPolicyResponse

func (*Configv1ReadNotificationPolicyResponse) ContextValidate ¶

ContextValidate validate this configv1 read notification policy response based on the context it is used

func (*Configv1ReadNotificationPolicyResponse) MarshalBinary ¶

func (m *Configv1ReadNotificationPolicyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadNotificationPolicyResponse) UnmarshalBinary ¶

func (m *Configv1ReadNotificationPolicyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadNotificationPolicyResponse) Validate ¶

Validate validates this configv1 read notification policy response

type Configv1ReadNotifierResponse ¶

type Configv1ReadNotifierResponse struct {

	// notifier
	Notifier *Configv1Notifier `json:"notifier,omitempty"`
}

Configv1ReadNotifierResponse configv1 read notifier response

swagger:model configv1ReadNotifierResponse

func (*Configv1ReadNotifierResponse) ContextValidate ¶

func (m *Configv1ReadNotifierResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read notifier response based on the context it is used

func (*Configv1ReadNotifierResponse) MarshalBinary ¶

func (m *Configv1ReadNotifierResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadNotifierResponse) UnmarshalBinary ¶

func (m *Configv1ReadNotifierResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadNotifierResponse) Validate ¶

func (m *Configv1ReadNotifierResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read notifier response

type Configv1ReadRecordingRuleResponse ¶

type Configv1ReadRecordingRuleResponse struct {

	// recording rule
	RecordingRule *Configv1RecordingRule `json:"recording_rule,omitempty"`
}

Configv1ReadRecordingRuleResponse configv1 read recording rule response

swagger:model configv1ReadRecordingRuleResponse

func (*Configv1ReadRecordingRuleResponse) ContextValidate ¶

func (m *Configv1ReadRecordingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read recording rule response based on the context it is used

func (*Configv1ReadRecordingRuleResponse) MarshalBinary ¶

func (m *Configv1ReadRecordingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadRecordingRuleResponse) UnmarshalBinary ¶

func (m *Configv1ReadRecordingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadRecordingRuleResponse) Validate ¶

Validate validates this configv1 read recording rule response

type Configv1ReadResourcePoolsResponse ¶

type Configv1ReadResourcePoolsResponse struct {

	// resource pools
	ResourcePools *Configv1ResourcePools `json:"resource_pools,omitempty"`
}

Configv1ReadResourcePoolsResponse configv1 read resource pools response

swagger:model configv1ReadResourcePoolsResponse

func (*Configv1ReadResourcePoolsResponse) ContextValidate ¶

func (m *Configv1ReadResourcePoolsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read resource pools response based on the context it is used

func (*Configv1ReadResourcePoolsResponse) MarshalBinary ¶

func (m *Configv1ReadResourcePoolsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadResourcePoolsResponse) UnmarshalBinary ¶

func (m *Configv1ReadResourcePoolsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadResourcePoolsResponse) Validate ¶

Validate validates this configv1 read resource pools response

type Configv1ReadRollupRuleResponse ¶

type Configv1ReadRollupRuleResponse struct {

	// rollup rule
	RollupRule *Configv1RollupRule `json:"rollup_rule,omitempty"`
}

Configv1ReadRollupRuleResponse configv1 read rollup rule response

swagger:model configv1ReadRollupRuleResponse

func (*Configv1ReadRollupRuleResponse) ContextValidate ¶

func (m *Configv1ReadRollupRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read rollup rule response based on the context it is used

func (*Configv1ReadRollupRuleResponse) MarshalBinary ¶

func (m *Configv1ReadRollupRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadRollupRuleResponse) UnmarshalBinary ¶

func (m *Configv1ReadRollupRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadRollupRuleResponse) Validate ¶

func (m *Configv1ReadRollupRuleResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read rollup rule response

type Configv1ReadServiceAccountResponse ¶

type Configv1ReadServiceAccountResponse struct {

	// service account
	ServiceAccount *Configv1ServiceAccount `json:"service_account,omitempty"`
}

Configv1ReadServiceAccountResponse configv1 read service account response

swagger:model configv1ReadServiceAccountResponse

func (*Configv1ReadServiceAccountResponse) ContextValidate ¶

func (m *Configv1ReadServiceAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read service account response based on the context it is used

func (*Configv1ReadServiceAccountResponse) MarshalBinary ¶

func (m *Configv1ReadServiceAccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadServiceAccountResponse) UnmarshalBinary ¶

func (m *Configv1ReadServiceAccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadServiceAccountResponse) Validate ¶

Validate validates this configv1 read service account response

type Configv1ReadTeamResponse ¶

type Configv1ReadTeamResponse struct {

	// team
	Team *Configv1Team `json:"team,omitempty"`
}

Configv1ReadTeamResponse configv1 read team response

swagger:model configv1ReadTeamResponse

func (*Configv1ReadTeamResponse) ContextValidate ¶

func (m *Configv1ReadTeamResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 read team response based on the context it is used

func (*Configv1ReadTeamResponse) MarshalBinary ¶

func (m *Configv1ReadTeamResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ReadTeamResponse) UnmarshalBinary ¶

func (m *Configv1ReadTeamResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ReadTeamResponse) Validate ¶

func (m *Configv1ReadTeamResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 read team response

type Configv1RecordingRule ¶

type Configv1RecordingRule struct {

	// Unique identifier of the RecordingRule. If slug is not provided, one will be generated based of the name field. Cannot be modified after the RecordingRule is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the RecordingRule. May be modified after the RecordingRule is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the RecordingRule was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the RecordingRule was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Optional slug of the bucket the RecordingRule belongs to.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// label policy
	LabelPolicy *Configv1RecordingRuleLabelPolicy `json:"label_policy,omitempty"`

	// Optional interval for evaluating the recording rule.
	IntervalSecs int32 `json:"interval_secs,omitempty"`

	// The name of the time series to use for output, which must be a valid
	// metric name.
	MetricName string `json:"metric_name,omitempty"`

	// The PromQL expression to evaluate at the time of each evaluation cycle.
	// The result is recorded as a new time series with its metric name
	// defined by the metric_name (or name) field.
	PrometheusExpr string `json:"prometheus_expr,omitempty"`

	// Optional execution_group in which this rule is to be evaluated.
	// At least one of bucket_slug and execution_group must be set. If both are set, then they are expected to match.
	ExecutionGroup string `json:"execution_group,omitempty"`
}

Configv1RecordingRule configv1 recording rule

swagger:model configv1RecordingRule

func (*Configv1RecordingRule) ContextValidate ¶

func (m *Configv1RecordingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 recording rule based on the context it is used

func (*Configv1RecordingRule) MarshalBinary ¶

func (m *Configv1RecordingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1RecordingRule) UnmarshalBinary ¶

func (m *Configv1RecordingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1RecordingRule) Validate ¶

func (m *Configv1RecordingRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 recording rule

type Configv1RecordingRuleLabelPolicy ¶

type Configv1RecordingRuleLabelPolicy struct {

	// Labels to add or overwrite before storing the result.
	Add map[string]string `json:"add,omitempty"`
}

Configv1RecordingRuleLabelPolicy configv1 recording rule label policy

swagger:model configv1RecordingRuleLabelPolicy

func (*Configv1RecordingRuleLabelPolicy) ContextValidate ¶

func (m *Configv1RecordingRuleLabelPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 recording rule label policy based on context it is used

func (*Configv1RecordingRuleLabelPolicy) MarshalBinary ¶

func (m *Configv1RecordingRuleLabelPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1RecordingRuleLabelPolicy) UnmarshalBinary ¶

func (m *Configv1RecordingRuleLabelPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1RecordingRuleLabelPolicy) Validate ¶

Validate validates this configv1 recording rule label policy

type Configv1ResourcePools ¶

type Configv1ResourcePools struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// default pool
	DefaultPool *ResourcePoolsDefaultPool `json:"default_pool,omitempty"`

	// Optional pools.
	Pools []*ResourcePoolsPool `json:"pools"`
}

Configv1ResourcePools configv1 resource pools

swagger:model configv1ResourcePools

func (*Configv1ResourcePools) ContextValidate ¶

func (m *Configv1ResourcePools) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 resource pools based on the context it is used

func (*Configv1ResourcePools) MarshalBinary ¶

func (m *Configv1ResourcePools) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ResourcePools) UnmarshalBinary ¶

func (m *Configv1ResourcePools) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ResourcePools) Validate ¶

func (m *Configv1ResourcePools) Validate(formats strfmt.Registry) error

Validate validates this configv1 resource pools

type Configv1ResourceType ¶

type Configv1ResourceType string

Configv1ResourceType configv1 resource type

swagger:model configv1ResourceType

const (

	// Configv1ResourceTypeBUCKET captures enum value "BUCKET"
	Configv1ResourceTypeBUCKET Configv1ResourceType = "BUCKET"

	// Configv1ResourceTypeDASHBOARD captures enum value "DASHBOARD"
	Configv1ResourceTypeDASHBOARD Configv1ResourceType = "DASHBOARD"

	// Configv1ResourceTypeGRAFANADASHBOARD captures enum value "GRAFANA_DASHBOARD"
	Configv1ResourceTypeGRAFANADASHBOARD Configv1ResourceType = "GRAFANA_DASHBOARD"

	// Configv1ResourceTypeMONITOR captures enum value "MONITOR"
	Configv1ResourceTypeMONITOR Configv1ResourceType = "MONITOR"

	// Configv1ResourceTypeNOTIFICATIONPOLICY captures enum value "NOTIFICATION_POLICY"
	Configv1ResourceTypeNOTIFICATIONPOLICY Configv1ResourceType = "NOTIFICATION_POLICY"

	// Configv1ResourceTypeRECORDINGRULE captures enum value "RECORDING_RULE"
	Configv1ResourceTypeRECORDINGRULE Configv1ResourceType = "RECORDING_RULE"

	// Configv1ResourceTypeMAPPINGRULE captures enum value "MAPPING_RULE"
	Configv1ResourceTypeMAPPINGRULE Configv1ResourceType = "MAPPING_RULE"

	// Configv1ResourceTypeROLLUPRULE captures enum value "ROLLUP_RULE"
	Configv1ResourceTypeROLLUPRULE Configv1ResourceType = "ROLLUP_RULE"
)

func NewConfigv1ResourceType ¶

func NewConfigv1ResourceType(value Configv1ResourceType) *Configv1ResourceType

func (Configv1ResourceType) ContextValidate ¶

func (m Configv1ResourceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 resource type based on context it is used

func (Configv1ResourceType) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1ResourceType.

func (Configv1ResourceType) Validate ¶

func (m Configv1ResourceType) Validate(formats strfmt.Registry) error

Validate validates this configv1 resource type

type Configv1RollupRule ¶

type Configv1RollupRule struct {

	// Unique identifier of the RollupRule. If slug is not provided, one will be generated based of the name field. Cannot be modified after the RollupRule is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the RollupRule. May be modified after the RollupRule is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the RollupRule was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the RollupRule was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Required slug of the bucket the RollupRule belongs to.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Filters that determine to which metrics to apply the rule.
	Filters []*Configv1LabelFilter `json:"filters"`

	// Name of the new metric created as a result of the rollup.
	MetricName string `json:"metric_name,omitempty"`

	// metric type
	MetricType RollupRuleMetricType `json:"metric_type,omitempty"`

	// aggregation
	Aggregation Configv1AggregationType `json:"aggregation,omitempty"`

	// storage policy
	StoragePolicy *Configv1RollupRuleStoragePolicy `json:"storage_policy,omitempty"`

	// Interval between aggregated data points, equivalent to the resolution
	// field in storage policy. If set, then the storage_policy field can't be
	// set.
	Interval string `json:"interval,omitempty"`

	// Enables expansive label matching behavior for the provided filters and
	// label_policy.keep (if set). By default (expansive_match=false), a series
	// matches and aggregates only if each label defined by filters and
	// label_policy.keep (respectively) exist in said series. Setting
	// expansive_match=true removes this restriction.
	ExpansiveMatch bool `json:"expansive_match,omitempty"`

	// Defines whether to add a `__rollup_type__` label in the new metric.
	AddMetricTypeLabel bool `json:"add_metric_type_label,omitempty"`

	// Defines whether to automatically generate drop rules for this rollup.
	DropRaw bool `json:"drop_raw,omitempty"`

	// label policy
	LabelPolicy *Configv1RollupRuleLabelPolicy `json:"label_policy,omitempty"`

	// Replaces or adds new labels to the rollup, optionally based on a matching
	// regex for tag values. This is only available on Graphite rollup rules.
	LabelReplace []*RollupRuleLabelReplace `json:"label_replace"`

	// mode
	Mode Configv1RollupRuleMode `json:"mode,omitempty"`
}

Configv1RollupRule configv1 rollup rule

swagger:model configv1RollupRule

func (*Configv1RollupRule) ContextValidate ¶

func (m *Configv1RollupRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 rollup rule based on the context it is used

func (*Configv1RollupRule) MarshalBinary ¶

func (m *Configv1RollupRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1RollupRule) UnmarshalBinary ¶

func (m *Configv1RollupRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1RollupRule) Validate ¶

func (m *Configv1RollupRule) Validate(formats strfmt.Registry) error

Validate validates this configv1 rollup rule

type Configv1RollupRuleLabelPolicy ¶

type Configv1RollupRuleLabelPolicy struct {

	// Labels that should be retained in the output metric. If set, then the
	// discard field must be empty.
	Keep []string `json:"keep"`

	// Labels that should be discarded in the output metric. If set, then the
	// keep field must be empty.
	Discard []string `json:"discard"`
}

Configv1RollupRuleLabelPolicy configv1 rollup rule label policy

swagger:model configv1RollupRuleLabelPolicy

func (*Configv1RollupRuleLabelPolicy) ContextValidate ¶

func (m *Configv1RollupRuleLabelPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 rollup rule label policy based on context it is used

func (*Configv1RollupRuleLabelPolicy) MarshalBinary ¶

func (m *Configv1RollupRuleLabelPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1RollupRuleLabelPolicy) UnmarshalBinary ¶

func (m *Configv1RollupRuleLabelPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1RollupRuleLabelPolicy) Validate ¶

func (m *Configv1RollupRuleLabelPolicy) Validate(formats strfmt.Registry) error

Validate validates this configv1 rollup rule label policy

type Configv1RollupRuleMode ¶

type Configv1RollupRuleMode string

Configv1RollupRuleMode - PREVIEW: TODO: DISABLED = 2;

swagger:model configv1RollupRuleMode

const (

	// Configv1RollupRuleModeENABLED captures enum value "ENABLED"
	Configv1RollupRuleModeENABLED Configv1RollupRuleMode = "ENABLED"

	// Configv1RollupRuleModePREVIEW captures enum value "PREVIEW"
	Configv1RollupRuleModePREVIEW Configv1RollupRuleMode = "PREVIEW"
)

func NewConfigv1RollupRuleMode ¶

func NewConfigv1RollupRuleMode(value Configv1RollupRuleMode) *Configv1RollupRuleMode

func (Configv1RollupRuleMode) ContextValidate ¶

func (m Configv1RollupRuleMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 rollup rule mode based on context it is used

func (Configv1RollupRuleMode) Pointer ¶

Pointer returns a pointer to a freshly-allocated Configv1RollupRuleMode.

func (Configv1RollupRuleMode) Validate ¶

func (m Configv1RollupRuleMode) Validate(formats strfmt.Registry) error

Validate validates this configv1 rollup rule mode

type Configv1RollupRuleStoragePolicy ¶

type Configv1RollupRuleStoragePolicy struct {

	// Required resolution of the aggregated metrics.
	Resolution string `json:"resolution,omitempty"`

	// Required retention of the aggregated metrics.
	Retention string `json:"retention,omitempty"`
}

Configv1RollupRuleStoragePolicy configv1 rollup rule storage policy

swagger:model configv1RollupRuleStoragePolicy

func (*Configv1RollupRuleStoragePolicy) ContextValidate ¶

func (m *Configv1RollupRuleStoragePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 rollup rule storage policy based on context it is used

func (*Configv1RollupRuleStoragePolicy) MarshalBinary ¶

func (m *Configv1RollupRuleStoragePolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1RollupRuleStoragePolicy) UnmarshalBinary ¶

func (m *Configv1RollupRuleStoragePolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1RollupRuleStoragePolicy) Validate ¶

Validate validates this configv1 rollup rule storage policy

type Configv1ServiceAccount ¶

type Configv1ServiceAccount struct {

	// Unique identifier of the ServiceAccount. If slug is not provided, one will be generated based of the name field. Cannot be modified after the ServiceAccount is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the ServiceAccount. May be modified after the ServiceAccount is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the ServiceAccount was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the ServiceAccount was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// token is the generated API token of the service account. Cannot be set by
	// clients.
	//
	// token is only set once by the server in the CreateServiceAccount response.
	// ReadServiceAccount will always return an empty token. Therefore, when
	// creating a service account, clients are responsible for securely storing
	// the response token on their end, as they will not be able to read it
	// again.
	// Read Only: true
	Token string `json:"token,omitempty"`

	// email is the generated email address of the service account. Cannot be set
	// by clients.
	// Read Only: true
	Email string `json:"email,omitempty"`

	// If set, grants the service account access to all Chronosphere APIs
	// (including resource configuration and metric data) within the access
	// controls defined by the service account's team membership.
	//
	// Exactly one of unrestricted or metrics_restriction must be set.
	Unrestricted bool `json:"unrestricted,omitempty"`

	// metrics restriction
	MetricsRestriction *ServiceAccountMetricsRestriction `json:"metrics_restriction,omitempty"`
}

Configv1ServiceAccount configv1 service account

swagger:model configv1ServiceAccount

func (*Configv1ServiceAccount) ContextValidate ¶

func (m *Configv1ServiceAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 service account based on the context it is used

func (*Configv1ServiceAccount) MarshalBinary ¶

func (m *Configv1ServiceAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1ServiceAccount) UnmarshalBinary ¶

func (m *Configv1ServiceAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1ServiceAccount) Validate ¶

func (m *Configv1ServiceAccount) Validate(formats strfmt.Registry) error

Validate validates this configv1 service account

type Configv1Team ¶

type Configv1Team struct {

	// Unique identifier of the Team. If slug is not provided, one will be generated based of the name field. Cannot be modified after the Team is created.
	Slug string `json:"slug,omitempty"`

	// Required name of the Team. May be modified after the Team is created.
	Name string `json:"name,omitempty"`

	// Timestamp of when the Team was created. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Timestamp of when the Team was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Unordered set of emails whose users are members of this team.
	UserEmails []string `json:"user_emails"`

	// Optional short description of the team.
	Description string `json:"description,omitempty"`
}

Configv1Team configv1 team

swagger:model configv1Team

func (*Configv1Team) ContextValidate ¶

func (m *Configv1Team) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 team based on the context it is used

func (*Configv1Team) MarshalBinary ¶

func (m *Configv1Team) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1Team) UnmarshalBinary ¶

func (m *Configv1Team) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1Team) Validate ¶

func (m *Configv1Team) Validate(formats strfmt.Registry) error

Validate validates this configv1 team

type Configv1UpdateBucketResponse ¶

type Configv1UpdateBucketResponse struct {

	// bucket
	Bucket *Configv1Bucket `json:"bucket,omitempty"`
}

Configv1UpdateBucketResponse configv1 update bucket response

swagger:model configv1UpdateBucketResponse

func (*Configv1UpdateBucketResponse) ContextValidate ¶

func (m *Configv1UpdateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update bucket response based on the context it is used

func (*Configv1UpdateBucketResponse) MarshalBinary ¶

func (m *Configv1UpdateBucketResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateBucketResponse) UnmarshalBinary ¶

func (m *Configv1UpdateBucketResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateBucketResponse) Validate ¶

func (m *Configv1UpdateBucketResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 update bucket response

type Configv1UpdateClassicDashboardResponse ¶

type Configv1UpdateClassicDashboardResponse struct {

	// classic dashboard
	ClassicDashboard *Configv1GrafanaDashboard `json:"classic_dashboard,omitempty"`
}

Configv1UpdateClassicDashboardResponse configv1 update classic dashboard response

swagger:model configv1UpdateClassicDashboardResponse

func (*Configv1UpdateClassicDashboardResponse) ContextValidate ¶

ContextValidate validate this configv1 update classic dashboard response based on the context it is used

func (*Configv1UpdateClassicDashboardResponse) MarshalBinary ¶

func (m *Configv1UpdateClassicDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateClassicDashboardResponse) UnmarshalBinary ¶

func (m *Configv1UpdateClassicDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateClassicDashboardResponse) Validate ¶

Validate validates this configv1 update classic dashboard response

type Configv1UpdateCollectionResponse ¶

type Configv1UpdateCollectionResponse struct {

	// collection
	Collection *Configv1Collection `json:"collection,omitempty"`
}

Configv1UpdateCollectionResponse configv1 update collection response

swagger:model configv1UpdateCollectionResponse

func (*Configv1UpdateCollectionResponse) ContextValidate ¶

func (m *Configv1UpdateCollectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update collection response based on the context it is used

func (*Configv1UpdateCollectionResponse) MarshalBinary ¶

func (m *Configv1UpdateCollectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateCollectionResponse) UnmarshalBinary ¶

func (m *Configv1UpdateCollectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateCollectionResponse) Validate ¶

Validate validates this configv1 update collection response

type Configv1UpdateDashboardResponse ¶

type Configv1UpdateDashboardResponse struct {

	// dashboard
	Dashboard *Configv1Dashboard `json:"dashboard,omitempty"`
}

Configv1UpdateDashboardResponse configv1 update dashboard response

swagger:model configv1UpdateDashboardResponse

func (*Configv1UpdateDashboardResponse) ContextValidate ¶

func (m *Configv1UpdateDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update dashboard response based on the context it is used

func (*Configv1UpdateDashboardResponse) MarshalBinary ¶

func (m *Configv1UpdateDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateDashboardResponse) UnmarshalBinary ¶

func (m *Configv1UpdateDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateDashboardResponse) Validate ¶

Validate validates this configv1 update dashboard response

type Configv1UpdateDerivedLabelResponse ¶

type Configv1UpdateDerivedLabelResponse struct {

	// derived label
	DerivedLabel *Configv1DerivedLabel `json:"derived_label,omitempty"`
}

Configv1UpdateDerivedLabelResponse configv1 update derived label response

swagger:model configv1UpdateDerivedLabelResponse

func (*Configv1UpdateDerivedLabelResponse) ContextValidate ¶

func (m *Configv1UpdateDerivedLabelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update derived label response based on the context it is used

func (*Configv1UpdateDerivedLabelResponse) MarshalBinary ¶

func (m *Configv1UpdateDerivedLabelResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateDerivedLabelResponse) UnmarshalBinary ¶

func (m *Configv1UpdateDerivedLabelResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateDerivedLabelResponse) Validate ¶

Validate validates this configv1 update derived label response

type Configv1UpdateDerivedMetricResponse ¶

type Configv1UpdateDerivedMetricResponse struct {

	// derived metric
	DerivedMetric *Configv1DerivedMetric `json:"derived_metric,omitempty"`
}

Configv1UpdateDerivedMetricResponse configv1 update derived metric response

swagger:model configv1UpdateDerivedMetricResponse

func (*Configv1UpdateDerivedMetricResponse) ContextValidate ¶

func (m *Configv1UpdateDerivedMetricResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update derived metric response based on the context it is used

func (*Configv1UpdateDerivedMetricResponse) MarshalBinary ¶

func (m *Configv1UpdateDerivedMetricResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateDerivedMetricResponse) UnmarshalBinary ¶

func (m *Configv1UpdateDerivedMetricResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateDerivedMetricResponse) Validate ¶

Validate validates this configv1 update derived metric response

type Configv1UpdateDropRuleResponse ¶

type Configv1UpdateDropRuleResponse struct {

	// drop rule
	DropRule *Configv1DropRule `json:"drop_rule,omitempty"`
}

Configv1UpdateDropRuleResponse configv1 update drop rule response

swagger:model configv1UpdateDropRuleResponse

func (*Configv1UpdateDropRuleResponse) ContextValidate ¶

func (m *Configv1UpdateDropRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update drop rule response based on the context it is used

func (*Configv1UpdateDropRuleResponse) MarshalBinary ¶

func (m *Configv1UpdateDropRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateDropRuleResponse) UnmarshalBinary ¶

func (m *Configv1UpdateDropRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateDropRuleResponse) Validate ¶

func (m *Configv1UpdateDropRuleResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 update drop rule response

type Configv1UpdateGrafanaDashboardResponse ¶

type Configv1UpdateGrafanaDashboardResponse struct {

	// grafana dashboard
	GrafanaDashboard *Configv1GrafanaDashboard `json:"grafana_dashboard,omitempty"`
}

Configv1UpdateGrafanaDashboardResponse configv1 update grafana dashboard response

swagger:model configv1UpdateGrafanaDashboardResponse

func (*Configv1UpdateGrafanaDashboardResponse) ContextValidate ¶

ContextValidate validate this configv1 update grafana dashboard response based on the context it is used

func (*Configv1UpdateGrafanaDashboardResponse) MarshalBinary ¶

func (m *Configv1UpdateGrafanaDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateGrafanaDashboardResponse) UnmarshalBinary ¶

func (m *Configv1UpdateGrafanaDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateGrafanaDashboardResponse) Validate ¶

Validate validates this configv1 update grafana dashboard response

type Configv1UpdateMappingRuleResponse ¶

type Configv1UpdateMappingRuleResponse struct {

	// mapping rule
	MappingRule *Configv1MappingRule `json:"mapping_rule,omitempty"`
}

Configv1UpdateMappingRuleResponse configv1 update mapping rule response

swagger:model configv1UpdateMappingRuleResponse

func (*Configv1UpdateMappingRuleResponse) ContextValidate ¶

func (m *Configv1UpdateMappingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update mapping rule response based on the context it is used

func (*Configv1UpdateMappingRuleResponse) MarshalBinary ¶

func (m *Configv1UpdateMappingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateMappingRuleResponse) UnmarshalBinary ¶

func (m *Configv1UpdateMappingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateMappingRuleResponse) Validate ¶

Validate validates this configv1 update mapping rule response

type Configv1UpdateMonitorResponse ¶

type Configv1UpdateMonitorResponse struct {

	// monitor
	Monitor *Configv1Monitor `json:"monitor,omitempty"`
}

Configv1UpdateMonitorResponse configv1 update monitor response

swagger:model configv1UpdateMonitorResponse

func (*Configv1UpdateMonitorResponse) ContextValidate ¶

func (m *Configv1UpdateMonitorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update monitor response based on the context it is used

func (*Configv1UpdateMonitorResponse) MarshalBinary ¶

func (m *Configv1UpdateMonitorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateMonitorResponse) UnmarshalBinary ¶

func (m *Configv1UpdateMonitorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateMonitorResponse) Validate ¶

func (m *Configv1UpdateMonitorResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 update monitor response

type Configv1UpdateMutingRuleResponse ¶

type Configv1UpdateMutingRuleResponse struct {

	// muting rule
	MutingRule *Configv1MutingRule `json:"muting_rule,omitempty"`
}

Configv1UpdateMutingRuleResponse configv1 update muting rule response

swagger:model configv1UpdateMutingRuleResponse

func (*Configv1UpdateMutingRuleResponse) ContextValidate ¶

func (m *Configv1UpdateMutingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update muting rule response based on the context it is used

func (*Configv1UpdateMutingRuleResponse) MarshalBinary ¶

func (m *Configv1UpdateMutingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateMutingRuleResponse) UnmarshalBinary ¶

func (m *Configv1UpdateMutingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateMutingRuleResponse) Validate ¶

Validate validates this configv1 update muting rule response

type Configv1UpdateNotificationPolicyResponse ¶

type Configv1UpdateNotificationPolicyResponse struct {

	// notification policy
	NotificationPolicy *Configv1NotificationPolicy `json:"notification_policy,omitempty"`
}

Configv1UpdateNotificationPolicyResponse configv1 update notification policy response

swagger:model configv1UpdateNotificationPolicyResponse

func (*Configv1UpdateNotificationPolicyResponse) ContextValidate ¶

ContextValidate validate this configv1 update notification policy response based on the context it is used

func (*Configv1UpdateNotificationPolicyResponse) MarshalBinary ¶

func (m *Configv1UpdateNotificationPolicyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateNotificationPolicyResponse) UnmarshalBinary ¶

func (m *Configv1UpdateNotificationPolicyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateNotificationPolicyResponse) Validate ¶

Validate validates this configv1 update notification policy response

type Configv1UpdateNotifierResponse ¶

type Configv1UpdateNotifierResponse struct {

	// notifier
	Notifier *Configv1Notifier `json:"notifier,omitempty"`
}

Configv1UpdateNotifierResponse configv1 update notifier response

swagger:model configv1UpdateNotifierResponse

func (*Configv1UpdateNotifierResponse) ContextValidate ¶

func (m *Configv1UpdateNotifierResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update notifier response based on the context it is used

func (*Configv1UpdateNotifierResponse) MarshalBinary ¶

func (m *Configv1UpdateNotifierResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateNotifierResponse) UnmarshalBinary ¶

func (m *Configv1UpdateNotifierResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateNotifierResponse) Validate ¶

func (m *Configv1UpdateNotifierResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 update notifier response

type Configv1UpdateRecordingRuleResponse ¶

type Configv1UpdateRecordingRuleResponse struct {

	// recording rule
	RecordingRule *Configv1RecordingRule `json:"recording_rule,omitempty"`
}

Configv1UpdateRecordingRuleResponse configv1 update recording rule response

swagger:model configv1UpdateRecordingRuleResponse

func (*Configv1UpdateRecordingRuleResponse) ContextValidate ¶

func (m *Configv1UpdateRecordingRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update recording rule response based on the context it is used

func (*Configv1UpdateRecordingRuleResponse) MarshalBinary ¶

func (m *Configv1UpdateRecordingRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateRecordingRuleResponse) UnmarshalBinary ¶

func (m *Configv1UpdateRecordingRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateRecordingRuleResponse) Validate ¶

Validate validates this configv1 update recording rule response

type Configv1UpdateResourcePoolsRequest ¶

type Configv1UpdateResourcePoolsRequest struct {

	// resource pools
	ResourcePools *Configv1ResourcePools `json:"resource_pools,omitempty"`

	// create if missing
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// dry run
	DryRun bool `json:"dry_run,omitempty"`
}

Configv1UpdateResourcePoolsRequest configv1 update resource pools request

swagger:model configv1UpdateResourcePoolsRequest

func (*Configv1UpdateResourcePoolsRequest) ContextValidate ¶

func (m *Configv1UpdateResourcePoolsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update resource pools request based on the context it is used

func (*Configv1UpdateResourcePoolsRequest) MarshalBinary ¶

func (m *Configv1UpdateResourcePoolsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateResourcePoolsRequest) UnmarshalBinary ¶

func (m *Configv1UpdateResourcePoolsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateResourcePoolsRequest) Validate ¶

Validate validates this configv1 update resource pools request

type Configv1UpdateResourcePoolsResponse ¶

type Configv1UpdateResourcePoolsResponse struct {

	// resource pools
	ResourcePools *Configv1ResourcePools `json:"resource_pools,omitempty"`
}

Configv1UpdateResourcePoolsResponse configv1 update resource pools response

swagger:model configv1UpdateResourcePoolsResponse

func (*Configv1UpdateResourcePoolsResponse) ContextValidate ¶

func (m *Configv1UpdateResourcePoolsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update resource pools response based on the context it is used

func (*Configv1UpdateResourcePoolsResponse) MarshalBinary ¶

func (m *Configv1UpdateResourcePoolsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateResourcePoolsResponse) UnmarshalBinary ¶

func (m *Configv1UpdateResourcePoolsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateResourcePoolsResponse) Validate ¶

Validate validates this configv1 update resource pools response

type Configv1UpdateRollupRuleResponse ¶

type Configv1UpdateRollupRuleResponse struct {

	// rollup rule
	RollupRule *Configv1RollupRule `json:"rollup_rule,omitempty"`
}

Configv1UpdateRollupRuleResponse configv1 update rollup rule response

swagger:model configv1UpdateRollupRuleResponse

func (*Configv1UpdateRollupRuleResponse) ContextValidate ¶

func (m *Configv1UpdateRollupRuleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update rollup rule response based on the context it is used

func (*Configv1UpdateRollupRuleResponse) MarshalBinary ¶

func (m *Configv1UpdateRollupRuleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateRollupRuleResponse) UnmarshalBinary ¶

func (m *Configv1UpdateRollupRuleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateRollupRuleResponse) Validate ¶

Validate validates this configv1 update rollup rule response

type Configv1UpdateTeamResponse ¶

type Configv1UpdateTeamResponse struct {

	// team
	Team *Configv1Team `json:"team,omitempty"`
}

Configv1UpdateTeamResponse configv1 update team response

swagger:model configv1UpdateTeamResponse

func (*Configv1UpdateTeamResponse) ContextValidate ¶

func (m *Configv1UpdateTeamResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this configv1 update team response based on the context it is used

func (*Configv1UpdateTeamResponse) MarshalBinary ¶

func (m *Configv1UpdateTeamResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1UpdateTeamResponse) UnmarshalBinary ¶

func (m *Configv1UpdateTeamResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1UpdateTeamResponse) Validate ¶

func (m *Configv1UpdateTeamResponse) Validate(formats strfmt.Registry) error

Validate validates this configv1 update team response

type ConstructedLabelValueDefinition ¶

type ConstructedLabelValueDefinition struct {

	// value
	Value string `json:"value,omitempty"`

	// filters
	Filters []*Configv1LabelFilter `json:"filters"`
}

ConstructedLabelValueDefinition constructed label value definition

swagger:model ConstructedLabelValueDefinition

func (*ConstructedLabelValueDefinition) ContextValidate ¶

func (m *ConstructedLabelValueDefinition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constructed label value definition based on the context it is used

func (*ConstructedLabelValueDefinition) MarshalBinary ¶

func (m *ConstructedLabelValueDefinition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConstructedLabelValueDefinition) UnmarshalBinary ¶

func (m *ConstructedLabelValueDefinition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConstructedLabelValueDefinition) Validate ¶

Validate validates this constructed label value definition

type DerivedLabelMetricLabel ¶

type DerivedLabelMetricLabel struct {

	// constructed label
	ConstructedLabel *MetricLabelConstructedLabel `json:"constructed_label,omitempty"`

	// mapping label
	MappingLabel *MetricLabelMappingLabel `json:"mapping_label,omitempty"`
}

DerivedLabelMetricLabel derived label metric label

swagger:model DerivedLabelMetricLabel

func (*DerivedLabelMetricLabel) ContextValidate ¶

func (m *DerivedLabelMetricLabel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this derived label metric label based on the context it is used

func (*DerivedLabelMetricLabel) MarshalBinary ¶

func (m *DerivedLabelMetricLabel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DerivedLabelMetricLabel) UnmarshalBinary ¶

func (m *DerivedLabelMetricLabel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DerivedLabelMetricLabel) Validate ¶

func (m *DerivedLabelMetricLabel) Validate(formats strfmt.Registry) error

Validate validates this derived label metric label

type DerivedMetricQuery ¶

type DerivedMetricQuery struct {

	// Required PromQL expression which the derived metric executes. Should
	// include all configured variables.
	// Example: cpu_usage{$service, $instance} / sum(cpu_usage{$service})
	PrometheusExpr string `json:"prometheus_expr,omitempty"`

	// Optional variables which may be used in the derived metric as label
	// selectors.
	Variables []*DerivedMetricVariable `json:"variables"`
}

DerivedMetricQuery derived metric query

swagger:model DerivedMetricQuery

func (*DerivedMetricQuery) ContextValidate ¶

func (m *DerivedMetricQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this derived metric query based on the context it is used

func (*DerivedMetricQuery) MarshalBinary ¶

func (m *DerivedMetricQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DerivedMetricQuery) UnmarshalBinary ¶

func (m *DerivedMetricQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DerivedMetricQuery) Validate ¶

func (m *DerivedMetricQuery) Validate(formats strfmt.Registry) error

Validate validates this derived metric query

type DerivedMetricSelector ¶

type DerivedMetricSelector struct {

	// Labels which must match in the derived metric usage for the selector to
	// match.
	Labels []*Configv1DerivedMetricLabelMatcher `json:"labels"`
}

DerivedMetricSelector derived metric selector

swagger:model DerivedMetricSelector

func (*DerivedMetricSelector) ContextValidate ¶

func (m *DerivedMetricSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this derived metric selector based on the context it is used

func (*DerivedMetricSelector) MarshalBinary ¶

func (m *DerivedMetricSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DerivedMetricSelector) UnmarshalBinary ¶

func (m *DerivedMetricSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DerivedMetricSelector) Validate ¶

func (m *DerivedMetricSelector) Validate(formats strfmt.Registry) error

Validate validates this derived metric selector

type DerivedMetricSelectorQuery ¶

type DerivedMetricSelectorQuery struct {

	// selector
	Selector *DerivedMetricSelector `json:"selector,omitempty"`

	// query
	Query *DerivedMetricQuery `json:"query,omitempty"`
}

DerivedMetricSelectorQuery derived metric selector query

swagger:model DerivedMetricSelectorQuery

func (*DerivedMetricSelectorQuery) ContextValidate ¶

func (m *DerivedMetricSelectorQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this derived metric selector query based on the context it is used

func (*DerivedMetricSelectorQuery) MarshalBinary ¶

func (m *DerivedMetricSelectorQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DerivedMetricSelectorQuery) UnmarshalBinary ¶

func (m *DerivedMetricSelectorQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DerivedMetricSelectorQuery) Validate ¶

func (m *DerivedMetricSelectorQuery) Validate(formats strfmt.Registry) error

Validate validates this derived metric selector query

type DerivedMetricVariable ¶

type DerivedMetricVariable struct {

	// Required name of the variable.
	// Example: service
	Name string `json:"name,omitempty"`

	// Required PromQL label selector which must match the given variable name.
	// If the variable is not specified in the derived metric usage, then this
	// default selector is used.
	// Example: service=~\".*\
	DefaultPrometheusSelector string `json:"default_prometheus_selector,omitempty"`
}

DerivedMetricVariable derived metric variable

swagger:model DerivedMetricVariable

func (*DerivedMetricVariable) ContextValidate ¶

func (m *DerivedMetricVariable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this derived metric variable based on context it is used

func (*DerivedMetricVariable) MarshalBinary ¶

func (m *DerivedMetricVariable) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DerivedMetricVariable) UnmarshalBinary ¶

func (m *DerivedMetricVariable) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DerivedMetricVariable) Validate ¶

func (m *DerivedMetricVariable) Validate(formats strfmt.Registry) error

Validate validates this derived metric variable

type DropRuleConditionalRateBasedDrop ¶

type DropRuleConditionalRateBasedDrop struct {

	// Enables rate-based metric dropping.
	Enabled bool `json:"enabled,omitempty"`

	// Percentage of the licensed limit reached in order to activate the drop
	// rule, between 0 and 100.
	RateLimitThreshold float64 `json:"rate_limit_threshold,omitempty"`

	// Once activated, activated_drop_duration_secs defines how long the drop
	// rule stays activated before rechecking against the rate_limit_threshold.
	ActivatedDropDurationSecs int32 `json:"activated_drop_duration_secs,omitempty"`
}

DropRuleConditionalRateBasedDrop drop rule conditional rate based drop

swagger:model DropRuleConditionalRateBasedDrop

func (*DropRuleConditionalRateBasedDrop) ContextValidate ¶

func (m *DropRuleConditionalRateBasedDrop) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this drop rule conditional rate based drop based on context it is used

func (*DropRuleConditionalRateBasedDrop) MarshalBinary ¶

func (m *DropRuleConditionalRateBasedDrop) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DropRuleConditionalRateBasedDrop) UnmarshalBinary ¶

func (m *DropRuleConditionalRateBasedDrop) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DropRuleConditionalRateBasedDrop) Validate ¶

Validate validates this drop rule conditional rate based drop

type DropRuleValueBasedDrop ¶

type DropRuleValueBasedDrop struct {

	// Enables value-based metric dropping.
	Enabled bool `json:"enabled,omitempty"`

	// The target datapoint value at which to drop metrics.
	TargetDropValue float64 `json:"target_drop_value,omitempty"`
}

DropRuleValueBasedDrop drop rule value based drop

swagger:model DropRuleValueBasedDrop

func (*DropRuleValueBasedDrop) ContextValidate ¶

func (m *DropRuleValueBasedDrop) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this drop rule value based drop based on context it is used

func (*DropRuleValueBasedDrop) MarshalBinary ¶

func (m *DropRuleValueBasedDrop) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DropRuleValueBasedDrop) UnmarshalBinary ¶

func (m *DropRuleValueBasedDrop) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DropRuleValueBasedDrop) Validate ¶

func (m *DropRuleValueBasedDrop) Validate(formats strfmt.Registry) error

Validate validates this drop rule value based drop

type GenericError ¶

type GenericError interface{}

GenericError generic error

swagger:model genericError

type HTTPConfigBasicAuth ¶

type HTTPConfigBasicAuth struct {

	// username
	Username string `json:"username,omitempty"`

	// password
	Password string `json:"password,omitempty"`
}

HTTPConfigBasicAuth HTTP config basic auth

swagger:model HTTPConfigBasicAuth

func (*HTTPConfigBasicAuth) ContextValidate ¶

func (m *HTTPConfigBasicAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this HTTP config basic auth based on context it is used

func (*HTTPConfigBasicAuth) MarshalBinary ¶

func (m *HTTPConfigBasicAuth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HTTPConfigBasicAuth) UnmarshalBinary ¶

func (m *HTTPConfigBasicAuth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HTTPConfigBasicAuth) Validate ¶

func (m *HTTPConfigBasicAuth) Validate(formats strfmt.Registry) error

Validate validates this HTTP config basic auth

type HTTPConfigTLSConfig ¶

type HTTPConfigTLSConfig struct {

	// Disables validation of the server certificate.
	InsecureSkipVerify bool `json:"insecure_skip_verify,omitempty"`
}

HTTPConfigTLSConfig HTTP config TLS config

swagger:model HTTPConfigTLSConfig

func (*HTTPConfigTLSConfig) ContextValidate ¶

func (m *HTTPConfigTLSConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this HTTP config TLS config based on context it is used

func (*HTTPConfigTLSConfig) MarshalBinary ¶

func (m *HTTPConfigTLSConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HTTPConfigTLSConfig) UnmarshalBinary ¶

func (m *HTTPConfigTLSConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HTTPConfigTLSConfig) Validate ¶

func (m *HTTPConfigTLSConfig) Validate(formats strfmt.Registry) error

Validate validates this HTTP config TLS config

type ListMutingRulesRequestState ¶

type ListMutingRulesRequestState string

ListMutingRulesRequestState list muting rules request state

swagger:model ListMutingRulesRequestState

const (

	// ListMutingRulesRequestStatePENDING captures enum value "PENDING"
	ListMutingRulesRequestStatePENDING ListMutingRulesRequestState = "PENDING"

	// ListMutingRulesRequestStateACTIVE captures enum value "ACTIVE"
	ListMutingRulesRequestStateACTIVE ListMutingRulesRequestState = "ACTIVE"

	// ListMutingRulesRequestStateEXPIRED captures enum value "EXPIRED"
	ListMutingRulesRequestStateEXPIRED ListMutingRulesRequestState = "EXPIRED"
)

func (ListMutingRulesRequestState) ContextValidate ¶

func (m ListMutingRulesRequestState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list muting rules request state based on context it is used

func (ListMutingRulesRequestState) Pointer ¶

Pointer returns a pointer to a freshly-allocated ListMutingRulesRequestState.

func (ListMutingRulesRequestState) Validate ¶

func (m ListMutingRulesRequestState) Validate(formats strfmt.Registry) error

Validate validates this list muting rules request state

type MappingLabelNameMapping ¶

type MappingLabelNameMapping struct {

	// filters
	Filters []*Configv1LabelFilter `json:"filters"`

	// The actual label ingested on the time series
	SourceLabel string `json:"source_label,omitempty"`

	// These value mappings apply to just the name mapping they belong to.
	ValueMappings []*MappingLabelValueMapping `json:"value_mappings"`
}

MappingLabelNameMapping mapping label name mapping

swagger:model MappingLabelNameMapping

func (*MappingLabelNameMapping) ContextValidate ¶

func (m *MappingLabelNameMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this mapping label name mapping based on the context it is used

func (*MappingLabelNameMapping) MarshalBinary ¶

func (m *MappingLabelNameMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MappingLabelNameMapping) UnmarshalBinary ¶

func (m *MappingLabelNameMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MappingLabelNameMapping) Validate ¶

func (m *MappingLabelNameMapping) Validate(formats strfmt.Registry) error

Validate validates this mapping label name mapping

type MappingLabelValueMapping ¶

type MappingLabelValueMapping struct {

	// Defines the source label values that should be mapped into the given target_value.
	SourceValueGlobs []string `json:"source_value_globs"`

	// The value that source_value_globs are mapped into.
	// For example, given this mapping:
	// “`yaml
	// value_mappings:
	//  - source_value_globs:
	//      - Cat
	//      - CAT
	//    target_value: cat
	// “`
	// This indicates that the target value `cat` maps to the source label's values `Cat` and `CAT`.
	TargetValue string `json:"target_value,omitempty"`
}

MappingLabelValueMapping mapping label value mapping

swagger:model MappingLabelValueMapping

func (*MappingLabelValueMapping) ContextValidate ¶

func (m *MappingLabelValueMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this mapping label value mapping based on context it is used

func (*MappingLabelValueMapping) MarshalBinary ¶

func (m *MappingLabelValueMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MappingLabelValueMapping) UnmarshalBinary ¶

func (m *MappingLabelValueMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MappingLabelValueMapping) Validate ¶

func (m *MappingLabelValueMapping) Validate(formats strfmt.Registry) error

Validate validates this mapping label value mapping

type MappingRuleAggregationPolicy ¶

type MappingRuleAggregationPolicy struct {

	// aggregation
	Aggregation Configv1AggregationType `json:"aggregation,omitempty"`

	// storage policy
	StoragePolicy *Configv1MappingRuleStoragePolicy `json:"storage_policy,omitempty"`

	// Interval between aggregated data points, equivalent to the resolution
	// field in storage policy. If set, then the storage_policy field can't be
	// set.
	Interval string `json:"interval,omitempty"`

	// Whether to drop the timestamp while writing the metric.
	DropTimestamp bool `json:"drop_timestamp,omitempty"`
}

MappingRuleAggregationPolicy mapping rule aggregation policy

swagger:model MappingRuleAggregationPolicy

func (*MappingRuleAggregationPolicy) ContextValidate ¶

func (m *MappingRuleAggregationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this mapping rule aggregation policy based on the context it is used

func (*MappingRuleAggregationPolicy) MarshalBinary ¶

func (m *MappingRuleAggregationPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MappingRuleAggregationPolicy) UnmarshalBinary ¶

func (m *MappingRuleAggregationPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MappingRuleAggregationPolicy) Validate ¶

func (m *MappingRuleAggregationPolicy) Validate(formats strfmt.Registry) error

Validate validates this mapping rule aggregation policy

type MetricLabelConstructedLabel ¶

type MetricLabelConstructedLabel struct {

	// value definitions
	ValueDefinitions []*ConstructedLabelValueDefinition `json:"value_definitions"`
}

MetricLabelConstructedLabel metric label constructed label

swagger:model MetricLabelConstructedLabel

func (*MetricLabelConstructedLabel) ContextValidate ¶

func (m *MetricLabelConstructedLabel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this metric label constructed label based on the context it is used

func (*MetricLabelConstructedLabel) MarshalBinary ¶

func (m *MetricLabelConstructedLabel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MetricLabelConstructedLabel) UnmarshalBinary ¶

func (m *MetricLabelConstructedLabel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MetricLabelConstructedLabel) Validate ¶

func (m *MetricLabelConstructedLabel) Validate(formats strfmt.Registry) error

Validate validates this metric label constructed label

type MetricLabelMappingLabel ¶

type MetricLabelMappingLabel struct {

	// name mappings
	NameMappings []*MappingLabelNameMapping `json:"name_mappings"`

	// These value mappings apply to the whole mapping label.
	// If there's no name_mappings, these value mappings apply to the label that exists on the metric.
	ValueMappings []*MappingLabelValueMapping `json:"value_mappings"`
}

MetricLabelMappingLabel metric label mapping label

swagger:model MetricLabelMappingLabel

func (*MetricLabelMappingLabel) ContextValidate ¶

func (m *MetricLabelMappingLabel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this metric label mapping label based on the context it is used

func (*MetricLabelMappingLabel) MarshalBinary ¶

func (m *MetricLabelMappingLabel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MetricLabelMappingLabel) UnmarshalBinary ¶

func (m *MetricLabelMappingLabel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MetricLabelMappingLabel) Validate ¶

func (m *MetricLabelMappingLabel) Validate(formats strfmt.Registry) error

Validate validates this metric label mapping label

type MetricsRestrictionPermission ¶

type MetricsRestrictionPermission string

MetricsRestrictionPermission metrics restriction permission

swagger:model MetricsRestrictionPermission

const (

	// MetricsRestrictionPermissionREAD captures enum value "READ"
	MetricsRestrictionPermissionREAD MetricsRestrictionPermission = "READ"

	// MetricsRestrictionPermissionWRITE captures enum value "WRITE"
	MetricsRestrictionPermissionWRITE MetricsRestrictionPermission = "WRITE"

	// MetricsRestrictionPermissionREADWRITE captures enum value "READ_WRITE"
	MetricsRestrictionPermissionREADWRITE MetricsRestrictionPermission = "READ_WRITE"
)

func (MetricsRestrictionPermission) ContextValidate ¶

func (m MetricsRestrictionPermission) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metrics restriction permission based on context it is used

func (MetricsRestrictionPermission) Pointer ¶

Pointer returns a pointer to a freshly-allocated MetricsRestrictionPermission.

func (MetricsRestrictionPermission) Validate ¶

func (m MetricsRestrictionPermission) Validate(formats strfmt.Registry) error

Validate validates this metrics restriction permission

type MonitorCondition ¶

type MonitorCondition struct {

	// op
	Op ConditionOp `json:"op,omitempty"`

	// The value to compare to the metric value using the op operation.
	Value float64 `json:"value,omitempty"`

	// Time op operation must evaluate to true for the condition to evaluate to true.
	SustainSecs int32 `json:"sustain_secs,omitempty"`

	// Time op operation must evaluate as false for an active alert, before that alert resolves.
	ResolveSustainSecs int32 `json:"resolve_sustain_secs,omitempty"`
}

MonitorCondition monitor condition

swagger:model MonitorCondition

func (*MonitorCondition) ContextValidate ¶

func (m *MonitorCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this monitor condition based on the context it is used

func (*MonitorCondition) MarshalBinary ¶

func (m *MonitorCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitorCondition) UnmarshalBinary ¶

func (m *MonitorCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitorCondition) Validate ¶

func (m *MonitorCondition) Validate(formats strfmt.Registry) error

Validate validates this monitor condition

type MonitorSchedule ¶

type MonitorSchedule struct {

	// The timezone of the time ranges.
	Timezone string `json:"timezone,omitempty"`

	// weekly schedule
	WeeklySchedule *ScheduleWeeklySchedule `json:"weekly_schedule,omitempty"`
}

MonitorSchedule monitor schedule

swagger:model MonitorSchedule

func (*MonitorSchedule) ContextValidate ¶

func (m *MonitorSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this monitor schedule based on the context it is used

func (*MonitorSchedule) MarshalBinary ¶

func (m *MonitorSchedule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitorSchedule) UnmarshalBinary ¶

func (m *MonitorSchedule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitorSchedule) Validate ¶

func (m *MonitorSchedule) Validate(formats strfmt.Registry) error

Validate validates this monitor schedule

type MonitorSeriesConditions ¶

type MonitorSeriesConditions struct {

	// defaults
	Defaults *SeriesConditionsSeverityConditions `json:"defaults,omitempty"`

	// Optional list of overrides to use for series having matching labels.
	// Each override defines labels that potentially match a series' labels.
	// If one or more overrides match a series, the severity conditions of the first matching
	// override are used instead of the defaults.
	//
	// Cannot be used if graphite_query is set.
	Overrides []*MonitorSeriesConditionsOverride `json:"overrides"`
}

MonitorSeriesConditions Conditions evaluated against each queried series to determine the severity of each series.

swagger:model MonitorSeriesConditions

func (*MonitorSeriesConditions) ContextValidate ¶

func (m *MonitorSeriesConditions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this monitor series conditions based on the context it is used

func (*MonitorSeriesConditions) MarshalBinary ¶

func (m *MonitorSeriesConditions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitorSeriesConditions) UnmarshalBinary ¶

func (m *MonitorSeriesConditions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitorSeriesConditions) Validate ¶

func (m *MonitorSeriesConditions) Validate(formats strfmt.Registry) error

Validate validates this monitor series conditions

type MonitorSeriesConditionsOverride ¶

type MonitorSeriesConditionsOverride struct {

	// Set of matchers on a series' labels.
	// If all labels match then the conditions defined in this override are used.
	LabelMatchers []*Configv1LabelMatcher `json:"label_matchers"`

	// severity conditions
	SeverityConditions *SeriesConditionsSeverityConditions `json:"severity_conditions,omitempty"`
}

MonitorSeriesConditionsOverride monitor series conditions override

swagger:model MonitorSeriesConditionsOverride

func (*MonitorSeriesConditionsOverride) ContextValidate ¶

func (m *MonitorSeriesConditionsOverride) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this monitor series conditions override based on the context it is used

func (*MonitorSeriesConditionsOverride) MarshalBinary ¶

func (m *MonitorSeriesConditionsOverride) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitorSeriesConditionsOverride) UnmarshalBinary ¶

func (m *MonitorSeriesConditionsOverride) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitorSeriesConditionsOverride) Validate ¶

Validate validates this monitor series conditions override

type MonitorSignalGrouping ¶

type MonitorSignalGrouping struct {

	// Set of labels names used to split series into signals.
	// Each unique combination of labels will result in its own signal.
	// For example, if label_names is ["service", "code"] then all series including labels {service="foo",code="404"}
	// will be grouped together in the same signal.
	//
	// Cannot be used if graphite_query is set.
	LabelNames []string `json:"label_names"`

	// If this is true, each series will have its own signal.
	// If this is true then label_names cannot be set.
	SignalPerSeries bool `json:"signal_per_series,omitempty"`
}

MonitorSignalGrouping SignalGrouping defines how the set of series from the query are split into signals.

swagger:model MonitorSignalGrouping

func (*MonitorSignalGrouping) ContextValidate ¶

func (m *MonitorSignalGrouping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this monitor signal grouping based on context it is used

func (*MonitorSignalGrouping) MarshalBinary ¶

func (m *MonitorSignalGrouping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitorSignalGrouping) UnmarshalBinary ¶

func (m *MonitorSignalGrouping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitorSignalGrouping) Validate ¶

func (m *MonitorSignalGrouping) Validate(formats strfmt.Registry) error

Validate validates this monitor signal grouping

type NotificationPolicyRoutes ¶

type NotificationPolicyRoutes struct {

	// defaults
	Defaults *RoutesSeverityNotifiers `json:"defaults,omitempty"`

	// Optional list of overrides to use for alerts having matching labels.
	// Each override defines labels that potentially match an alert's labels.
	// If one or more overrides match an alert, the notifiers of the first matching
	// override are used instead of the defaults.
	Overrides []*NotificationPolicyRoutesOverride `json:"overrides"`
}

NotificationPolicyRoutes notification policy routes

swagger:model NotificationPolicyRoutes

func (*NotificationPolicyRoutes) ContextValidate ¶

func (m *NotificationPolicyRoutes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notification policy routes based on the context it is used

func (*NotificationPolicyRoutes) MarshalBinary ¶

func (m *NotificationPolicyRoutes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotificationPolicyRoutes) UnmarshalBinary ¶

func (m *NotificationPolicyRoutes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotificationPolicyRoutes) Validate ¶

func (m *NotificationPolicyRoutes) Validate(formats strfmt.Registry) error

Validate validates this notification policy routes

type NotificationPolicyRoutesOverride ¶

type NotificationPolicyRoutesOverride struct {

	// Set of matchers on an alert's labels.
	// If all labels match then the override notifiers apply.
	AlertLabelMatchers []*Configv1LabelMatcher `json:"alert_label_matchers"`

	// notifiers
	Notifiers *RoutesSeverityNotifiers `json:"notifiers,omitempty"`
}

NotificationPolicyRoutesOverride notification policy routes override

swagger:model NotificationPolicyRoutesOverride

func (*NotificationPolicyRoutesOverride) ContextValidate ¶

func (m *NotificationPolicyRoutesOverride) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notification policy routes override based on the context it is used

func (*NotificationPolicyRoutesOverride) MarshalBinary ¶

func (m *NotificationPolicyRoutesOverride) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotificationPolicyRoutesOverride) UnmarshalBinary ¶

func (m *NotificationPolicyRoutesOverride) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotificationPolicyRoutesOverride) Validate ¶

Validate validates this notification policy routes override

type NotifierEmailConfig ¶

type NotifierEmailConfig struct {

	// Required email address to send notifications to.
	To string `json:"to,omitempty"`

	// Optional HTML body of the email.
	HTML string `json:"html,omitempty"`

	// Optional text body of the email.
	Text string `json:"text,omitempty"`
}

NotifierEmailConfig notifier email config

swagger:model NotifierEmailConfig

func (*NotifierEmailConfig) ContextValidate ¶

func (m *NotifierEmailConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this notifier email config based on context it is used

func (*NotifierEmailConfig) MarshalBinary ¶

func (m *NotifierEmailConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotifierEmailConfig) UnmarshalBinary ¶

func (m *NotifierEmailConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotifierEmailConfig) Validate ¶

func (m *NotifierEmailConfig) Validate(formats strfmt.Registry) error

Validate validates this notifier email config

type NotifierHTTPConfig ¶

type NotifierHTTPConfig struct {

	// basic auth
	BasicAuth *HTTPConfigBasicAuth `json:"basic_auth,omitempty"`

	// Bearer token authentication. Cannot be set if basic_auth is set.
	BearerToken string `json:"bearer_token,omitempty"`

	// Optional proxy URL.
	ProxyURL string `json:"proxy_url,omitempty"`

	// tls config
	TLSConfig *HTTPConfigTLSConfig `json:"tls_config,omitempty"`
}

NotifierHTTPConfig notifier HTTP config

swagger:model NotifierHTTPConfig

func (*NotifierHTTPConfig) ContextValidate ¶

func (m *NotifierHTTPConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notifier HTTP config based on the context it is used

func (*NotifierHTTPConfig) MarshalBinary ¶

func (m *NotifierHTTPConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotifierHTTPConfig) UnmarshalBinary ¶

func (m *NotifierHTTPConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotifierHTTPConfig) Validate ¶

func (m *NotifierHTTPConfig) Validate(formats strfmt.Registry) error

Validate validates this notifier HTTP config

type NotifierOpsGenieConfig ¶

type NotifierOpsGenieConfig struct {

	// http config
	HTTPConfig *NotifierHTTPConfig `json:"http_config,omitempty"`

	// Required OpsGenie API key.
	APIKey string `json:"api_key,omitempty"`

	// Required OpsGenie API URL to send requests to, e.g.
	// "https://api.opsgenie.com/".
	APIURL string `json:"api_url,omitempty"`

	// Alert text.
	Message string `json:"message,omitempty"`

	// Description of the alert.
	Description string `json:"description,omitempty"`

	// A backlink to the sender of the notification.
	Source string `json:"source,omitempty"`

	// A set of arbitrary key/value pairs that provide further detail about the
	// alert.
	Details map[string]string `json:"details,omitempty"`

	// List of responders responsible for notifications.
	Responders []*OpsGenieConfigResponder `json:"responders"`

	// Comma separated list of tags attached to the notifications.
	Tags string `json:"tags,omitempty"`

	// Additional alert note.
	Note string `json:"note,omitempty"`

	// Priority level of alert. Possible values are P1, P2, P3, P4, and P5.
	Priority string `json:"priority,omitempty"`
}

NotifierOpsGenieConfig notifier ops genie config

swagger:model NotifierOpsGenieConfig

func (*NotifierOpsGenieConfig) ContextValidate ¶

func (m *NotifierOpsGenieConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notifier ops genie config based on the context it is used

func (*NotifierOpsGenieConfig) MarshalBinary ¶

func (m *NotifierOpsGenieConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotifierOpsGenieConfig) UnmarshalBinary ¶

func (m *NotifierOpsGenieConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotifierOpsGenieConfig) Validate ¶

func (m *NotifierOpsGenieConfig) Validate(formats strfmt.Registry) error

Validate validates this notifier ops genie config

type NotifierPagerdutyConfig ¶

type NotifierPagerdutyConfig struct {

	// http config
	HTTPConfig *NotifierHTTPConfig `json:"http_config,omitempty"`

	// The Pagerduty URL to send API requests to.
	URL string `json:"url,omitempty"`

	// Client identification of the notification sender.
	Client string `json:"client,omitempty"`

	// A backlink to the sender of the notification.
	ClientURL string `json:"client_url,omitempty"`

	// Description of the incident.
	Description string `json:"description,omitempty"`

	// Severity of the incident.
	// Valid values are 'critical', 'error', 'warning', 'info', or blank
	Severity string `json:"severity,omitempty"`

	// The class/type of the event.
	Class string `json:"class,omitempty"`

	// The part or component of the affected system which is broken.
	Component string `json:"component,omitempty"`

	// A cluster or grouping of services.
	Group string `json:"group,omitempty"`

	// Set of arbitrary key/value pairs which provide further detail about the
	// incident.
	Details map[string]string `json:"details,omitempty"`

	// Images to attach to the incident.
	Images []*PagerdutyConfigImage `json:"images"`

	// Links to attach to the incident.
	Links []*PagerdutyConfigLink `json:"links"`

	// The PagerDuty integration key (when using PagerDuty integration type
	// "Prometheus"). Cannot be set if routing_key is set.
	ServiceKey string `json:"service_key,omitempty"`

	// The PagerDuty integration key (when using PagerDuty integration type
	// "Events API v2"). Cannot be set if service_key is set.
	RoutingKey string `json:"routing_key,omitempty"`
}

NotifierPagerdutyConfig notifier pagerduty config

swagger:model NotifierPagerdutyConfig

func (*NotifierPagerdutyConfig) ContextValidate ¶

func (m *NotifierPagerdutyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notifier pagerduty config based on the context it is used

func (*NotifierPagerdutyConfig) MarshalBinary ¶

func (m *NotifierPagerdutyConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotifierPagerdutyConfig) UnmarshalBinary ¶

func (m *NotifierPagerdutyConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotifierPagerdutyConfig) Validate ¶

func (m *NotifierPagerdutyConfig) Validate(formats strfmt.Registry) error

Validate validates this notifier pagerduty config

type NotifierSlackConfig ¶

type NotifierSlackConfig struct {

	// http config
	HTTPConfig *NotifierHTTPConfig `json:"http_config,omitempty"`

	// Required Slack webhook API URL.
	APIURL string `json:"api_url,omitempty"`

	// The channel to send notifications to.
	Channel string `json:"channel,omitempty"`

	// The user to send notifications to.
	Username string `json:"username,omitempty"`

	// color
	Color string `json:"color,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// title link
	TitleLink string `json:"title_link,omitempty"`

	// pretext
	Pretext string `json:"pretext,omitempty"`

	// text
	Text string `json:"text,omitempty"`

	// footer
	Footer string `json:"footer,omitempty"`

	// fallback
	Fallback string `json:"fallback,omitempty"`

	// callback id
	CallbackID string `json:"callback_id,omitempty"`

	// icon emoji
	IconEmoji string `json:"icon_emoji,omitempty"`

	// icon url
	IconURL string `json:"icon_url,omitempty"`

	// image url
	ImageURL string `json:"image_url,omitempty"`

	// thumb url
	ThumbURL string `json:"thumb_url,omitempty"`

	// short fields
	ShortFields bool `json:"short_fields,omitempty"`

	// link names
	LinkNames bool `json:"link_names,omitempty"`

	// mrkdwn in
	MrkdwnIn []string `json:"mrkdwn_in"`

	// fields
	Fields []*SlackConfigField `json:"fields"`

	// actions
	Actions []*NotifierSlackConfigAction `json:"actions"`
}

NotifierSlackConfig notifier slack config

swagger:model NotifierSlackConfig

func (*NotifierSlackConfig) ContextValidate ¶

func (m *NotifierSlackConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notifier slack config based on the context it is used

func (*NotifierSlackConfig) MarshalBinary ¶

func (m *NotifierSlackConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotifierSlackConfig) UnmarshalBinary ¶

func (m *NotifierSlackConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotifierSlackConfig) Validate ¶

func (m *NotifierSlackConfig) Validate(formats strfmt.Registry) error

Validate validates this notifier slack config

type NotifierSlackConfigAction ¶

type NotifierSlackConfigAction struct {

	// type
	Type string `json:"type,omitempty"`

	// text
	Text string `json:"text,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// style
	Style string `json:"style,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// value
	Value string `json:"value,omitempty"`

	// confirm field
	ConfirmField *SlackConfigConfirmationField `json:"confirm_field,omitempty"`
}

NotifierSlackConfigAction notifier slack config action

swagger:model NotifierSlackConfigAction

func (*NotifierSlackConfigAction) ContextValidate ¶

func (m *NotifierSlackConfigAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notifier slack config action based on the context it is used

func (*NotifierSlackConfigAction) MarshalBinary ¶

func (m *NotifierSlackConfigAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotifierSlackConfigAction) UnmarshalBinary ¶

func (m *NotifierSlackConfigAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotifierSlackConfigAction) Validate ¶

func (m *NotifierSlackConfigAction) Validate(formats strfmt.Registry) error

Validate validates this notifier slack config action

type NotifierVictorOpsConfig ¶

type NotifierVictorOpsConfig struct {

	// http config
	HTTPConfig *NotifierHTTPConfig `json:"http_config,omitempty"`

	// Required VictorOps API key.
	APIKey string `json:"api_key,omitempty"`

	// Required VictorOps API URL.
	APIURL string `json:"api_url,omitempty"`

	// Required VictorOps routing key.
	RoutingKey string `json:"routing_key,omitempty"`

	// Describes the behavior of the alert (CRITICAL, WARNING, INFO).
	MessageType string `json:"message_type,omitempty"`

	// Summary of the alerted problem.
	EntityDisplayName string `json:"entity_display_name,omitempty"`

	// Long explanation of the alerted problem.
	StateMessage string `json:"state_message,omitempty"`

	// The monitoring tool the state message is from.
	MonitoringTool string `json:"monitoring_tool,omitempty"`

	// custom fields
	CustomFields map[string]string `json:"custom_fields,omitempty"`
}

NotifierVictorOpsConfig notifier victor ops config

swagger:model NotifierVictorOpsConfig

func (*NotifierVictorOpsConfig) ContextValidate ¶

func (m *NotifierVictorOpsConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notifier victor ops config based on the context it is used

func (*NotifierVictorOpsConfig) MarshalBinary ¶

func (m *NotifierVictorOpsConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotifierVictorOpsConfig) UnmarshalBinary ¶

func (m *NotifierVictorOpsConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotifierVictorOpsConfig) Validate ¶

func (m *NotifierVictorOpsConfig) Validate(formats strfmt.Registry) error

Validate validates this notifier victor ops config

type NotifierWebhookConfig ¶

type NotifierWebhookConfig struct {

	// http config
	HTTPConfig *NotifierHTTPConfig `json:"http_config,omitempty"`

	// Required webhook URL (will be called as a POST request).
	URL string `json:"url,omitempty"`
}

NotifierWebhookConfig notifier webhook config

swagger:model NotifierWebhookConfig

func (*NotifierWebhookConfig) ContextValidate ¶

func (m *NotifierWebhookConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notifier webhook config based on the context it is used

func (*NotifierWebhookConfig) MarshalBinary ¶

func (m *NotifierWebhookConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotifierWebhookConfig) UnmarshalBinary ¶

func (m *NotifierWebhookConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotifierWebhookConfig) Validate ¶

func (m *NotifierWebhookConfig) Validate(formats strfmt.Registry) error

Validate validates this notifier webhook config

type OpsGenieConfigResponder ¶

type OpsGenieConfigResponder struct {

	// ID of the responder. Cannot be set if name or username are set.
	ID string `json:"id,omitempty"`

	// Name of the responder. Cannot be set if id or username are set.
	Name string `json:"name,omitempty"`

	// Username of the responder. Cannot be set if id or name are set.
	Username string `json:"username,omitempty"`

	// responder type
	ResponderType ResponderResponderType `json:"responder_type,omitempty"`
}

OpsGenieConfigResponder ops genie config responder

swagger:model OpsGenieConfigResponder

func (*OpsGenieConfigResponder) ContextValidate ¶

func (m *OpsGenieConfigResponder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ops genie config responder based on the context it is used

func (*OpsGenieConfigResponder) MarshalBinary ¶

func (m *OpsGenieConfigResponder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpsGenieConfigResponder) UnmarshalBinary ¶

func (m *OpsGenieConfigResponder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpsGenieConfigResponder) Validate ¶

func (m *OpsGenieConfigResponder) Validate(formats strfmt.Registry) error

Validate validates this ops genie config responder

type PagerdutyConfigImage ¶

type PagerdutyConfigImage struct {

	// src
	Src string `json:"src,omitempty"`

	// alt
	Alt string `json:"alt,omitempty"`

	// href
	Href string `json:"href,omitempty"`
}

PagerdutyConfigImage pagerduty config image

swagger:model PagerdutyConfigImage

func (*PagerdutyConfigImage) ContextValidate ¶

func (m *PagerdutyConfigImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pagerduty config image based on context it is used

func (*PagerdutyConfigImage) MarshalBinary ¶

func (m *PagerdutyConfigImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PagerdutyConfigImage) UnmarshalBinary ¶

func (m *PagerdutyConfigImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PagerdutyConfigImage) Validate ¶

func (m *PagerdutyConfigImage) Validate(formats strfmt.Registry) error

Validate validates this pagerduty config image

type PagerdutyConfigLink struct {

	// href
	Href string `json:"href,omitempty"`

	// text
	Text string `json:"text,omitempty"`
}

PagerdutyConfigLink pagerduty config link

swagger:model PagerdutyConfigLink

func (*PagerdutyConfigLink) ContextValidate ¶

func (m *PagerdutyConfigLink) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pagerduty config link based on context it is used

func (*PagerdutyConfigLink) MarshalBinary ¶

func (m *PagerdutyConfigLink) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PagerdutyConfigLink) UnmarshalBinary ¶

func (m *PagerdutyConfigLink) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PagerdutyConfigLink) Validate ¶

func (m *PagerdutyConfigLink) Validate(formats strfmt.Registry) error

Validate validates this pagerduty config link

type ProtobufAny ¶

type ProtobufAny struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

ProtobufAny protobuf any

swagger:model protobufAny

func (*ProtobufAny) ContextValidate ¶

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ProtobufAny) Validate ¶

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

type ResourceChange ¶

type ResourceChange struct {

	// resource
	Resource Configv1ResourceType `json:"resource,omitempty"`

	// slug
	Slug string `json:"slug,omitempty"`

	// action
	Action ResourceChangeAction `json:"action,omitempty"`
}

ResourceChange resource change

swagger:model ResourceChange

func (*ResourceChange) ContextValidate ¶

func (m *ResourceChange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource change based on the context it is used

func (*ResourceChange) MarshalBinary ¶

func (m *ResourceChange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceChange) UnmarshalBinary ¶

func (m *ResourceChange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceChange) Validate ¶

func (m *ResourceChange) Validate(formats strfmt.Registry) error

Validate validates this resource change

type ResourceChangeAction ¶

type ResourceChangeAction string

ResourceChangeAction resource change action

swagger:model ResourceChangeAction

const (

	// ResourceChangeActionCREATED captures enum value "CREATED"
	ResourceChangeActionCREATED ResourceChangeAction = "CREATED"

	// ResourceChangeActionUPDATED captures enum value "UPDATED"
	ResourceChangeActionUPDATED ResourceChangeAction = "UPDATED"

	// ResourceChangeActionDELETED captures enum value "DELETED"
	ResourceChangeActionDELETED ResourceChangeAction = "DELETED"

	// ResourceChangeActionNOOP captures enum value "NOOP"
	ResourceChangeActionNOOP ResourceChangeAction = "NOOP"
)

func NewResourceChangeAction ¶

func NewResourceChangeAction(value ResourceChangeAction) *ResourceChangeAction

func (ResourceChangeAction) ContextValidate ¶

func (m ResourceChangeAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource change action based on context it is used

func (ResourceChangeAction) Pointer ¶

Pointer returns a pointer to a freshly-allocated ResourceChangeAction.

func (ResourceChangeAction) Validate ¶

func (m ResourceChangeAction) Validate(formats strfmt.Registry) error

Validate validates this resource change action

type ResourcePoolsAllocation ¶

type ResourcePoolsAllocation struct {

	// Percentage of the license to allocate to this pool. Must be between 0
	// and 100 inclusive. The percent_of_license values across all pools
	// (including the default pool) must add up to exactly 100.
	PercentOfLicense float64 `json:"percent_of_license,omitempty"`
}

ResourcePoolsAllocation resource pools allocation

swagger:model ResourcePoolsAllocation

func (*ResourcePoolsAllocation) ContextValidate ¶

func (m *ResourcePoolsAllocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource pools allocation based on context it is used

func (*ResourcePoolsAllocation) MarshalBinary ¶

func (m *ResourcePoolsAllocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourcePoolsAllocation) UnmarshalBinary ¶

func (m *ResourcePoolsAllocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourcePoolsAllocation) Validate ¶

func (m *ResourcePoolsAllocation) Validate(formats strfmt.Registry) error

Validate validates this resource pools allocation

type ResourcePoolsDefaultPool ¶

type ResourcePoolsDefaultPool struct {

	// allocation
	Allocation *ResourcePoolsAllocation `json:"allocation,omitempty"`

	// priorities
	Priorities *ResourcePoolsPriorities `json:"priorities,omitempty"`
}

ResourcePoolsDefaultPool resource pools default pool

swagger:model ResourcePoolsDefaultPool

func (*ResourcePoolsDefaultPool) ContextValidate ¶

func (m *ResourcePoolsDefaultPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource pools default pool based on the context it is used

func (*ResourcePoolsDefaultPool) MarshalBinary ¶

func (m *ResourcePoolsDefaultPool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourcePoolsDefaultPool) UnmarshalBinary ¶

func (m *ResourcePoolsDefaultPool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourcePoolsDefaultPool) Validate ¶

func (m *ResourcePoolsDefaultPool) Validate(formats strfmt.Registry) error

Validate validates this resource pools default pool

type ResourcePoolsPool ¶

type ResourcePoolsPool struct {

	// Required name of the pool. Must be unique.
	Name string `json:"name,omitempty"`

	// allocation
	Allocation *ResourcePoolsAllocation `json:"allocation,omitempty"`

	// Required filters which define which metrics map to this pool, where any
	// metric which matches at least one filter will map to the pool.
	Filters []*Configv1LabelFilter `json:"filters"`

	// priorities
	Priorities *ResourcePoolsPriorities `json:"priorities,omitempty"`
}

ResourcePoolsPool resource pools pool

swagger:model ResourcePoolsPool

func (*ResourcePoolsPool) ContextValidate ¶

func (m *ResourcePoolsPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource pools pool based on the context it is used

func (*ResourcePoolsPool) MarshalBinary ¶

func (m *ResourcePoolsPool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourcePoolsPool) UnmarshalBinary ¶

func (m *ResourcePoolsPool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourcePoolsPool) Validate ¶

func (m *ResourcePoolsPool) Validate(formats strfmt.Registry) error

Validate validates this resource pools pool

type ResourcePoolsPriorities ¶

type ResourcePoolsPriorities struct {

	// Required filters which define which metrics are high priority, where any
	// metric which matches at least one filter is considered high priority.
	// High priority metrics are dropped last when the license limit is exceeded.
	HighPriorityFilters []*Configv1LabelFilter `json:"high_priority_filters"`

	// Required filters which define which metrics are low priority, where any
	// metric which matches at least one filter is considered low priority. Low
	// priority metrics are dropped first when the license limit is exceeded.
	LowPriorityFilters []*Configv1LabelFilter `json:"low_priority_filters"`
}

ResourcePoolsPriorities resource pools priorities

swagger:model ResourcePoolsPriorities

func (*ResourcePoolsPriorities) ContextValidate ¶

func (m *ResourcePoolsPriorities) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource pools priorities based on the context it is used

func (*ResourcePoolsPriorities) MarshalBinary ¶

func (m *ResourcePoolsPriorities) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourcePoolsPriorities) UnmarshalBinary ¶

func (m *ResourcePoolsPriorities) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourcePoolsPriorities) Validate ¶

func (m *ResourcePoolsPriorities) Validate(formats strfmt.Registry) error

Validate validates this resource pools priorities

type ResponderResponderType ¶

type ResponderResponderType string

ResponderResponderType responder responder type

swagger:model ResponderResponderType

const (

	// ResponderResponderTypeTEAM captures enum value "TEAM"
	ResponderResponderTypeTEAM ResponderResponderType = "TEAM"

	// ResponderResponderTypeUSER captures enum value "USER"
	ResponderResponderTypeUSER ResponderResponderType = "USER"

	// ResponderResponderTypeESCALATION captures enum value "ESCALATION"
	ResponderResponderTypeESCALATION ResponderResponderType = "ESCALATION"

	// ResponderResponderTypeSCHEDULE captures enum value "SCHEDULE"
	ResponderResponderTypeSCHEDULE ResponderResponderType = "SCHEDULE"
)

func NewResponderResponderType ¶

func NewResponderResponderType(value ResponderResponderType) *ResponderResponderType

func (ResponderResponderType) ContextValidate ¶

func (m ResponderResponderType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this responder responder type based on context it is used

func (ResponderResponderType) Pointer ¶

Pointer returns a pointer to a freshly-allocated ResponderResponderType.

func (ResponderResponderType) Validate ¶

func (m ResponderResponderType) Validate(formats strfmt.Registry) error

Validate validates this responder responder type

type RollupRuleLabelReplace ¶

type RollupRuleLabelReplace struct {

	// The source label name; this can be equal to dst_label_name to replace
	// this label’s value in place.
	SrcLabelName string `json:"src_label_name,omitempty"`

	// The new value for the label matching this LabelReplace. This supports
	// regex expansion if a label_value_regex is supplied, and is used as a
	// literal otherwise.
	NewLabelValue string `json:"new_label_value,omitempty"`

	// The optional destination label name; if this is present, a new tag with
	// this name is added to the aggregated series (or an existing tag with this
	// name is overwritten).
	// This can be omitted to replace the label’s value in-place, and should be
	// either omitted or equal to src_label_name for Graphite rules.
	DstLabelName string `json:"dst_label_name,omitempty"`

	// The optional regex that should match label value. If this regex is
	// provided, it needs to match the value of the label with the name
	// src_label_name to apply the replacement.
	// This supports capture groups to extract parts of the label value.
	// If omitted, the new_label_value is used as a literal to replace any
	// src_label_name label value.
	LabelValueRegex string `json:"label_value_regex,omitempty"`

	// If src_label_name differs from dst_label_name keep_label determines if
	// the label with src_label_name is kept.
	KeepLabel bool `json:"keep_label,omitempty"`
}

RollupRuleLabelReplace LabelReplace can be used to either create or modify an existing label on incoming aggregator series, optionally based on a matching regex.

swagger:model RollupRuleLabelReplace

func (*RollupRuleLabelReplace) ContextValidate ¶

func (m *RollupRuleLabelReplace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rollup rule label replace based on context it is used

func (*RollupRuleLabelReplace) MarshalBinary ¶

func (m *RollupRuleLabelReplace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RollupRuleLabelReplace) UnmarshalBinary ¶

func (m *RollupRuleLabelReplace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RollupRuleLabelReplace) Validate ¶

func (m *RollupRuleLabelReplace) Validate(formats strfmt.Registry) error

Validate validates this rollup rule label replace

type RollupRuleMetricType ¶

type RollupRuleMetricType string

RollupRuleMetricType rollup rule metric type

swagger:model RollupRuleMetricType

const (

	// RollupRuleMetricTypeCOUNTER captures enum value "COUNTER"
	RollupRuleMetricTypeCOUNTER RollupRuleMetricType = "COUNTER"

	// RollupRuleMetricTypeGAUGE captures enum value "GAUGE"
	RollupRuleMetricTypeGAUGE RollupRuleMetricType = "GAUGE"

	// RollupRuleMetricTypeDELTA captures enum value "DELTA"
	RollupRuleMetricTypeDELTA RollupRuleMetricType = "DELTA"

	// RollupRuleMetricTypeDISTRIBUTION captures enum value "DISTRIBUTION"
	RollupRuleMetricTypeDISTRIBUTION RollupRuleMetricType = "DISTRIBUTION"

	// RollupRuleMetricTypeHISTOGRAMCUMULATIVE captures enum value "HISTOGRAM_CUMULATIVE"
	RollupRuleMetricTypeHISTOGRAMCUMULATIVE RollupRuleMetricType = "HISTOGRAM_CUMULATIVE"
)

func NewRollupRuleMetricType ¶

func NewRollupRuleMetricType(value RollupRuleMetricType) *RollupRuleMetricType

func (RollupRuleMetricType) ContextValidate ¶

func (m RollupRuleMetricType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rollup rule metric type based on context it is used

func (RollupRuleMetricType) Pointer ¶

Pointer returns a pointer to a freshly-allocated RollupRuleMetricType.

func (RollupRuleMetricType) Validate ¶

func (m RollupRuleMetricType) Validate(formats strfmt.Registry) error

Validate validates this rollup rule metric type

type RoutesNotifierList ¶

type RoutesNotifierList struct {

	// Slugs of notifiers that will receive the alerts.
	NotifierSlugs []string `json:"notifier_slugs"`

	// Frequency at which to resend alerts.
	RepeatIntervalSecs int32 `json:"repeat_interval_secs,omitempty"`
}

RoutesNotifierList routes notifier list

swagger:model RoutesNotifierList

func (*RoutesNotifierList) ContextValidate ¶

func (m *RoutesNotifierList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this routes notifier list based on context it is used

func (*RoutesNotifierList) MarshalBinary ¶

func (m *RoutesNotifierList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoutesNotifierList) UnmarshalBinary ¶

func (m *RoutesNotifierList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoutesNotifierList) Validate ¶

func (m *RoutesNotifierList) Validate(formats strfmt.Registry) error

Validate validates this routes notifier list

type RoutesSeverityNotifiers ¶

type RoutesSeverityNotifiers struct {

	// warn
	Warn *RoutesNotifierList `json:"warn,omitempty"`

	// critical
	Critical *RoutesNotifierList `json:"critical,omitempty"`
}

RoutesSeverityNotifiers routes severity notifiers

swagger:model RoutesSeverityNotifiers

func (*RoutesSeverityNotifiers) ContextValidate ¶

func (m *RoutesSeverityNotifiers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this routes severity notifiers based on the context it is used

func (*RoutesSeverityNotifiers) MarshalBinary ¶

func (m *RoutesSeverityNotifiers) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoutesSeverityNotifiers) UnmarshalBinary ¶

func (m *RoutesSeverityNotifiers) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoutesSeverityNotifiers) Validate ¶

func (m *RoutesSeverityNotifiers) Validate(formats strfmt.Registry) error

Validate validates this routes severity notifiers

type ScheduleDayActive ¶

type ScheduleDayActive string

ScheduleDayActive schedule day active

swagger:model ScheduleDayActive

const (

	// ScheduleDayActiveALLDAY captures enum value "ALL_DAY"
	ScheduleDayActiveALLDAY ScheduleDayActive = "ALL_DAY"

	// ScheduleDayActiveONLYDURINGRANGES captures enum value "ONLY_DURING_RANGES"
	ScheduleDayActiveONLYDURINGRANGES ScheduleDayActive = "ONLY_DURING_RANGES"

	// ScheduleDayActiveNEVER captures enum value "NEVER"
	ScheduleDayActiveNEVER ScheduleDayActive = "NEVER"
)

func NewScheduleDayActive ¶

func NewScheduleDayActive(value ScheduleDayActive) *ScheduleDayActive

func (ScheduleDayActive) ContextValidate ¶

func (m ScheduleDayActive) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this schedule day active based on context it is used

func (ScheduleDayActive) Pointer ¶

func (m ScheduleDayActive) Pointer() *ScheduleDayActive

Pointer returns a pointer to a freshly-allocated ScheduleDayActive.

func (ScheduleDayActive) Validate ¶

func (m ScheduleDayActive) Validate(formats strfmt.Registry) error

Validate validates this schedule day active

type ScheduleDayTimeRange ¶

type ScheduleDayTimeRange struct {

	// Start time in the in format "<hour>:<minute>", e.g. "15:30".
	StartHhMm string `json:"start_hh_mm,omitempty"`

	// End time in the in format "<hour>:<minute>", e.g. "15:30".
	EndHhMm string `json:"end_hh_mm,omitempty"`
}

ScheduleDayTimeRange schedule day time range

swagger:model ScheduleDayTimeRange

func (*ScheduleDayTimeRange) ContextValidate ¶

func (m *ScheduleDayTimeRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this schedule day time range based on context it is used

func (*ScheduleDayTimeRange) MarshalBinary ¶

func (m *ScheduleDayTimeRange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScheduleDayTimeRange) UnmarshalBinary ¶

func (m *ScheduleDayTimeRange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScheduleDayTimeRange) Validate ¶

func (m *ScheduleDayTimeRange) Validate(formats strfmt.Registry) error

Validate validates this schedule day time range

type ScheduleScheduleDay ¶

type ScheduleScheduleDay struct {

	// active
	Active ScheduleDayActive `json:"active,omitempty"`

	// The time ranges that the monitor is active on this day. Required if
	// active is set to ONLY_DURING_RANGES, else must be empty.
	Ranges []*ScheduleDayTimeRange `json:"ranges"`
}

ScheduleScheduleDay schedule schedule day

swagger:model ScheduleScheduleDay

func (*ScheduleScheduleDay) ContextValidate ¶

func (m *ScheduleScheduleDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this schedule schedule day based on the context it is used

func (*ScheduleScheduleDay) MarshalBinary ¶

func (m *ScheduleScheduleDay) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScheduleScheduleDay) UnmarshalBinary ¶

func (m *ScheduleScheduleDay) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScheduleScheduleDay) Validate ¶

func (m *ScheduleScheduleDay) Validate(formats strfmt.Registry) error

Validate validates this schedule schedule day

type ScheduleWeeklySchedule ¶

type ScheduleWeeklySchedule struct {

	// monday
	Monday *ScheduleScheduleDay `json:"monday,omitempty"`

	// tuesday
	Tuesday *ScheduleScheduleDay `json:"tuesday,omitempty"`

	// wednesday
	Wednesday *ScheduleScheduleDay `json:"wednesday,omitempty"`

	// thursday
	Thursday *ScheduleScheduleDay `json:"thursday,omitempty"`

	// friday
	Friday *ScheduleScheduleDay `json:"friday,omitempty"`

	// saturday
	Saturday *ScheduleScheduleDay `json:"saturday,omitempty"`

	// sunday
	Sunday *ScheduleScheduleDay `json:"sunday,omitempty"`
}

ScheduleWeeklySchedule schedule weekly schedule

swagger:model ScheduleWeeklySchedule

func (*ScheduleWeeklySchedule) ContextValidate ¶

func (m *ScheduleWeeklySchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this schedule weekly schedule based on the context it is used

func (*ScheduleWeeklySchedule) MarshalBinary ¶

func (m *ScheduleWeeklySchedule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScheduleWeeklySchedule) UnmarshalBinary ¶

func (m *ScheduleWeeklySchedule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScheduleWeeklySchedule) Validate ¶

func (m *ScheduleWeeklySchedule) Validate(formats strfmt.Registry) error

Validate validates this schedule weekly schedule

type SeriesConditionsConditions ¶

type SeriesConditionsConditions struct {

	// List of conditions to evaluate against a series.
	// Only one condition -- not all -- needs to match in order to assign a severity to a signal.
	Conditions []*MonitorCondition `json:"conditions"`
}

SeriesConditionsConditions series conditions conditions

swagger:model SeriesConditionsConditions

func (*SeriesConditionsConditions) ContextValidate ¶

func (m *SeriesConditionsConditions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this series conditions conditions based on the context it is used

func (*SeriesConditionsConditions) MarshalBinary ¶

func (m *SeriesConditionsConditions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SeriesConditionsConditions) UnmarshalBinary ¶

func (m *SeriesConditionsConditions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SeriesConditionsConditions) Validate ¶

func (m *SeriesConditionsConditions) Validate(formats strfmt.Registry) error

Validate validates this series conditions conditions

type SeriesConditionsSeverityConditions ¶

type SeriesConditionsSeverityConditions struct {

	// warn
	Warn *SeriesConditionsConditions `json:"warn,omitempty"`

	// critical
	Critical *SeriesConditionsConditions `json:"critical,omitempty"`
}

SeriesConditionsSeverityConditions series conditions severity conditions

swagger:model SeriesConditionsSeverityConditions

func (*SeriesConditionsSeverityConditions) ContextValidate ¶

func (m *SeriesConditionsSeverityConditions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this series conditions severity conditions based on the context it is used

func (*SeriesConditionsSeverityConditions) MarshalBinary ¶

func (m *SeriesConditionsSeverityConditions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SeriesConditionsSeverityConditions) UnmarshalBinary ¶

func (m *SeriesConditionsSeverityConditions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SeriesConditionsSeverityConditions) Validate ¶

Validate validates this series conditions severity conditions

type ServiceAccountMetricsRestriction ¶

type ServiceAccountMetricsRestriction struct {

	// permission
	Permission MetricsRestrictionPermission `json:"permission,omitempty"`

	// Optional labels which further restricts the service account to only read
	// or write metrics with the given label names and values.
	Labels map[string]string `json:"labels,omitempty"`
}

ServiceAccountMetricsRestriction service account metrics restriction

swagger:model ServiceAccountMetricsRestriction

func (*ServiceAccountMetricsRestriction) ContextValidate ¶

func (m *ServiceAccountMetricsRestriction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service account metrics restriction based on the context it is used

func (*ServiceAccountMetricsRestriction) MarshalBinary ¶

func (m *ServiceAccountMetricsRestriction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceAccountMetricsRestriction) UnmarshalBinary ¶

func (m *ServiceAccountMetricsRestriction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceAccountMetricsRestriction) Validate ¶

Validate validates this service account metrics restriction

type SlackConfigConfirmationField ¶

type SlackConfigConfirmationField struct {

	// text
	Text string `json:"text,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// ok text
	OkText string `json:"ok_text,omitempty"`

	// dismiss text
	DismissText string `json:"dismiss_text,omitempty"`
}

SlackConfigConfirmationField slack config confirmation field

swagger:model SlackConfigConfirmationField

func (*SlackConfigConfirmationField) ContextValidate ¶

func (m *SlackConfigConfirmationField) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this slack config confirmation field based on context it is used

func (*SlackConfigConfirmationField) MarshalBinary ¶

func (m *SlackConfigConfirmationField) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SlackConfigConfirmationField) UnmarshalBinary ¶

func (m *SlackConfigConfirmationField) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SlackConfigConfirmationField) Validate ¶

func (m *SlackConfigConfirmationField) Validate(formats strfmt.Registry) error

Validate validates this slack config confirmation field

type SlackConfigField ¶

type SlackConfigField struct {

	// title
	Title string `json:"title,omitempty"`

	// value
	Value string `json:"value,omitempty"`

	// short
	Short bool `json:"short,omitempty"`
}

SlackConfigField slack config field

swagger:model SlackConfigField

func (*SlackConfigField) ContextValidate ¶

func (m *SlackConfigField) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this slack config field based on context it is used

func (*SlackConfigField) MarshalBinary ¶

func (m *SlackConfigField) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SlackConfigField) UnmarshalBinary ¶

func (m *SlackConfigField) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SlackConfigField) Validate ¶

func (m *SlackConfigField) Validate(formats strfmt.Registry) error

Validate validates this slack config field

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL