Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
State is responsible for accessing the controller/model DB to retrieve the controller/model config keys required for the container config.
func NewState ¶
func NewState(modelFactory database.TxnRunnerFactory) *State
NewState creates a new State object.
func (*State) GetModelConfigKeyValues ¶
func (s *State) GetModelConfigKeyValues( ctx context.Context, keys ...string, ) (map[string]string, error)
GetModelConfigKeyValues returns the values of the specified model config keys from the model database. If a key cannot be found in model config, it will be omitted from the result. If no keys are specified, then this method returns an empty map.
Click to show internal directories.
Click to hide internal directories.