config

package
v0.0.0-...-2193c2b Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewConfigManager

func NewConfigManager(
	chopClient *chopclientset.Clientset,
	initConfigFilePath string,
) *Manager

NewConfigManager creates new Manager

func (*Manager) Config

func (cm *Manager) Config() *chiv1.Config

Config is an access wrapper

func (*Manager) GetRuntimeParam

func (cm *Manager) GetRuntimeParam(name string) (string, bool)

GetRuntimeParam gets specified runtime param

func (*Manager) Init

func (cm *Manager) Init() error

Init reads config from all sources

func (*Manager) IsConfigListed

func (cm *Manager) IsConfigListed(config *chiv1.ClickHouseOperatorConfiguration) bool

IsConfigListed checks whether specified ClickHouseOperatorConfiguration is listed in list of ClickHouseOperatorConfiguration(s)

Jump to

Keyboard shortcuts

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