Documentation ¶
Index ¶
- 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() Items
- func (config ConfigMap) MarshalJSON() ([]byte, error)
- func (config ConfigMap) MarshalYAML() (interface{}, error)
- func (config ConfigMap) New() ConfigMap
- 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) ToBase64() ConfigMap
- func (config ConfigMap) ToKube() kubeModels.ConfigMap
- func (config *ConfigMap) UnmarshalJSON(data []byte) error
- func (config *ConfigMap) UnmarshalYAML(unmarshal func(interface{}) error) 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) Get(i int) ConfigMap
- func (list ConfigMapList) GetByName(name string) (ConfigMap, bool)
- func (list ConfigMapList) GetDefault(i int, defaultCm ConfigMap) (ConfigMap, bool)
- func (list ConfigMapList) Head() (ConfigMap, bool)
- 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
- func (item Item) Data() (key string, value string)
- func (item Item) Key() string
- func (item Item) MarshalJSON() ([]byte, error)
- func (item Item) String() string
- func (item *Item) UnmarshalJSON(b []byte) error
- func (item Item) Value() string
- func (item Item) WithKey(key string) Item
- func (item Item) WithValue(value string) Item
- type Items
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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
func (*ConfigMap) UnmarshalJSON ¶
func (*ConfigMap) UnmarshalYAML ¶
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) Get ¶
func (list ConfigMapList) Get(i int) ConfigMap
func (ConfigMapList) GetDefault ¶
func (list ConfigMapList) GetDefault(i int, defaultCm ConfigMap) (ConfigMap, bool)
func (ConfigMapList) Head ¶
func (list ConfigMapList) Head() (ConfigMap, bool)
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
type Item ¶
type Item struct {
// contains filtered or unexported fields
}
func (Item) MarshalJSON ¶
func (*Item) UnmarshalJSON ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.