Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModelDefaultsProvider ¶
func ModelDefaultsProvider( controllerConfig map[string]any, cloudRegionConfig map[string]any, cloudType string, ) service.ModelDefaultsProviderFunc
ModelDefaultsProvider is a bootstrap helper that wraps the raw config values passed in during bootstrap into a model default provider interface to be used when persisting initial model config. Config passed to this func can be nil.
func SetCloudDefaults ¶
func SetCloudDefaults( cloudName string, defaults map[string]any, ) internaldatabase.BootstrapOpt
SetCloudDefaults is responsible for setting a previously inserted cloud's default config values that will be used as part of the default values supplied to a model's config. If no cloud exists for the specified name an error satisfying github.com/juju/juju/domain/cloud/errors.NotFound will be returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.