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
- Variables
- func AddCommandsTo(root *cobra.Command)
- func ApplyMappings() ...
- func DeleteBucket(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteClassicDashboard(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteCollection(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteDashboard(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteDataset(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteDerivedLabel(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteDerivedMetric(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteDropRule(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteGcpMetricsIntegration(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteGrafanaDashboard(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteLogScaleAction(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteLogScaleAlert(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteMappingRule(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteMonitor(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteMutingRule(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteNotificationPolicy(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteNotifier(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteOtelMetricsIngestion(ctx context.Context, client config_v1.ClientService) error
- func DeleteRecordingRule(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteResourcePools(ctx context.Context, client config_v1.ClientService) error
- func DeleteRollupRule(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteServiceAccount(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteTeam(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteTraceBehaviorConfig(ctx context.Context, client config_v1.ClientService) error
- func DeleteTraceJaegerRemoteSamplingStrategy(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteTraceMetricsRule(ctx context.Context, client config_v1.ClientService, slug string) error
- func DeleteTraceTailSamplingRules(ctx context.Context, client config_v1.ClientService) error
- func ListBuckets(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListClassicDashboards(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListCollections(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListDashboards(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListDatasets(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListDerivedLabels(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListDerivedMetrics(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListDropRules(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListGcpMetricsIntegrations(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListGrafanaDashboards(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListLogScaleActions(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListLogScaleAlerts(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListMappingRules(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListMonitors(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListMutingRules(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListNotificationPolicies(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListNotifiers(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListRecordingRules(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListRollupRules(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListServiceAccounts(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListTeams(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListTraceJaegerRemoteSamplingStrategies(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func ListTraceMetricsRules(ctx context.Context, client config_v1.ClientService, ...) (pagination.Token, error)
- func NewBucketCmd() *cobra.Command
- func NewClassicDashboardCmd() *cobra.Command
- func NewCollectionCmd() *cobra.Command
- func NewDashboardCmd() *cobra.Command
- func NewDatasetCmd() *cobra.Command
- func NewDerivedLabelCmd() *cobra.Command
- func NewDerivedMetricCmd() *cobra.Command
- func NewDropRuleCmd() *cobra.Command
- func NewGcpMetricsIntegrationCmd() *cobra.Command
- func NewGrafanaDashboardCmd() *cobra.Command
- func NewLogScaleActionCmd() *cobra.Command
- func NewLogScaleAlertCmd() *cobra.Command
- func NewMappingRuleCmd() *cobra.Command
- func NewMonitorCmd() *cobra.Command
- func NewMutingRuleCmd() *cobra.Command
- func NewNotificationPolicyCmd() *cobra.Command
- func NewNotifierCmd() *cobra.Command
- func NewOtelMetricsIngestionCmd() *cobra.Command
- func NewRecordingRuleCmd() *cobra.Command
- func NewResourcePoolsCmd() *cobra.Command
- func NewRollupRuleCmd() *cobra.Command
- func NewServiceAccountCmd() *cobra.Command
- func NewTeamCmd() *cobra.Command
- func NewTraceBehaviorConfigCmd() *cobra.Command
- func NewTraceJaegerRemoteSamplingStrategyCmd() *cobra.Command
- func NewTraceMetricsRuleCmd() *cobra.Command
- func NewTraceTailSamplingRulesCmd() *cobra.Command
- type Bucket
- func CreateBucket(ctx context.Context, client config_v1.ClientService, entity *Bucket, ...) (*Bucket, error)
- func GetBucket(ctx context.Context, client config_v1.ClientService, slug string) (*Bucket, error)
- func NewBucket(spec *models.Configv1Bucket) *Bucket
- func UpdateBucket(ctx context.Context, client config_v1.ClientService, entity *Bucket, ...) (*Bucket, error)
- type BucketListOpts
- type ClassicDashboard
- func CreateClassicDashboard(ctx context.Context, client config_v1.ClientService, entity *ClassicDashboard, ...) (*ClassicDashboard, error)
- func GetClassicDashboard(ctx context.Context, client config_v1.ClientService, slug string) (*ClassicDashboard, error)
- func NewClassicDashboard(spec *models.Configv1GrafanaDashboard) *ClassicDashboard
- func UpdateClassicDashboard(ctx context.Context, client config_v1.ClientService, entity *ClassicDashboard, ...) (*ClassicDashboard, error)
- type ClassicDashboardListOpts
- type Collection
- func CreateCollection(ctx context.Context, client config_v1.ClientService, entity *Collection, ...) (*Collection, error)
- func GetCollection(ctx context.Context, client config_v1.ClientService, slug string) (*Collection, error)
- func NewCollection(spec *models.Configv1Collection) *Collection
- func UpdateCollection(ctx context.Context, client config_v1.ClientService, entity *Collection, ...) (*Collection, error)
- type CollectionListOpts
- type Dashboard
- func CreateDashboard(ctx context.Context, client config_v1.ClientService, entity *Dashboard, ...) (*Dashboard, error)
- func GetDashboard(ctx context.Context, client config_v1.ClientService, slug string) (*Dashboard, error)
- func NewDashboard(spec *models.Configv1Dashboard) *Dashboard
- func UpdateDashboard(ctx context.Context, client config_v1.ClientService, entity *Dashboard, ...) (*Dashboard, error)
- type DashboardListOpts
- type Dataset
- func CreateDataset(ctx context.Context, client config_v1.ClientService, entity *Dataset, ...) (*Dataset, error)
- func GetDataset(ctx context.Context, client config_v1.ClientService, slug string) (*Dataset, error)
- func NewDataset(spec *models.Configv1Dataset) *Dataset
- func UpdateDataset(ctx context.Context, client config_v1.ClientService, entity *Dataset, ...) (*Dataset, error)
- type DatasetListOpts
- type DerivedLabel
- func CreateDerivedLabel(ctx context.Context, client config_v1.ClientService, entity *DerivedLabel, ...) (*DerivedLabel, error)
- func GetDerivedLabel(ctx context.Context, client config_v1.ClientService, slug string) (*DerivedLabel, error)
- func NewDerivedLabel(spec *models.Configv1DerivedLabel) *DerivedLabel
- func UpdateDerivedLabel(ctx context.Context, client config_v1.ClientService, entity *DerivedLabel, ...) (*DerivedLabel, error)
- type DerivedLabelListOpts
- type DerivedMetric
- func CreateDerivedMetric(ctx context.Context, client config_v1.ClientService, entity *DerivedMetric, ...) (*DerivedMetric, error)
- func GetDerivedMetric(ctx context.Context, client config_v1.ClientService, slug string) (*DerivedMetric, error)
- func NewDerivedMetric(spec *models.Configv1DerivedMetric) *DerivedMetric
- func UpdateDerivedMetric(ctx context.Context, client config_v1.ClientService, entity *DerivedMetric, ...) (*DerivedMetric, error)
- type DerivedMetricListOpts
- type DropRule
- func CreateDropRule(ctx context.Context, client config_v1.ClientService, entity *DropRule, ...) (*DropRule, error)
- func GetDropRule(ctx context.Context, client config_v1.ClientService, slug string) (*DropRule, error)
- func NewDropRule(spec *models.Configv1DropRule) *DropRule
- func UpdateDropRule(ctx context.Context, client config_v1.ClientService, entity *DropRule, ...) (*DropRule, error)
- type DropRuleListOpts
- type GcpMetricsIntegration
- func CreateGcpMetricsIntegration(ctx context.Context, client config_v1.ClientService, ...) (*GcpMetricsIntegration, error)
- func GetGcpMetricsIntegration(ctx context.Context, client config_v1.ClientService, slug string) (*GcpMetricsIntegration, error)
- func NewGcpMetricsIntegration(spec *models.Configv1GcpMetricsIntegration) *GcpMetricsIntegration
- func UpdateGcpMetricsIntegration(ctx context.Context, client config_v1.ClientService, ...) (*GcpMetricsIntegration, error)
- type GcpMetricsIntegrationListOpts
- type GrafanaDashboard
- func CreateGrafanaDashboard(ctx context.Context, client config_v1.ClientService, entity *GrafanaDashboard, ...) (*GrafanaDashboard, error)
- func GetGrafanaDashboard(ctx context.Context, client config_v1.ClientService, slug string) (*GrafanaDashboard, error)
- func NewGrafanaDashboard(spec *models.Configv1GrafanaDashboard) *GrafanaDashboard
- func UpdateGrafanaDashboard(ctx context.Context, client config_v1.ClientService, entity *GrafanaDashboard, ...) (*GrafanaDashboard, error)
- type GrafanaDashboardListOpts
- type LogScaleAction
- func CreateLogScaleAction(ctx context.Context, client config_v1.ClientService, entity *LogScaleAction, ...) (*LogScaleAction, error)
- func GetLogScaleAction(ctx context.Context, client config_v1.ClientService, slug string) (*LogScaleAction, error)
- func NewLogScaleAction(spec *models.Configv1LogScaleAction) *LogScaleAction
- func UpdateLogScaleAction(ctx context.Context, client config_v1.ClientService, entity *LogScaleAction, ...) (*LogScaleAction, error)
- type LogScaleActionListOpts
- type LogScaleAlert
- func CreateLogScaleAlert(ctx context.Context, client config_v1.ClientService, entity *LogScaleAlert, ...) (*LogScaleAlert, error)
- func GetLogScaleAlert(ctx context.Context, client config_v1.ClientService, slug string) (*LogScaleAlert, error)
- func NewLogScaleAlert(spec *models.Configv1LogScaleAlert) *LogScaleAlert
- func UpdateLogScaleAlert(ctx context.Context, client config_v1.ClientService, entity *LogScaleAlert, ...) (*LogScaleAlert, error)
- type LogScaleAlertListOpts
- type MappingRule
- func CreateMappingRule(ctx context.Context, client config_v1.ClientService, entity *MappingRule, ...) (*MappingRule, error)
- func GetMappingRule(ctx context.Context, client config_v1.ClientService, slug string) (*MappingRule, error)
- func NewMappingRule(spec *models.Configv1MappingRule) *MappingRule
- func UpdateMappingRule(ctx context.Context, client config_v1.ClientService, entity *MappingRule, ...) (*MappingRule, error)
- type MappingRuleListOpts
- type Monitor
- func CreateMonitor(ctx context.Context, client config_v1.ClientService, entity *Monitor, ...) (*Monitor, error)
- func GetMonitor(ctx context.Context, client config_v1.ClientService, slug string) (*Monitor, error)
- func NewMonitor(spec *models.Configv1Monitor) *Monitor
- func UpdateMonitor(ctx context.Context, client config_v1.ClientService, entity *Monitor, ...) (*Monitor, error)
- type MonitorListOpts
- type MutingRule
- func CreateMutingRule(ctx context.Context, client config_v1.ClientService, entity *MutingRule, ...) (*MutingRule, error)
- func GetMutingRule(ctx context.Context, client config_v1.ClientService, slug string) (*MutingRule, error)
- func NewMutingRule(spec *models.Configv1MutingRule) *MutingRule
- func UpdateMutingRule(ctx context.Context, client config_v1.ClientService, entity *MutingRule, ...) (*MutingRule, error)
- type MutingRuleListOpts
- type NotificationPolicy
- func CreateNotificationPolicy(ctx context.Context, client config_v1.ClientService, ...) (*NotificationPolicy, error)
- func GetNotificationPolicy(ctx context.Context, client config_v1.ClientService, slug string) (*NotificationPolicy, error)
- func NewNotificationPolicy(spec *models.Configv1NotificationPolicy) *NotificationPolicy
- func UpdateNotificationPolicy(ctx context.Context, client config_v1.ClientService, ...) (*NotificationPolicy, error)
- type NotificationPolicyListOpts
- type Notifier
- func CreateNotifier(ctx context.Context, client config_v1.ClientService, entity *Notifier, ...) (*Notifier, error)
- func GetNotifier(ctx context.Context, client config_v1.ClientService, slug string) (*Notifier, error)
- func NewNotifier(spec *models.Configv1Notifier) *Notifier
- func UpdateNotifier(ctx context.Context, client config_v1.ClientService, entity *Notifier, ...) (*Notifier, error)
- type NotifierListOpts
- type OtelMetricsIngestion
- func CreateOtelMetricsIngestion(ctx context.Context, client config_v1.ClientService, ...) (*OtelMetricsIngestion, error)
- func GetOtelMetricsIngestion(ctx context.Context, client config_v1.ClientService) (*OtelMetricsIngestion, error)
- func NewOtelMetricsIngestion(spec *models.Configv1OtelMetricsIngestion) *OtelMetricsIngestion
- func UpdateOtelMetricsIngestion(ctx context.Context, client config_v1.ClientService, ...) (*OtelMetricsIngestion, error)
- type RecordingRule
- func CreateRecordingRule(ctx context.Context, client config_v1.ClientService, entity *RecordingRule, ...) (*RecordingRule, error)
- func GetRecordingRule(ctx context.Context, client config_v1.ClientService, slug string) (*RecordingRule, error)
- func NewRecordingRule(spec *models.Configv1RecordingRule) *RecordingRule
- func UpdateRecordingRule(ctx context.Context, client config_v1.ClientService, entity *RecordingRule, ...) (*RecordingRule, error)
- type RecordingRuleListOpts
- type ResourcePools
- func CreateResourcePools(ctx context.Context, client config_v1.ClientService, entity *ResourcePools, ...) (*ResourcePools, error)
- func GetResourcePools(ctx context.Context, client config_v1.ClientService) (*ResourcePools, error)
- func NewResourcePools(spec *models.Configv1ResourcePools) *ResourcePools
- func UpdateResourcePools(ctx context.Context, client config_v1.ClientService, entity *ResourcePools, ...) (*ResourcePools, error)
- type RollupRule
- func CreateRollupRule(ctx context.Context, client config_v1.ClientService, entity *RollupRule, ...) (*RollupRule, error)
- func GetRollupRule(ctx context.Context, client config_v1.ClientService, slug string) (*RollupRule, error)
- func NewRollupRule(spec *models.Configv1RollupRule) *RollupRule
- func UpdateRollupRule(ctx context.Context, client config_v1.ClientService, entity *RollupRule, ...) (*RollupRule, error)
- type RollupRuleListOpts
- type ServiceAccount
- func CreateServiceAccount(ctx context.Context, client config_v1.ClientService, entity *ServiceAccount, ...) (*ServiceAccount, error)
- func GetServiceAccount(ctx context.Context, client config_v1.ClientService, slug string) (*ServiceAccount, error)
- func NewServiceAccount(spec *models.Configv1ServiceAccount) *ServiceAccount
- type ServiceAccountListOpts
- type Team
- func CreateTeam(ctx context.Context, client config_v1.ClientService, entity *Team, dryRun bool) (*Team, error)
- func GetTeam(ctx context.Context, client config_v1.ClientService, slug string) (*Team, error)
- func NewTeam(spec *models.Configv1Team) *Team
- func UpdateTeam(ctx context.Context, client config_v1.ClientService, entity *Team, ...) (*Team, error)
- type TeamListOpts
- type TraceBehaviorConfig
- func CreateTraceBehaviorConfig(ctx context.Context, client config_v1.ClientService, ...) (*TraceBehaviorConfig, error)
- func GetTraceBehaviorConfig(ctx context.Context, client config_v1.ClientService) (*TraceBehaviorConfig, error)
- func NewTraceBehaviorConfig(spec *models.Configv1TraceBehaviorConfig) *TraceBehaviorConfig
- func UpdateTraceBehaviorConfig(ctx context.Context, client config_v1.ClientService, ...) (*TraceBehaviorConfig, error)
- type TraceJaegerRemoteSamplingStrategy
- func CreateTraceJaegerRemoteSamplingStrategy(ctx context.Context, client config_v1.ClientService, ...) (*TraceJaegerRemoteSamplingStrategy, error)
- func GetTraceJaegerRemoteSamplingStrategy(ctx context.Context, client config_v1.ClientService, slug string) (*TraceJaegerRemoteSamplingStrategy, error)
- func NewTraceJaegerRemoteSamplingStrategy(spec *models.Configv1TraceJaegerRemoteSamplingStrategy) *TraceJaegerRemoteSamplingStrategy
- func UpdateTraceJaegerRemoteSamplingStrategy(ctx context.Context, client config_v1.ClientService, ...) (*TraceJaegerRemoteSamplingStrategy, error)
- type TraceJaegerRemoteSamplingStrategyListOpts
- type TraceMetricsRule
- func CreateTraceMetricsRule(ctx context.Context, client config_v1.ClientService, entity *TraceMetricsRule, ...) (*TraceMetricsRule, error)
- func GetTraceMetricsRule(ctx context.Context, client config_v1.ClientService, slug string) (*TraceMetricsRule, error)
- func NewTraceMetricsRule(spec *models.Configv1TraceMetricsRule) *TraceMetricsRule
- func UpdateTraceMetricsRule(ctx context.Context, client config_v1.ClientService, entity *TraceMetricsRule, ...) (*TraceMetricsRule, error)
- type TraceMetricsRuleListOpts
- type TraceTailSamplingRules
- func CreateTraceTailSamplingRules(ctx context.Context, client config_v1.ClientService, ...) (*TraceTailSamplingRules, error)
- func GetTraceTailSamplingRules(ctx context.Context, client config_v1.ClientService) (*TraceTailSamplingRules, error)
- func NewTraceTailSamplingRules(spec *models.Configv1TraceTailSamplingRules) *TraceTailSamplingRules
- func UpdateTraceTailSamplingRules(ctx context.Context, client config_v1.ClientService, ...) (*TraceTailSamplingRules, error)
- type UpdateOptions
Constants ¶
const BucketScaffoldYAML = `` /* 951-byte string literal not displayed */
const ClassicDashboardScaffoldYAML = `` /* 839-byte string literal not displayed */
const CollectionScaffoldYAML = `` /* 833-byte string literal not displayed */
const DashboardScaffoldYAML = `` /* 676-byte string literal not displayed */
const DatasetScaffoldYAML = `` /* 5382-byte string literal not displayed */
const DerivedLabelScaffoldYAML = `` /* 3021-byte string literal not displayed */
const DerivedMetricScaffoldYAML = `` /* 1706-byte string literal not displayed */
const DropRuleScaffoldYAML = `` /* 1321-byte string literal not displayed */
const GcpMetricsIntegrationScaffoldYAML = `` /* 769-byte string literal not displayed */
const GrafanaDashboardScaffoldYAML = `` /* 839-byte string literal not displayed */
const LogScaleActionScaffoldYAML = `` /* 3615-byte string literal not displayed */
const LogScaleAlertScaffoldYAML = `` /* 1352-byte string literal not displayed */
const MappingRuleScaffoldYAML = `` /* 1684-byte string literal not displayed */
const MonitorScaffoldYAML = `` /* 10120-byte string literal not displayed */
const MutingRuleScaffoldYAML = `` /* 1148-byte string literal not displayed */
const NotificationPolicyScaffoldYAML = `` /* 3886-byte string literal not displayed */
const NotifierScaffoldYAML = `` /* 7864-byte string literal not displayed */
const OtelMetricsIngestionScaffoldYAML = `` /* 630-byte string literal not displayed */
const RecordingRuleScaffoldYAML = `` /* 1221-byte string literal not displayed */
const ResourcePoolsScaffoldYAML = `` /* 4815-byte string literal not displayed */
const RollupRuleScaffoldYAML = `` /* 3318-byte string literal not displayed */
const ServiceAccountScaffoldYAML = `` /* 936-byte string literal not displayed */
const TeamScaffoldYAML = `` /* 485-byte string literal not displayed */
const TraceBehaviorConfigScaffoldYAML = `` /* 3653-byte string literal not displayed */
const TraceJaegerRemoteSamplingStrategyScaffoldYAML = `` /* 1972-byte string literal not displayed */
const TraceMetricsRuleScaffoldYAML = `` /* 5214-byte string literal not displayed */
const TraceTailSamplingRulesScaffoldYAML = `` /* 5310-byte string literal not displayed */
Variables ¶
var BucketTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "Bucket",
}
var ClassicDashboardTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "ClassicDashboard",
}
var CollectionTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "Collection",
}
var DashboardTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "Dashboard",
}
var DatasetTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "Dataset",
}
var DerivedLabelTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "DerivedLabel",
}
var DerivedMetricTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "DerivedMetric",
}
var DropRuleTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "DropRule",
}
var GcpMetricsIntegrationTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "GcpMetricsIntegration",
}
var GrafanaDashboardTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "GrafanaDashboard",
}
var LogScaleActionTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "LogScaleAction",
}
var LogScaleAlertTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "LogScaleAlert",
}
var MappingRuleTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "MappingRule",
}
var MonitorTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "Monitor",
}
var MutingRuleTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "MutingRule",
}
var NotificationPolicyTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "NotificationPolicy",
}
var NotifierTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "Notifier",
}
var OtelMetricsIngestionTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "OtelMetricsIngestion",
}
var RecordingRuleTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "RecordingRule",
}
var ResourcePoolsTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "ResourcePools",
}
var RollupRuleTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "RollupRule",
}
var ServiceAccountTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "ServiceAccount",
}
var TeamTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "Team",
}
var TraceBehaviorConfigTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "TraceBehaviorConfig",
}
var TraceJaegerRemoteSamplingStrategyTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "TraceJaegerRemoteSamplingStrategy",
}
var TraceMetricsRuleTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "TraceMetricsRule",
}
var TraceTailSamplingRulesTypeMeta = types.TypeMeta{
APIVersion: "v1/config",
Kind: "TraceTailSamplingRules",
}
Functions ¶
func AddCommandsTo ¶
AddCommandsTo adds all entity subcommands to the given root command.
func ApplyMappings ¶
func DeleteBucket ¶
func DeleteClassicDashboard ¶
func DeleteCollection ¶
func DeleteDashboard ¶
func DeleteDataset ¶ added in v1.6.0
func DeleteDerivedLabel ¶
func DeleteDerivedMetric ¶
func DeleteDropRule ¶
func DeleteGcpMetricsIntegration ¶ added in v1.6.0
func DeleteGrafanaDashboard ¶
func DeleteLogScaleAction ¶ added in v1.10.0
func DeleteLogScaleAlert ¶ added in v1.10.0
func DeleteMappingRule ¶
func DeleteMonitor ¶
func DeleteMutingRule ¶
func DeleteNotifier ¶
func DeleteOtelMetricsIngestion ¶ added in v1.9.0
func DeleteOtelMetricsIngestion( ctx context.Context, client config_v1.ClientService, ) error
func DeleteRecordingRule ¶
func DeleteResourcePools ¶
func DeleteResourcePools( ctx context.Context, client config_v1.ClientService, ) error
func DeleteRollupRule ¶
func DeleteServiceAccount ¶
func DeleteTeam ¶
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 DeleteTraceMetricsRule ¶ added in v1.1.0
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 ListClassicDashboards ¶
func ListClassicDashboards( ctx context.Context, client config_v1.ClientService, streamer output.Streamer[*ClassicDashboard], opts ClassicDashboardListOpts, ) (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 ListDerivedLabels ¶
func ListDerivedLabels( ctx context.Context, client config_v1.ClientService, streamer output.Streamer[*DerivedLabel], opts DerivedLabelListOpts, ) (pagination.Token, error)
func ListDerivedMetrics ¶
func ListDerivedMetrics( ctx context.Context, client config_v1.ClientService, streamer output.Streamer[*DerivedMetric], opts DerivedMetricListOpts, ) (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 ListGrafanaDashboards ¶
func ListGrafanaDashboards( ctx context.Context, client config_v1.ClientService, streamer output.Streamer[*GrafanaDashboard], opts GrafanaDashboardListOpts, ) (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 ListMappingRules ¶
func ListMappingRules( ctx context.Context, client config_v1.ClientService, streamer output.Streamer[*MappingRule], opts MappingRuleListOpts, ) (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 ListNotificationPolicies ¶
func ListNotificationPolicies( ctx context.Context, client config_v1.ClientService, streamer output.Streamer[*NotificationPolicy], opts NotificationPolicyListOpts, ) (pagination.Token, error)
func ListNotifiers ¶
func ListNotifiers( ctx context.Context, client config_v1.ClientService, streamer output.Streamer[*Notifier], opts NotifierListOpts, ) (pagination.Token, error)
func ListRecordingRules ¶
func ListRecordingRules( ctx context.Context, client config_v1.ClientService, streamer output.Streamer[*RecordingRule], opts RecordingRuleListOpts, ) (pagination.Token, error)
func ListRollupRules ¶
func ListRollupRules( ctx context.Context, client config_v1.ClientService, streamer output.Streamer[*RollupRule], opts RollupRuleListOpts, ) (pagination.Token, error)
func ListServiceAccounts ¶
func ListServiceAccounts( ctx context.Context, client config_v1.ClientService, streamer output.Streamer[*ServiceAccount], opts ServiceAccountListOpts, ) (pagination.Token, error)
func ListTeams ¶
func ListTeams( ctx context.Context, client config_v1.ClientService, streamer output.Streamer[*Team], opts TeamListOpts, ) (pagination.Token, error)
func ListTraceJaegerRemoteSamplingStrategies ¶ added in v1.1.0
func ListTraceJaegerRemoteSamplingStrategies( ctx context.Context, client config_v1.ClientService, streamer output.Streamer[*TraceJaegerRemoteSamplingStrategy], opts TraceJaegerRemoteSamplingStrategyListOpts, ) (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 NewClassicDashboardCmd ¶
func NewCollectionCmd ¶
func NewDashboardCmd ¶
func NewDatasetCmd ¶ added in v1.6.0
func NewDerivedLabelCmd ¶
func NewDerivedMetricCmd ¶
func NewDropRuleCmd ¶
func NewGcpMetricsIntegrationCmd ¶ added in v1.6.0
func NewGrafanaDashboardCmd ¶
func NewLogScaleActionCmd ¶ added in v1.10.0
func NewLogScaleAlertCmd ¶ added in v1.10.0
func NewMappingRuleCmd ¶
func NewMonitorCmd ¶
func NewMutingRuleCmd ¶
func NewNotifierCmd ¶
func NewOtelMetricsIngestionCmd ¶ added in v1.9.0
func NewRecordingRuleCmd ¶
func NewResourcePoolsCmd ¶
func NewRollupRuleCmd ¶
func NewServiceAccountCmd ¶
func NewTeamCmd ¶
func NewTraceBehaviorConfigCmd ¶ added in v1.7.0
func NewTraceJaegerRemoteSamplingStrategyCmd ¶ added in v1.1.0
func NewTraceMetricsRuleCmd ¶ added in v1.1.0
func NewTraceTailSamplingRulesCmd ¶ added in v1.2.0
Types ¶
type Bucket ¶
type Bucket struct { types.TypeMeta `json:",inline"` Spec *models.Configv1Bucket `json:"spec"` }
func CreateBucket ¶
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 (*Bucket) Identifier ¶
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 NewClassicDashboard ¶
func NewClassicDashboard(spec *models.Configv1GrafanaDashboard) *ClassicDashboard
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 GetDashboard ¶
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 (*Dashboard) Identifier ¶
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 GetDataset ¶ added in v1.6.0
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 (*Dataset) Identifier ¶ added in v1.6.0
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 GetDropRule ¶
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 (*DropRule) Identifier ¶
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 NewGrafanaDashboard ¶
func NewGrafanaDashboard(spec *models.Configv1GrafanaDashboard) *GrafanaDashboard
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 GetMonitor ¶
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 (*Monitor) Identifier ¶
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 NewNotificationPolicy ¶
func NewNotificationPolicy(spec *models.Configv1NotificationPolicy) *NotificationPolicy
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 GetNotifier ¶
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 (*Notifier) Identifier ¶
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 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 (*Team) Identifier ¶
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 NewTraceJaegerRemoteSamplingStrategy ¶ added in v1.1.0
func NewTraceJaegerRemoteSamplingStrategy(spec *models.Configv1TraceJaegerRemoteSamplingStrategy) *TraceJaegerRemoteSamplingStrategy
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 ¶
UpdateOptions represents the request level options for update.
Source Files ¶
- buckets.gen.go
- classic_dashboards.gen.go
- cli.gen.go
- collections.gen.go
- dashboards.gen.go
- datasets.gen.go
- derived_labels.gen.go
- derived_metrics.gen.go
- drop_rules.gen.go
- gcp_metrics_integrations.gen.go
- grafana_dashboards.gen.go
- log_scale_actions.gen.go
- log_scale_alerts.gen.go
- mapping_rules.gen.go
- monitors.gen.go
- muting_rules.gen.go
- notification_policies.gen.go
- notifiers.gen.go
- otel_metrics_ingestion.gen.go
- recording_rules.gen.go
- resource_pools.gen.go
- rollup_rules.gen.go
- service_accounts.gen.go
- teams.gen.go
- trace_behavior_config.gen.go
- trace_jaeger_remote_sampling_strategies.gen.go
- trace_metrics_rules.gen.go
- trace_tail_sampling_rules.gen.go