migration

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package migration handles any migrations needed to maintain compatibility

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAndPerformDefaultGroupMigration

func CheckAndPerformDefaultGroupMigration()

CheckAndPerformDefaultGroupMigration checks if default group migration is needed and performs it This is called once at application startup

func CheckAndPerformTelemetryConfigMigration added in v0.7.0

func CheckAndPerformTelemetryConfigMigration()

CheckAndPerformTelemetryConfigMigration checks if telemetry config migration is needed and performs it. This migration converts telemetry_config.samplingRate from float64 to string in run configs.

Types

type DefaultGroupMigrator

type DefaultGroupMigrator struct {
	// contains filtered or unexported fields
}

DefaultGroupMigrator handles the migration of workloads and clients to the default group

func (*DefaultGroupMigrator) Migrate

func (m *DefaultGroupMigrator) Migrate(ctx context.Context) error

Migrate performs the complete default group migration

Jump to

Keyboard shortcuts

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