Documentation

Overview

    package servicecfg provides service-wide configs.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func GetMigrationConfig

    func GetMigrationConfig(ctx context.Context) (*migrationpb.Settings, error)

      GetMigrationConfig loads typically cached migration config.

      func ImportConfig

      func ImportConfig(ctx context.Context) error

        ImportConfig is called from a cron to import and cache all the configs.

        func SetTestMigrationConfig

        func SetTestMigrationConfig(ctx context.Context, m *migrationpb.Settings) error

          SetTestMigrationConfig is used in tests only.

          Types

          This section is empty.

          Source Files