models

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 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 ConfigV1UpdateBucketBody ¶ added in v1.1.0

type ConfigV1UpdateBucketBody struct {

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

	// If true, the Bucket will be created if it does not already exist, identified by slug. If false, an error will be returned if the Bucket does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the Bucket will not be created nor updated, 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"`
}

ConfigV1UpdateBucketBody config v1 update bucket body

swagger:model ConfigV1UpdateBucketBody

func (*ConfigV1UpdateBucketBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update bucket body based on the context it is used

func (*ConfigV1UpdateBucketBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateBucketBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateBucketBody) Validate ¶ added in v1.1.0

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

Validate validates this config v1 update bucket body

type ConfigV1UpdateClassicDashboardBody ¶ added in v1.1.0

type ConfigV1UpdateClassicDashboardBody struct {

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

	// If true, the GrafanaDashboard will be created if it does not already exist, identified by slug. If false, an error will be returned if the GrafanaDashboard does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the GrafanaDashboard will not be created nor updated, 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"`
}

ConfigV1UpdateClassicDashboardBody config v1 update classic dashboard body

swagger:model ConfigV1UpdateClassicDashboardBody

func (*ConfigV1UpdateClassicDashboardBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update classic dashboard body based on the context it is used

func (*ConfigV1UpdateClassicDashboardBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateClassicDashboardBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateClassicDashboardBody) Validate ¶ added in v1.1.0

Validate validates this config v1 update classic dashboard body

type ConfigV1UpdateCollectionBody ¶ added in v1.1.0

type ConfigV1UpdateCollectionBody struct {

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

	// If true, the Collection will be created if it does not already exist, identified by slug. If false, an error will be returned if the Collection does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the Collection will not be created nor updated, 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"`
}

ConfigV1UpdateCollectionBody config v1 update collection body

swagger:model ConfigV1UpdateCollectionBody

func (*ConfigV1UpdateCollectionBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update collection body based on the context it is used

func (*ConfigV1UpdateCollectionBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateCollectionBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateCollectionBody) Validate ¶ added in v1.1.0

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

Validate validates this config v1 update collection body

type ConfigV1UpdateDashboardBody ¶ added in v1.1.0

type ConfigV1UpdateDashboardBody struct {

	// If true, the Dashboard will be created if it does not already exist, identified by slug. If false, an error will be returned if the Dashboard does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// If true, the Dashboard will not be created nor updated, 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"`
}

ConfigV1UpdateDashboardBody config v1 update dashboard body

swagger:model ConfigV1UpdateDashboardBody

func (*ConfigV1UpdateDashboardBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update dashboard body based on the context it is used

func (*ConfigV1UpdateDashboardBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateDashboardBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateDashboardBody) Validate ¶ added in v1.1.0

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

Validate validates this config v1 update dashboard body

type ConfigV1UpdateDatasetBody ¶ added in v1.1.0

type ConfigV1UpdateDatasetBody struct {

	// If true, the Dataset will be created if it does not already exist, identified by slug. If false, an error will be returned if the Dataset does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// dataset
	Dataset *Configv1Dataset `json:"dataset,omitempty"`

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

ConfigV1UpdateDatasetBody config v1 update dataset body

swagger:model ConfigV1UpdateDatasetBody

func (*ConfigV1UpdateDatasetBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update dataset body based on the context it is used

func (*ConfigV1UpdateDatasetBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateDatasetBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateDatasetBody) Validate ¶ added in v1.1.0

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

Validate validates this config v1 update dataset body

type ConfigV1UpdateDerivedLabelBody ¶ added in v1.1.0

type ConfigV1UpdateDerivedLabelBody struct {

	// If true, the DerivedLabel will be created if it does not already exist, identified by slug. If false, an error will be returned if the DerivedLabel does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// If true, the DerivedLabel will not be created nor updated, 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"`
}

ConfigV1UpdateDerivedLabelBody config v1 update derived label body

swagger:model ConfigV1UpdateDerivedLabelBody

func (*ConfigV1UpdateDerivedLabelBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update derived label body based on the context it is used

func (*ConfigV1UpdateDerivedLabelBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateDerivedLabelBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateDerivedLabelBody) Validate ¶ added in v1.1.0

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

Validate validates this config v1 update derived label body

type ConfigV1UpdateDerivedMetricBody ¶ added in v1.1.0

type ConfigV1UpdateDerivedMetricBody struct {

	// If true, the DerivedMetric will be created if it does not already exist, identified by slug. If false, an error will be returned if the DerivedMetric does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// If true, the DerivedMetric will not be created nor updated, 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"`
}

ConfigV1UpdateDerivedMetricBody config v1 update derived metric body

swagger:model ConfigV1UpdateDerivedMetricBody

func (*ConfigV1UpdateDerivedMetricBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update derived metric body based on the context it is used

func (*ConfigV1UpdateDerivedMetricBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateDerivedMetricBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateDerivedMetricBody) Validate ¶ added in v1.1.0

Validate validates this config v1 update derived metric body

type ConfigV1UpdateDropRuleBody ¶ added in v1.1.0

type ConfigV1UpdateDropRuleBody struct {

	// If true, the DropRule will be created if it does not already exist, identified by slug. If false, an error will be returned if the DropRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// If true, the DropRule will not be created nor updated, 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"`
}

ConfigV1UpdateDropRuleBody config v1 update drop rule body

swagger:model ConfigV1UpdateDropRuleBody

func (*ConfigV1UpdateDropRuleBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update drop rule body based on the context it is used

func (*ConfigV1UpdateDropRuleBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateDropRuleBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateDropRuleBody) Validate ¶ added in v1.1.0

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

Validate validates this config v1 update drop rule body

type ConfigV1UpdateGcpMetricsIntegrationBody ¶ added in v1.1.0

type ConfigV1UpdateGcpMetricsIntegrationBody struct {

	// If true, the GcpMetricsIntegration will be created if it does not already exist, identified by slug. If false, an error will be returned if the GcpMetricsIntegration does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// gcp metrics integration
	GcpMetricsIntegration *Configv1GcpMetricsIntegration `json:"gcp_metrics_integration,omitempty"`
}

ConfigV1UpdateGcpMetricsIntegrationBody config v1 update gcp metrics integration body

swagger:model ConfigV1UpdateGcpMetricsIntegrationBody

func (*ConfigV1UpdateGcpMetricsIntegrationBody) ContextValidate ¶ added in v1.1.0

ContextValidate validate this config v1 update gcp metrics integration body based on the context it is used

func (*ConfigV1UpdateGcpMetricsIntegrationBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateGcpMetricsIntegrationBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateGcpMetricsIntegrationBody) Validate ¶ added in v1.1.0

Validate validates this config v1 update gcp metrics integration body

type ConfigV1UpdateGrafanaDashboardBody ¶ added in v1.1.0

type ConfigV1UpdateGrafanaDashboardBody struct {

	// If true, the GrafanaDashboard will be created if it does not already exist, identified by slug. If false, an error will be returned if the GrafanaDashboard does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the GrafanaDashboard will not be created nor updated, 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"`

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

ConfigV1UpdateGrafanaDashboardBody config v1 update grafana dashboard body

swagger:model ConfigV1UpdateGrafanaDashboardBody

func (*ConfigV1UpdateGrafanaDashboardBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update grafana dashboard body based on the context it is used

func (*ConfigV1UpdateGrafanaDashboardBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateGrafanaDashboardBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateGrafanaDashboardBody) Validate ¶ added in v1.1.0

Validate validates this config v1 update grafana dashboard body

type ConfigV1UpdateLogScaleActionBody ¶ added in v1.4.0

type ConfigV1UpdateLogScaleActionBody struct {

	// If true, the LogScaleAction will be created if it does not already exist, identified by slug. If false, an error will be returned if the LogScaleAction does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// log scale action
	LogScaleAction *Configv1LogScaleAction `json:"log_scale_action,omitempty"`
}

ConfigV1UpdateLogScaleActionBody config v1 update log scale action body

swagger:model ConfigV1UpdateLogScaleActionBody

func (*ConfigV1UpdateLogScaleActionBody) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this config v1 update log scale action body based on the context it is used

func (*ConfigV1UpdateLogScaleActionBody) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateLogScaleActionBody) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateLogScaleActionBody) Validate ¶ added in v1.4.0

Validate validates this config v1 update log scale action body

type ConfigV1UpdateLogScaleAlertBody ¶ added in v1.4.0

type ConfigV1UpdateLogScaleAlertBody struct {

	// If true, the LogScaleAlert will be created if it does not already exist, identified by slug. If false, an error will be returned if the LogScaleAlert does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// log scale alert
	LogScaleAlert *Configv1LogScaleAlert `json:"log_scale_alert,omitempty"`
}

ConfigV1UpdateLogScaleAlertBody config v1 update log scale alert body

swagger:model ConfigV1UpdateLogScaleAlertBody

func (*ConfigV1UpdateLogScaleAlertBody) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this config v1 update log scale alert body based on the context it is used

func (*ConfigV1UpdateLogScaleAlertBody) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateLogScaleAlertBody) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateLogScaleAlertBody) Validate ¶ added in v1.4.0

Validate validates this config v1 update log scale alert body

type ConfigV1UpdateMappingRuleBody ¶ added in v1.1.0

type ConfigV1UpdateMappingRuleBody struct {

	// If true, the MappingRule will be created if it does not already exist, identified by slug. If false, an error will be returned if the MappingRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the MappingRule will not be created nor updated, 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"`

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

ConfigV1UpdateMappingRuleBody config v1 update mapping rule body

swagger:model ConfigV1UpdateMappingRuleBody

func (*ConfigV1UpdateMappingRuleBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update mapping rule body based on the context it is used

func (*ConfigV1UpdateMappingRuleBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateMappingRuleBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateMappingRuleBody) Validate ¶ added in v1.1.0

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

Validate validates this config v1 update mapping rule body

type ConfigV1UpdateMonitorBody ¶ added in v1.1.0

type ConfigV1UpdateMonitorBody struct {

	// If true, the Monitor will be created if it does not already exist, identified by slug. If false, an error will be returned if the Monitor does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the Monitor will not be created nor updated, 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"`

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

ConfigV1UpdateMonitorBody config v1 update monitor body

swagger:model ConfigV1UpdateMonitorBody

func (*ConfigV1UpdateMonitorBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update monitor body based on the context it is used

func (*ConfigV1UpdateMonitorBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateMonitorBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateMonitorBody) Validate ¶ added in v1.1.0

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

Validate validates this config v1 update monitor body

type ConfigV1UpdateMutingRuleBody ¶ added in v1.1.0

type ConfigV1UpdateMutingRuleBody struct {

	// If true, the MutingRule will be created if it does not already exist, identified by slug. If false, an error will be returned if the MutingRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the MutingRule will not be created nor updated, 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"`

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

ConfigV1UpdateMutingRuleBody config v1 update muting rule body

swagger:model ConfigV1UpdateMutingRuleBody

func (*ConfigV1UpdateMutingRuleBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update muting rule body based on the context it is used

func (*ConfigV1UpdateMutingRuleBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateMutingRuleBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateMutingRuleBody) Validate ¶ added in v1.1.0

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

Validate validates this config v1 update muting rule body

type ConfigV1UpdateNotificationPolicyBody ¶ added in v1.1.0

type ConfigV1UpdateNotificationPolicyBody struct {

	// If true, the NotificationPolicy will be created if it does not already exist, identified by slug. If false, an error will be returned if the NotificationPolicy does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the NotificationPolicy will not be created nor updated, 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"`

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

ConfigV1UpdateNotificationPolicyBody config v1 update notification policy body

swagger:model ConfigV1UpdateNotificationPolicyBody

func (*ConfigV1UpdateNotificationPolicyBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update notification policy body based on the context it is used

func (*ConfigV1UpdateNotificationPolicyBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateNotificationPolicyBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateNotificationPolicyBody) Validate ¶ added in v1.1.0

Validate validates this config v1 update notification policy body

type ConfigV1UpdateNotifierBody ¶ added in v1.1.0

type ConfigV1UpdateNotifierBody struct {

	// If true, the Notifier will be created if it does not already exist, identified by slug. If false, an error will be returned if the Notifier does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the Notifier will not be created nor updated, 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"`

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

ConfigV1UpdateNotifierBody config v1 update notifier body

swagger:model ConfigV1UpdateNotifierBody

func (*ConfigV1UpdateNotifierBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update notifier body based on the context it is used

func (*ConfigV1UpdateNotifierBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateNotifierBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateNotifierBody) Validate ¶ added in v1.1.0

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

Validate validates this config v1 update notifier body

type ConfigV1UpdateRecordingRuleBody ¶ added in v1.1.0

type ConfigV1UpdateRecordingRuleBody struct {

	// If true, the RecordingRule will be created if it does not already exist, identified by slug. If false, an error will be returned if the RecordingRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the RecordingRule will not be created nor updated, 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"`

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

ConfigV1UpdateRecordingRuleBody config v1 update recording rule body

swagger:model ConfigV1UpdateRecordingRuleBody

func (*ConfigV1UpdateRecordingRuleBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update recording rule body based on the context it is used

func (*ConfigV1UpdateRecordingRuleBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateRecordingRuleBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateRecordingRuleBody) Validate ¶ added in v1.1.0

Validate validates this config v1 update recording rule body

type ConfigV1UpdateRollupRuleBody ¶ added in v1.1.0

type ConfigV1UpdateRollupRuleBody struct {

	// If true, the RollupRule will be created if it does not already exist, identified by slug. If false, an error will be returned if the RollupRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the RollupRule will not be created nor updated, 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"`

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

ConfigV1UpdateRollupRuleBody config v1 update rollup rule body

swagger:model ConfigV1UpdateRollupRuleBody

func (*ConfigV1UpdateRollupRuleBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update rollup rule body based on the context it is used

func (*ConfigV1UpdateRollupRuleBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateRollupRuleBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateRollupRuleBody) Validate ¶ added in v1.1.0

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

Validate validates this config v1 update rollup rule body

type ConfigV1UpdateTeamBody ¶ added in v1.1.0

type ConfigV1UpdateTeamBody struct {

	// If true, the Team will be created if it does not already exist, identified by slug. If false, an error will be returned if the Team does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the Team will not be created nor updated, 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"`

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

ConfigV1UpdateTeamBody config v1 update team body

swagger:model ConfigV1UpdateTeamBody

func (*ConfigV1UpdateTeamBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update team body based on the context it is used

func (*ConfigV1UpdateTeamBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateTeamBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateTeamBody) Validate ¶ added in v1.1.0

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

Validate validates this config v1 update team body

type ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody ¶ added in v1.1.0

type ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody struct {

	// If true, the TraceJaegerRemoteSamplingStrategy will be created if it does not already exist, identified by slug. If false, an error will be returned if the TraceJaegerRemoteSamplingStrategy does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// trace jaeger remote sampling strategy
	TraceJaegerRemoteSamplingStrategy *Configv1TraceJaegerRemoteSamplingStrategy `json:"trace_jaeger_remote_sampling_strategy,omitempty"`
}

ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody config v1 update trace jaeger remote sampling strategy body

swagger:model ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody

func (*ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody) ContextValidate ¶ added in v1.1.0

ContextValidate validate this config v1 update trace jaeger remote sampling strategy body based on the context it is used

func (*ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody) MarshalBinary ¶ added in v1.1.0

MarshalBinary interface implementation

func (*ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody) UnmarshalBinary ¶ added in v1.1.0

UnmarshalBinary interface implementation

func (*ConfigV1UpdateTraceJaegerRemoteSamplingStrategyBody) Validate ¶ added in v1.1.0

Validate validates this config v1 update trace jaeger remote sampling strategy body

type ConfigV1UpdateTraceMetricsRuleBody ¶ added in v1.1.0

type ConfigV1UpdateTraceMetricsRuleBody struct {

	// If true, the TraceMetricsRule will be created if it does not already exist, identified by slug. If false, an error will be returned if the TraceMetricsRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// trace metrics rule
	TraceMetricsRule *Configv1TraceMetricsRule `json:"trace_metrics_rule,omitempty"`
}

ConfigV1UpdateTraceMetricsRuleBody config v1 update trace metrics rule body

swagger:model ConfigV1UpdateTraceMetricsRuleBody

func (*ConfigV1UpdateTraceMetricsRuleBody) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this config v1 update trace metrics rule body based on the context it is used

func (*ConfigV1UpdateTraceMetricsRuleBody) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*ConfigV1UpdateTraceMetricsRuleBody) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*ConfigV1UpdateTraceMetricsRuleBody) Validate ¶ added in v1.1.0

Validate validates this config v1 update trace metrics rule body

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"

	// Configv1AggregationTypeCOUNTSAMPLES captures enum value "COUNT_SAMPLES"
	Configv1AggregationTypeCOUNTSAMPLES Configv1AggregationType = "COUNT_SAMPLES"

	// Configv1AggregationTypeHISTOGRAM captures enum value "HISTOGRAM"
	Configv1AggregationTypeHISTOGRAM Configv1AggregationType = "HISTOGRAM"
)

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 {

	// 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"`

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

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

	// Required name of the Bucket. May be modified after the Bucket is created.
	Name string `json:"name,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"`

	// 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"`

	// Optional slug of the team the bucket belongs to.
	TeamSlug string `json:"team_slug,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"`
}

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 {

	// 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"`

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

	// Required name of the Collection. May be modified after the Collection is created.
	Name string `json:"name,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"`

	// 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 slug of the team the collection belongs to.
	TeamSlug string `json:"team_slug,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"`
}

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 {

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

	// type
	Type Configv1CollectionReferenceType `json:"type,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 Configv1CreateDatasetRequest ¶

type Configv1CreateDatasetRequest struct {

	// dataset
	Dataset *Configv1Dataset `json:"dataset,omitempty"`

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

Configv1CreateDatasetRequest configv1 create dataset request

swagger:model configv1CreateDatasetRequest

func (*Configv1CreateDatasetRequest) ContextValidate ¶

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

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

func (*Configv1CreateDatasetRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1CreateDatasetRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1CreateDatasetRequest) Validate ¶

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

Validate validates this configv1 create dataset request

type Configv1CreateDatasetResponse ¶

type Configv1CreateDatasetResponse struct {

	// dataset
	Dataset *Configv1Dataset `json:"dataset,omitempty"`
}

Configv1CreateDatasetResponse configv1 create dataset response

swagger:model configv1CreateDatasetResponse

func (*Configv1CreateDatasetResponse) ContextValidate ¶

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

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

func (*Configv1CreateDatasetResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1CreateDatasetResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1CreateDatasetResponse) Validate ¶

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

Validate validates this configv1 create dataset 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 Configv1CreateGcpMetricsIntegrationRequest ¶

type Configv1CreateGcpMetricsIntegrationRequest struct {

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

	// gcp metrics integration
	GcpMetricsIntegration *Configv1GcpMetricsIntegration `json:"gcp_metrics_integration,omitempty"`
}

Configv1CreateGcpMetricsIntegrationRequest configv1 create gcp metrics integration request

swagger:model configv1CreateGcpMetricsIntegrationRequest

func (*Configv1CreateGcpMetricsIntegrationRequest) ContextValidate ¶

ContextValidate validate this configv1 create gcp metrics integration request based on the context it is used

func (*Configv1CreateGcpMetricsIntegrationRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1CreateGcpMetricsIntegrationRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1CreateGcpMetricsIntegrationRequest) Validate ¶

Validate validates this configv1 create gcp metrics integration request

type Configv1CreateGcpMetricsIntegrationResponse ¶

type Configv1CreateGcpMetricsIntegrationResponse struct {

	// gcp metrics integration
	GcpMetricsIntegration *Configv1GcpMetricsIntegration `json:"gcp_metrics_integration,omitempty"`
}

Configv1CreateGcpMetricsIntegrationResponse configv1 create gcp metrics integration response

swagger:model configv1CreateGcpMetricsIntegrationResponse

func (*Configv1CreateGcpMetricsIntegrationResponse) ContextValidate ¶

ContextValidate validate this configv1 create gcp metrics integration response based on the context it is used

func (*Configv1CreateGcpMetricsIntegrationResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1CreateGcpMetricsIntegrationResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1CreateGcpMetricsIntegrationResponse) Validate ¶

Validate validates this configv1 create gcp metrics integration response

type Configv1CreateGrafanaDashboardRequest ¶

type Configv1CreateGrafanaDashboardRequest struct {

	// 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"`

	// grafana dashboard
	GrafanaDashboard *Configv1GrafanaDashboard `json:"grafana_dashboard,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 Configv1CreateLogScaleActionRequest ¶ added in v1.4.0

type Configv1CreateLogScaleActionRequest struct {

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

	// log scale action
	LogScaleAction *Configv1LogScaleAction `json:"log_scale_action,omitempty"`
}

Configv1CreateLogScaleActionRequest configv1 create log scale action request

swagger:model configv1CreateLogScaleActionRequest

func (*Configv1CreateLogScaleActionRequest) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 create log scale action request based on the context it is used

func (*Configv1CreateLogScaleActionRequest) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1CreateLogScaleActionRequest) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1CreateLogScaleActionRequest) Validate ¶ added in v1.4.0

Validate validates this configv1 create log scale action request

type Configv1CreateLogScaleActionResponse ¶ added in v1.4.0

type Configv1CreateLogScaleActionResponse struct {

	// log scale action
	LogScaleAction *Configv1LogScaleAction `json:"log_scale_action,omitempty"`
}

Configv1CreateLogScaleActionResponse configv1 create log scale action response

swagger:model configv1CreateLogScaleActionResponse

func (*Configv1CreateLogScaleActionResponse) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 create log scale action response based on the context it is used

func (*Configv1CreateLogScaleActionResponse) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1CreateLogScaleActionResponse) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1CreateLogScaleActionResponse) Validate ¶ added in v1.4.0

Validate validates this configv1 create log scale action response

type Configv1CreateLogScaleAlertRequest ¶ added in v1.4.0

type Configv1CreateLogScaleAlertRequest struct {

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

	// log scale alert
	LogScaleAlert *Configv1LogScaleAlert `json:"log_scale_alert,omitempty"`
}

Configv1CreateLogScaleAlertRequest configv1 create log scale alert request

swagger:model configv1CreateLogScaleAlertRequest

func (*Configv1CreateLogScaleAlertRequest) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 create log scale alert request based on the context it is used

func (*Configv1CreateLogScaleAlertRequest) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1CreateLogScaleAlertRequest) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1CreateLogScaleAlertRequest) Validate ¶ added in v1.4.0

Validate validates this configv1 create log scale alert request

type Configv1CreateLogScaleAlertResponse ¶ added in v1.4.0

type Configv1CreateLogScaleAlertResponse struct {

	// log scale alert
	LogScaleAlert *Configv1LogScaleAlert `json:"log_scale_alert,omitempty"`
}

Configv1CreateLogScaleAlertResponse configv1 create log scale alert response

swagger:model configv1CreateLogScaleAlertResponse

func (*Configv1CreateLogScaleAlertResponse) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 create log scale alert response based on the context it is used

func (*Configv1CreateLogScaleAlertResponse) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1CreateLogScaleAlertResponse) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1CreateLogScaleAlertResponse) Validate ¶ added in v1.4.0

Validate validates this configv1 create log scale alert response

type Configv1CreateMappingRuleRequest ¶

type Configv1CreateMappingRuleRequest struct {

	// 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"`

	// mapping rule
	MappingRule *Configv1MappingRule `json:"mapping_rule,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 {

	// 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"`

	// monitor
	Monitor *Configv1Monitor `json:"monitor,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 {

	// 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"`

	// muting rule
	MutingRule *Configv1MutingRule `json:"muting_rule,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 {

	// 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"`

	// notification policy
	NotificationPolicy *Configv1NotificationPolicy `json:"notification_policy,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 {

	// 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"`

	// notifier
	Notifier *Configv1Notifier `json:"notifier,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 Configv1CreateOtelMetricsIngestionRequest ¶ added in v1.4.0

type Configv1CreateOtelMetricsIngestionRequest struct {

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

	// otel metrics ingestion
	OtelMetricsIngestion *Configv1OtelMetricsIngestion `json:"otel_metrics_ingestion,omitempty"`
}

Configv1CreateOtelMetricsIngestionRequest configv1 create otel metrics ingestion request

swagger:model configv1CreateOtelMetricsIngestionRequest

func (*Configv1CreateOtelMetricsIngestionRequest) ContextValidate ¶ added in v1.4.0

ContextValidate validate this configv1 create otel metrics ingestion request based on the context it is used

func (*Configv1CreateOtelMetricsIngestionRequest) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1CreateOtelMetricsIngestionRequest) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1CreateOtelMetricsIngestionRequest) Validate ¶ added in v1.4.0

Validate validates this configv1 create otel metrics ingestion request

type Configv1CreateOtelMetricsIngestionResponse ¶ added in v1.4.0

type Configv1CreateOtelMetricsIngestionResponse struct {

	// otel metrics ingestion
	OtelMetricsIngestion *Configv1OtelMetricsIngestion `json:"otel_metrics_ingestion,omitempty"`
}

Configv1CreateOtelMetricsIngestionResponse configv1 create otel metrics ingestion response

swagger:model configv1CreateOtelMetricsIngestionResponse

func (*Configv1CreateOtelMetricsIngestionResponse) ContextValidate ¶ added in v1.4.0

ContextValidate validate this configv1 create otel metrics ingestion response based on the context it is used

func (*Configv1CreateOtelMetricsIngestionResponse) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1CreateOtelMetricsIngestionResponse) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1CreateOtelMetricsIngestionResponse) Validate ¶ added in v1.4.0

Validate validates this configv1 create otel metrics ingestion response

type Configv1CreateRecordingRuleRequest ¶

type Configv1CreateRecordingRuleRequest struct {

	// 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"`

	// recording rule
	RecordingRule *Configv1RecordingRule `json:"recording_rule,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 {

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

	// resource pools
	ResourcePools *Configv1ResourcePools `json:"resource_pools,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 {

	// 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"`

	// rollup rule
	RollupRule *Configv1RollupRule `json:"rollup_rule,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 {

	// 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"`

	// service account
	ServiceAccount *Configv1ServiceAccount `json:"service_account,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 {

	// 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"`

	// team
	Team *Configv1Team `json:"team,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 Configv1CreateTraceBehaviorConfigRequest ¶ added in v1.3.0

type Configv1CreateTraceBehaviorConfigRequest struct {

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

	// trace behavior config
	TraceBehaviorConfig *Configv1TraceBehaviorConfig `json:"trace_behavior_config,omitempty"`
}

Configv1CreateTraceBehaviorConfigRequest configv1 create trace behavior config request

swagger:model configv1CreateTraceBehaviorConfigRequest

func (*Configv1CreateTraceBehaviorConfigRequest) ContextValidate ¶ added in v1.3.0

ContextValidate validate this configv1 create trace behavior config request based on the context it is used

func (*Configv1CreateTraceBehaviorConfigRequest) MarshalBinary ¶ added in v1.3.0

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

MarshalBinary interface implementation

func (*Configv1CreateTraceBehaviorConfigRequest) UnmarshalBinary ¶ added in v1.3.0

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

UnmarshalBinary interface implementation

func (*Configv1CreateTraceBehaviorConfigRequest) Validate ¶ added in v1.3.0

Validate validates this configv1 create trace behavior config request

type Configv1CreateTraceBehaviorConfigResponse ¶ added in v1.3.0

type Configv1CreateTraceBehaviorConfigResponse struct {

	// trace behavior config
	TraceBehaviorConfig *Configv1TraceBehaviorConfig `json:"trace_behavior_config,omitempty"`
}

Configv1CreateTraceBehaviorConfigResponse configv1 create trace behavior config response

swagger:model configv1CreateTraceBehaviorConfigResponse

func (*Configv1CreateTraceBehaviorConfigResponse) ContextValidate ¶ added in v1.3.0

ContextValidate validate this configv1 create trace behavior config response based on the context it is used

func (*Configv1CreateTraceBehaviorConfigResponse) MarshalBinary ¶ added in v1.3.0

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

MarshalBinary interface implementation

func (*Configv1CreateTraceBehaviorConfigResponse) UnmarshalBinary ¶ added in v1.3.0

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

UnmarshalBinary interface implementation

func (*Configv1CreateTraceBehaviorConfigResponse) Validate ¶ added in v1.3.0

Validate validates this configv1 create trace behavior config response

type Configv1CreateTraceJaegerRemoteSamplingStrategyRequest ¶

type Configv1CreateTraceJaegerRemoteSamplingStrategyRequest struct {

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

	// trace jaeger remote sampling strategy
	TraceJaegerRemoteSamplingStrategy *Configv1TraceJaegerRemoteSamplingStrategy `json:"trace_jaeger_remote_sampling_strategy,omitempty"`
}

Configv1CreateTraceJaegerRemoteSamplingStrategyRequest configv1 create trace jaeger remote sampling strategy request

swagger:model configv1CreateTraceJaegerRemoteSamplingStrategyRequest

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyRequest) ContextValidate ¶

ContextValidate validate this configv1 create trace jaeger remote sampling strategy request based on the context it is used

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyRequest) MarshalBinary ¶

MarshalBinary interface implementation

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyRequest) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyRequest) Validate ¶

Validate validates this configv1 create trace jaeger remote sampling strategy request

type Configv1CreateTraceJaegerRemoteSamplingStrategyResponse ¶

type Configv1CreateTraceJaegerRemoteSamplingStrategyResponse struct {

	// trace jaeger remote sampling strategy
	TraceJaegerRemoteSamplingStrategy *Configv1TraceJaegerRemoteSamplingStrategy `json:"trace_jaeger_remote_sampling_strategy,omitempty"`
}

Configv1CreateTraceJaegerRemoteSamplingStrategyResponse configv1 create trace jaeger remote sampling strategy response

swagger:model configv1CreateTraceJaegerRemoteSamplingStrategyResponse

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyResponse) ContextValidate ¶

ContextValidate validate this configv1 create trace jaeger remote sampling strategy response based on the context it is used

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*Configv1CreateTraceJaegerRemoteSamplingStrategyResponse) Validate ¶

Validate validates this configv1 create trace jaeger remote sampling strategy response

type Configv1CreateTraceMetricsRuleRequest ¶

type Configv1CreateTraceMetricsRuleRequest struct {

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

	// trace metrics rule
	TraceMetricsRule *Configv1TraceMetricsRule `json:"trace_metrics_rule,omitempty"`
}

Configv1CreateTraceMetricsRuleRequest configv1 create trace metrics rule request

swagger:model configv1CreateTraceMetricsRuleRequest

func (*Configv1CreateTraceMetricsRuleRequest) ContextValidate ¶

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

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

func (*Configv1CreateTraceMetricsRuleRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1CreateTraceMetricsRuleRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1CreateTraceMetricsRuleRequest) Validate ¶

Validate validates this configv1 create trace metrics rule request

type Configv1CreateTraceMetricsRuleResponse ¶

type Configv1CreateTraceMetricsRuleResponse struct {

	// trace metrics rule
	TraceMetricsRule *Configv1TraceMetricsRule `json:"trace_metrics_rule,omitempty"`
}

Configv1CreateTraceMetricsRuleResponse configv1 create trace metrics rule response

swagger:model configv1CreateTraceMetricsRuleResponse

func (*Configv1CreateTraceMetricsRuleResponse) ContextValidate ¶

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

func (*Configv1CreateTraceMetricsRuleResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1CreateTraceMetricsRuleResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1CreateTraceMetricsRuleResponse) Validate ¶

Validate validates this configv1 create trace metrics rule response

type Configv1CreateTraceTailSamplingRulesRequest ¶

type Configv1CreateTraceTailSamplingRulesRequest struct {

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

	// trace tail sampling rules
	TraceTailSamplingRules *Configv1TraceTailSamplingRules `json:"trace_tail_sampling_rules,omitempty"`
}

Configv1CreateTraceTailSamplingRulesRequest configv1 create trace tail sampling rules request

swagger:model configv1CreateTraceTailSamplingRulesRequest

func (*Configv1CreateTraceTailSamplingRulesRequest) ContextValidate ¶

ContextValidate validate this configv1 create trace tail sampling rules request based on the context it is used

func (*Configv1CreateTraceTailSamplingRulesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1CreateTraceTailSamplingRulesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1CreateTraceTailSamplingRulesRequest) Validate ¶

Validate validates this configv1 create trace tail sampling rules request

type Configv1CreateTraceTailSamplingRulesResponse ¶

type Configv1CreateTraceTailSamplingRulesResponse struct {

	// trace tail sampling rules
	TraceTailSamplingRules *Configv1TraceTailSamplingRules `json:"trace_tail_sampling_rules,omitempty"`
}

Configv1CreateTraceTailSamplingRulesResponse configv1 create trace tail sampling rules response

swagger:model configv1CreateTraceTailSamplingRulesResponse

func (*Configv1CreateTraceTailSamplingRulesResponse) ContextValidate ¶

ContextValidate validate this configv1 create trace tail sampling rules response based on the context it is used

func (*Configv1CreateTraceTailSamplingRulesResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*Configv1CreateTraceTailSamplingRulesResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*Configv1CreateTraceTailSamplingRulesResponse) Validate ¶

Validate validates this configv1 create trace tail sampling rules response

type Configv1Dashboard ¶

type Configv1Dashboard struct {

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

	// Optional slug of the collection the dashboard belongs to.
	CollectionSlug string `json:"collection_slug,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"`

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

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

	// 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"`

	// 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"`
}

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 Configv1Dataset ¶

type Configv1Dataset struct {

	// configuration
	Configuration *DatasetDatasetConfiguration `json:"configuration,omitempty"`

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

	// Optional longer-form description of the dataset.
	Description string `json:"description,omitempty"`

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

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

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

Configv1Dataset configv1 dataset

swagger:model configv1Dataset

func (*Configv1Dataset) ContextValidate ¶

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

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

func (*Configv1Dataset) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1Dataset) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1Dataset) Validate ¶

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

Validate validates this configv1 dataset

type Configv1DefaultSampleRate ¶

type Configv1DefaultSampleRate struct {

	// Whether to override the default sample rate
	Enabled bool `json:"enabled,omitempty"`

	// A fraction of traces to keep, which should be a number between 0 and 1, inclusive
	SampleRate float64 `json:"sample_rate,omitempty"`
}

Configv1DefaultSampleRate configv1 default sample rate

swagger:model configv1DefaultSampleRate

func (*Configv1DefaultSampleRate) ContextValidate ¶

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

ContextValidate validates this configv1 default sample rate based on context it is used

func (*Configv1DefaultSampleRate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1DefaultSampleRate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1DefaultSampleRate) Validate ¶

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

Validate validates this configv1 default sample rate

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 Configv1DeleteDatasetResponse ¶

type Configv1DeleteDatasetResponse interface{}

Configv1DeleteDatasetResponse configv1 delete dataset response

swagger:model configv1DeleteDatasetResponse

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 Configv1DeleteGcpMetricsIntegrationResponse ¶

type Configv1DeleteGcpMetricsIntegrationResponse interface{}

Configv1DeleteGcpMetricsIntegrationResponse configv1 delete gcp metrics integration response

swagger:model configv1DeleteGcpMetricsIntegrationResponse

type Configv1DeleteGrafanaDashboardResponse ¶

type Configv1DeleteGrafanaDashboardResponse interface{}

Configv1DeleteGrafanaDashboardResponse configv1 delete grafana dashboard response

swagger:model configv1DeleteGrafanaDashboardResponse

type Configv1DeleteLogScaleActionResponse ¶ added in v1.4.0

type Configv1DeleteLogScaleActionResponse interface{}

Configv1DeleteLogScaleActionResponse configv1 delete log scale action response

swagger:model configv1DeleteLogScaleActionResponse

type Configv1DeleteLogScaleAlertResponse ¶ added in v1.4.0

type Configv1DeleteLogScaleAlertResponse interface{}

Configv1DeleteLogScaleAlertResponse configv1 delete log scale alert response

swagger:model configv1DeleteLogScaleAlertResponse

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 Configv1DeleteOtelMetricsIngestionResponse ¶ added in v1.4.0

type Configv1DeleteOtelMetricsIngestionResponse interface{}

Configv1DeleteOtelMetricsIngestionResponse configv1 delete otel metrics ingestion response

swagger:model configv1DeleteOtelMetricsIngestionResponse

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 Configv1DeleteTraceBehaviorConfigResponse ¶ added in v1.3.0

type Configv1DeleteTraceBehaviorConfigResponse interface{}

Configv1DeleteTraceBehaviorConfigResponse configv1 delete trace behavior config response

swagger:model configv1DeleteTraceBehaviorConfigResponse

type Configv1DeleteTraceJaegerRemoteSamplingStrategyResponse ¶

type Configv1DeleteTraceJaegerRemoteSamplingStrategyResponse interface{}

Configv1DeleteTraceJaegerRemoteSamplingStrategyResponse configv1 delete trace jaeger remote sampling strategy response

swagger:model configv1DeleteTraceJaegerRemoteSamplingStrategyResponse

type Configv1DeleteTraceMetricsRuleResponse ¶

type Configv1DeleteTraceMetricsRuleResponse interface{}

Configv1DeleteTraceMetricsRuleResponse configv1 delete trace metrics rule response

swagger:model configv1DeleteTraceMetricsRuleResponse

type Configv1DeleteTraceTailSamplingRulesResponse ¶

type Configv1DeleteTraceTailSamplingRulesResponse interface{}

Configv1DeleteTraceTailSamplingRulesResponse configv1 delete trace tail sampling rules response

swagger:model configv1DeleteTraceTailSamplingRulesResponse

type Configv1DerivedLabel ¶

type Configv1DerivedLabel struct {

	// 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"`

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

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

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

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

	// 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 last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,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 {

	// 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"`

	// Optional description of the derived metric.
	Description string `json:"description,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"`

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

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

	// 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 last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

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 {

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

	// type
	Type Configv1DerivedMetricLabelMatcherMatcherType `json:"type,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 {

	// conditional rate based drop
	ConditionalRateBasedDrop *DropRuleConditionalRateBasedDrop `json:"conditional_rate_based_drop,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"`

	// Drops datapoints if datapoint values are NaN.
	DropNanValue bool `json:"drop_nan_value,omitempty"`

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

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

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

	// 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"`

	// 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"`

	// 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 Configv1GcpMetricsIntegration ¶

type Configv1GcpMetricsIntegration struct {

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

	// Metric groups to be ingested for this integration.
	MetricGroups []*GcpMetricsIntegrationMetricGroup `json:"metric_groups"`

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

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

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

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

Configv1GcpMetricsIntegration configv1 gcp metrics integration

swagger:model configv1GcpMetricsIntegration

func (*Configv1GcpMetricsIntegration) ContextValidate ¶

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

ContextValidate validate this configv1 gcp metrics integration based on the context it is used

func (*Configv1GcpMetricsIntegration) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1GcpMetricsIntegration) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1GcpMetricsIntegration) Validate ¶

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

Validate validates this configv1 gcp metrics integration

type Configv1GcpMetricsIntegrationServiceAccount ¶

type Configv1GcpMetricsIntegrationServiceAccount struct {

	// Email address of the service account to impersonate.
	ClientEmail string `json:"client_email,omitempty"`
}

Configv1GcpMetricsIntegrationServiceAccount configv1 gcp metrics integration service account

swagger:model configv1GcpMetricsIntegrationServiceAccount

func (*Configv1GcpMetricsIntegrationServiceAccount) ContextValidate ¶

ContextValidate validates this configv1 gcp metrics integration service account based on context it is used

func (*Configv1GcpMetricsIntegrationServiceAccount) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1GcpMetricsIntegrationServiceAccount) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1GcpMetricsIntegrationServiceAccount) Validate ¶

Validate validates this configv1 gcp metrics integration service account

type Configv1GrafanaDashboard ¶

type Configv1GrafanaDashboard struct {

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

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

	// Slug of the collection the dashboard belongs to. Required if bucket_slug
	// is not set.
	CollectionSlug string `json:"collection_slug,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"`

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

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

	// 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"`

	// 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"`
}

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 {

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

	// type
	Type Configv1LabelMatcherMatcherType `json:"type,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 {

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

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

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 {

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

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

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 {

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

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

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 {

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

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

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 Configv1ListDatasetsResponse ¶

type Configv1ListDatasetsResponse struct {

	// datasets
	Datasets []*Configv1Dataset `json:"datasets"`

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

Configv1ListDatasetsResponse configv1 list datasets response

swagger:model configv1ListDatasetsResponse

func (*Configv1ListDatasetsResponse) ContextValidate ¶

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

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

func (*Configv1ListDatasetsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1ListDatasetsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1ListDatasetsResponse) Validate ¶

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

Validate validates this configv1 list datasets response

type Configv1ListDerivedLabelsResponse ¶

type Configv1ListDerivedLabelsResponse struct {

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

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

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 {

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

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

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 {

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

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

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 Configv1ListGcpMetricsIntegrationsResponse ¶

type Configv1ListGcpMetricsIntegrationsResponse struct {

	// gcp metrics integrations
	GcpMetricsIntegrations []*Configv1GcpMetricsIntegration `json:"gcp_metrics_integrations"`

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

Configv1ListGcpMetricsIntegrationsResponse configv1 list gcp metrics integrations response

swagger:model configv1ListGcpMetricsIntegrationsResponse

func (*Configv1ListGcpMetricsIntegrationsResponse) ContextValidate ¶

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

func (*Configv1ListGcpMetricsIntegrationsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1ListGcpMetricsIntegrationsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1ListGcpMetricsIntegrationsResponse) Validate ¶

Validate validates this configv1 list gcp metrics integrations response

type Configv1ListGrafanaDashboardsResponse ¶

type Configv1ListGrafanaDashboardsResponse struct {

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

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

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 Configv1ListLogScaleActionsResponse ¶ added in v1.4.0

type Configv1ListLogScaleActionsResponse struct {

	// log scale actions
	LogScaleActions []*Configv1LogScaleAction `json:"log_scale_actions"`

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

Configv1ListLogScaleActionsResponse configv1 list log scale actions response

swagger:model configv1ListLogScaleActionsResponse

func (*Configv1ListLogScaleActionsResponse) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 list log scale actions response based on the context it is used

func (*Configv1ListLogScaleActionsResponse) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1ListLogScaleActionsResponse) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1ListLogScaleActionsResponse) Validate ¶ added in v1.4.0

Validate validates this configv1 list log scale actions response

type Configv1ListLogScaleAlertsResponse ¶ added in v1.4.0

type Configv1ListLogScaleAlertsResponse struct {

	// log scale alerts
	LogScaleAlerts []*Configv1LogScaleAlert `json:"log_scale_alerts"`

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

Configv1ListLogScaleAlertsResponse configv1 list log scale alerts response

swagger:model configv1ListLogScaleAlertsResponse

func (*Configv1ListLogScaleAlertsResponse) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 list log scale alerts response based on the context it is used

func (*Configv1ListLogScaleAlertsResponse) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1ListLogScaleAlertsResponse) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1ListLogScaleAlertsResponse) Validate ¶ added in v1.4.0

Validate validates this configv1 list log scale alerts response

type Configv1ListMappingRulesResponse ¶

type Configv1ListMappingRulesResponse struct {

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

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

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 {

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

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

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 {

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

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

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 {

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

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

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 {

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

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

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 Configv1ListTraceJaegerRemoteSamplingStrategiesResponse ¶

type Configv1ListTraceJaegerRemoteSamplingStrategiesResponse struct {

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

	// trace jaeger remote sampling strategies
	TraceJaegerRemoteSamplingStrategies []*Configv1TraceJaegerRemoteSamplingStrategy `json:"trace_jaeger_remote_sampling_strategies"`
}

Configv1ListTraceJaegerRemoteSamplingStrategiesResponse configv1 list trace jaeger remote sampling strategies response

swagger:model configv1ListTraceJaegerRemoteSamplingStrategiesResponse

func (*Configv1ListTraceJaegerRemoteSamplingStrategiesResponse) ContextValidate ¶

ContextValidate validate this configv1 list trace jaeger remote sampling strategies response based on the context it is used

func (*Configv1ListTraceJaegerRemoteSamplingStrategiesResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*Configv1ListTraceJaegerRemoteSamplingStrategiesResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*Configv1ListTraceJaegerRemoteSamplingStrategiesResponse) Validate ¶

Validate validates this configv1 list trace jaeger remote sampling strategies response

type Configv1ListTraceMetricsRulesResponse ¶

type Configv1ListTraceMetricsRulesResponse struct {

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

	// Found trace metrics rules.
	TraceMetricsRules []*Configv1TraceMetricsRule `json:"trace_metrics_rules"`
}

Configv1ListTraceMetricsRulesResponse configv1 list trace metrics rules response

swagger:model configv1ListTraceMetricsRulesResponse

func (*Configv1ListTraceMetricsRulesResponse) ContextValidate ¶

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

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

func (*Configv1ListTraceMetricsRulesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1ListTraceMetricsRulesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1ListTraceMetricsRulesResponse) Validate ¶

Validate validates this configv1 list trace metrics rules response

type Configv1LogDataset ¶ added in v1.3.0

type Configv1LogDataset struct {

	// match criteria
	MatchCriteria *Configv1LogSearchFilter `json:"match_criteria,omitempty"`
}

Configv1LogDataset configv1 log dataset

swagger:model configv1LogDataset

func (*Configv1LogDataset) ContextValidate ¶ added in v1.3.0

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

ContextValidate validate this configv1 log dataset based on the context it is used

func (*Configv1LogDataset) MarshalBinary ¶ added in v1.3.0

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

MarshalBinary interface implementation

func (*Configv1LogDataset) UnmarshalBinary ¶ added in v1.3.0

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

UnmarshalBinary interface implementation

func (*Configv1LogDataset) Validate ¶ added in v1.3.0

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

Validate validates this configv1 log dataset

type Configv1LogScaleAction ¶ added in v1.4.0

type Configv1LogScaleAction struct {

	// action type
	ActionType LogScaleActionActionType `json:"action_type,omitempty"`

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

	// email action
	EmailAction *LogScaleActionEmailAction `json:"email_action,omitempty"`

	// humio action
	HumioAction *LogScaleActionHumioRepoAction `json:"humio_action,omitempty"`

	// Name of an action.
	Name string `json:"name,omitempty"`

	// ops genie action
	OpsGenieAction *LogScaleActionOpsGenieAction `json:"ops_genie_action,omitempty"`

	// pager duty action
	PagerDutyAction *LogScaleActionPagerDutyAction `json:"pager_duty_action,omitempty"`

	// Name of the LogScale repository the alerts belongs to. Required.
	Repository string `json:"repository,omitempty"`

	// slack action
	SlackAction *LogScaleActionSlackAction `json:"slack_action,omitempty"`

	// slack post message action
	SlackPostMessageAction *LogScaleActionSlackPostMessageAction `json:"slack_post_message_action,omitempty"`

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

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

	// upload file action
	UploadFileAction *LogScaleActionUploadFileAction `json:"upload_file_action,omitempty"`

	// victor ops action
	VictorOpsAction *LogScaleActionVictorOpsAction `json:"victor_ops_action,omitempty"`

	// webhook action
	WebhookAction *LogScaleActionWebhookAction `json:"webhook_action,omitempty"`
}

Configv1LogScaleAction configv1 log scale action

swagger:model configv1LogScaleAction

func (*Configv1LogScaleAction) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 log scale action based on the context it is used

func (*Configv1LogScaleAction) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1LogScaleAction) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1LogScaleAction) Validate ¶ added in v1.4.0

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

Validate validates this configv1 log scale action

type Configv1LogScaleAlert ¶ added in v1.4.0

type Configv1LogScaleAlert struct {

	// alert type
	AlertType LogScaleAlertAlertType `json:"alert_type,omitempty"`

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

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

	// Flag indicating whether the alert is disabled.
	Disabled bool `json:"disabled,omitempty"`

	// Slugs of LogScale actions that will receive the alerts. When the value is empty
	// this alert won't trigger. Optional.
	LogScaleActionSlugs []string `json:"log_scale_action_slugs"`

	// LogScale query to execute.
	// Example: level = ERROR | severity \u003e 3 | count(as=numErrors) | numErrors \u003e 500
	LogScaleQuery string `json:"log_scale_query,omitempty"`

	// Name of the alert.
	Name string `json:"name,omitempty"`

	// Name of LogScale repository the alerts belongs to. Required.
	Repository string `json:"repository,omitempty"`

	// Email of the user that the alert runs on behalf of. Required.
	RunAsUser string `json:"run_as_user,omitempty"`

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

	// Tags attached to the alert.
	Tags []string `json:"tags"`

	// Field to throttle on. Optional.
	ThrottleField string `json:"throttle_field,omitempty"`

	// Throttle time in seconds. The alert is triggered at most once per throttle period.
	ThrottleSecs int32 `json:"throttle_secs,omitempty"`

	// Lookback window used for an alert's evaluation.
	// If this is set to 86400 seconds (24 hours), only the events from the last 24 hours will be considered when the alert query is run.
	// Example: 3600
	TimeWindowSecs int32 `json:"time_window_secs,omitempty"`

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

Configv1LogScaleAlert configv1 log scale alert

swagger:model configv1LogScaleAlert

func (*Configv1LogScaleAlert) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 log scale alert based on the context it is used

func (*Configv1LogScaleAlert) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1LogScaleAlert) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1LogScaleAlert) Validate ¶ added in v1.4.0

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

Validate validates this configv1 log scale alert

type Configv1LogSearchFilter ¶ added in v1.3.0

type Configv1LogSearchFilter struct {

	// Matches logs which match this query.
	// Query may only include top level operations (no nested clauses).
	// Only one type of operator AND/OR is allowed.
	Query string `json:"query,omitempty"`
}

Configv1LogSearchFilter configv1 log search filter

swagger:model configv1LogSearchFilter

func (*Configv1LogSearchFilter) ContextValidate ¶ added in v1.3.0

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

ContextValidate validates this configv1 log search filter based on context it is used

func (*Configv1LogSearchFilter) MarshalBinary ¶ added in v1.3.0

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

MarshalBinary interface implementation

func (*Configv1LogSearchFilter) UnmarshalBinary ¶ added in v1.3.0

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

UnmarshalBinary interface implementation

func (*Configv1LogSearchFilter) Validate ¶ added in v1.3.0

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

Validate validates this configv1 log search filter

type Configv1MappingRule ¶

type Configv1MappingRule struct {

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

	// Required slug of the bucket the MappingRule belongs to.
	BucketSlug string `json:"bucket_slug,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"`

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

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

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

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

	// 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"`

	// 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"`
}

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 {

	// 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"`

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

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

	// Slug of the collection the monitor belongs to. Required if bucket_slug is
	// not set.
	CollectionSlug string `json:"collection_slug,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"`

	// Graphite query. If set, no other queries can be set.
	// Example: sumSeries(stats.timers.*.mean_90)
	GraphiteQuery string `json:"graphite_query,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"`

	// 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"`

	// Logging query. If set, no other queries can be set.
	LoggingQuery string `json:"logging_query,omitempty"`

	// Required name of the Monitor. May be modified after the Monitor is created.
	Name string `json:"name,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"`

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

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

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

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

	// 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"`

	// 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"`
}

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 {

	// Optional comment that explains why the muting rule was created.
	Comment string `json:"comment,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 muting rule stops being active.
	// Format: date-time
	EndsAt strfmt.DateTime `json:"ends_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"`

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

	// 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"`

	// 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 MutingRule was last updated. Cannot be set by clients.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,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 {

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

	// type
	Type Configv1MutingRuleLabelMatcherMatcherType `json:"type,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 {

	// Slug of the bucket the notification policy belongs to. Required if
	// team_slug is not set.
	BucketSlug string `json:"bucket_slug,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"`

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

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

	// 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"`

	// Slug of the team the notification policy belongs to. Required if
	// bucket_slug is not set.
	TeamSlug string `json:"team_slug,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"`
}

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 {

	// 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"`

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

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

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

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

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

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

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

	// 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"`

	// 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"`

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

	// webhook
	Webhook *NotifierWebhookConfig `json:"webhook,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 Configv1OtelMetricsIngestion ¶ added in v1.4.0

type Configv1OtelMetricsIngestion struct {

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

	// resource attributes
	ResourceAttributes *OtelMetricsIngestionResourceAttributes `json:"resource_attributes,omitempty"`

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

Configv1OtelMetricsIngestion configv1 otel metrics ingestion

swagger:model configv1OtelMetricsIngestion

func (*Configv1OtelMetricsIngestion) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 otel metrics ingestion based on the context it is used

func (*Configv1OtelMetricsIngestion) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1OtelMetricsIngestion) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1OtelMetricsIngestion) Validate ¶ added in v1.4.0

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

Validate validates this configv1 otel metrics ingestion

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 Configv1ReadDatasetResponse ¶

type Configv1ReadDatasetResponse struct {

	// dataset
	Dataset *Configv1Dataset `json:"dataset,omitempty"`
}

Configv1ReadDatasetResponse configv1 read dataset response

swagger:model configv1ReadDatasetResponse

func (*Configv1ReadDatasetResponse) ContextValidate ¶

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

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

func (*Configv1ReadDatasetResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1ReadDatasetResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1ReadDatasetResponse) Validate ¶

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

Validate validates this configv1 read dataset 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 Configv1ReadGcpMetricsIntegrationResponse ¶

type Configv1ReadGcpMetricsIntegrationResponse struct {

	// gcp metrics integration
	GcpMetricsIntegration *Configv1GcpMetricsIntegration `json:"gcp_metrics_integration,omitempty"`
}

Configv1ReadGcpMetricsIntegrationResponse configv1 read gcp metrics integration response

swagger:model configv1ReadGcpMetricsIntegrationResponse

func (*Configv1ReadGcpMetricsIntegrationResponse) ContextValidate ¶

ContextValidate validate this configv1 read gcp metrics integration response based on the context it is used

func (*Configv1ReadGcpMetricsIntegrationResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1ReadGcpMetricsIntegrationResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1ReadGcpMetricsIntegrationResponse) Validate ¶

Validate validates this configv1 read gcp metrics integration 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 Configv1ReadLogScaleActionResponse ¶ added in v1.4.0

type Configv1ReadLogScaleActionResponse struct {

	// log scale action
	LogScaleAction *Configv1LogScaleAction `json:"log_scale_action,omitempty"`
}

Configv1ReadLogScaleActionResponse configv1 read log scale action response

swagger:model configv1ReadLogScaleActionResponse

func (*Configv1ReadLogScaleActionResponse) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 read log scale action response based on the context it is used

func (*Configv1ReadLogScaleActionResponse) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1ReadLogScaleActionResponse) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1ReadLogScaleActionResponse) Validate ¶ added in v1.4.0

Validate validates this configv1 read log scale action response

type Configv1ReadLogScaleAlertResponse ¶ added in v1.4.0

type Configv1ReadLogScaleAlertResponse struct {

	// log scale alert
	LogScaleAlert *Configv1LogScaleAlert `json:"log_scale_alert,omitempty"`
}

Configv1ReadLogScaleAlertResponse configv1 read log scale alert response

swagger:model configv1ReadLogScaleAlertResponse

func (*Configv1ReadLogScaleAlertResponse) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 read log scale alert response based on the context it is used

func (*Configv1ReadLogScaleAlertResponse) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1ReadLogScaleAlertResponse) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1ReadLogScaleAlertResponse) Validate ¶ added in v1.4.0

Validate validates this configv1 read log scale alert 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 Configv1ReadOtelMetricsIngestionResponse ¶ added in v1.4.0

type Configv1ReadOtelMetricsIngestionResponse struct {

	// otel metrics ingestion
	OtelMetricsIngestion *Configv1OtelMetricsIngestion `json:"otel_metrics_ingestion,omitempty"`
}

Configv1ReadOtelMetricsIngestionResponse configv1 read otel metrics ingestion response

swagger:model configv1ReadOtelMetricsIngestionResponse

func (*Configv1ReadOtelMetricsIngestionResponse) ContextValidate ¶ added in v1.4.0

ContextValidate validate this configv1 read otel metrics ingestion response based on the context it is used

func (*Configv1ReadOtelMetricsIngestionResponse) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1ReadOtelMetricsIngestionResponse) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1ReadOtelMetricsIngestionResponse) Validate ¶ added in v1.4.0

Validate validates this configv1 read otel metrics ingestion 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 Configv1ReadServiceResponse ¶

type Configv1ReadServiceResponse struct {

	// service
	Service *Configv1Service `json:"service,omitempty"`
}

Configv1ReadServiceResponse configv1 read service response

swagger:model configv1ReadServiceResponse

func (*Configv1ReadServiceResponse) ContextValidate ¶

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

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

func (*Configv1ReadServiceResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1ReadServiceResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1ReadServiceResponse) Validate ¶

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

Validate validates this configv1 read service 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 Configv1ReadTraceBehaviorConfigResponse ¶ added in v1.3.0

type Configv1ReadTraceBehaviorConfigResponse struct {

	// trace behavior config
	TraceBehaviorConfig *Configv1TraceBehaviorConfig `json:"trace_behavior_config,omitempty"`
}

Configv1ReadTraceBehaviorConfigResponse configv1 read trace behavior config response

swagger:model configv1ReadTraceBehaviorConfigResponse

func (*Configv1ReadTraceBehaviorConfigResponse) ContextValidate ¶ added in v1.3.0

ContextValidate validate this configv1 read trace behavior config response based on the context it is used

func (*Configv1ReadTraceBehaviorConfigResponse) MarshalBinary ¶ added in v1.3.0

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

MarshalBinary interface implementation

func (*Configv1ReadTraceBehaviorConfigResponse) UnmarshalBinary ¶ added in v1.3.0

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

UnmarshalBinary interface implementation

func (*Configv1ReadTraceBehaviorConfigResponse) Validate ¶ added in v1.3.0

Validate validates this configv1 read trace behavior config response

type Configv1ReadTraceJaegerRemoteSamplingStrategyResponse ¶

type Configv1ReadTraceJaegerRemoteSamplingStrategyResponse struct {

	// trace jaeger remote sampling strategy
	TraceJaegerRemoteSamplingStrategy *Configv1TraceJaegerRemoteSamplingStrategy `json:"trace_jaeger_remote_sampling_strategy,omitempty"`
}

Configv1ReadTraceJaegerRemoteSamplingStrategyResponse configv1 read trace jaeger remote sampling strategy response

swagger:model configv1ReadTraceJaegerRemoteSamplingStrategyResponse

func (*Configv1ReadTraceJaegerRemoteSamplingStrategyResponse) ContextValidate ¶

ContextValidate validate this configv1 read trace jaeger remote sampling strategy response based on the context it is used

func (*Configv1ReadTraceJaegerRemoteSamplingStrategyResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*Configv1ReadTraceJaegerRemoteSamplingStrategyResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*Configv1ReadTraceJaegerRemoteSamplingStrategyResponse) Validate ¶

Validate validates this configv1 read trace jaeger remote sampling strategy response

type Configv1ReadTraceMetricsRuleResponse ¶

type Configv1ReadTraceMetricsRuleResponse struct {

	// trace metrics rule
	TraceMetricsRule *Configv1TraceMetricsRule `json:"trace_metrics_rule,omitempty"`
}

Configv1ReadTraceMetricsRuleResponse configv1 read trace metrics rule response

swagger:model configv1ReadTraceMetricsRuleResponse

func (*Configv1ReadTraceMetricsRuleResponse) ContextValidate ¶

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

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

func (*Configv1ReadTraceMetricsRuleResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1ReadTraceMetricsRuleResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1ReadTraceMetricsRuleResponse) Validate ¶

Validate validates this configv1 read trace metrics rule response

type Configv1ReadTraceTailSamplingRulesResponse ¶

type Configv1ReadTraceTailSamplingRulesResponse struct {

	// trace tail sampling rules
	TraceTailSamplingRules *Configv1TraceTailSamplingRules `json:"trace_tail_sampling_rules,omitempty"`
}

Configv1ReadTraceTailSamplingRulesResponse configv1 read trace tail sampling rules response

swagger:model configv1ReadTraceTailSamplingRulesResponse

func (*Configv1ReadTraceTailSamplingRulesResponse) ContextValidate ¶

ContextValidate validate this configv1 read trace tail sampling rules response based on the context it is used

func (*Configv1ReadTraceTailSamplingRulesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1ReadTraceTailSamplingRulesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1ReadTraceTailSamplingRulesResponse) Validate ¶

Validate validates this configv1 read trace tail sampling rules response

type Configv1RecordingRule ¶

type Configv1RecordingRule struct {

	// Optional slug of the bucket the RecordingRule belongs to.
	BucketSlug string `json:"bucket_slug,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"`

	// 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"`

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

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

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

	// Required name of the RecordingRule. May be modified after the RecordingRule is created.
	Name string `json:"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"`

	// 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"`

	// 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"`
}

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 {

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

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

	// Optional pools. Cannot set more than 20 pools.
	Pools []*ResourcePoolsPool `json:"pools"`

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

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 {

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

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

	// Required slug of the bucket the RollupRule belongs to.
	BucketSlug string `json:"bucket_slug,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"`

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

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

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

	// graphite label policy
	GraphiteLabelPolicy *RollupRuleGraphiteLabelPolicy `json:"graphite_label_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"`

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

	// label replace
	LabelReplace RollupRuleLabelReplace `json:"label_replace,omitempty"`

	// 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"`

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

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

	// 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"`

	// storage policy
	StoragePolicy *Configv1RollupRuleStoragePolicy `json:"storage_policy,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"`
}

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 discarded in the output metric. If set, then the
	// keep field must be empty.
	Discard []string `json:"discard"`

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

Configv1RollupRuleLabelPolicy TODO: consolidate w/ RecordingRule.LabelPolicy once both of these

entities implement the same label semantics.

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 Configv1Service ¶

type Configv1Service struct {

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

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

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

	// Slug of the notification policy used by default for monitors in this service 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"`

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

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

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

Configv1Service configv1 service

swagger:model configv1Service

func (*Configv1Service) ContextValidate ¶

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

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

func (*Configv1Service) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1Service) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1Service) Validate ¶

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

Validate validates this configv1 service

type Configv1ServiceAccount ¶

type Configv1ServiceAccount struct {

	// 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"`

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

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

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

	// 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"`

	// 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"`

	// 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"`

	// 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"`
}

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 {

	// 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"`

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

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

	// 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"`

	// 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"`
}

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 Configv1TraceBehaviorConfig ¶ added in v1.3.0

type Configv1TraceBehaviorConfig struct {

	// The baseline behavior to use for behavior assignments and base head sampling rates. Must reference a
	// TraceBehavior entity with type: TYPE_BASELINE.
	BaselineBehaviorSlug string `json:"baseline_behavior_slug,omitempty"`

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

	// List of dataset priorities. This list specifies the order in which datasets
	// are considered when determining the behavior to follow for a trace. Dataset
	// priorities are used to break ties when a trace matches more than one dataset
	// with an active behavior.
	// * Each entry in this list must refer to the slug of an existing dataset.
	// * The order of the list is the order in which the datasets are considered.
	// * The list must contain all datasets referenced in either main_behavior_assignments
	//   and override_behavior_assignments.
	// * The list may contain datasets that are not referenced in either of the above.
	DatasetPriorities []string `json:"dataset_priorities"`

	// List of assignments for the main behavior. The referenced datasets are datasets
	// to be enrolled in behaviors. The referenced behaviors are the active behaviors
	// for the dataset when there is no override in place.
	// * Only one main behavior can be assigned to a dataset.
	// * Only one referenced `TraceBehavior` with `type` field set to `TYPE_BASELINE` can
	// be set, which must match the slug referenced by `baseline_behavior_slug`.
	MainBehaviorAssignments []*TraceBehaviorConfigMainBehaviorAssignment `json:"main_behavior_assignments"`

	// List of assignments for the override behavior. OverrideBehaviorAssignments are used to
	// specify the active behavior for a dataset over a specific time range.
	// * Only one override behavior can be assigned to a dataset.
	// * Only one referenced `TraceBehavior` with `type` field set to `TYPE_BASELINE` can
	// be set, which must match the slug referenced by `baseline_behavior_slug`, and any
	// baseline behavior referenced in `main_behavior_assignments`.
	OverrideBehaviorAssignments []*TraceBehaviorConfigOverrideBehaviorAssignment `json:"override_behavior_assignments"`

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

Configv1TraceBehaviorConfig TraceBehaviorConfig is a singleton configuration object that specifies the configuration for trace behaviors.

swagger:model configv1TraceBehaviorConfig

func (*Configv1TraceBehaviorConfig) ContextValidate ¶ added in v1.3.0

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

ContextValidate validate this configv1 trace behavior config based on the context it is used

func (*Configv1TraceBehaviorConfig) MarshalBinary ¶ added in v1.3.0

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

MarshalBinary interface implementation

func (*Configv1TraceBehaviorConfig) UnmarshalBinary ¶ added in v1.3.0

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

UnmarshalBinary interface implementation

func (*Configv1TraceBehaviorConfig) Validate ¶ added in v1.3.0

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

Validate validates this configv1 trace behavior config

type Configv1TraceDataset ¶

type Configv1TraceDataset struct {

	// match criteria
	MatchCriteria *Configv1TraceSearchFilter `json:"match_criteria,omitempty"`
}

Configv1TraceDataset configv1 trace dataset

swagger:model configv1TraceDataset

func (*Configv1TraceDataset) ContextValidate ¶

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

ContextValidate validate this configv1 trace dataset based on the context it is used

func (*Configv1TraceDataset) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1TraceDataset) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1TraceDataset) Validate ¶

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

Validate validates this configv1 trace dataset

type Configv1TraceJaegerRemoteSamplingStrategy ¶

type Configv1TraceJaegerRemoteSamplingStrategy struct {

	// applied strategy
	AppliedStrategy *TraceJaegerRemoteSamplingStrategyAppliedStrategy `json:"applied_strategy,omitempty"`

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

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

	// The name of the service this sampling strategy applies to. This must match the slug and name fields.
	ServiceName string `json:"service_name,omitempty"`

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

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

Configv1TraceJaegerRemoteSamplingStrategy configv1 trace jaeger remote sampling strategy

swagger:model configv1TraceJaegerRemoteSamplingStrategy

func (*Configv1TraceJaegerRemoteSamplingStrategy) ContextValidate ¶

ContextValidate validate this configv1 trace jaeger remote sampling strategy based on the context it is used

func (*Configv1TraceJaegerRemoteSamplingStrategy) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1TraceJaegerRemoteSamplingStrategy) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1TraceJaegerRemoteSamplingStrategy) Validate ¶

Validate validates this configv1 trace jaeger remote sampling strategy

type Configv1TraceMetricsRule ¶

type Configv1TraceMetricsRule struct {

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

	// Add labels to the resultant metrics based on these specified GroupBy messages.
	GroupBy []*Configv1TraceMetricsRuleGroupBy `json:"group_by"`

	// Histogram bucket values, in seconds, for generated duration metrics.
	HistogramBucketsSecs []float64 `json:"histogram_buckets_secs"`

	// Labels to apply to the generated trace metrics.
	MetricLabels map[string]string `json:"metric_labels,omitempty"`

	// The name of the generated trace metrics.
	MetricName string `json:"metric_name,omitempty"`

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

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

	// trace filter
	TraceFilter *Configv1TraceSearchFilter `json:"trace_filter,omitempty"`

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

Configv1TraceMetricsRule configv1 trace metrics rule

swagger:model configv1TraceMetricsRule

func (*Configv1TraceMetricsRule) ContextValidate ¶

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

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

func (*Configv1TraceMetricsRule) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1TraceMetricsRule) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1TraceMetricsRule) Validate ¶

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

Validate validates this configv1 trace metrics rule

type Configv1TraceMetricsRuleGroupBy ¶ added in v1.1.0

type Configv1TraceMetricsRuleGroupBy struct {

	// key
	Key *GroupByGroupByKey `json:"key,omitempty"`

	// The label to use in the resultant metrics.
	Label string `json:"label,omitempty"`
}

Configv1TraceMetricsRuleGroupBy GroupBy contains fields required to group the resultant metrics of a TraceMetricsRule by a specific key.

swagger:model configv1TraceMetricsRuleGroupBy

func (*Configv1TraceMetricsRuleGroupBy) ContextValidate ¶ added in v1.1.0

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

ContextValidate validate this configv1 trace metrics rule group by based on the context it is used

func (*Configv1TraceMetricsRuleGroupBy) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*Configv1TraceMetricsRuleGroupBy) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*Configv1TraceMetricsRuleGroupBy) Validate ¶ added in v1.1.0

Validate validates this configv1 trace metrics rule group by

type Configv1TraceSearchFilter ¶

type Configv1TraceSearchFilter struct {

	// Each SpanFilter object represents all conditions that need to be true on
	// the same span for the span to be considered matching the SpanFilter. If
	// `span_count` is used, the number of spans within the trace that match the
	// SpanFilter needs to be within [min, max]. Multiple SpanFilters can be used,
	// and each can be satisfied by any number of spans within the trace.
	Span []*TraceSearchFilterSpanFilter `json:"span"`

	// trace
	Trace *TraceSearchFilterTraceFilter `json:"trace,omitempty"`
}

Configv1TraceSearchFilter configv1 trace search filter

swagger:model configv1TraceSearchFilter

func (*Configv1TraceSearchFilter) ContextValidate ¶

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

ContextValidate validate this configv1 trace search filter based on the context it is used

func (*Configv1TraceSearchFilter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1TraceSearchFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1TraceSearchFilter) Validate ¶

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

Validate validates this configv1 trace search filter

type Configv1TraceTailSamplingRule ¶

type Configv1TraceTailSamplingRule struct {

	// When the rule was created (novel system_name)
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// filter
	Filter *Configv1TraceSearchFilter `json:"filter,omitempty"`

	// A human-readable name of the rule, which summarizes what it's for
	Name string `json:"name,omitempty"`

	// A fraction of traces to keep, which should be a number between 0 and 1, inclusive
	SampleRate float64 `json:"sample_rate,omitempty"`

	// Value used as the metric label value for metrics emitted relating to this rule.
	SystemName string `json:"system_name,omitempty"`

	// When the rule was updated (existing system_name)
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

Configv1TraceTailSamplingRule Contains configuration for one tail sampling rule.

swagger:model configv1TraceTailSamplingRule

func (*Configv1TraceTailSamplingRule) ContextValidate ¶

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

ContextValidate validate this configv1 trace tail sampling rule based on the context it is used

func (*Configv1TraceTailSamplingRule) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1TraceTailSamplingRule) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1TraceTailSamplingRule) Validate ¶

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

Validate validates this configv1 trace tail sampling rule

type Configv1TraceTailSamplingRules ¶

type Configv1TraceTailSamplingRules struct {

	// Set in API responses.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// default sample rate
	DefaultSampleRate *Configv1DefaultSampleRate `json:"default_sample_rate,omitempty"`

	// Optional. A list of rules, evaluated in order until a match is found,
	// and the sample rate applied, or else the default sample rate is applied.
	Rules []*Configv1TraceTailSamplingRule `json:"rules"`

	// Set in API responses.
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

Configv1TraceTailSamplingRules Root object containing all tail sampling rules (for a tenant).

swagger:model configv1TraceTailSamplingRules

func (*Configv1TraceTailSamplingRules) ContextValidate ¶

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

ContextValidate validate this configv1 trace tail sampling rules based on the context it is used

func (*Configv1TraceTailSamplingRules) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1TraceTailSamplingRules) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1TraceTailSamplingRules) Validate ¶

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

Validate validates this configv1 trace tail sampling rules

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 Configv1UpdateDatasetResponse ¶

type Configv1UpdateDatasetResponse struct {

	// dataset
	Dataset *Configv1Dataset `json:"dataset,omitempty"`
}

Configv1UpdateDatasetResponse configv1 update dataset response

swagger:model configv1UpdateDatasetResponse

func (*Configv1UpdateDatasetResponse) ContextValidate ¶

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

ContextValidate validate this configv1 update dataset response based on the context it is used

func (*Configv1UpdateDatasetResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1UpdateDatasetResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1UpdateDatasetResponse) Validate ¶

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

Validate validates this configv1 update dataset 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 Configv1UpdateGcpMetricsIntegrationResponse ¶

type Configv1UpdateGcpMetricsIntegrationResponse struct {

	// gcp metrics integration
	GcpMetricsIntegration *Configv1GcpMetricsIntegration `json:"gcp_metrics_integration,omitempty"`
}

Configv1UpdateGcpMetricsIntegrationResponse configv1 update gcp metrics integration response

swagger:model configv1UpdateGcpMetricsIntegrationResponse

func (*Configv1UpdateGcpMetricsIntegrationResponse) ContextValidate ¶

ContextValidate validate this configv1 update gcp metrics integration response based on the context it is used

func (*Configv1UpdateGcpMetricsIntegrationResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1UpdateGcpMetricsIntegrationResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1UpdateGcpMetricsIntegrationResponse) Validate ¶

Validate validates this configv1 update gcp metrics integration 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 Configv1UpdateLogScaleActionResponse ¶ added in v1.4.0

type Configv1UpdateLogScaleActionResponse struct {

	// log scale action
	LogScaleAction *Configv1LogScaleAction `json:"log_scale_action,omitempty"`
}

Configv1UpdateLogScaleActionResponse configv1 update log scale action response

swagger:model configv1UpdateLogScaleActionResponse

func (*Configv1UpdateLogScaleActionResponse) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 update log scale action response based on the context it is used

func (*Configv1UpdateLogScaleActionResponse) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1UpdateLogScaleActionResponse) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1UpdateLogScaleActionResponse) Validate ¶ added in v1.4.0

Validate validates this configv1 update log scale action response

type Configv1UpdateLogScaleAlertResponse ¶ added in v1.4.0

type Configv1UpdateLogScaleAlertResponse struct {

	// log scale alert
	LogScaleAlert *Configv1LogScaleAlert `json:"log_scale_alert,omitempty"`
}

Configv1UpdateLogScaleAlertResponse configv1 update log scale alert response

swagger:model configv1UpdateLogScaleAlertResponse

func (*Configv1UpdateLogScaleAlertResponse) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this configv1 update log scale alert response based on the context it is used

func (*Configv1UpdateLogScaleAlertResponse) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1UpdateLogScaleAlertResponse) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1UpdateLogScaleAlertResponse) Validate ¶ added in v1.4.0

Validate validates this configv1 update log scale alert 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 Configv1UpdateOtelMetricsIngestionRequest ¶ added in v1.4.0

type Configv1UpdateOtelMetricsIngestionRequest struct {

	// If true, the OtelMetricsIngestion will be created if it does not already exist. If false, an error will be returned if the OtelMetricsIngestion does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// otel metrics ingestion
	OtelMetricsIngestion *Configv1OtelMetricsIngestion `json:"otel_metrics_ingestion,omitempty"`
}

Configv1UpdateOtelMetricsIngestionRequest configv1 update otel metrics ingestion request

swagger:model configv1UpdateOtelMetricsIngestionRequest

func (*Configv1UpdateOtelMetricsIngestionRequest) ContextValidate ¶ added in v1.4.0

ContextValidate validate this configv1 update otel metrics ingestion request based on the context it is used

func (*Configv1UpdateOtelMetricsIngestionRequest) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1UpdateOtelMetricsIngestionRequest) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1UpdateOtelMetricsIngestionRequest) Validate ¶ added in v1.4.0

Validate validates this configv1 update otel metrics ingestion request

type Configv1UpdateOtelMetricsIngestionResponse ¶ added in v1.4.0

type Configv1UpdateOtelMetricsIngestionResponse struct {

	// otel metrics ingestion
	OtelMetricsIngestion *Configv1OtelMetricsIngestion `json:"otel_metrics_ingestion,omitempty"`
}

Configv1UpdateOtelMetricsIngestionResponse configv1 update otel metrics ingestion response

swagger:model configv1UpdateOtelMetricsIngestionResponse

func (*Configv1UpdateOtelMetricsIngestionResponse) ContextValidate ¶ added in v1.4.0

ContextValidate validate this configv1 update otel metrics ingestion response based on the context it is used

func (*Configv1UpdateOtelMetricsIngestionResponse) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*Configv1UpdateOtelMetricsIngestionResponse) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*Configv1UpdateOtelMetricsIngestionResponse) Validate ¶ added in v1.4.0

Validate validates this configv1 update otel metrics ingestion 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 {

	// If true, the ResourcePools will be created if it does not already exist. If false, an error will be returned if the ResourcePools does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// resource pools
	ResourcePools *Configv1ResourcePools `json:"resource_pools,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 Configv1UpdateTraceBehaviorConfigRequest ¶ added in v1.3.0

type Configv1UpdateTraceBehaviorConfigRequest struct {

	// If true, the TraceBehaviorConfig will be created if it does not already exist. If false, an error will be returned if the TraceBehaviorConfig does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// trace behavior config
	TraceBehaviorConfig *Configv1TraceBehaviorConfig `json:"trace_behavior_config,omitempty"`
}

Configv1UpdateTraceBehaviorConfigRequest configv1 update trace behavior config request

swagger:model configv1UpdateTraceBehaviorConfigRequest

func (*Configv1UpdateTraceBehaviorConfigRequest) ContextValidate ¶ added in v1.3.0

ContextValidate validate this configv1 update trace behavior config request based on the context it is used

func (*Configv1UpdateTraceBehaviorConfigRequest) MarshalBinary ¶ added in v1.3.0

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

MarshalBinary interface implementation

func (*Configv1UpdateTraceBehaviorConfigRequest) UnmarshalBinary ¶ added in v1.3.0

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

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceBehaviorConfigRequest) Validate ¶ added in v1.3.0

Validate validates this configv1 update trace behavior config request

type Configv1UpdateTraceBehaviorConfigResponse ¶ added in v1.3.0

type Configv1UpdateTraceBehaviorConfigResponse struct {

	// trace behavior config
	TraceBehaviorConfig *Configv1TraceBehaviorConfig `json:"trace_behavior_config,omitempty"`
}

Configv1UpdateTraceBehaviorConfigResponse configv1 update trace behavior config response

swagger:model configv1UpdateTraceBehaviorConfigResponse

func (*Configv1UpdateTraceBehaviorConfigResponse) ContextValidate ¶ added in v1.3.0

ContextValidate validate this configv1 update trace behavior config response based on the context it is used

func (*Configv1UpdateTraceBehaviorConfigResponse) MarshalBinary ¶ added in v1.3.0

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

MarshalBinary interface implementation

func (*Configv1UpdateTraceBehaviorConfigResponse) UnmarshalBinary ¶ added in v1.3.0

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

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceBehaviorConfigResponse) Validate ¶ added in v1.3.0

Validate validates this configv1 update trace behavior config response

type Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse ¶

type Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse struct {

	// trace jaeger remote sampling strategy
	TraceJaegerRemoteSamplingStrategy *Configv1TraceJaegerRemoteSamplingStrategy `json:"trace_jaeger_remote_sampling_strategy,omitempty"`
}

Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse configv1 update trace jaeger remote sampling strategy response

swagger:model configv1UpdateTraceJaegerRemoteSamplingStrategyResponse

func (*Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse) ContextValidate ¶

ContextValidate validate this configv1 update trace jaeger remote sampling strategy response based on the context it is used

func (*Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceJaegerRemoteSamplingStrategyResponse) Validate ¶

Validate validates this configv1 update trace jaeger remote sampling strategy response

type Configv1UpdateTraceMetricsRuleResponse ¶

type Configv1UpdateTraceMetricsRuleResponse struct {

	// trace metrics rule
	TraceMetricsRule *Configv1TraceMetricsRule `json:"trace_metrics_rule,omitempty"`
}

Configv1UpdateTraceMetricsRuleResponse configv1 update trace metrics rule response

swagger:model configv1UpdateTraceMetricsRuleResponse

func (*Configv1UpdateTraceMetricsRuleResponse) ContextValidate ¶

ContextValidate validate this configv1 update trace metrics rule response based on the context it is used

func (*Configv1UpdateTraceMetricsRuleResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1UpdateTraceMetricsRuleResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceMetricsRuleResponse) Validate ¶

Validate validates this configv1 update trace metrics rule response

type Configv1UpdateTraceTailSamplingRulesRequest ¶

type Configv1UpdateTraceTailSamplingRulesRequest struct {

	// If true, the TraceTailSamplingRules will be created if it does not already exist. If false, an error will be returned if the TraceTailSamplingRules does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

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

	// trace tail sampling rules
	TraceTailSamplingRules *Configv1TraceTailSamplingRules `json:"trace_tail_sampling_rules,omitempty"`
}

Configv1UpdateTraceTailSamplingRulesRequest configv1 update trace tail sampling rules request

swagger:model configv1UpdateTraceTailSamplingRulesRequest

func (*Configv1UpdateTraceTailSamplingRulesRequest) ContextValidate ¶

ContextValidate validate this configv1 update trace tail sampling rules request based on the context it is used

func (*Configv1UpdateTraceTailSamplingRulesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configv1UpdateTraceTailSamplingRulesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceTailSamplingRulesRequest) Validate ¶

Validate validates this configv1 update trace tail sampling rules request

type Configv1UpdateTraceTailSamplingRulesResponse ¶

type Configv1UpdateTraceTailSamplingRulesResponse struct {

	// trace tail sampling rules
	TraceTailSamplingRules *Configv1TraceTailSamplingRules `json:"trace_tail_sampling_rules,omitempty"`
}

Configv1UpdateTraceTailSamplingRulesResponse configv1 update trace tail sampling rules response

swagger:model configv1UpdateTraceTailSamplingRulesResponse

func (*Configv1UpdateTraceTailSamplingRulesResponse) ContextValidate ¶

ContextValidate validate this configv1 update trace tail sampling rules response based on the context it is used

func (*Configv1UpdateTraceTailSamplingRulesResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*Configv1UpdateTraceTailSamplingRulesResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*Configv1UpdateTraceTailSamplingRulesResponse) Validate ¶

Validate validates this configv1 update trace tail sampling rules response

type ConstructedLabelValueDefinition ¶

type ConstructedLabelValueDefinition struct {

	// filters
	Filters []*Configv1LabelFilter `json:"filters"`

	// value
	Value string `json:"value,omitempty"`
}

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 DatasetDatasetConfiguration ¶

type DatasetDatasetConfiguration struct {

	// log dataset
	LogDataset *Configv1LogDataset `json:"log_dataset,omitempty"`

	// trace dataset
	TraceDataset *Configv1TraceDataset `json:"trace_dataset,omitempty"`

	// type
	Type DatasetDatasetType `json:"type,omitempty"`
}

DatasetDatasetConfiguration dataset dataset configuration

swagger:model DatasetDatasetConfiguration

func (*DatasetDatasetConfiguration) ContextValidate ¶

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

ContextValidate validate this dataset dataset configuration based on the context it is used

func (*DatasetDatasetConfiguration) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DatasetDatasetConfiguration) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DatasetDatasetConfiguration) Validate ¶

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

Validate validates this dataset dataset configuration

type DatasetDatasetType ¶

type DatasetDatasetType string

DatasetDatasetType dataset dataset type

swagger:model DatasetDatasetType

const (

	// DatasetDatasetTypeTRACES captures enum value "TRACES"
	DatasetDatasetTypeTRACES DatasetDatasetType = "TRACES"

	// DatasetDatasetTypeLOGS captures enum value "LOGS"
	DatasetDatasetTypeLOGS DatasetDatasetType = "LOGS"
)

func NewDatasetDatasetType ¶

func NewDatasetDatasetType(value DatasetDatasetType) *DatasetDatasetType

func (DatasetDatasetType) ContextValidate ¶

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

ContextValidate validates this dataset dataset type based on context it is used

func (DatasetDatasetType) Pointer ¶

Pointer returns a pointer to a freshly-allocated DatasetDatasetType.

func (DatasetDatasetType) Validate ¶

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

Validate validates this dataset dataset type

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 {

	// query
	Query *DerivedMetricQuery `json:"query,omitempty"`

	// selector
	Selector *DerivedMetricSelector `json:"selector,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 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"`

	// Required name of the variable.
	// Example: service
	Name string `json:"name,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 {

	// 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"`

	// 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"`
}

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 GcpMetricsIntegrationMetricGroup ¶

type GcpMetricsIntegrationMetricGroup struct {

	// List of Gcp metric prefixes to ingest.
	Prefixes []string `json:"prefixes"`

	// Project ID that has access to the metric data.
	ProjectID string `json:"project_id,omitempty"`
}

GcpMetricsIntegrationMetricGroup gcp metrics integration metric group

swagger:model GcpMetricsIntegrationMetricGroup

func (*GcpMetricsIntegrationMetricGroup) ContextValidate ¶

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

ContextValidate validates this gcp metrics integration metric group based on context it is used

func (*GcpMetricsIntegrationMetricGroup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GcpMetricsIntegrationMetricGroup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GcpMetricsIntegrationMetricGroup) Validate ¶

Validate validates this gcp metrics integration metric group

type GenericError ¶

type GenericError interface{}

GenericError generic error

swagger:model genericError

type GraphiteLabelPolicyReplace ¶

type GraphiteLabelPolicyReplace struct {

	// Required name of the label whose value should be replaced. Only
	// `__gX__` labels are allowed (aka positional Graphite labels).
	// Example: __g1__
	Name string `json:"name,omitempty"`

	// Required new value of the replaced label.
	// Example: ALL_HOSTS
	NewValue string `json:"new_value,omitempty"`
}

GraphiteLabelPolicyReplace graphite label policy replace

swagger:model GraphiteLabelPolicyReplace

func (*GraphiteLabelPolicyReplace) ContextValidate ¶

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

ContextValidate validates this graphite label policy replace based on context it is used

func (*GraphiteLabelPolicyReplace) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GraphiteLabelPolicyReplace) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GraphiteLabelPolicyReplace) Validate ¶

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

Validate validates this graphite label policy replace

type GroupByGroupByKey ¶

type GroupByGroupByKey struct {

	// For named KeyTypes (e.g. span tags), the name of the key to group by.
	NamedKey string `json:"named_key,omitempty"`

	// type
	Type GroupByKeyGroupByKeyType `json:"type,omitempty"`
}

GroupByGroupByKey GroupByKey describes a key to group by.

swagger:model GroupByGroupByKey

func (*GroupByGroupByKey) ContextValidate ¶

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

ContextValidate validate this group by group by key based on the context it is used

func (*GroupByGroupByKey) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GroupByGroupByKey) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GroupByGroupByKey) Validate ¶

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

Validate validates this group by group by key

type GroupByKeyGroupByKeyType ¶

type GroupByKeyGroupByKeyType string

GroupByKeyGroupByKeyType - SERVICE: Group by service.

  • OPERATION: Group by operation.
  • TAG: Group by span tag.

swagger:model GroupByKeyGroupByKeyType

const (

	// GroupByKeyGroupByKeyTypeSERVICE captures enum value "SERVICE"
	GroupByKeyGroupByKeyTypeSERVICE GroupByKeyGroupByKeyType = "SERVICE"

	// GroupByKeyGroupByKeyTypeOPERATION captures enum value "OPERATION"
	GroupByKeyGroupByKeyTypeOPERATION GroupByKeyGroupByKeyType = "OPERATION"

	// GroupByKeyGroupByKeyTypeTAG captures enum value "TAG"
	GroupByKeyGroupByKeyTypeTAG GroupByKeyGroupByKeyType = "TAG"
)

func (GroupByKeyGroupByKeyType) ContextValidate ¶

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

ContextValidate validates this group by key group by key type based on context it is used

func (GroupByKeyGroupByKeyType) Pointer ¶

Pointer returns a pointer to a freshly-allocated GroupByKeyGroupByKeyType.

func (GroupByKeyGroupByKeyType) Validate ¶

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

Validate validates this group by key group by key type

type HTTPConfigBasicAuth ¶

type HTTPConfigBasicAuth struct {

	// password
	Password string `json:"password,omitempty"`

	// username
	Username string `json:"username,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 LogScaleActionActionType ¶ added in v1.4.0

type LogScaleActionActionType string

LogScaleActionActionType log scale action action type

swagger:model LogScaleActionActionType

const (

	// LogScaleActionActionTypeEMAIL captures enum value "EMAIL"
	LogScaleActionActionTypeEMAIL LogScaleActionActionType = "EMAIL"

	// LogScaleActionActionTypeHUMIOREPO captures enum value "HUMIO_REPO"
	LogScaleActionActionTypeHUMIOREPO LogScaleActionActionType = "HUMIO_REPO"

	// LogScaleActionActionTypeOPSGENIE captures enum value "OPS_GENIE"
	LogScaleActionActionTypeOPSGENIE LogScaleActionActionType = "OPS_GENIE"

	// LogScaleActionActionTypePAGERDUTY captures enum value "PAGER_DUTY"
	LogScaleActionActionTypePAGERDUTY LogScaleActionActionType = "PAGER_DUTY"

	// LogScaleActionActionTypeSLACK captures enum value "SLACK"
	LogScaleActionActionTypeSLACK LogScaleActionActionType = "SLACK"

	// LogScaleActionActionTypeSLACKPOSTMESSAGE captures enum value "SLACK_POST_MESSAGE"
	LogScaleActionActionTypeSLACKPOSTMESSAGE LogScaleActionActionType = "SLACK_POST_MESSAGE"

	// LogScaleActionActionTypeVICTOROPS captures enum value "VICTOR_OPS"
	LogScaleActionActionTypeVICTOROPS LogScaleActionActionType = "VICTOR_OPS"

	// LogScaleActionActionTypeWEBHOOK captures enum value "WEBHOOK"
	LogScaleActionActionTypeWEBHOOK LogScaleActionActionType = "WEBHOOK"

	// LogScaleActionActionTypeUPLOADFILE captures enum value "UPLOAD_FILE"
	LogScaleActionActionTypeUPLOADFILE LogScaleActionActionType = "UPLOAD_FILE"
)

func NewLogScaleActionActionType ¶ added in v1.4.0

func NewLogScaleActionActionType(value LogScaleActionActionType) *LogScaleActionActionType

func (LogScaleActionActionType) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this log scale action action type based on context it is used

func (LogScaleActionActionType) Pointer ¶ added in v1.4.0

Pointer returns a pointer to a freshly-allocated LogScaleActionActionType.

func (LogScaleActionActionType) Validate ¶ added in v1.4.0

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

Validate validates this log scale action action type

type LogScaleActionEmailAction ¶ added in v1.4.0

type LogScaleActionEmailAction struct {

	// Whether the result set should be attached as a CSV file.
	AttachCsv bool `json:"attach_csv,omitempty"`

	// Body of the email. Can be templated with values from the query result.
	BodyTemplate string `json:"body_template,omitempty"`

	// List of email addresses to send an email to.
	Recipients []string `json:"recipients"`

	// Subject of the email. Can be templated with values from the query result.
	SubjectTemplate string `json:"subject_template,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionEmailAction log scale action email action

swagger:model LogScaleActionEmailAction

func (*LogScaleActionEmailAction) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this log scale action email action based on context it is used

func (*LogScaleActionEmailAction) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*LogScaleActionEmailAction) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*LogScaleActionEmailAction) Validate ¶ added in v1.4.0

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

Validate validates this log scale action email action

type LogScaleActionHumioRepoAction ¶ added in v1.4.0

type LogScaleActionHumioRepoAction struct {

	// Ingest token for the repository that the action should ingest into.
	IngestToken string `json:"ingest_token,omitempty"`
}

LogScaleActionHumioRepoAction log scale action humio repo action

swagger:model LogScaleActionHumioRepoAction

func (*LogScaleActionHumioRepoAction) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this log scale action humio repo action based on context it is used

func (*LogScaleActionHumioRepoAction) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*LogScaleActionHumioRepoAction) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*LogScaleActionHumioRepoAction) Validate ¶ added in v1.4.0

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

Validate validates this log scale action humio repo action

type LogScaleActionOpsGenieAction ¶ added in v1.4.0

type LogScaleActionOpsGenieAction struct {

	// OpsGenie webhook URL to send the request to.
	APIURL string `json:"api_url,omitempty"`

	// Key to authenticate with OpsGenie.
	OpsGenieKey string `json:"ops_genie_key,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionOpsGenieAction log scale action ops genie action

swagger:model LogScaleActionOpsGenieAction

func (*LogScaleActionOpsGenieAction) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this log scale action ops genie action based on context it is used

func (*LogScaleActionOpsGenieAction) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*LogScaleActionOpsGenieAction) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*LogScaleActionOpsGenieAction) Validate ¶ added in v1.4.0

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

Validate validates this log scale action ops genie action

type LogScaleActionPagerDutyAction ¶ added in v1.4.0

type LogScaleActionPagerDutyAction struct {

	// Routing key to authenticate with PagerDuty.
	RoutingKey string `json:"routing_key,omitempty"`

	// severity
	Severity PagerDutyActionSeverity `json:"severity,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionPagerDutyAction log scale action pager duty action

swagger:model LogScaleActionPagerDutyAction

func (*LogScaleActionPagerDutyAction) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this log scale action pager duty action based on the context it is used

func (*LogScaleActionPagerDutyAction) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*LogScaleActionPagerDutyAction) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*LogScaleActionPagerDutyAction) Validate ¶ added in v1.4.0

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

Validate validates this log scale action pager duty action

type LogScaleActionSlackAction ¶ added in v1.4.0

type LogScaleActionSlackAction struct {

	// Fields to include within the Slack message. Can be templated with values from the query result.
	Fields map[string]string `json:"fields,omitempty"`

	// Slack webhook URL to send the request to.
	URL string `json:"url,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionSlackAction log scale action slack action

swagger:model LogScaleActionSlackAction

func (*LogScaleActionSlackAction) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this log scale action slack action based on context it is used

func (*LogScaleActionSlackAction) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*LogScaleActionSlackAction) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*LogScaleActionSlackAction) Validate ¶ added in v1.4.0

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

Validate validates this log scale action slack action

type LogScaleActionSlackPostMessageAction ¶ added in v1.4.0

type LogScaleActionSlackPostMessageAction struct {

	// API token to authenticate with Slack.
	APIToken string `json:"api_token,omitempty"`

	// List of Slack channels to message.
	Channels []string `json:"channels"`

	// Fields to include within the Slack message. Can be templated with values from the query result.
	Fields map[string]string `json:"fields,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionSlackPostMessageAction log scale action slack post message action

swagger:model LogScaleActionSlackPostMessageAction

func (*LogScaleActionSlackPostMessageAction) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this log scale action slack post message action based on context it is used

func (*LogScaleActionSlackPostMessageAction) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*LogScaleActionSlackPostMessageAction) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*LogScaleActionSlackPostMessageAction) Validate ¶ added in v1.4.0

Validate validates this log scale action slack post message action

type LogScaleActionUploadFileAction ¶ added in v1.4.0

type LogScaleActionUploadFileAction struct {

	// File name for the uploaded file.
	FileName string `json:"file_name,omitempty"`
}

LogScaleActionUploadFileAction log scale action upload file action

swagger:model LogScaleActionUploadFileAction

func (*LogScaleActionUploadFileAction) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this log scale action upload file action based on context it is used

func (*LogScaleActionUploadFileAction) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*LogScaleActionUploadFileAction) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*LogScaleActionUploadFileAction) Validate ¶ added in v1.4.0

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

Validate validates this log scale action upload file action

type LogScaleActionVictorOpsAction ¶ added in v1.4.0

type LogScaleActionVictorOpsAction struct {

	// Type of the VictorOps message to make.
	MessageType string `json:"message_type,omitempty"`

	// VictorOps webhook URL to send the request to.
	NotifyURL string `json:"notify_url,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionVictorOpsAction log scale action victor ops action

swagger:model LogScaleActionVictorOpsAction

func (*LogScaleActionVictorOpsAction) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this log scale action victor ops action based on context it is used

func (*LogScaleActionVictorOpsAction) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*LogScaleActionVictorOpsAction) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*LogScaleActionVictorOpsAction) Validate ¶ added in v1.4.0

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

Validate validates this log scale action victor ops action

type LogScaleActionWebhookAction ¶ added in v1.4.0

type LogScaleActionWebhookAction struct {

	// Body of the HTTP or HTTPS request. Can be templated with values from the query result.
	BodyTemplate string `json:"body_template,omitempty"`

	// Headers of the HTTP or HTTPS request.
	Headers map[string]string `json:"headers,omitempty"`

	// Flag indicating whether SSL should be ignored for the request.
	IgnoreSsl bool `json:"ignore_ssl,omitempty"`

	// method
	Method WebhookActionHTTPMethod `json:"method,omitempty"`

	// URL to send the HTTP or HTTPS request to.
	URL string `json:"url,omitempty"`

	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"use_proxy,omitempty"`
}

LogScaleActionWebhookAction log scale action webhook action

swagger:model LogScaleActionWebhookAction

func (*LogScaleActionWebhookAction) ContextValidate ¶ added in v1.4.0

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

ContextValidate validate this log scale action webhook action based on the context it is used

func (*LogScaleActionWebhookAction) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*LogScaleActionWebhookAction) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*LogScaleActionWebhookAction) Validate ¶ added in v1.4.0

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

Validate validates this log scale action webhook action

type LogScaleAlertAlertType ¶ added in v1.4.0

type LogScaleAlertAlertType string

LogScaleAlertAlertType log scale alert alert type

swagger:model LogScaleAlertAlertType

const (

	// LogScaleAlertAlertTypeSTANDARD captures enum value "STANDARD"
	LogScaleAlertAlertTypeSTANDARD LogScaleAlertAlertType = "STANDARD"

	// LogScaleAlertAlertTypeFILTER captures enum value "FILTER"
	LogScaleAlertAlertTypeFILTER LogScaleAlertAlertType = "FILTER"
)

func NewLogScaleAlertAlertType ¶ added in v1.4.0

func NewLogScaleAlertAlertType(value LogScaleAlertAlertType) *LogScaleAlertAlertType

func (LogScaleAlertAlertType) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this log scale alert alert type based on context it is used

func (LogScaleAlertAlertType) Pointer ¶ added in v1.4.0

Pointer returns a pointer to a freshly-allocated LogScaleAlertAlertType.

func (LogScaleAlertAlertType) Validate ¶ added in v1.4.0

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

Validate validates this log scale alert alert type

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"`

	// Deprecated: This field is no longer supported.
	DropTimestamp bool `json:"drop_timestamp,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"`

	// storage policy
	StoragePolicy *Configv1MappingRuleStoragePolicy `json:"storage_policy,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"`

	// Time op operation must evaluate as false for an active alert, before that alert resolves.
	ResolveSustainSecs int32 `json:"resolve_sustain_secs,omitempty"`

	// Time op operation must evaluate to true for the condition to evaluate to true.
	SustainSecs int32 `json:"sustain_secs,omitempty"`

	// The value to compare to the metric value using the op operation.
	Value float64 `json:"value,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 NotificationPolicyRoutesGroupBy ¶ added in v1.1.0

type NotificationPolicyRoutesGroupBy struct {

	// Set of label names used to group alerts.
	// For example, if label_names is ["service", "code"] then all alerts including labels {service="foo",code="404"}
	// will be grouped together.
	LabelNames []string `json:"label_names"`
}

NotificationPolicyRoutesGroupBy notification policy routes group by

swagger:model NotificationPolicyRoutesGroupBy

func (*NotificationPolicyRoutesGroupBy) ContextValidate ¶ added in v1.1.0

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

ContextValidate validates this notification policy routes group by based on context it is used

func (*NotificationPolicyRoutesGroupBy) MarshalBinary ¶ added in v1.1.0

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

MarshalBinary interface implementation

func (*NotificationPolicyRoutesGroupBy) UnmarshalBinary ¶ added in v1.1.0

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

UnmarshalBinary interface implementation

func (*NotificationPolicyRoutesGroupBy) Validate ¶ added in v1.1.0

Validate validates this notification policy routes group by

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 {

	// Optional HTML body of the email.
	HTML string `json:"html,omitempty"`

	// Optional text body of the email.
	Text string `json:"text,omitempty"`

	// Required email address to send notifications to.
	To string `json:"to,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.
	// DEPRECATED: Custom proxies are unsupported.
	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 {

	// 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"`

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

	// A set of arbitrary key/value pairs that provide further detail about the
	// alert.
	Details map[string]string `json:"details,omitempty"`

	// http config
	HTTPConfig *NotifierHTTPConfig `json:"http_config,omitempty"`

	// Alert text.
	Message string `json:"message,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"`

	// List of responders responsible for notifications.
	Responders []*OpsGenieConfigResponder `json:"responders"`

	// A backlink to the sender of the notification.
	Source string `json:"source,omitempty"`

	// Comma separated list of tags attached to the notifications.
	Tags string `json:"tags,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 {

	// The class/type of the event.
	Class string `json:"class,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"`

	// The part or component of the affected system which is broken.
	Component string `json:"component,omitempty"`

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

	// Set of arbitrary key/value pairs which provide further detail about the
	// incident.
	Details map[string]string `json:"details,omitempty"`

	// A cluster or grouping of services.
	Group string `json:"group,omitempty"`

	// http config
	HTTPConfig *NotifierHTTPConfig `json:"http_config,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
	// "Events API v2"). Cannot be set if service_key is set.
	RoutingKey string `json:"routing_key,omitempty"`

	// The PagerDuty integration key (when using PagerDuty integration type
	// "Prometheus"). Cannot be set if routing_key is set.
	ServiceKey string `json:"service_key,omitempty"`

	// Severity of the incident.
	// Valid values are 'critical', 'error', 'warning', 'info', or blank
	Severity string `json:"severity,omitempty"`

	// The Pagerduty URL to send API requests to.
	URL string `json:"url,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 {

	// actions
	Actions []*NotifierSlackConfigAction `json:"actions"`

	// Required Slack webhook API URL.
	APIURL string `json:"api_url,omitempty"`

	// callback id
	CallbackID string `json:"callback_id,omitempty"`

	// The channel to send notifications to.
	Channel string `json:"channel,omitempty"`

	// color
	Color string `json:"color,omitempty"`

	// fallback
	Fallback string `json:"fallback,omitempty"`

	// fields
	Fields []*SlackConfigField `json:"fields"`

	// footer
	Footer string `json:"footer,omitempty"`

	// http config
	HTTPConfig *NotifierHTTPConfig `json:"http_config,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"`

	// link names
	LinkNames bool `json:"link_names,omitempty"`

	// mrkdwn in
	MrkdwnIn []string `json:"mrkdwn_in"`

	// pretext
	Pretext string `json:"pretext,omitempty"`

	// short fields
	ShortFields bool `json:"short_fields,omitempty"`

	// text
	Text string `json:"text,omitempty"`

	// thumb url
	ThumbURL string `json:"thumb_url,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// title link
	TitleLink string `json:"title_link,omitempty"`

	// The user to send notifications to.
	Username string `json:"username,omitempty"`
}

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 {

	// confirm field
	ConfirmField *SlackConfigConfirmationField `json:"confirm_field,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// style
	Style string `json:"style,omitempty"`

	// text
	Text string `json:"text,omitempty"`

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

	// url
	URL string `json:"url,omitempty"`

	// value
	Value string `json:"value,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 {

	// Required VictorOps API key.
	APIKey string `json:"api_key,omitempty"`

	// Required VictorOps API URL.
	APIURL string `json:"api_url,omitempty"`

	// custom fields
	CustomFields map[string]string `json:"custom_fields,omitempty"`

	// Summary of the alerted problem.
	EntityDisplayName string `json:"entity_display_name,omitempty"`

	// http config
	HTTPConfig *NotifierHTTPConfig `json:"http_config,omitempty"`

	// Describes the behavior of the alert (CRITICAL, WARNING, INFO).
	MessageType string `json:"message_type,omitempty"`

	// The monitoring tool the state message is from.
	MonitoringTool string `json:"monitoring_tool,omitempty"`

	// Required VictorOps routing key.
	RoutingKey string `json:"routing_key,omitempty"`

	// Long explanation of the alerted problem.
	StateMessage string `json:"state_message,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 NumericFilterComparisonType ¶

type NumericFilterComparisonType string

NumericFilterComparisonType numeric filter comparison type

swagger:model NumericFilterComparisonType

const (

	// NumericFilterComparisonTypeEQUAL captures enum value "EQUAL"
	NumericFilterComparisonTypeEQUAL NumericFilterComparisonType = "EQUAL"

	// NumericFilterComparisonTypeNOTEQUAL captures enum value "NOT_EQUAL"
	NumericFilterComparisonTypeNOTEQUAL NumericFilterComparisonType = "NOT_EQUAL"

	// NumericFilterComparisonTypeGREATERTHAN captures enum value "GREATER_THAN"
	NumericFilterComparisonTypeGREATERTHAN NumericFilterComparisonType = "GREATER_THAN"

	// NumericFilterComparisonTypeGREATERTHANOREQUAL captures enum value "GREATER_THAN_OR_EQUAL"
	NumericFilterComparisonTypeGREATERTHANOREQUAL NumericFilterComparisonType = "GREATER_THAN_OR_EQUAL"

	// NumericFilterComparisonTypeLESSTHAN captures enum value "LESS_THAN"
	NumericFilterComparisonTypeLESSTHAN NumericFilterComparisonType = "LESS_THAN"

	// NumericFilterComparisonTypeLESSTHANOREQUAL captures enum value "LESS_THAN_OR_EQUAL"
	NumericFilterComparisonTypeLESSTHANOREQUAL NumericFilterComparisonType = "LESS_THAN_OR_EQUAL"
)

func (NumericFilterComparisonType) ContextValidate ¶

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

ContextValidate validates this numeric filter comparison type based on context it is used

func (NumericFilterComparisonType) Pointer ¶

Pointer returns a pointer to a freshly-allocated NumericFilterComparisonType.

func (NumericFilterComparisonType) Validate ¶

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

Validate validates this numeric filter comparison type

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"`

	// responder type
	ResponderType ResponderResponderType `json:"responder_type,omitempty"`

	// Username of the responder. Cannot be set if id or name are set.
	Username string `json:"username,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 OtelMetricsIngestionResourceAttributes ¶ added in v1.4.0

type OtelMetricsIngestionResourceAttributes struct {

	// Do not copy any resource attribute whose key exactly matches one of the
	// strings in this list.
	ExcludeKeys []string `json:"exclude_keys"`

	// filter mode
	FilterMode ResourceAttributesFilterMode `json:"filter_mode,omitempty"`

	// flatten mode
	FlattenMode ResourceAttributesFlattenMode `json:"flatten_mode,omitempty"`

	// Generate a target_info time series with labels derived from resource
	// attributes. The filter_mode and exclude_keys settings apply in the same way as
	// for the "flatten" operation. The default is false.
	GenerateTargetInfo bool `json:"generate_target_info,omitempty"`
}

OtelMetricsIngestionResourceAttributes otel metrics ingestion resource attributes

swagger:model OtelMetricsIngestionResourceAttributes

func (*OtelMetricsIngestionResourceAttributes) ContextValidate ¶ added in v1.4.0

ContextValidate validate this otel metrics ingestion resource attributes based on the context it is used

func (*OtelMetricsIngestionResourceAttributes) MarshalBinary ¶ added in v1.4.0

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

MarshalBinary interface implementation

func (*OtelMetricsIngestionResourceAttributes) UnmarshalBinary ¶ added in v1.4.0

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

UnmarshalBinary interface implementation

func (*OtelMetricsIngestionResourceAttributes) Validate ¶ added in v1.4.0

Validate validates this otel metrics ingestion resource attributes

type PagerDutyActionSeverity ¶ added in v1.4.0

type PagerDutyActionSeverity string

PagerDutyActionSeverity pager duty action severity

swagger:model PagerDutyActionSeverity

const (

	// PagerDutyActionSeverityCRITICAL captures enum value "CRITICAL"
	PagerDutyActionSeverityCRITICAL PagerDutyActionSeverity = "CRITICAL"

	// PagerDutyActionSeverityERROR captures enum value "ERROR"
	PagerDutyActionSeverityERROR PagerDutyActionSeverity = "ERROR"

	// PagerDutyActionSeverityWARNING captures enum value "WARNING"
	PagerDutyActionSeverityWARNING PagerDutyActionSeverity = "WARNING"

	// PagerDutyActionSeverityINFO captures enum value "INFO"
	PagerDutyActionSeverityINFO PagerDutyActionSeverity = "INFO"
)

func NewPagerDutyActionSeverity ¶ added in v1.4.0

func NewPagerDutyActionSeverity(value PagerDutyActionSeverity) *PagerDutyActionSeverity

func (PagerDutyActionSeverity) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this pager duty action severity based on context it is used

func (PagerDutyActionSeverity) Pointer ¶ added in v1.4.0

Pointer returns a pointer to a freshly-allocated PagerDutyActionSeverity.

func (PagerDutyActionSeverity) Validate ¶ added in v1.4.0

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

Validate validates this pager duty action severity

type PagerdutyConfigImage ¶

type PagerdutyConfigImage struct {

	// alt
	Alt string `json:"alt,omitempty"`

	// href
	Href string `json:"href,omitempty"`

	// src
	Src string `json:"src,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 PerOperationSamplingStrategiesPerOperationSamplingStrategy ¶

type PerOperationSamplingStrategiesPerOperationSamplingStrategy struct {

	// The operation to which this specific strategy should apply.
	Operation string `json:"operation,omitempty"`

	// probabilistic sampling strategy
	ProbabilisticSamplingStrategy *TraceJaegerRemoteSamplingStrategyProbabilisticStrategy `json:"probabilistic_sampling_strategy,omitempty"`
}

PerOperationSamplingStrategiesPerOperationSamplingStrategy per operation sampling strategies per operation sampling strategy

swagger:model PerOperationSamplingStrategiesPerOperationSamplingStrategy

func (*PerOperationSamplingStrategiesPerOperationSamplingStrategy) ContextValidate ¶

ContextValidate validate this per operation sampling strategies per operation sampling strategy based on the context it is used

func (*PerOperationSamplingStrategiesPerOperationSamplingStrategy) MarshalBinary ¶

MarshalBinary interface implementation

func (*PerOperationSamplingStrategiesPerOperationSamplingStrategy) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*PerOperationSamplingStrategiesPerOperationSamplingStrategy) Validate ¶

Validate validates this per operation sampling strategies per operation sampling strategy

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 ResourceAttributesFilterMode ¶ added in v1.4.0

type ResourceAttributesFilterMode string

ResourceAttributesFilterMode resource attributes filter mode

swagger:model ResourceAttributesFilterMode

const (

	// ResourceAttributesFilterModeAPPENDDEFAULTEXCLUDEKEYS captures enum value "APPEND_DEFAULT_EXCLUDE_KEYS"
	ResourceAttributesFilterModeAPPENDDEFAULTEXCLUDEKEYS ResourceAttributesFilterMode = "APPEND_DEFAULT_EXCLUDE_KEYS"

	// ResourceAttributesFilterModeCUSTOMEXCLUDEKEYS captures enum value "CUSTOM_EXCLUDE_KEYS"
	ResourceAttributesFilterModeCUSTOMEXCLUDEKEYS ResourceAttributesFilterMode = "CUSTOM_EXCLUDE_KEYS"
)

func NewResourceAttributesFilterMode ¶ added in v1.4.0

func NewResourceAttributesFilterMode(value ResourceAttributesFilterMode) *ResourceAttributesFilterMode

func (ResourceAttributesFilterMode) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this resource attributes filter mode based on context it is used

func (ResourceAttributesFilterMode) Pointer ¶ added in v1.4.0

Pointer returns a pointer to a freshly-allocated ResourceAttributesFilterMode.

func (ResourceAttributesFilterMode) Validate ¶ added in v1.4.0

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

Validate validates this resource attributes filter mode

type ResourceAttributesFlattenMode ¶ added in v1.4.0

type ResourceAttributesFlattenMode string

ResourceAttributesFlattenMode resource attributes flatten mode

swagger:model ResourceAttributesFlattenMode

const (

	// ResourceAttributesFlattenModeMERGE captures enum value "MERGE"
	ResourceAttributesFlattenModeMERGE ResourceAttributesFlattenMode = "MERGE"

	// ResourceAttributesFlattenModeOVERWRITE captures enum value "OVERWRITE"
	ResourceAttributesFlattenModeOVERWRITE ResourceAttributesFlattenMode = "OVERWRITE"

	// ResourceAttributesFlattenModeIGNORE captures enum value "IGNORE"
	ResourceAttributesFlattenModeIGNORE ResourceAttributesFlattenMode = "IGNORE"
)

func NewResourceAttributesFlattenMode ¶ added in v1.4.0

func NewResourceAttributesFlattenMode(value ResourceAttributesFlattenMode) *ResourceAttributesFlattenMode

func (ResourceAttributesFlattenMode) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this resource attributes flatten mode based on context it is used

func (ResourceAttributesFlattenMode) Pointer ¶ added in v1.4.0

Pointer returns a pointer to a freshly-allocated ResourceAttributesFlattenMode.

func (ResourceAttributesFlattenMode) Validate ¶ added in v1.4.0

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

Validate validates this resource attributes flatten mode

type ResourceChange ¶

type ResourceChange struct {

	// action
	Action ResourceChangeAction `json:"action,omitempty"`

	// resource
	Resource Configv1ResourceType `json:"resource,omitempty"`

	// slug
	Slug string `json:"slug,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 {

	// 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"`

	// Required name of the pool. Must be unique.
	Name string `json:"name,omitempty"`

	// 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 RollupRuleGraphiteLabelPolicy ¶

type RollupRuleGraphiteLabelPolicy struct {

	// Required list of labels to replace. Useful for discarding
	// high-cardinality values while still preserving the original positions of
	// the Graphite metric.
	Replace []*GraphiteLabelPolicyReplace `json:"replace"`
}

RollupRuleGraphiteLabelPolicy rollup rule graphite label policy

swagger:model RollupRuleGraphiteLabelPolicy

func (*RollupRuleGraphiteLabelPolicy) ContextValidate ¶

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

ContextValidate validate this rollup rule graphite label policy based on the context it is used

func (*RollupRuleGraphiteLabelPolicy) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RollupRuleGraphiteLabelPolicy) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RollupRuleGraphiteLabelPolicy) Validate ¶

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

Validate validates this rollup rule graphite label policy

type RollupRuleLabelReplace ¶

type RollupRuleLabelReplace interface{}

RollupRuleLabelReplace Must keep this around for backwards compatibility because terraform will still send this key w/ a null value.

swagger:model RollupRuleLabelReplace

type RollupRuleMetricType ¶

type RollupRuleMetricType string

RollupRuleMetricType - CUMULATIVE_COUNTER: Alias of COUNTER.

  • DELTA_COUNTER: Alias of DELTA.

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"

	// RollupRuleMetricTypeCUMULATIVEEXPONENTIALHISTOGRAM captures enum value "CUMULATIVE_EXPONENTIAL_HISTOGRAM"
	RollupRuleMetricTypeCUMULATIVEEXPONENTIALHISTOGRAM RollupRuleMetricType = "CUMULATIVE_EXPONENTIAL_HISTOGRAM"

	// RollupRuleMetricTypeMEASUREMENT captures enum value "MEASUREMENT"
	RollupRuleMetricTypeMEASUREMENT RollupRuleMetricType = "MEASUREMENT"

	// RollupRuleMetricTypeCUMULATIVECOUNTER captures enum value "CUMULATIVE_COUNTER"
	RollupRuleMetricTypeCUMULATIVECOUNTER RollupRuleMetricType = "CUMULATIVE_COUNTER"

	// RollupRuleMetricTypeDELTACOUNTER captures enum value "DELTA_COUNTER"
	RollupRuleMetricTypeDELTACOUNTER RollupRuleMetricType = "DELTA_COUNTER"

	// RollupRuleMetricTypeDELTAEXPONENTIALHISTOGRAM captures enum value "DELTA_EXPONENTIAL_HISTOGRAM"
	RollupRuleMetricTypeDELTAEXPONENTIALHISTOGRAM RollupRuleMetricType = "DELTA_EXPONENTIAL_HISTOGRAM"
)

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 {

	// group by
	GroupBy *NotificationPolicyRoutesGroupBy `json:"group_by,omitempty"`

	// 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 validate this routes notifier list based on the 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 {

	// critical
	Critical *RoutesNotifierList `json:"critical,omitempty"`

	// warn
	Warn *RoutesNotifierList `json:"warn,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 {

	// End time in the in format "<hour>:<minute>", e.g. "15:30".
	EndHhMm string `json:"end_hh_mm,omitempty"`

	// Start time in the in format "<hour>:<minute>", e.g. "15:30".
	StartHhMm string `json:"start_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 {

	// friday
	Friday *ScheduleScheduleDay `json:"friday,omitempty"`

	// monday
	Monday *ScheduleScheduleDay `json:"monday,omitempty"`

	// saturday
	Saturday *ScheduleScheduleDay `json:"saturday,omitempty"`

	// sunday
	Sunday *ScheduleScheduleDay `json:"sunday,omitempty"`

	// thursday
	Thursday *ScheduleScheduleDay `json:"thursday,omitempty"`

	// tuesday
	Tuesday *ScheduleScheduleDay `json:"tuesday,omitempty"`

	// wednesday
	Wednesday *ScheduleScheduleDay `json:"wednesday,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 {

	// critical
	Critical *SeriesConditionsConditions `json:"critical,omitempty"`

	// warn
	Warn *SeriesConditionsConditions `json:"warn,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 {

	// 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"`

	// permission
	Permission MetricsRestrictionPermission `json:"permission,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 {

	// dismiss text
	DismissText string `json:"dismiss_text,omitempty"`

	// ok text
	OkText string `json:"ok_text,omitempty"`

	// text
	Text string `json:"text,omitempty"`

	// title
	Title string `json:"title,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 {

	// short
	Short bool `json:"short,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// value
	Value string `json:"value,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

type SpanFilterSpanFilterMatchType ¶

type SpanFilterSpanFilterMatchType string

SpanFilterSpanFilterMatchType span filter span filter match type

swagger:model SpanFilterSpanFilterMatchType

const (

	// SpanFilterSpanFilterMatchTypeINCLUDE captures enum value "INCLUDE"
	SpanFilterSpanFilterMatchTypeINCLUDE SpanFilterSpanFilterMatchType = "INCLUDE"

	// SpanFilterSpanFilterMatchTypeEXCLUDE captures enum value "EXCLUDE"
	SpanFilterSpanFilterMatchTypeEXCLUDE SpanFilterSpanFilterMatchType = "EXCLUDE"
)

func (SpanFilterSpanFilterMatchType) ContextValidate ¶

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

ContextValidate validates this span filter span filter match type based on context it is used

func (SpanFilterSpanFilterMatchType) Pointer ¶

Pointer returns a pointer to a freshly-allocated SpanFilterSpanFilterMatchType.

func (SpanFilterSpanFilterMatchType) Validate ¶

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

Validate validates this span filter span filter match type

type StringFilterStringFilterMatchType ¶

type StringFilterStringFilterMatchType string

StringFilterStringFilterMatchType string filter string filter match type

swagger:model StringFilterStringFilterMatchType

const (

	// StringFilterStringFilterMatchTypeEXACT captures enum value "EXACT"
	StringFilterStringFilterMatchTypeEXACT StringFilterStringFilterMatchType = "EXACT"

	// StringFilterStringFilterMatchTypeREGEX captures enum value "REGEX"
	StringFilterStringFilterMatchTypeREGEX StringFilterStringFilterMatchType = "REGEX"

	// StringFilterStringFilterMatchTypeEXACTNEGATION captures enum value "EXACT_NEGATION"
	StringFilterStringFilterMatchTypeEXACTNEGATION StringFilterStringFilterMatchType = "EXACT_NEGATION"

	// StringFilterStringFilterMatchTypeREGEXNEGATION captures enum value "REGEX_NEGATION"
	StringFilterStringFilterMatchTypeREGEXNEGATION StringFilterStringFilterMatchType = "REGEX_NEGATION"

	// StringFilterStringFilterMatchTypeIN captures enum value "IN"
	StringFilterStringFilterMatchTypeIN StringFilterStringFilterMatchType = "IN"

	// StringFilterStringFilterMatchTypeNOTIN captures enum value "NOT_IN"
	StringFilterStringFilterMatchTypeNOTIN StringFilterStringFilterMatchType = "NOT_IN"
)

func (StringFilterStringFilterMatchType) ContextValidate ¶

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

ContextValidate validates this string filter string filter match type based on context it is used

func (StringFilterStringFilterMatchType) Pointer ¶

Pointer returns a pointer to a freshly-allocated StringFilterStringFilterMatchType.

func (StringFilterStringFilterMatchType) Validate ¶

Validate validates this string filter string filter match type

type TraceBehaviorConfigMainBehaviorAssignment ¶ added in v1.3.0

type TraceBehaviorConfigMainBehaviorAssignment struct {

	// The slug reference of a TraceBehavior
	BehaviorSlug string `json:"behavior_slug,omitempty"`

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

	// The author or creator of the entry.
	CreatedBy string `json:"created_by,omitempty"`

	// The slug reference of a TraceDataset
	DatasetSlug string `json:"dataset_slug,omitempty"`

	// A description of the entry.
	Description string `json:"description,omitempty"`

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

TraceBehaviorConfigMainBehaviorAssignment trace behavior config main behavior assignment

swagger:model TraceBehaviorConfigMainBehaviorAssignment

func (*TraceBehaviorConfigMainBehaviorAssignment) ContextValidate ¶ added in v1.3.0

ContextValidate validates this trace behavior config main behavior assignment based on context it is used

func (*TraceBehaviorConfigMainBehaviorAssignment) MarshalBinary ¶ added in v1.3.0

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

MarshalBinary interface implementation

func (*TraceBehaviorConfigMainBehaviorAssignment) UnmarshalBinary ¶ added in v1.3.0

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

UnmarshalBinary interface implementation

func (*TraceBehaviorConfigMainBehaviorAssignment) Validate ¶ added in v1.3.0

Validate validates this trace behavior config main behavior assignment

type TraceBehaviorConfigOverrideBehaviorAssignment ¶ added in v1.3.0

type TraceBehaviorConfigOverrideBehaviorAssignment struct {

	// The slug reference of a TraceBehavior
	BehaviorSlug string `json:"behavior_slug,omitempty"`

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

	// The author or creator of the entry.
	CreatedBy string `json:"created_by,omitempty"`

	// The slug reference of a TraceDataset
	DatasetSlug string `json:"dataset_slug,omitempty"`

	// A description of the entry.
	Description string `json:"description,omitempty"`

	// The ending time of the override.
	// Format: date-time
	EndTime strfmt.DateTime `json:"end_time,omitempty"`

	// The starting time of the override.
	// Format: date-time
	StartTime strfmt.DateTime `json:"start_time,omitempty"`

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

TraceBehaviorConfigOverrideBehaviorAssignment trace behavior config override behavior assignment

swagger:model TraceBehaviorConfigOverrideBehaviorAssignment

func (*TraceBehaviorConfigOverrideBehaviorAssignment) ContextValidate ¶ added in v1.3.0

ContextValidate validates this trace behavior config override behavior assignment based on context it is used

func (*TraceBehaviorConfigOverrideBehaviorAssignment) MarshalBinary ¶ added in v1.3.0

MarshalBinary interface implementation

func (*TraceBehaviorConfigOverrideBehaviorAssignment) UnmarshalBinary ¶ added in v1.3.0

UnmarshalBinary interface implementation

func (*TraceBehaviorConfigOverrideBehaviorAssignment) Validate ¶ added in v1.3.0

Validate validates this trace behavior config override behavior assignment

type TraceJaegerRemoteSamplingStrategyAppliedStrategy ¶

type TraceJaegerRemoteSamplingStrategyAppliedStrategy struct {

	// per operation strategies
	PerOperationStrategies *TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies `json:"per_operation_strategies,omitempty"`

	// probabilistic strategy
	ProbabilisticStrategy *TraceJaegerRemoteSamplingStrategyProbabilisticStrategy `json:"probabilistic_strategy,omitempty"`

	// rate limiting strategy
	RateLimitingStrategy *TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy `json:"rate_limiting_strategy,omitempty"`
}

TraceJaegerRemoteSamplingStrategyAppliedStrategy trace jaeger remote sampling strategy applied strategy

swagger:model TraceJaegerRemoteSamplingStrategyAppliedStrategy

func (*TraceJaegerRemoteSamplingStrategyAppliedStrategy) ContextValidate ¶

ContextValidate validate this trace jaeger remote sampling strategy applied strategy based on the context it is used

func (*TraceJaegerRemoteSamplingStrategyAppliedStrategy) MarshalBinary ¶

MarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyAppliedStrategy) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyAppliedStrategy) Validate ¶

Validate validates this trace jaeger remote sampling strategy applied strategy

type TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies ¶

type TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies struct {

	// Defines a minimum number of traces to send for ANY operation in the service, regardless of matching per operation strategy.
	DefaultLowerBoundTracesPerSecond float64 `json:"default_lower_bound_traces_per_second,omitempty"`

	// Defines the service-wide sampling probability (in the range [0, 1]) when specific operations are not matched.
	DefaultSamplingRate float64 `json:"default_sampling_rate,omitempty"`

	// Defines a maximum number of traces to send for ANY operation in the service, regardless of matching per operation strategy.
	DefaultUpperBoundTracesPerSecond float64 `json:"default_upper_bound_traces_per_second,omitempty"`

	// Defines explicit operations-specific strategies that take precedence over the default sampling rate.
	PerOperationStrategies []*PerOperationSamplingStrategiesPerOperationSamplingStrategy `json:"per_operation_strategies"`
}

TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies trace jaeger remote sampling strategy per operation sampling strategies

swagger:model TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies

func (*TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies) ContextValidate ¶

ContextValidate validate this trace jaeger remote sampling strategy per operation sampling strategies based on the context it is used

func (*TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies) MarshalBinary ¶

MarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyPerOperationSamplingStrategies) Validate ¶

Validate validates this trace jaeger remote sampling strategy per operation sampling strategies

type TraceJaegerRemoteSamplingStrategyProbabilisticStrategy ¶

type TraceJaegerRemoteSamplingStrategyProbabilisticStrategy struct {

	// Value in the range [0, 1] that defines the probability of sampling any trace.
	SamplingRate float64 `json:"sampling_rate,omitempty"`
}

TraceJaegerRemoteSamplingStrategyProbabilisticStrategy trace jaeger remote sampling strategy probabilistic strategy

swagger:model TraceJaegerRemoteSamplingStrategyProbabilisticStrategy

func (*TraceJaegerRemoteSamplingStrategyProbabilisticStrategy) ContextValidate ¶

ContextValidate validates this trace jaeger remote sampling strategy probabilistic strategy based on context it is used

func (*TraceJaegerRemoteSamplingStrategyProbabilisticStrategy) MarshalBinary ¶

MarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyProbabilisticStrategy) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyProbabilisticStrategy) Validate ¶

Validate validates this trace jaeger remote sampling strategy probabilistic strategy

type TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy ¶

type TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy struct {

	// Maximum number of traces to sample per second.
	MaxTracesPerSecond int32 `json:"max_traces_per_second,omitempty"`
}

TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy trace jaeger remote sampling strategy rate limiting sampling strategy

swagger:model TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy

func (*TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy) ContextValidate ¶

ContextValidate validates this trace jaeger remote sampling strategy rate limiting sampling strategy based on context it is used

func (*TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy) MarshalBinary ¶

MarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*TraceJaegerRemoteSamplingStrategyRateLimitingSamplingStrategy) Validate ¶

Validate validates this trace jaeger remote sampling strategy rate limiting sampling strategy

type TraceSearchFilterBoolFilter ¶

type TraceSearchFilterBoolFilter struct {

	// The value the filter compares to the target trace or span field.
	Value bool `json:"value,omitempty"`
}

TraceSearchFilterBoolFilter trace search filter bool filter

swagger:model TraceSearchFilterBoolFilter

func (*TraceSearchFilterBoolFilter) ContextValidate ¶

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

ContextValidate validates this trace search filter bool filter based on context it is used

func (*TraceSearchFilterBoolFilter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TraceSearchFilterBoolFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TraceSearchFilterBoolFilter) Validate ¶

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

Validate validates this trace search filter bool filter

type TraceSearchFilterCountFilter ¶

type TraceSearchFilterCountFilter struct {

	// Maximum number of spans that must match a SpanFilter (inclusive).
	Max int32 `json:"max,omitempty"`

	// Minimum number of spans that must match a SpanFilter (inclusive).
	Min int32 `json:"min,omitempty"`
}

TraceSearchFilterCountFilter trace search filter count filter

swagger:model TraceSearchFilterCountFilter

func (*TraceSearchFilterCountFilter) ContextValidate ¶

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

ContextValidate validates this trace search filter count filter based on context it is used

func (*TraceSearchFilterCountFilter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TraceSearchFilterCountFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TraceSearchFilterCountFilter) Validate ¶

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

Validate validates this trace search filter count filter

type TraceSearchFilterDurationFilter ¶

type TraceSearchFilterDurationFilter struct {

	// Maximum duration, in seconds, required for a span or trace to match.
	MaxSecs float64 `json:"max_secs,omitempty"`

	// Minimum duration, in seconds, required for a span or trace to match.
	MinSecs float64 `json:"min_secs,omitempty"`
}

TraceSearchFilterDurationFilter trace search filter duration filter

swagger:model TraceSearchFilterDurationFilter

func (*TraceSearchFilterDurationFilter) ContextValidate ¶

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

ContextValidate validates this trace search filter duration filter based on context it is used

func (*TraceSearchFilterDurationFilter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TraceSearchFilterDurationFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TraceSearchFilterDurationFilter) Validate ¶

Validate validates this trace search filter duration filter

type TraceSearchFilterNumericFilter ¶

type TraceSearchFilterNumericFilter struct {

	// comparison
	Comparison NumericFilterComparisonType `json:"comparison,omitempty"`

	// The filter value used in comparison against match candidates.
	Value float64 `json:"value,omitempty"`
}

TraceSearchFilterNumericFilter trace search filter numeric filter

swagger:model TraceSearchFilterNumericFilter

func (*TraceSearchFilterNumericFilter) ContextValidate ¶

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

ContextValidate validate this trace search filter numeric filter based on the context it is used

func (*TraceSearchFilterNumericFilter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TraceSearchFilterNumericFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TraceSearchFilterNumericFilter) Validate ¶

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

Validate validates this trace search filter numeric filter

type TraceSearchFilterSpanFilter ¶

type TraceSearchFilterSpanFilter struct {

	// duration
	Duration *TraceSearchFilterDurationFilter `json:"duration,omitempty"`

	// error
	Error *TraceSearchFilterBoolFilter `json:"error,omitempty"`

	// match type
	MatchType SpanFilterSpanFilterMatchType `json:"match_type,omitempty"`

	// operation
	Operation *TraceSearchFilterStringFilter `json:"operation,omitempty"`

	// parent operation
	ParentOperation *TraceSearchFilterStringFilter `json:"parent_operation,omitempty"`

	// parent service
	ParentService *TraceSearchFilterStringFilter `json:"parent_service,omitempty"`

	// service
	Service *TraceSearchFilterStringFilter `json:"service,omitempty"`

	// span count
	SpanCount *TraceSearchFilterCountFilter `json:"span_count,omitempty"`

	// Matches the tags of the candidate.
	Tags []*TraceSearchFilterTagFilter `json:"tags"`
}

TraceSearchFilterSpanFilter trace search filter span filter

swagger:model TraceSearchFilterSpanFilter

func (*TraceSearchFilterSpanFilter) ContextValidate ¶

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

ContextValidate validate this trace search filter span filter based on the context it is used

func (*TraceSearchFilterSpanFilter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TraceSearchFilterSpanFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TraceSearchFilterSpanFilter) Validate ¶

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

Validate validates this trace search filter span filter

type TraceSearchFilterStringFilter ¶

type TraceSearchFilterStringFilter struct {

	// Values the filter tests against when using IN or NOT_IN match type.
	InValues []string `json:"in_values"`

	// match
	Match StringFilterStringFilterMatchType `json:"match,omitempty"`

	// The value the filter compares to the target trace or span field.
	Value string `json:"value,omitempty"`
}

TraceSearchFilterStringFilter trace search filter string filter

swagger:model TraceSearchFilterStringFilter

func (*TraceSearchFilterStringFilter) ContextValidate ¶

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

ContextValidate validate this trace search filter string filter based on the context it is used

func (*TraceSearchFilterStringFilter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TraceSearchFilterStringFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TraceSearchFilterStringFilter) Validate ¶

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

Validate validates this trace search filter string filter

type TraceSearchFilterTagFilter ¶

type TraceSearchFilterTagFilter struct {

	// The key (or name) of the span tag that is inspected by this filter.
	Key string `json:"key,omitempty"`

	// numeric value
	NumericValue *TraceSearchFilterNumericFilter `json:"numeric_value,omitempty"`

	// value
	Value *TraceSearchFilterStringFilter `json:"value,omitempty"`
}

TraceSearchFilterTagFilter trace search filter tag filter

swagger:model TraceSearchFilterTagFilter

func (*TraceSearchFilterTagFilter) ContextValidate ¶

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

ContextValidate validate this trace search filter tag filter based on the context it is used

func (*TraceSearchFilterTagFilter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TraceSearchFilterTagFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TraceSearchFilterTagFilter) Validate ¶

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

Validate validates this trace search filter tag filter

type TraceSearchFilterTraceFilter ¶

type TraceSearchFilterTraceFilter struct {

	// duration
	Duration *TraceSearchFilterDurationFilter `json:"duration,omitempty"`

	// error
	Error *TraceSearchFilterBoolFilter `json:"error,omitempty"`
}

TraceSearchFilterTraceFilter trace search filter trace filter

swagger:model TraceSearchFilterTraceFilter

func (*TraceSearchFilterTraceFilter) ContextValidate ¶

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

ContextValidate validate this trace search filter trace filter based on the context it is used

func (*TraceSearchFilterTraceFilter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TraceSearchFilterTraceFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TraceSearchFilterTraceFilter) Validate ¶

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

Validate validates this trace search filter trace filter

type WebhookActionHTTPMethod ¶ added in v1.4.0

type WebhookActionHTTPMethod string

WebhookActionHTTPMethod webhook action HTTP method

swagger:model WebhookActionHTTPMethod

const (

	// WebhookActionHTTPMethodGET captures enum value "GET"
	WebhookActionHTTPMethodGET WebhookActionHTTPMethod = "GET"

	// WebhookActionHTTPMethodPOST captures enum value "POST"
	WebhookActionHTTPMethodPOST WebhookActionHTTPMethod = "POST"

	// WebhookActionHTTPMethodPUT captures enum value "PUT"
	WebhookActionHTTPMethodPUT WebhookActionHTTPMethod = "PUT"

	// WebhookActionHTTPMethodPATCH captures enum value "PATCH"
	WebhookActionHTTPMethodPATCH WebhookActionHTTPMethod = "PATCH"

	// WebhookActionHTTPMethodDELETE captures enum value "DELETE"
	WebhookActionHTTPMethodDELETE WebhookActionHTTPMethod = "DELETE"

	// WebhookActionHTTPMethodHEAD captures enum value "HEAD"
	WebhookActionHTTPMethodHEAD WebhookActionHTTPMethod = "HEAD"

	// WebhookActionHTTPMethodOPTIONS captures enum value "OPTIONS"
	WebhookActionHTTPMethodOPTIONS WebhookActionHTTPMethod = "OPTIONS"
)

func NewWebhookActionHTTPMethod ¶ added in v1.4.0

func NewWebhookActionHTTPMethod(value WebhookActionHTTPMethod) *WebhookActionHTTPMethod

func (WebhookActionHTTPMethod) ContextValidate ¶ added in v1.4.0

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

ContextValidate validates this webhook action HTTP method based on context it is used

func (WebhookActionHTTPMethod) Pointer ¶ added in v1.4.0

Pointer returns a pointer to a freshly-allocated WebhookActionHTTPMethod.

func (WebhookActionHTTPMethod) Validate ¶ added in v1.4.0

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

Validate validates this webhook action HTTP method

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL