config

package
v0.0.0-...-9d91e49 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Service *RbacManagerConfig   `yaml:"rbac-manager,omitempty"`
	Global  *config.GlobalConfig `yaml:"global,omitempty"`
	Storage *config.Storage      `yaml:"storage,omitempty"`
}

func New

func New() *Config

func (*Config) SetEnvVars

func (cfg *Config) SetEnvVars()

type RbacManagerConfig

type RbacManagerConfig struct {
	Name     string
	Enabled  bool                      `yaml:"enabled,omitempty"`
	Service  *RbacManagerServiceConfig `yaml:"service,omitempty"`
	Replicas int                       `yaml:"replicas,omitempty"`
	Smtp     *mail.SmtpClient          `yaml:"smtp,omitempty"`
}

type RbacManagerServiceConfig

type RbacManagerServiceConfig struct {
	Port int `yaml:"port,omitempty"`
}

Jump to

Keyboard shortcuts

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