configmap
package v1.3.1
Go to latest Published: Aug 27, 2025 License:GPL-3.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:9 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- type Map
- func (c *Map) AllKeys() []string
- func (c Map) Delete(key string)
- func (c Map) Get(key string) any
- func (c Map) GetBool(key string) bool
- func (c Map) GetBoolOk(key string) (bool, bool, error)
- func (c Map) GetDuration(key string) time.Duration
- func (c Map) GetDurationOk(key string) (time.Duration, bool, error)
- func (c Map) GetInt(key string) int
- func (c Map) GetIntOk(key string) (int, bool, error)
- func (c Map) GetOk(key string) (any, bool)
- func (c Map) GetString(key string) string
- func (c Map) GetStringOk(key string) (string, bool, error)
- func (c Map) GetStringSlice(key string) []string
- func (c Map) GetStringSliceOk(key string) ([]string, bool, error)
- func (c Map) GetUint(key string) uint
- func (c Map) GetUint32(key string) uint32
- func (c Map) GetUint32Ok(key string) (uint32, bool, error)
- func (c Map) GetUintOk(key string) (uint, bool, error)
- func (c *Map) InjectEnvVars(env []string, prefix string) []error
- func (c Map) MarshalJSON() ([]byte, error)
- func (c Map) MarshalYAML() (interface{}, error)
- func (c *Map) Merge(x *Map) error
- func (c *Map) Schema() map[string]reflect.Type
- func (c Map) Set(key string, value any) error
- func (c Map) SetBool(key string, value bool)
- func (c Map) SetDuration(key string, value time.Duration)
- func (c *Map) SetFromCLIArgs(key string, args ...string) error
- func (c *Map) SetFromENV(key string, arg string) error
- func (c Map) SetInt(key string, value int)
- func (c *Map) SetKeyTypeSchema(key string, t any)
- func (c Map) SetString(key string, value string)
- func (c Map) SetUint(key string, value uint)
- func (c Map) SetUint32(key string, value uint32)
- func (c *Map) UnmarshalJSON(data []byte) error
- func (c *Map) UnmarshalYAML(node *yaml.Node) error
- type UnmarshalErrors
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeMap¶
type Map struct {// contains filtered or unexported fields}func (Map)GetStringSlice¶
func (Map)MarshalJSON¶
func (Map)MarshalYAML¶
func (*Map)SetKeyTypeSchema¶
func (*Map)UnmarshalJSON¶
func (*Map)UnmarshalYAML¶
typeUnmarshalErrors¶
type UnmarshalErrors struct {// contains filtered or unexported fields}UnmarshalErrors is a collection of errors that occurred during unmarshalling.Do not return this type directly, but use its result() method instead.
func (*UnmarshalErrors)Error¶
func (e *UnmarshalErrors) Error()string
func (*UnmarshalErrors)WrappedErrors¶
func (e *UnmarshalErrors) WrappedErrors() []error
WrappedErrors returns the list of errors that occurred during unmarshalling.
Click to show internal directories.
Click to hide internal directories.