Documentation
¶
Index ¶
- func ApplyRequestedRuntimeIdentity(ctx context.Context) error
- func CleanupUnknownSettings(ctx context.Context, settingsMgr SettingsPruner)
- func EnsureEncryptionKey(ctx context.Context, cfg *RuntimeConfig, ...)
- func InitializeAutoLogin(ctx context.Context, cfg *RuntimeConfig)
- func InitializeDefaultSettings(ctx context.Context, cfg *RuntimeConfig, settingsMgr SettingsManager)
- func InitializeNonAgentFeatures(ctx context.Context, cfg *RuntimeConfig, ...)
- func LoadAgentToken(ctx context.Context, cfg *RuntimeConfig, ...)
- func MigrateGitOpsSyncIntervals(ctx context.Context, ...)
- func MigrateSchedulerCronValues(ctx context.Context, ...)
- func TestDockerConnection(ctx context.Context, testFunc func(context.Context) error)
- type IntervalMigrationItem
- type RuntimeConfig
- type SettingsManager
- type SettingsPruner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyRequestedRuntimeIdentity ¶
ApplyRequestedRuntimeIdentity switches the current process to the configured runtime UID/GID before the rest of the app initializes.
func CleanupUnknownSettings ¶
func CleanupUnknownSettings(ctx context.Context, settingsMgr SettingsPruner)
func EnsureEncryptionKey ¶
func InitializeAutoLogin ¶
func InitializeAutoLogin(ctx context.Context, cfg *RuntimeConfig)
func InitializeDefaultSettings ¶
func InitializeDefaultSettings(ctx context.Context, cfg *RuntimeConfig, settingsMgr SettingsManager)
func InitializeNonAgentFeatures ¶
func InitializeNonAgentFeatures( ctx context.Context, cfg *RuntimeConfig, createAdminFunc func(context.Context) error, reconcileDefaultAdminAPIKeyFunc func(context.Context) error, autoLoginInitFunc func(context.Context) error, migrateOidcFunc func(context.Context) error, migrateDiscordFunc func(context.Context) error, )
func LoadAgentToken ¶
Types ¶
type IntervalMigrationItem ¶
type RuntimeConfig ¶
type SettingsManager ¶
type SettingsPruner ¶
Click to show internal directories.
Click to hide internal directories.