Documentation ¶
Index ¶
- type ConfigVarResolver
- func (cvr *ConfigVarResolver) GetConfigVarBoolValue(configVar providerconfigtypes.ConfigVarBool) (bool, error)
- func (cvr *ConfigVarResolver) GetConfigVarBoolValueOrEnv(configVar providerconfigtypes.ConfigVarBool, envVarName string) (bool, error)
- func (cvr *ConfigVarResolver) GetConfigVarStringValue(configVar providerconfigtypes.ConfigVarString) (string, error)
- func (cvr *ConfigVarResolver) GetConfigVarStringValueOrEnv(configVar providerconfigtypes.ConfigVarString, envVarName string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigVarResolver ¶ added in v0.2.0
type ConfigVarResolver struct {
// contains filtered or unexported fields
}
func NewConfigVarResolver ¶ added in v0.2.0
func NewConfigVarResolver(ctx context.Context, client ctrlruntimeclient.Client) *ConfigVarResolver
func (*ConfigVarResolver) GetConfigVarBoolValue ¶ added in v0.2.0
func (cvr *ConfigVarResolver) GetConfigVarBoolValue(configVar providerconfigtypes.ConfigVarBool) (bool, error)
func (*ConfigVarResolver) GetConfigVarBoolValueOrEnv ¶ added in v0.7.12
func (cvr *ConfigVarResolver) GetConfigVarBoolValueOrEnv(configVar providerconfigtypes.ConfigVarBool, envVarName string) (bool, error)
func (*ConfigVarResolver) GetConfigVarStringValue ¶ added in v0.2.0
func (cvr *ConfigVarResolver) GetConfigVarStringValue(configVar providerconfigtypes.ConfigVarString) (string, error)
func (*ConfigVarResolver) GetConfigVarStringValueOrEnv ¶ added in v0.3.0
func (cvr *ConfigVarResolver) GetConfigVarStringValueOrEnv(configVar providerconfigtypes.ConfigVarString, envVarName string) (string, error)
GetConfigVarStringValueOrEnv tries to get the value from ConfigVarString, when it fails, it falls back to getting the value from an environment variable specified by envVarName parameter
Click to show internal directories.
Click to hide internal directories.