Documentation ¶
Index ¶
- Constants
- func KeyRegexp() *regexp.Regexp
- type ConfigMap
- func (config ConfigMap) Add(data map[string]string) ConfigMap
- func (config ConfigMap) AddItems(items ...Item) ConfigMap
- func (config ConfigMap) Age() string
- func (config ConfigMap) Copy() ConfigMap
- func (config ConfigMap) Delete(key string) ConfigMap
- func (config ConfigMap) Get(key string, defaultValues ...string) (string, bool)
- func (config ConfigMap) Items() []Item
- func (config ConfigMap) MarshalJSON() ([]byte, error)
- func (config ConfigMap) MarshalYAML() (interface{}, error)
- func (config ConfigMap) RenderJSON() (string, error)
- func (config ConfigMap) RenderTable() string
- func (config ConfigMap) RenderYAML() (string, error)
- func (config ConfigMap) Set(key string, value string) ConfigMap
- func (config ConfigMap) SetName(name string) ConfigMap
- func (ConfigMap) TableHeaders() []string
- func (config ConfigMap) TableRows() [][]string
- func (config ConfigMap) ToKube() kubeModels.ConfigMap
- func (config ConfigMap) Validate() error
- type ConfigMapList
- func (list ConfigMapList) Append(configs ...ConfigMap) ConfigMapList
- func (list ConfigMapList) Copy() ConfigMapList
- func (list ConfigMapList) Delete(i int) ConfigMapList
- func (list ConfigMapList) Filter(pred func(ConfigMap) bool) ConfigMapList
- func (list ConfigMapList) Len() int
- func (list ConfigMapList) MarshalJSON() ([]byte, error)
- func (list ConfigMapList) Names() []string
- func (list ConfigMapList) RenderJSON() (string, error)
- func (list ConfigMapList) RenderTable() string
- func (list ConfigMapList) RenderYAML() (string, error)
- func (ConfigMapList) TableHeaders() []string
- func (list ConfigMapList) TableRows() [][]string
- func (list ConfigMapList) ToKube() []kubeModels.ConfigMap
- type Item
Constants ¶
View Source
const (
ErrInvalidConfigMap chkitErrors.Err = "invalid config map"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigMap ¶
type ConfigMap kubeModels.ConfigMap
func ConfigMapFromKube ¶
func ConfigMapFromKube(kubeConfigMap kubeModels.ConfigMap) ConfigMap
func (ConfigMap) MarshalJSON ¶
func (ConfigMap) MarshalYAML ¶
func (ConfigMap) RenderJSON ¶
func (ConfigMap) RenderTable ¶
func (ConfigMap) RenderYAML ¶
func (ConfigMap) TableHeaders ¶
func (ConfigMap) ToKube ¶
func (config ConfigMap) ToKube() kubeModels.ConfigMap
type ConfigMapList ¶
type ConfigMapList []ConfigMap
func ConfigMapListFromKube ¶
func ConfigMapListFromKube(kubeList []kubeModels.ConfigMap) ConfigMapList
func MakeList ¶
func MakeList(size uint) ConfigMapList
func MakeListCap ¶
func MakeListCap(size, cap uint) ConfigMapList
func (ConfigMapList) Append ¶
func (list ConfigMapList) Append(configs ...ConfigMap) ConfigMapList
func (ConfigMapList) Copy ¶
func (list ConfigMapList) Copy() ConfigMapList
func (ConfigMapList) Delete ¶
func (list ConfigMapList) Delete(i int) ConfigMapList
func (ConfigMapList) Filter ¶
func (list ConfigMapList) Filter(pred func(ConfigMap) bool) ConfigMapList
func (ConfigMapList) Len ¶
func (list ConfigMapList) Len() int
func (ConfigMapList) MarshalJSON ¶
func (list ConfigMapList) MarshalJSON() ([]byte, error)
func (ConfigMapList) Names ¶
func (list ConfigMapList) Names() []string
func (ConfigMapList) RenderJSON ¶
func (list ConfigMapList) RenderJSON() (string, error)
func (ConfigMapList) RenderTable ¶
func (list ConfigMapList) RenderTable() string
func (ConfigMapList) RenderYAML ¶
func (list ConfigMapList) RenderYAML() (string, error)
func (ConfigMapList) TableHeaders ¶
func (ConfigMapList) TableHeaders() []string
func (ConfigMapList) TableRows ¶
func (list ConfigMapList) TableRows() [][]string
func (ConfigMapList) ToKube ¶
func (list ConfigMapList) ToKube() []kubeModels.ConfigMap
Source Files ¶
Click to show internal directories.
Click to hide internal directories.