configv1

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Code generated by chronogen; DO NOT EDIT

Index

Constants

View Source
const BucketScaffoldYAML = `` /* 951-byte string literal not displayed */
View Source
const ClassicDashboardScaffoldYAML = `` /* 839-byte string literal not displayed */
View Source
const CollectionScaffoldYAML = `` /* 833-byte string literal not displayed */
View Source
const DashboardScaffoldYAML = `` /* 676-byte string literal not displayed */
View Source
const DatasetScaffoldYAML = `` /* 5382-byte string literal not displayed */
View Source
const DerivedLabelScaffoldYAML = `` /* 3021-byte string literal not displayed */
View Source
const DerivedMetricScaffoldYAML = `` /* 1706-byte string literal not displayed */
View Source
const DropRuleScaffoldYAML = `` /* 1321-byte string literal not displayed */
View Source
const GcpMetricsIntegrationScaffoldYAML = `` /* 769-byte string literal not displayed */
View Source
const GrafanaDashboardScaffoldYAML = `` /* 839-byte string literal not displayed */
View Source
const LogScaleActionScaffoldYAML = `` /* 3615-byte string literal not displayed */
View Source
const LogScaleAlertScaffoldYAML = `` /* 1352-byte string literal not displayed */
View Source
const MappingRuleScaffoldYAML = `` /* 1684-byte string literal not displayed */
View Source
const MonitorScaffoldYAML = `` /* 10120-byte string literal not displayed */
View Source
const MutingRuleScaffoldYAML = `` /* 1148-byte string literal not displayed */
View Source
const NotificationPolicyScaffoldYAML = `` /* 3886-byte string literal not displayed */
View Source
const NotifierScaffoldYAML = `` /* 7864-byte string literal not displayed */
View Source
const OtelMetricsIngestionScaffoldYAML = `` /* 630-byte string literal not displayed */
View Source
const RecordingRuleScaffoldYAML = `` /* 1221-byte string literal not displayed */
View Source
const ResourcePoolsScaffoldYAML = `` /* 4815-byte string literal not displayed */
View Source
const RollupRuleScaffoldYAML = `` /* 3318-byte string literal not displayed */
View Source
const ServiceAccountScaffoldYAML = `` /* 936-byte string literal not displayed */
View Source
const TeamScaffoldYAML = `` /* 485-byte string literal not displayed */
View Source
const TraceBehaviorConfigScaffoldYAML = `` /* 3653-byte string literal not displayed */
View Source
const TraceJaegerRemoteSamplingStrategyScaffoldYAML = `` /* 1972-byte string literal not displayed */
View Source
const TraceMetricsRuleScaffoldYAML = `` /* 5214-byte string literal not displayed */
View Source
const TraceTailSamplingRulesScaffoldYAML = `` /* 5310-byte string literal not displayed */

Variables

View Source
var BucketTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "Bucket",
}
View Source
var ClassicDashboardTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "ClassicDashboard",
}
View Source
var CollectionTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "Collection",
}
View Source
var DashboardTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "Dashboard",
}
View Source
var DatasetTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "Dataset",
}
View Source
var DerivedLabelTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "DerivedLabel",
}
View Source
var DerivedMetricTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "DerivedMetric",
}
View Source
var DropRuleTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "DropRule",
}
View Source
var GcpMetricsIntegrationTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "GcpMetricsIntegration",
}
View Source
var GrafanaDashboardTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "GrafanaDashboard",
}
View Source
var LogScaleActionTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "LogScaleAction",
}
View Source
var LogScaleAlertTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "LogScaleAlert",
}
View Source
var MappingRuleTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "MappingRule",
}
View Source
var MonitorTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "Monitor",
}
View Source
var MutingRuleTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "MutingRule",
}
View Source
var NotificationPolicyTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "NotificationPolicy",
}
View Source
var NotifierTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "Notifier",
}
View Source
var OtelMetricsIngestionTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "OtelMetricsIngestion",
}
View Source
var RecordingRuleTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "RecordingRule",
}
View Source
var ResourcePoolsTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "ResourcePools",
}
View Source
var RollupRuleTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "RollupRule",
}
View Source
var ServiceAccountTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "ServiceAccount",
}
View Source
var TeamTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "Team",
}
View Source
var TraceBehaviorConfigTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "TraceBehaviorConfig",
}
View Source
var TraceJaegerRemoteSamplingStrategyTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "TraceJaegerRemoteSamplingStrategy",
}
View Source
var TraceMetricsRuleTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "TraceMetricsRule",
}
View Source
var TraceTailSamplingRulesTypeMeta = types.TypeMeta{
	APIVersion: "v1/config",
	Kind:       "TraceTailSamplingRules",
}

Functions

func AddCommandsTo

func AddCommandsTo(root *cobra.Command)

AddCommandsTo adds all entity subcommands to the given root command.

func ApplyMappings

func ApplyMappings() map[types.TypeMeta]func(context.Context, client.Clients, types.Object, bool) error

func DeleteBucket

func DeleteBucket(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteClassicDashboard

func DeleteClassicDashboard(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteCollection

func DeleteCollection(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteDashboard

func DeleteDashboard(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteDataset added in v1.6.0

func DeleteDataset(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteDerivedLabel

func DeleteDerivedLabel(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteDerivedMetric

func DeleteDerivedMetric(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteDropRule

func DeleteDropRule(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteGcpMetricsIntegration added in v1.6.0

func DeleteGcpMetricsIntegration(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteGrafanaDashboard

func DeleteGrafanaDashboard(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteLogScaleAction added in v1.10.0

func DeleteLogScaleAction(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteLogScaleAlert added in v1.10.0

func DeleteLogScaleAlert(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteMappingRule

func DeleteMappingRule(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteMonitor

func DeleteMonitor(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteMutingRule

func DeleteMutingRule(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteNotificationPolicy

func DeleteNotificationPolicy(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteNotifier

func DeleteNotifier(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteOtelMetricsIngestion added in v1.9.0

func DeleteOtelMetricsIngestion(
	ctx context.Context,
	client config_v1.ClientService,
) error

func DeleteRecordingRule

func DeleteRecordingRule(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteResourcePools

func DeleteResourcePools(
	ctx context.Context,
	client config_v1.ClientService,
) error

func DeleteRollupRule

func DeleteRollupRule(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteServiceAccount

func DeleteServiceAccount(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteTeam

func DeleteTeam(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteTraceBehaviorConfig added in v1.7.0

func DeleteTraceBehaviorConfig(
	ctx context.Context,
	client config_v1.ClientService,
) error

func DeleteTraceJaegerRemoteSamplingStrategy added in v1.1.0

func DeleteTraceJaegerRemoteSamplingStrategy(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteTraceMetricsRule added in v1.1.0

func DeleteTraceMetricsRule(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) error

func DeleteTraceTailSamplingRules added in v1.2.0

func DeleteTraceTailSamplingRules(
	ctx context.Context,
	client config_v1.ClientService,
) error

func ListBuckets

func ListBuckets(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*Bucket],
	opts BucketListOpts,
) (pagination.Token, error)

func ListCollections

func ListCollections(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*Collection],
	opts CollectionListOpts,
) (pagination.Token, error)

func ListDashboards

func ListDashboards(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*Dashboard],
	opts DashboardListOpts,
) (pagination.Token, error)

func ListDatasets added in v1.6.0

func ListDatasets(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*Dataset],
	opts DatasetListOpts,
) (pagination.Token, error)

func ListDropRules

func ListDropRules(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*DropRule],
	opts DropRuleListOpts,
) (pagination.Token, error)

func ListGcpMetricsIntegrations added in v1.6.0

func ListGcpMetricsIntegrations(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*GcpMetricsIntegration],
	opts GcpMetricsIntegrationListOpts,
) (pagination.Token, error)

func ListLogScaleActions added in v1.10.0

func ListLogScaleActions(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*LogScaleAction],
	opts LogScaleActionListOpts,
) (pagination.Token, error)

func ListLogScaleAlerts added in v1.10.0

func ListLogScaleAlerts(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*LogScaleAlert],
	opts LogScaleAlertListOpts,
) (pagination.Token, error)

func ListMonitors

func ListMonitors(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*Monitor],
	opts MonitorListOpts,
) (pagination.Token, error)

func ListMutingRules

func ListMutingRules(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*MutingRule],
	opts MutingRuleListOpts,
) (pagination.Token, error)

func ListNotifiers

func ListNotifiers(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*Notifier],
	opts NotifierListOpts,
) (pagination.Token, error)

func ListRollupRules

func ListRollupRules(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*RollupRule],
	opts RollupRuleListOpts,
) (pagination.Token, error)

func ListTeams

func ListTeams(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*Team],
	opts TeamListOpts,
) (pagination.Token, error)

func ListTraceMetricsRules added in v1.1.0

func ListTraceMetricsRules(
	ctx context.Context,
	client config_v1.ClientService,
	streamer output.Streamer[*TraceMetricsRule],
	opts TraceMetricsRuleListOpts,
) (pagination.Token, error)

func NewBucketCmd

func NewBucketCmd() *cobra.Command

func NewClassicDashboardCmd

func NewClassicDashboardCmd() *cobra.Command

func NewCollectionCmd

func NewCollectionCmd() *cobra.Command

func NewDashboardCmd

func NewDashboardCmd() *cobra.Command

func NewDatasetCmd added in v1.6.0

func NewDatasetCmd() *cobra.Command

func NewDerivedLabelCmd

func NewDerivedLabelCmd() *cobra.Command

func NewDerivedMetricCmd

func NewDerivedMetricCmd() *cobra.Command

func NewDropRuleCmd

func NewDropRuleCmd() *cobra.Command

func NewGcpMetricsIntegrationCmd added in v1.6.0

func NewGcpMetricsIntegrationCmd() *cobra.Command

func NewGrafanaDashboardCmd

func NewGrafanaDashboardCmd() *cobra.Command

func NewLogScaleActionCmd added in v1.10.0

func NewLogScaleActionCmd() *cobra.Command

func NewLogScaleAlertCmd added in v1.10.0

func NewLogScaleAlertCmd() *cobra.Command

func NewMappingRuleCmd

func NewMappingRuleCmd() *cobra.Command

func NewMonitorCmd

func NewMonitorCmd() *cobra.Command

func NewMutingRuleCmd

func NewMutingRuleCmd() *cobra.Command

func NewNotificationPolicyCmd

func NewNotificationPolicyCmd() *cobra.Command

func NewNotifierCmd

func NewNotifierCmd() *cobra.Command

func NewOtelMetricsIngestionCmd added in v1.9.0

func NewOtelMetricsIngestionCmd() *cobra.Command

func NewRecordingRuleCmd

func NewRecordingRuleCmd() *cobra.Command

func NewResourcePoolsCmd

func NewResourcePoolsCmd() *cobra.Command

func NewRollupRuleCmd

func NewRollupRuleCmd() *cobra.Command

func NewServiceAccountCmd

func NewServiceAccountCmd() *cobra.Command

func NewTeamCmd

func NewTeamCmd() *cobra.Command

func NewTraceBehaviorConfigCmd added in v1.7.0

func NewTraceBehaviorConfigCmd() *cobra.Command

func NewTraceJaegerRemoteSamplingStrategyCmd added in v1.1.0

func NewTraceJaegerRemoteSamplingStrategyCmd() *cobra.Command

func NewTraceMetricsRuleCmd added in v1.1.0

func NewTraceMetricsRuleCmd() *cobra.Command

func NewTraceTailSamplingRulesCmd added in v1.2.0

func NewTraceTailSamplingRulesCmd() *cobra.Command

Types

type Bucket

type Bucket struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1Bucket `json:"spec"`
}

func CreateBucket

func CreateBucket(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Bucket,
	dryRun bool,
) (*Bucket, error)

func GetBucket

func GetBucket(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*Bucket, error)

func NewBucket

func NewBucket(spec *models.Configv1Bucket) *Bucket

func UpdateBucket

func UpdateBucket(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Bucket,
	opts UpdateOptions,
) (*Bucket, error)

func (*Bucket) Description

func (e *Bucket) Description() string

func (*Bucket) Identifier

func (e *Bucket) Identifier() string

type BucketListOpts

type BucketListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	Names       []string
	Slugs       []string
}

type ClassicDashboard

type ClassicDashboard struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1GrafanaDashboard `json:"spec"`
}

func CreateClassicDashboard

func CreateClassicDashboard(
	ctx context.Context,
	client config_v1.ClientService,
	entity *ClassicDashboard,
	dryRun bool,
) (*ClassicDashboard, error)

func GetClassicDashboard

func GetClassicDashboard(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*ClassicDashboard, error)

func UpdateClassicDashboard

func UpdateClassicDashboard(
	ctx context.Context,
	client config_v1.ClientService,
	entity *ClassicDashboard,
	opts UpdateOptions,
) (*ClassicDashboard, error)

func (*ClassicDashboard) Description

func (e *ClassicDashboard) Description() string

func (*ClassicDashboard) Identifier

func (e *ClassicDashboard) Identifier() string

type ClassicDashboardListOpts

type ClassicDashboardListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize          int
	BucketSlugs          []string
	CollectionSlugs      []string
	IncludeDashboardJSON bool
	Names                []string
	Slugs                []string
}

type Collection

type Collection struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1Collection `json:"spec"`
}

func CreateCollection

func CreateCollection(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Collection,
	dryRun bool,
) (*Collection, error)

func GetCollection

func GetCollection(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*Collection, error)

func NewCollection

func NewCollection(spec *models.Configv1Collection) *Collection

func UpdateCollection

func UpdateCollection(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Collection,
	opts UpdateOptions,
) (*Collection, error)

func (*Collection) Description

func (e *Collection) Description() string

func (*Collection) Identifier

func (e *Collection) Identifier() string

type CollectionListOpts

type CollectionListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize             int
	Names                   []string
	NotificationPolicySlugs []string
	Slugs                   []string
	TeamSlugs               []string
}

type Dashboard

type Dashboard struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1Dashboard `json:"spec"`
}

func CreateDashboard

func CreateDashboard(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Dashboard,
	dryRun bool,
) (*Dashboard, error)

func GetDashboard

func GetDashboard(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*Dashboard, error)

func NewDashboard

func NewDashboard(spec *models.Configv1Dashboard) *Dashboard

func UpdateDashboard

func UpdateDashboard(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Dashboard,
	opts UpdateOptions,
) (*Dashboard, error)

func (*Dashboard) Description

func (e *Dashboard) Description() string

func (*Dashboard) Identifier

func (e *Dashboard) Identifier() string

type DashboardListOpts

type DashboardListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize          int
	CollectionSlugs      []string
	IncludeDashboardJSON bool
	Names                []string
	Slugs                []string
}

type Dataset added in v1.6.0

type Dataset struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1Dataset `json:"spec"`
}

func CreateDataset added in v1.6.0

func CreateDataset(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Dataset,
	dryRun bool,
) (*Dataset, error)

func GetDataset added in v1.6.0

func GetDataset(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*Dataset, error)

func NewDataset added in v1.6.0

func NewDataset(spec *models.Configv1Dataset) *Dataset

func UpdateDataset added in v1.6.0

func UpdateDataset(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Dataset,
	opts UpdateOptions,
) (*Dataset, error)

func (*Dataset) Description added in v1.6.0

func (e *Dataset) Description() string

func (*Dataset) Identifier added in v1.6.0

func (e *Dataset) Identifier() string

type DatasetListOpts added in v1.6.0

type DatasetListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	Names       []string
	Slugs       []string
	Type        string
}

type DerivedLabel

type DerivedLabel struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1DerivedLabel `json:"spec"`
}

func CreateDerivedLabel

func CreateDerivedLabel(
	ctx context.Context,
	client config_v1.ClientService,
	entity *DerivedLabel,
	dryRun bool,
) (*DerivedLabel, error)

func GetDerivedLabel

func GetDerivedLabel(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*DerivedLabel, error)

func NewDerivedLabel

func NewDerivedLabel(spec *models.Configv1DerivedLabel) *DerivedLabel

func UpdateDerivedLabel

func UpdateDerivedLabel(
	ctx context.Context,
	client config_v1.ClientService,
	entity *DerivedLabel,
	opts UpdateOptions,
) (*DerivedLabel, error)

func (*DerivedLabel) Description

func (e *DerivedLabel) Description() string

func (*DerivedLabel) Identifier

func (e *DerivedLabel) Identifier() string

type DerivedLabelListOpts

type DerivedLabelListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	Names       []string
	Slugs       []string
}

type DerivedMetric

type DerivedMetric struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1DerivedMetric `json:"spec"`
}

func CreateDerivedMetric

func CreateDerivedMetric(
	ctx context.Context,
	client config_v1.ClientService,
	entity *DerivedMetric,
	dryRun bool,
) (*DerivedMetric, error)

func GetDerivedMetric

func GetDerivedMetric(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*DerivedMetric, error)

func NewDerivedMetric

func NewDerivedMetric(spec *models.Configv1DerivedMetric) *DerivedMetric

func UpdateDerivedMetric

func UpdateDerivedMetric(
	ctx context.Context,
	client config_v1.ClientService,
	entity *DerivedMetric,
	opts UpdateOptions,
) (*DerivedMetric, error)

func (*DerivedMetric) Description

func (e *DerivedMetric) Description() string

func (*DerivedMetric) Identifier

func (e *DerivedMetric) Identifier() string

type DerivedMetricListOpts

type DerivedMetricListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	Names       []string
	Slugs       []string
}

type DropRule

type DropRule struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1DropRule `json:"spec"`
}

func CreateDropRule

func CreateDropRule(
	ctx context.Context,
	client config_v1.ClientService,
	entity *DropRule,
	dryRun bool,
) (*DropRule, error)

func GetDropRule

func GetDropRule(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*DropRule, error)

func NewDropRule

func NewDropRule(spec *models.Configv1DropRule) *DropRule

func UpdateDropRule

func UpdateDropRule(
	ctx context.Context,
	client config_v1.ClientService,
	entity *DropRule,
	opts UpdateOptions,
) (*DropRule, error)

func (*DropRule) Description

func (e *DropRule) Description() string

func (*DropRule) Identifier

func (e *DropRule) Identifier() string

type DropRuleListOpts

type DropRuleListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	Names       []string
	Slugs       []string
}

type GcpMetricsIntegration added in v1.6.0

type GcpMetricsIntegration struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1GcpMetricsIntegration `json:"spec"`
}

func CreateGcpMetricsIntegration added in v1.6.0

func CreateGcpMetricsIntegration(
	ctx context.Context,
	client config_v1.ClientService,
	entity *GcpMetricsIntegration,
	dryRun bool,
) (*GcpMetricsIntegration, error)

func GetGcpMetricsIntegration added in v1.6.0

func GetGcpMetricsIntegration(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*GcpMetricsIntegration, error)

func NewGcpMetricsIntegration added in v1.6.0

func NewGcpMetricsIntegration(spec *models.Configv1GcpMetricsIntegration) *GcpMetricsIntegration

func UpdateGcpMetricsIntegration added in v1.6.0

func UpdateGcpMetricsIntegration(
	ctx context.Context,
	client config_v1.ClientService,
	entity *GcpMetricsIntegration,
	opts UpdateOptions,
) (*GcpMetricsIntegration, error)

func (*GcpMetricsIntegration) Description added in v1.6.0

func (e *GcpMetricsIntegration) Description() string

func (*GcpMetricsIntegration) Identifier added in v1.6.0

func (e *GcpMetricsIntegration) Identifier() string

type GcpMetricsIntegrationListOpts added in v1.6.0

type GcpMetricsIntegrationListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	Names       []string
	Slugs       []string
}

type GrafanaDashboard

type GrafanaDashboard struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1GrafanaDashboard `json:"spec"`
}

func CreateGrafanaDashboard

func CreateGrafanaDashboard(
	ctx context.Context,
	client config_v1.ClientService,
	entity *GrafanaDashboard,
	dryRun bool,
) (*GrafanaDashboard, error)

func GetGrafanaDashboard

func GetGrafanaDashboard(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*GrafanaDashboard, error)

func UpdateGrafanaDashboard

func UpdateGrafanaDashboard(
	ctx context.Context,
	client config_v1.ClientService,
	entity *GrafanaDashboard,
	opts UpdateOptions,
) (*GrafanaDashboard, error)

func (*GrafanaDashboard) Description

func (e *GrafanaDashboard) Description() string

func (*GrafanaDashboard) Identifier

func (e *GrafanaDashboard) Identifier() string

type GrafanaDashboardListOpts

type GrafanaDashboardListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize          int
	BucketSlugs          []string
	CollectionSlugs      []string
	IncludeDashboardJSON bool
	Names                []string
	Slugs                []string
}

type LogScaleAction added in v1.10.0

type LogScaleAction struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1LogScaleAction `json:"spec"`
}

func CreateLogScaleAction added in v1.10.0

func CreateLogScaleAction(
	ctx context.Context,
	client config_v1.ClientService,
	entity *LogScaleAction,
	dryRun bool,
) (*LogScaleAction, error)

func GetLogScaleAction added in v1.10.0

func GetLogScaleAction(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*LogScaleAction, error)

func NewLogScaleAction added in v1.10.0

func NewLogScaleAction(spec *models.Configv1LogScaleAction) *LogScaleAction

func UpdateLogScaleAction added in v1.10.0

func UpdateLogScaleAction(
	ctx context.Context,
	client config_v1.ClientService,
	entity *LogScaleAction,
	opts UpdateOptions,
) (*LogScaleAction, error)

func (*LogScaleAction) Description added in v1.10.0

func (e *LogScaleAction) Description() string

func (*LogScaleAction) Identifier added in v1.10.0

func (e *LogScaleAction) Identifier() string

type LogScaleActionListOpts added in v1.10.0

type LogScaleActionListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	Names       []string
	Slugs       []string
}

type LogScaleAlert added in v1.10.0

type LogScaleAlert struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1LogScaleAlert `json:"spec"`
}

func CreateLogScaleAlert added in v1.10.0

func CreateLogScaleAlert(
	ctx context.Context,
	client config_v1.ClientService,
	entity *LogScaleAlert,
	dryRun bool,
) (*LogScaleAlert, error)

func GetLogScaleAlert added in v1.10.0

func GetLogScaleAlert(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*LogScaleAlert, error)

func NewLogScaleAlert added in v1.10.0

func NewLogScaleAlert(spec *models.Configv1LogScaleAlert) *LogScaleAlert

func UpdateLogScaleAlert added in v1.10.0

func UpdateLogScaleAlert(
	ctx context.Context,
	client config_v1.ClientService,
	entity *LogScaleAlert,
	opts UpdateOptions,
) (*LogScaleAlert, error)

func (*LogScaleAlert) Description added in v1.10.0

func (e *LogScaleAlert) Description() string

func (*LogScaleAlert) Identifier added in v1.10.0

func (e *LogScaleAlert) Identifier() string

type LogScaleAlertListOpts added in v1.10.0

type LogScaleAlertListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	Names       []string
	Slugs       []string
}

type MappingRule

type MappingRule struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1MappingRule `json:"spec"`
}

func CreateMappingRule

func CreateMappingRule(
	ctx context.Context,
	client config_v1.ClientService,
	entity *MappingRule,
	dryRun bool,
) (*MappingRule, error)

func GetMappingRule

func GetMappingRule(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*MappingRule, error)

func NewMappingRule

func NewMappingRule(spec *models.Configv1MappingRule) *MappingRule

func UpdateMappingRule

func UpdateMappingRule(
	ctx context.Context,
	client config_v1.ClientService,
	entity *MappingRule,
	opts UpdateOptions,
) (*MappingRule, error)

func (*MappingRule) Description

func (e *MappingRule) Description() string

func (*MappingRule) Identifier

func (e *MappingRule) Identifier() string

type MappingRuleListOpts

type MappingRuleListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	BucketSlugs []string
	Names       []string
	Slugs       []string
}

type Monitor

type Monitor struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1Monitor `json:"spec"`
}

func CreateMonitor

func CreateMonitor(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Monitor,
	dryRun bool,
) (*Monitor, error)

func GetMonitor

func GetMonitor(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*Monitor, error)

func NewMonitor

func NewMonitor(spec *models.Configv1Monitor) *Monitor

func UpdateMonitor

func UpdateMonitor(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Monitor,
	opts UpdateOptions,
) (*Monitor, error)

func (*Monitor) Description

func (e *Monitor) Description() string

func (*Monitor) Identifier

func (e *Monitor) Identifier() string

type MonitorListOpts

type MonitorListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize     int
	BucketSlugs     []string
	CollectionSlugs []string
	Names           []string
	Slugs           []string
	TeamSlugs       []string
}

type MutingRule

type MutingRule struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1MutingRule `json:"spec"`
}

func CreateMutingRule

func CreateMutingRule(
	ctx context.Context,
	client config_v1.ClientService,
	entity *MutingRule,
	dryRun bool,
) (*MutingRule, error)

func GetMutingRule

func GetMutingRule(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*MutingRule, error)

func NewMutingRule

func NewMutingRule(spec *models.Configv1MutingRule) *MutingRule

func UpdateMutingRule

func UpdateMutingRule(
	ctx context.Context,
	client config_v1.ClientService,
	entity *MutingRule,
	opts UpdateOptions,
) (*MutingRule, error)

func (*MutingRule) Description

func (e *MutingRule) Description() string

func (*MutingRule) Identifier

func (e *MutingRule) Identifier() string

type MutingRuleListOpts

type MutingRuleListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	Names       []string
	Slugs       []string
	States      []string
}

type NotificationPolicy

type NotificationPolicy struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1NotificationPolicy `json:"spec"`
}

func CreateNotificationPolicy

func CreateNotificationPolicy(
	ctx context.Context,
	client config_v1.ClientService,
	entity *NotificationPolicy,
	dryRun bool,
) (*NotificationPolicy, error)

func GetNotificationPolicy

func GetNotificationPolicy(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*NotificationPolicy, error)

func UpdateNotificationPolicy

func UpdateNotificationPolicy(
	ctx context.Context,
	client config_v1.ClientService,
	entity *NotificationPolicy,
	opts UpdateOptions,
) (*NotificationPolicy, error)

func (*NotificationPolicy) Description

func (e *NotificationPolicy) Description() string

func (*NotificationPolicy) Identifier

func (e *NotificationPolicy) Identifier() string

type NotificationPolicyListOpts

type NotificationPolicyListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	BucketSlugs []string
	Names       []string
	Slugs       []string
	TeamSlugs   []string
}

type Notifier

type Notifier struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1Notifier `json:"spec"`
}

func CreateNotifier

func CreateNotifier(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Notifier,
	dryRun bool,
) (*Notifier, error)

func GetNotifier

func GetNotifier(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*Notifier, error)

func NewNotifier

func NewNotifier(spec *models.Configv1Notifier) *Notifier

func UpdateNotifier

func UpdateNotifier(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Notifier,
	opts UpdateOptions,
) (*Notifier, error)

func (*Notifier) Description

func (e *Notifier) Description() string

func (*Notifier) Identifier

func (e *Notifier) Identifier() string

type NotifierListOpts

type NotifierListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	Names       []string
	Slugs       []string
}

type OtelMetricsIngestion added in v1.9.0

type OtelMetricsIngestion struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1OtelMetricsIngestion `json:"spec"`
}

func CreateOtelMetricsIngestion added in v1.9.0

func CreateOtelMetricsIngestion(
	ctx context.Context,
	client config_v1.ClientService,
	entity *OtelMetricsIngestion,
	dryRun bool,
) (*OtelMetricsIngestion, error)

func GetOtelMetricsIngestion added in v1.9.0

func GetOtelMetricsIngestion(
	ctx context.Context,
	client config_v1.ClientService,
) (*OtelMetricsIngestion, error)

func NewOtelMetricsIngestion added in v1.9.0

func NewOtelMetricsIngestion(spec *models.Configv1OtelMetricsIngestion) *OtelMetricsIngestion

func UpdateOtelMetricsIngestion added in v1.9.0

func UpdateOtelMetricsIngestion(
	ctx context.Context,
	client config_v1.ClientService,
	entity *OtelMetricsIngestion,
	opts UpdateOptions,
) (*OtelMetricsIngestion, error)

func (*OtelMetricsIngestion) Description added in v1.9.0

func (e *OtelMetricsIngestion) Description() string

func (*OtelMetricsIngestion) Identifier added in v1.9.0

func (e *OtelMetricsIngestion) Identifier() string

type RecordingRule

type RecordingRule struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1RecordingRule `json:"spec"`
}

func CreateRecordingRule

func CreateRecordingRule(
	ctx context.Context,
	client config_v1.ClientService,
	entity *RecordingRule,
	dryRun bool,
) (*RecordingRule, error)

func GetRecordingRule

func GetRecordingRule(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*RecordingRule, error)

func NewRecordingRule

func NewRecordingRule(spec *models.Configv1RecordingRule) *RecordingRule

func UpdateRecordingRule

func UpdateRecordingRule(
	ctx context.Context,
	client config_v1.ClientService,
	entity *RecordingRule,
	opts UpdateOptions,
) (*RecordingRule, error)

func (*RecordingRule) Description

func (e *RecordingRule) Description() string

func (*RecordingRule) Identifier

func (e *RecordingRule) Identifier() string

type RecordingRuleListOpts

type RecordingRuleListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize     int
	BucketSlugs     []string
	ExecutionGroups []string
	Names           []string
	Slugs           []string
}

type ResourcePools

type ResourcePools struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1ResourcePools `json:"spec"`
}

func CreateResourcePools

func CreateResourcePools(
	ctx context.Context,
	client config_v1.ClientService,
	entity *ResourcePools,
	dryRun bool,
) (*ResourcePools, error)

func GetResourcePools

func GetResourcePools(
	ctx context.Context,
	client config_v1.ClientService,
) (*ResourcePools, error)

func NewResourcePools

func NewResourcePools(spec *models.Configv1ResourcePools) *ResourcePools

func UpdateResourcePools

func UpdateResourcePools(
	ctx context.Context,
	client config_v1.ClientService,
	entity *ResourcePools,
	opts UpdateOptions,
) (*ResourcePools, error)

func (*ResourcePools) Description

func (e *ResourcePools) Description() string

func (*ResourcePools) Identifier

func (e *ResourcePools) Identifier() string

type RollupRule

type RollupRule struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1RollupRule `json:"spec"`
}

func CreateRollupRule

func CreateRollupRule(
	ctx context.Context,
	client config_v1.ClientService,
	entity *RollupRule,
	dryRun bool,
) (*RollupRule, error)

func GetRollupRule

func GetRollupRule(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*RollupRule, error)

func NewRollupRule

func NewRollupRule(spec *models.Configv1RollupRule) *RollupRule

func UpdateRollupRule

func UpdateRollupRule(
	ctx context.Context,
	client config_v1.ClientService,
	entity *RollupRule,
	opts UpdateOptions,
) (*RollupRule, error)

func (*RollupRule) Description

func (e *RollupRule) Description() string

func (*RollupRule) Identifier

func (e *RollupRule) Identifier() string

type RollupRuleListOpts

type RollupRuleListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	BucketSlugs []string
	Names       []string
	Slugs       []string
}

type ServiceAccount

type ServiceAccount struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1ServiceAccount `json:"spec"`
}

func CreateServiceAccount

func CreateServiceAccount(
	ctx context.Context,
	client config_v1.ClientService,
	entity *ServiceAccount,
	dryRun bool,
) (*ServiceAccount, error)

func GetServiceAccount

func GetServiceAccount(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*ServiceAccount, error)

func NewServiceAccount

func NewServiceAccount(spec *models.Configv1ServiceAccount) *ServiceAccount

func (*ServiceAccount) Description

func (e *ServiceAccount) Description() string

func (*ServiceAccount) Identifier

func (e *ServiceAccount) Identifier() string

type ServiceAccountListOpts

type ServiceAccountListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	Names       []string
	Slugs       []string
}

type Team

type Team struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1Team `json:"spec"`
}

func CreateTeam

func CreateTeam(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Team,
	dryRun bool,
) (*Team, error)

func GetTeam

func GetTeam(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*Team, error)

func NewTeam

func NewTeam(spec *models.Configv1Team) *Team

func UpdateTeam

func UpdateTeam(
	ctx context.Context,
	client config_v1.ClientService,
	entity *Team,
	opts UpdateOptions,
) (*Team, error)

func (*Team) Description

func (e *Team) Description() string

func (*Team) Identifier

func (e *Team) Identifier() string

type TeamListOpts

type TeamListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	Names       []string
	Slugs       []string
}

type TraceBehaviorConfig added in v1.7.0

type TraceBehaviorConfig struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1TraceBehaviorConfig `json:"spec"`
}

func CreateTraceBehaviorConfig added in v1.7.0

func CreateTraceBehaviorConfig(
	ctx context.Context,
	client config_v1.ClientService,
	entity *TraceBehaviorConfig,
	dryRun bool,
) (*TraceBehaviorConfig, error)

func GetTraceBehaviorConfig added in v1.7.0

func GetTraceBehaviorConfig(
	ctx context.Context,
	client config_v1.ClientService,
) (*TraceBehaviorConfig, error)

func NewTraceBehaviorConfig added in v1.7.0

func NewTraceBehaviorConfig(spec *models.Configv1TraceBehaviorConfig) *TraceBehaviorConfig

func UpdateTraceBehaviorConfig added in v1.7.0

func UpdateTraceBehaviorConfig(
	ctx context.Context,
	client config_v1.ClientService,
	entity *TraceBehaviorConfig,
	opts UpdateOptions,
) (*TraceBehaviorConfig, error)

func (*TraceBehaviorConfig) Description added in v1.7.0

func (e *TraceBehaviorConfig) Description() string

func (*TraceBehaviorConfig) Identifier added in v1.7.0

func (e *TraceBehaviorConfig) Identifier() string

type TraceJaegerRemoteSamplingStrategy added in v1.1.0

type TraceJaegerRemoteSamplingStrategy struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1TraceJaegerRemoteSamplingStrategy `json:"spec"`
}

func CreateTraceJaegerRemoteSamplingStrategy added in v1.1.0

func CreateTraceJaegerRemoteSamplingStrategy(
	ctx context.Context,
	client config_v1.ClientService,
	entity *TraceJaegerRemoteSamplingStrategy,
	dryRun bool,
) (*TraceJaegerRemoteSamplingStrategy, error)

func GetTraceJaegerRemoteSamplingStrategy added in v1.1.0

func GetTraceJaegerRemoteSamplingStrategy(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*TraceJaegerRemoteSamplingStrategy, error)

func UpdateTraceJaegerRemoteSamplingStrategy added in v1.1.0

func UpdateTraceJaegerRemoteSamplingStrategy(
	ctx context.Context,
	client config_v1.ClientService,
	entity *TraceJaegerRemoteSamplingStrategy,
	opts UpdateOptions,
) (*TraceJaegerRemoteSamplingStrategy, error)

func (*TraceJaegerRemoteSamplingStrategy) Description added in v1.1.0

func (e *TraceJaegerRemoteSamplingStrategy) Description() string

func (*TraceJaegerRemoteSamplingStrategy) Identifier added in v1.1.0

func (e *TraceJaegerRemoteSamplingStrategy) Identifier() string

type TraceJaegerRemoteSamplingStrategyListOpts added in v1.1.0

type TraceJaegerRemoteSamplingStrategyListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize           int
	NameOrServiceContains string
	Names                 []string
	ServiceNames          []string
	Slugs                 []string
}

type TraceMetricsRule added in v1.1.0

type TraceMetricsRule struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1TraceMetricsRule `json:"spec"`
}

func CreateTraceMetricsRule added in v1.1.0

func CreateTraceMetricsRule(
	ctx context.Context,
	client config_v1.ClientService,
	entity *TraceMetricsRule,
	dryRun bool,
) (*TraceMetricsRule, error)

func GetTraceMetricsRule added in v1.1.0

func GetTraceMetricsRule(
	ctx context.Context,
	client config_v1.ClientService,
	slug string,
) (*TraceMetricsRule, error)

func NewTraceMetricsRule added in v1.1.0

func NewTraceMetricsRule(spec *models.Configv1TraceMetricsRule) *TraceMetricsRule

func UpdateTraceMetricsRule added in v1.1.0

func UpdateTraceMetricsRule(
	ctx context.Context,
	client config_v1.ClientService,
	entity *TraceMetricsRule,
	opts UpdateOptions,
) (*TraceMetricsRule, error)

func (*TraceMetricsRule) Description added in v1.1.0

func (e *TraceMetricsRule) Description() string

func (*TraceMetricsRule) Identifier added in v1.1.0

func (e *TraceMetricsRule) Identifier() string

type TraceMetricsRuleListOpts added in v1.1.0

type TraceMetricsRuleListOpts struct {
	// Limit represents that maximum number of items we wish to return.
	Limit int
	// PageToken is the pagination token we want to start our request at.
	PageToken string
	// PageMaxSize is the maximum page size to use when making List calls.
	PageMaxSize int
	MetricNames []string
	Names       []string
	Slugs       []string
}

type TraceTailSamplingRules added in v1.2.0

type TraceTailSamplingRules struct {
	types.TypeMeta `json:",inline"`
	Spec           *models.Configv1TraceTailSamplingRules `json:"spec"`
}

func CreateTraceTailSamplingRules added in v1.2.0

func CreateTraceTailSamplingRules(
	ctx context.Context,
	client config_v1.ClientService,
	entity *TraceTailSamplingRules,
	dryRun bool,
) (*TraceTailSamplingRules, error)

func GetTraceTailSamplingRules added in v1.2.0

func GetTraceTailSamplingRules(
	ctx context.Context,
	client config_v1.ClientService,
) (*TraceTailSamplingRules, error)

func NewTraceTailSamplingRules added in v1.2.0

func NewTraceTailSamplingRules(spec *models.Configv1TraceTailSamplingRules) *TraceTailSamplingRules

func UpdateTraceTailSamplingRules added in v1.2.0

func UpdateTraceTailSamplingRules(
	ctx context.Context,
	client config_v1.ClientService,
	entity *TraceTailSamplingRules,
	opts UpdateOptions,
) (*TraceTailSamplingRules, error)

func (*TraceTailSamplingRules) Description added in v1.2.0

func (e *TraceTailSamplingRules) Description() string

func (*TraceTailSamplingRules) Identifier added in v1.2.0

func (e *TraceTailSamplingRules) Identifier() string

type UpdateOptions

type UpdateOptions struct {
	DryRun          bool
	CreateIfMissing bool
}

UpdateOptions represents the request level options for update.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL