options

package
v1.21.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseDynamicConfigurationProvider

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

func (*DatabaseDynamicConfigurationProvider) Get

func (*DatabaseDynamicConfigurationProvider) Set

type DynamicConfigurationProviderIface

type DynamicConfigurationProviderIface interface {
	Get(ctx context.Context, opts DynamicOptions) error
	Set(ctx context.Context, opts DynamicOptions) error
}

func NewDatabaseDynamicConfigurationProvider

func NewDatabaseDynamicConfigurationProvider(db *gorm.DB) DynamicConfigurationProviderIface

type DynamicOptions

type DynamicOptions interface {
	Name() string
	Validate() error
}

type Options

type Options struct {
	System       *system.Options                   `json:"system,omitempty"`
	Appstore     *helm.Options                     `json:"appstore,omitempty"`
	Argo         *argo.Options                     `json:"argo,omitempty"`
	DebugMode    bool                              `json:"debugMode,omitempty"`
	Exporter     *prometheus.ExporterOptions       `json:"exporter,omitempty"`
	Git          *git.Options                      `json:"git,omitempty"`
	JWT          *jwt.Options                      `json:"jwt,omitempty"`
	LogLevel     string                            `json:"logLevel,omitempty"`
	Msgbus       *msgbus.Options                   `json:"msgbus,omitempty"`
	Mysql        *database.Options                 `json:"mysql,omitempty"`
	Redis        *redis.Options                    `json:"redis,omitempty"`
	Microservice *microservice.MicroserviceOptions `json:"microservice,omitempty"`
}

func DefaultOptions

func DefaultOptions() *Options

Jump to

Keyboard shortcuts

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