Documentation
¶
Index ¶
- func Get(ctx *pulumi.Context, key string) string
- func GetBool(ctx *pulumi.Context, key string) bool
- func GetFloat32(ctx *pulumi.Context, key string) float32
- func GetFloat64(ctx *pulumi.Context, key string) float64
- func GetInt(ctx *pulumi.Context, key string) int
- func GetInt16(ctx *pulumi.Context, key string) int16
- func GetInt32(ctx *pulumi.Context, key string) int32
- func GetInt64(ctx *pulumi.Context, key string) int64
- func GetInt8(ctx *pulumi.Context, key string) int8
- func GetObject(ctx *pulumi.Context, key string, output interface{}) error
- func GetSecret(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretBool(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretFloat32(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretFloat64(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretInt(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretInt16(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretInt32(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretInt64(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretInt8(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretObject(ctx *pulumi.Context, key string, output interface{}) (pulumi.Output, error)
- func GetSecretUint(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretUint16(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretUint32(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretUint64(ctx *pulumi.Context, key string) pulumi.Output
- func GetSecretUint8(ctx *pulumi.Context, key string) pulumi.Output
- func GetUint(ctx *pulumi.Context, key string) uint
- func GetUint16(ctx *pulumi.Context, key string) uint16
- func GetUint32(ctx *pulumi.Context, key string) uint32
- func GetUint64(ctx *pulumi.Context, key string) uint64
- func GetUint8(ctx *pulumi.Context, key string) uint8
- func Require(ctx *pulumi.Context, key string) string
- func RequireBool(ctx *pulumi.Context, key string) bool
- func RequireFloat32(ctx *pulumi.Context, key string) float32
- func RequireFloat64(ctx *pulumi.Context, key string) float64
- func RequireInt(ctx *pulumi.Context, key string) int
- func RequireInt16(ctx *pulumi.Context, key string) int16
- func RequireInt32(ctx *pulumi.Context, key string) int32
- func RequireInt64(ctx *pulumi.Context, key string) int64
- func RequireInt8(ctx *pulumi.Context, key string) int8
- func RequireObject(ctx *pulumi.Context, key string, output interface{})
- func RequireSecret(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretBool(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretFloat32(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretFloat64(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretInt(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretInt16(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretInt32(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretInt64(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretInt8(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretObject(ctx *pulumi.Context, key string, output interface{}) pulumi.Output
- func RequireSecretUint(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretUint16(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretUint32(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretUint64(ctx *pulumi.Context, key string) pulumi.Output
- func RequireSecretUint8(ctx *pulumi.Context, key string) pulumi.Output
- func RequireUint(ctx *pulumi.Context, key string) uint
- func RequireUint16(ctx *pulumi.Context, key string) uint16
- func RequireUint32(ctx *pulumi.Context, key string) uint32
- func RequireUint64(ctx *pulumi.Context, key string) uint64
- func RequireUint8(ctx *pulumi.Context, key string) uint8
- func Try(ctx *pulumi.Context, key string) (string, error)
- func TryBool(ctx *pulumi.Context, key string) (bool, error)
- func TryFloat32(ctx *pulumi.Context, key string) (float32, error)
- func TryFloat64(ctx *pulumi.Context, key string) (float64, error)
- func TryInt(ctx *pulumi.Context, key string) (int, error)
- func TryInt16(ctx *pulumi.Context, key string) (int16, error)
- func TryInt32(ctx *pulumi.Context, key string) (int32, error)
- func TryInt64(ctx *pulumi.Context, key string) (int64, error)
- func TryInt8(ctx *pulumi.Context, key string) (int8, error)
- func TryObject(ctx *pulumi.Context, key string, output interface{}) error
- func TrySecret(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretBool(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretFloat32(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretFloat64(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretInt(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretInt16(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretInt32(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretInt64(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretInt8(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretObject(ctx *pulumi.Context, key string, output interface{}) (pulumi.Output, error)
- func TrySecretUint(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretUint16(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretUint32(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretUint64(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TrySecretUint8(ctx *pulumi.Context, key string) (pulumi.Output, error)
- func TryUint(ctx *pulumi.Context, key string) (uint, error)
- func TryUint16(ctx *pulumi.Context, key string) (uint16, error)
- func TryUint32(ctx *pulumi.Context, key string) (uint32, error)
- func TryUint64(ctx *pulumi.Context, key string) (uint64, error)
- func TryUint8(ctx *pulumi.Context, key string) (uint8, error)
- type Config
- func (c *Config) Get(key string) string
- func (c *Config) GetBool(key string) bool
- func (c *Config) GetFloat32(key string) float32
- func (c *Config) GetFloat64(key string) float64
- func (c *Config) GetInt(key string) int
- func (c *Config) GetInt16(key string) int16
- func (c *Config) GetInt32(key string) int32
- func (c *Config) GetInt64(key string) int64
- func (c *Config) GetInt8(key string) int8
- func (c *Config) GetObject(key string, output interface{}) error
- func (c *Config) GetSecret(key string) pulumi.Output
- func (c *Config) GetSecretBool(key string) pulumi.Output
- func (c *Config) GetSecretFloat32(key string) pulumi.Output
- func (c *Config) GetSecretFloat64(key string) pulumi.Output
- func (c *Config) GetSecretInt(key string) pulumi.Output
- func (c *Config) GetSecretInt16(key string) pulumi.Output
- func (c *Config) GetSecretInt32(key string) pulumi.Output
- func (c *Config) GetSecretInt64(key string) pulumi.Output
- func (c *Config) GetSecretInt8(key string) pulumi.Output
- func (c *Config) GetSecretObject(key string, output interface{}) (pulumi.Output, error)
- func (c *Config) GetSecretUint(key string) pulumi.Output
- func (c *Config) GetSecretUint16(key string) pulumi.Output
- func (c *Config) GetSecretUint32(key string) pulumi.Output
- func (c *Config) GetSecretUint64(key string) pulumi.Output
- func (c *Config) GetSecretUint8(key string) pulumi.Output
- func (c *Config) GetUint(key string) uint
- func (c *Config) GetUint16(key string) uint16
- func (c *Config) GetUint32(key string) uint32
- func (c *Config) GetUint64(key string) uint64
- func (c *Config) GetUint8(key string) uint8
- func (c *Config) Require(key string) string
- func (c *Config) RequireBool(key string) bool
- func (c *Config) RequireFloat32(key string) float32
- func (c *Config) RequireFloat64(key string) float64
- func (c *Config) RequireInt(key string) int
- func (c *Config) RequireInt16(key string) int16
- func (c *Config) RequireInt32(key string) int32
- func (c *Config) RequireInt64(key string) int64
- func (c *Config) RequireInt8(key string) int8
- func (c *Config) RequireObject(key string, output interface{})
- func (c *Config) RequireSecret(key string) pulumi.Output
- func (c *Config) RequireSecretBool(key string) pulumi.Output
- func (c *Config) RequireSecretFloat32(key string) pulumi.Output
- func (c *Config) RequireSecretFloat64(key string) pulumi.Output
- func (c *Config) RequireSecretInt(key string) pulumi.Output
- func (c *Config) RequireSecretInt16(key string) pulumi.Output
- func (c *Config) RequireSecretInt32(key string) pulumi.Output
- func (c *Config) RequireSecretInt64(key string) pulumi.Output
- func (c *Config) RequireSecretInt8(key string) pulumi.Output
- func (c *Config) RequireSecretObject(key string, output interface{}) pulumi.Output
- func (c *Config) RequireSecretUint(key string) pulumi.Output
- func (c *Config) RequireSecretUint16(key string) pulumi.Output
- func (c *Config) RequireSecretUint32(key string) pulumi.Output
- func (c *Config) RequireSecretUint64(key string) pulumi.Output
- func (c *Config) RequireSecretUint8(key string) pulumi.Output
- func (c *Config) RequireUint(key string) uint
- func (c *Config) RequireUint16(key string) uint16
- func (c *Config) RequireUint32(key string) uint32
- func (c *Config) RequireUint64(key string) uint64
- func (c *Config) RequireUint8(key string) uint8
- func (c *Config) Try(key string) (string, error)
- func (c *Config) TryBool(key string) (bool, error)
- func (c *Config) TryFloat32(key string) (float32, error)
- func (c *Config) TryFloat64(key string) (float64, error)
- func (c *Config) TryInt(key string) (int, error)
- func (c *Config) TryInt16(key string) (int16, error)
- func (c *Config) TryInt32(key string) (int32, error)
- func (c *Config) TryInt64(key string) (int64, error)
- func (c *Config) TryInt8(key string) (int8, error)
- func (c *Config) TryObject(key string, output interface{}) error
- func (c *Config) TrySecret(key string) (pulumi.Output, error)
- func (c *Config) TrySecretBool(key string) (pulumi.Output, error)
- func (c *Config) TrySecretFloat32(key string) (pulumi.Output, error)
- func (c *Config) TrySecretFloat64(key string) (pulumi.Output, error)
- func (c *Config) TrySecretInt(key string) (pulumi.Output, error)
- func (c *Config) TrySecretInt16(key string) (pulumi.Output, error)
- func (c *Config) TrySecretInt32(key string) (pulumi.Output, error)
- func (c *Config) TrySecretInt64(key string) (pulumi.Output, error)
- func (c *Config) TrySecretInt8(key string) (pulumi.Output, error)
- func (c *Config) TrySecretObject(key string, output interface{}) (pulumi.Output, error)
- func (c *Config) TrySecretUint(key string) (pulumi.Output, error)
- func (c *Config) TrySecretUint16(key string) (pulumi.Output, error)
- func (c *Config) TrySecretUint32(key string) (pulumi.Output, error)
- func (c *Config) TrySecretUint64(key string) (pulumi.Output, error)
- func (c *Config) TrySecretUint8(key string) (pulumi.Output, error)
- func (c *Config) TryUint(key string) (uint, error)
- func (c *Config) TryUint16(key string) (uint16, error)
- func (c *Config) TryUint32(key string) (uint32, error)
- func (c *Config) TryUint64(key string) (uint64, error)
- func (c *Config) TryUint8(key string) (uint8, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBool ¶
GetBool loads an optional configuration value by its key, as a bool, or returns false if it doesn't exist.
func GetFloat32 ¶
GetFloat32 loads an optional configuration value by its key, as a float32, or returns 0 if it doesn't exist.
func GetFloat64 ¶
GetFloat64 loads an optional configuration value by its key, as a float64, or returns 0 if it doesn't exist.
func GetInt ¶
GetInt loads an optional configuration value by its key, as a int, or returns 0 if it doesn't exist.
func GetInt16 ¶
GetInt16 loads an optional configuration value by its key, as a int16, or returns 0 if it doesn't exist.
func GetInt32 ¶
GetInt32 loads an optional configuration value by its key, as a int32, or returns 0 if it doesn't exist.
func GetInt64 ¶
GetInt64 loads an optional configuration value by its key, as a int64, or returns 0 if it doesn't exist.
func GetInt8 ¶
GetInt8 loads an optional configuration value by its key, as a int8, or returns 0 if it doesn't exist.
func GetObject ¶
GetObject attempts to load an optional configuration value by its key into the specified output variable.
func GetSecret ¶
GetSecret loads an optional configuration value by its key, or "" if it does not exist, into a secret Output.
func GetSecretBool ¶
GetSecretBool loads an optional bool configuration value by its key, or false if it does not exist, into a secret Output.
func GetSecretFloat32 ¶
GetSecretFloat32 loads an optional float32 configuration value by its key, or false if it does not exist, into a secret Output.
func GetSecretFloat64 ¶
GetSecretFloat64 loads an optional float64 configuration value by its key, or false if it does not exist, into a secret Output.
func GetSecretInt ¶
GetSecretInt loads an optional int configuration value by its key, or false if it does not exist, into a secret Output.
func GetSecretInt16 ¶
GetSecretInt16 loads an optional int16 configuration value by its key, or false if it does not exist, into a secret Output.
func GetSecretInt32 ¶
GetSecretInt32 loads an optional int32 configuration value by its key, or false if it does not exist, into a secret Output.
func GetSecretInt64 ¶
GetSecretInt64 loads an optional int64 configuration value by its key, or false if it does not exist, into a secret Output.
func GetSecretInt8 ¶
GetSecretInt8 loads an optional int8 configuration value by its key, or false if it does not exist, into a secret Output.
func GetSecretObject ¶
GetSecretObject attempts to load an optional configuration value by its key into the specified output variable.
func GetSecretUint ¶
GetSecretUint loads an optional uint configuration value by its key, or false if it does not exist, into a secret Output.
func GetSecretUint16 ¶
GetSecretUint16 loads an optional uint16 configuration value by its key, or false if it does not exist, into a secret Output.
func GetSecretUint32 ¶
GetSecretUint32 loads an optional uint32 configuration value by its key, or false if it does not exist, into a secret Output.
func GetSecretUint64 ¶
GetSecretUint64 loads an optional uint64 configuration value by its key, or false if it does not exist, into a secret Output.
func GetSecretUint8 ¶
GetSecretUint8 loads an optional uint8 configuration value by its key, or false if it does not exist, into a secret Output.
func GetUint ¶
GetUint loads an optional configuration value by its key, as a uint, or returns 0 if it doesn't exist.
func GetUint16 ¶
GetUint16 loads an optional configuration value by its key, as a uint16, or returns 0 if it doesn't exist.
func GetUint32 ¶
GetUint32 loads an optional configuration value by its key, as a uint32, or returns 0 if it doesn't exist.
func GetUint64 ¶
GetUint64 loads an optional configuration value by its key, as a uint64, or returns 0 if it doesn't exist.
func GetUint8 ¶
GetUint8 loads an optional configuration value by its key, as a uint8, or returns 0 if it doesn't exist.
func RequireBool ¶
RequireBool loads an optional configuration value by its key, as a bool, or panics if it doesn't exist.
func RequireFloat32 ¶
RequireFloat32 loads an optional configuration value by its key, as a float32, or panics if it doesn't exist.
func RequireFloat64 ¶
RequireFloat64 loads an optional configuration value by its key, as a float64, or panics if it doesn't exist.
func RequireInt ¶
RequireInt loads an optional configuration value by its key, as a int, or panics if it doesn't exist.
func RequireInt16 ¶
RequireInt16 loads an optional configuration value by its key, as a int16, or panics if it doesn't exist.
func RequireInt32 ¶
RequireInt32 loads an optional configuration value by its key, as a int32, or panics if it doesn't exist.
func RequireInt64 ¶
RequireInt64 loads an optional configuration value by its key, as a int64, or panics if it doesn't exist.
func RequireInt8 ¶
RequireInt8 loads an optional configuration value by its key, as a int8, or panics if it doesn't exist.
func RequireObject ¶
RequireObject loads an optional configuration value by its key into the output variable, or panics if unable to do so.
func RequireSecret ¶
RequireSecret loads a configuration value by its key returning it wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretBool ¶
RequireSecretBool loads an optional configuration value by its key, as a bool wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretFloat32 ¶
RequireSecretFloat32 loads an optional configuration value by its key, as a float32 wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretFloat64 ¶
RequireSecretFloat64 loads an optional configuration value by its key, as a float64 wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretInt ¶
RequireSecretInt loads an optional configuration value by its key, as a int wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretInt16 ¶
RequireSecretInt16 loads an optional configuration value by its key, as a int16 wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretInt32 ¶
RequireSecretInt32 loads an optional configuration value by its key, as a int32 wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretInt64 ¶
RequireSecretInt64 loads an optional configuration value by its key, as a int64 wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretInt8 ¶
RequireSecretInt8 loads an optional configuration value by its key, as a int8 wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretObject ¶
RequireSecretObject loads an optional configuration value by its key into the output variable, returning it wrapped in a secret Output, or panics if unable to do so.
func RequireSecretUint ¶
RequireSecretUint loads an optional configuration value by its key, as a uint wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretUint16 ¶
RequireSecretUint16 loads an optional configuration value by its key, as a uint16 wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretUint32 ¶
RequireSecretUint32 loads an optional configuration value by its key, as a uint32 wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretUint64 ¶
RequireSecretUint64 loads an optional configuration value by its key, as a uint64 wrapped in a secret Output, or panics if it doesn't exist.
func RequireSecretUint8 ¶
RequireSecretUint8 loads an optional configuration value by its key, as a uint8 wrapped in a secret Output, or panics if it doesn't exist.
func RequireUint ¶
RequireUint loads an optional configuration value by its key, as a uint, or panics if it doesn't exist.
func RequireUint16 ¶
RequireUint16 loads an optional configuration value by its key, as a uint16, or panics if it doesn't exist.
func RequireUint32 ¶
RequireUint32 loads an optional configuration value by its key, as a uint32, or panics if it doesn't exist.
func RequireUint64 ¶
RequireUint64 loads an optional configuration value by its key, as a uint64, or panics if it doesn't exist.
func RequireUint8 ¶
RequireUint8 loads an optional configuration value by its key, as a uint8, or panics if it doesn't exist.
func Try ¶
Try loads a configuration value by its key, returning a non-nil error if it doesn't exist.
func TryBool ¶
TryBool loads an optional configuration value by its key, as a bool, or returns an error if it doesn't exist.
func TryFloat32 ¶
TryFloat32 loads an optional configuration value by its key, as a float32, or returns an error if it doesn't exist.
func TryFloat64 ¶
TryFloat64 loads an optional configuration value by its key, as a float64, or returns an error if it doesn't exist.
func TryInt ¶
TryInt loads an optional configuration value by its key, as a int, or returns an error if it doesn't exist.
func TryInt16 ¶
TryInt16 loads an optional configuration value by its key, as a int16, or returns an error if it doesn't exist.
func TryInt32 ¶
TryInt32 loads an optional configuration value by its key, as a int32, or returns an error if it doesn't exist.
func TryInt64 ¶
TryInt64 loads an optional configuration value by its key, as a int64, or returns an error if it doesn't exist.
func TryInt8 ¶
TryInt8 loads an optional configuration value by its key, as a int8, or returns an error if it doesn't exist.
func TryObject ¶
TryObject loads an optional configuration value by its key into the output variable, or returns an error if unable to do so.
func TrySecret ¶
TrySecret loads a configuration value by its key, returning a non-nil error if it doesn't exist.
func TrySecretBool ¶
TrySecretBool loads an optional configuration value by its key, as a bool, or returns an error if it doesn't exist.
func TrySecretFloat32 ¶
TrySecretFloat32 loads an optional configuration value by its key, as a float32, or returns an error if it doesn't exist.
func TrySecretFloat64 ¶
TrySecretFloat64 loads an optional configuration value by its key, as a float64, or returns an error if it doesn't exist.
func TrySecretInt ¶
TrySecretInt loads an optional configuration value by its key, as a int, or returns an error if it doesn't exist.
func TrySecretInt16 ¶
TrySecretInt16 loads an optional configuration value by its key, as a int16, or returns an error if it doesn't exist.
func TrySecretInt32 ¶
TrySecretInt32 loads an optional configuration value by its key, as a int32, or returns an error if it doesn't exist.
func TrySecretInt64 ¶
TrySecretInt64 loads an optional configuration value by its key, as a int64, or returns an error if it doesn't exist.
func TrySecretInt8 ¶
TrySecretInt8 loads an optional configuration value by its key, as a int8, or returns an error if it doesn't exist.
func TrySecretObject ¶
TrySecretObject loads a configuration value by its key into the output variable, or returns an error if unable to do so.
func TrySecretUint ¶
TrySecretUint loads an optional configuration value by its key, as a uint, or returns an error if it doesn't exist.
func TrySecretUint16 ¶
TrySecretUint16 loads an optional configuration value by its key, as a uint16, or returns an error if it doesn't exist.
func TrySecretUint32 ¶
TrySecretUint32 loads an optional configuration value by its key, as a uint32, or returns an error if it doesn't exist.
func TrySecretUint64 ¶
TrySecretUint64 loads an optional configuration value by its key, as a uint64, or returns an error if it doesn't exist.
func TrySecretUint8 ¶
TrySecretUint8 loads an optional configuration value by its key, as a uint8, or returns an error if it doesn't exist.
func TryUint ¶
TryUint loads an optional configuration value by its key, as a uint, or returns an error if it doesn't exist.
func TryUint16 ¶
TryUint16 loads an optional configuration value by its key, as a uint16, or returns an error if it doesn't exist.
func TryUint32 ¶
TryUint32 loads an optional configuration value by its key, as a uint32, or returns an error if it doesn't exist.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is a struct that permits access to config as a "bag" with a package name. This avoids needing to access config with the fully qualified name all of the time (e.g., a bag whose namespace is "p" automatically translates attempted reads of keys "k" into "p:k"). This is optional but can save on some boilerplate when accessing config.
func (*Config) Get ¶
Get loads an optional configuration value by its key, or returns "" if it doesn't exist.
func (*Config) GetBool ¶
GetBool loads an optional bool configuration value by its key, or returns false if it doesn't exist.
func (*Config) GetFloat32 ¶
GetFloat32 loads an optional float32 configuration value by its key, or returns 0 if it doesn't exist.
func (*Config) GetFloat64 ¶
GetFloat64 loads an optional float64 configuration value by its key, or returns 0 if it doesn't exist.
func (*Config) GetInt ¶
GetInt loads an optional int configuration value by its key, or returns 0 if it doesn't exist.
func (*Config) GetInt16 ¶
GetInt16 loads an optional int16 configuration value by its key, or returns 0 if it doesn't exist.
func (*Config) GetInt32 ¶
GetInt32 loads an optional int32 configuration value by its key, or returns 0 if it doesn't exist.
func (*Config) GetInt64 ¶
GetInt64 loads an optional int64 configuration value by its key, or returns 0 if it doesn't exist.
func (*Config) GetInt8 ¶
GetInt8 loads an optional int8 configuration value by its key, or returns 0 if it doesn't exist.
func (*Config) GetObject ¶
GetObject loads an optional configuration value into the specified output by its key, or returns an error if unable to do so.
func (*Config) GetSecret ¶
GetSecret loads an optional configuration value by its key or "" if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretBool ¶
GetSecretBool loads an optional bool configuration value by its key or false if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretFloat32 ¶
GetSecretFloat32 loads an optional float32 configuration value by its key or 0 if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretFloat64 ¶
GetSecretFloat64 loads an optional float64 configuration value by its key or 0 if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretInt ¶
GetSecretInt loads an optional int configuration value by its key or 0 if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretInt16 ¶
GetSecretInt16 loads an optional int16 configuration value by its key or 0 if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretInt32 ¶
GetSecretInt32 loads an optional int32 configuration value by its key or 0 if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretInt64 ¶
GetSecretInt64 loads an optional int64 configuration value by its key or 0 if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretInt8 ¶
GetSecretInt8 loads an optional int8 configuration value by its key or 0 if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretObject ¶
GetSecretObject loads an optional configuration value into the specified output by its key, returning it wrapped in a secret Output or an error if unable to do so.
func (*Config) GetSecretUint ¶
GetSecretUint loads an optional uint configuration value by its key or 0 if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretUint16 ¶
GetSecretUint16 loads an optional uint16 configuration value by its key or 0 if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretUint32 ¶
GetSecretUint32 loads an optional uint32 configuration value by its key or 0 if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretUint64 ¶
GetSecretUint64 loads an optional uint64 configuration value by its key or 0 if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetSecretUint8 ¶
GetSecretUint8 loads an optional uint8 configuration value by its key or 0 if it doesn't exist, and returns it wrapped in a secret Output.
func (*Config) GetUint ¶
GetUint loads an optional uint configuration value by its key, or returns 0 if it doesn't exist.
func (*Config) GetUint16 ¶
GetUint16 loads an optional uint16 configuration value by its key, or returns 0 if it doesn't exist.
func (*Config) GetUint32 ¶
GetUint32 loads an optional uint32 configuration value by its key, or returns 0 if it doesn't exist.
func (*Config) GetUint64 ¶
GetUint64 loads an optional uint64 configuration value by its key, or returns 0 if it doesn't exist.
func (*Config) GetUint8 ¶
GetUint8 loads an optional uint8 configuration value by its key, or returns 0 if it doesn't exist.
func (*Config) Require ¶
Require loads a configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireBool ¶
RequireBool loads a bool configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireFloat32 ¶
RequireFloat32 loads a float32 configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireFloat64 ¶
RequireFloat64 loads a float64 configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireInt ¶
RequireInt loads a int configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireInt16 ¶
RequireInt16 loads a int16 configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireInt32 ¶
RequireInt32 loads a int32 configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireInt64 ¶
RequireInt64 loads a int64 configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireInt8 ¶
RequireInt8 loads a int8 configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireObject ¶
RequireObject loads a required configuration value into the specified output by its key, or panics if unable to do so.
func (*Config) RequireSecret ¶
RequireSecret loads a configuration value by its key and returns it wrapped in a secret output, or panics if it doesn't exist.
func (*Config) RequireSecretBool ¶
RequireSecretBool loads a bool configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireSecretFloat32 ¶
RequireSecretFloat32 loads a float32 configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireSecretFloat64 ¶
RequireSecretFloat64 loads a float64 configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireSecretInt ¶
RequireSecretInt loads a int configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireSecretInt16 ¶
RequireSecretInt16 loads a int16 configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireSecretInt32 ¶
RequireSecretInt32 loads a int32 configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireSecretInt64 ¶
RequireSecretInt64 loads a int64 configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireSecretInt8 ¶
RequireSecretInt8 loads a int8 configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireSecretObject ¶
RequireSecretObject loads a required configuration value into the specified output by its key and returns it wrapped in a secret Output, or panics if unable to do so.
func (*Config) RequireSecretUint ¶
RequireSecretUint loads a uint configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireSecretUint16 ¶
RequireSecretUint16 loads a uint16 configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireSecretUint32 ¶
RequireSecretUint32 loads a uint32 configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireSecretUint64 ¶
RequireSecretUint64 loads a uint64 configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireSecretUint8 ¶
RequireSecretUint8 loads a uint8 configuration value by its key and returns is wrapped in a secret Output, or panics if it doesn't exist.
func (*Config) RequireUint ¶
RequireUint loads a uint configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireUint16 ¶
RequireUint16 loads a uint16 configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireUint32 ¶
RequireUint32 loads a uint32 configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireUint64 ¶
RequireUint64 loads a uint64 configuration value by its key, or panics if it doesn't exist.
func (*Config) RequireUint8 ¶
RequireUint8 loads a uint8 configuration value by its key, or panics if it doesn't exist.
func (*Config) Try ¶
Try loads a configuration value by its key, returning a non-nil error if it doesn't exist.
func (*Config) TryBool ¶
TryBool loads an optional bool configuration value by its key, or returns an error if it doesn't exist.
func (*Config) TryFloat32 ¶
TryFloat32 loads an optional float32 configuration value by its key, or returns an error if it doesn't exist.
func (*Config) TryFloat64 ¶
TryFloat64 loads an optional float64 configuration value by its key, or returns an error if it doesn't exist.
func (*Config) TryInt ¶
TryInt loads an optional int configuration value by its key, or returns an error if it doesn't exist.
func (*Config) TryInt16 ¶
TryInt16 loads an optional int16 configuration value by its key, or returns an error if it doesn't exist.
func (*Config) TryInt32 ¶
TryInt32 loads an optional int32 configuration value by its key, or returns an error if it doesn't exist.
func (*Config) TryInt64 ¶
TryInt64 loads an optional int64 configuration value by its key, or returns an error if it doesn't exist.
func (*Config) TryInt8 ¶
TryInt8 loads an optional int8 configuration value by its key, or returns an error if it doesn't exist.
func (*Config) TryObject ¶
TryObject loads an optional configuration value into the specified output by its key, or returns an error if unable to do so.
func (*Config) TrySecret ¶
TrySecret loads a configuration value by its key, returning a non-nil error if it doesn't exist.
func (*Config) TrySecretBool ¶
TrySecretBool loads an optional bool configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TrySecretFloat32 ¶
TrySecretFloat32 loads an optional float32 configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TrySecretFloat64 ¶
TrySecretFloat64 loads an optional float64 configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TrySecretInt ¶
TrySecretInt loads an optional int configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TrySecretInt16 ¶
TrySecretInt16 loads an optional int16 configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TrySecretInt32 ¶
TrySecretInt32 loads an optional int32 configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TrySecretInt64 ¶
TrySecretInt64 loads an optional int64 configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TrySecretInt8 ¶
TrySecretInt8 loads an optional int8 configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TrySecretObject ¶
TrySecretObject loads a configuration value by its key, returning a non-nil error if it doesn't exist.
func (*Config) TrySecretUint ¶
TrySecretUint loads an optional uint configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TrySecretUint16 ¶
TrySecretUint16 loads an optional uint16 configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TrySecretUint32 ¶
TrySecretUint32 loads an optional uint32 configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TrySecretUint64 ¶
TrySecretUint64 loads an optional uint64 configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TrySecretUint8 ¶
TrySecretUint8 loads an optional uint8 configuration value by its key into a secret Output, or returns an error if it doesn't exist.
func (*Config) TryUint ¶
TryUint loads an optional uint configuration value by its key, or returns an error if it doesn't exist.
func (*Config) TryUint16 ¶
TryUint16 loads an optional uint16 configuration value by its key, or returns an error if it doesn't exist.
func (*Config) TryUint32 ¶
TryUint32 loads an optional uint32 configuration value by its key, or returns an error if it doesn't exist.