Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapWrapper ¶
type ConfigMapWrapper struct { // ConfigMapInterface is a client, not the ConfigMap itself Client kcorev1.ConfigMapInterface Name string DataKey string }
Begin proper k8s bits ConfigMapWrapper is a struct with public fields, which implements github.com/Fresh-Tracks/bomb-squad/config.Configurator
func NewConfigMapWrapper ¶
func NewConfigMapWrapper(client kcorev1.ConfigMapInterface, namespace string, configMapName string, dataKey string) *ConfigMapWrapper
NewConfigMapWrapper returns a ConfigMapWrapper
func (*ConfigMapWrapper) GetLocation ¶
func (c *ConfigMapWrapper) GetLocation() string
GetLocation implements github.com/Fresh-Tracks/bomb-squad/config.Configurator
func (*ConfigMapWrapper) Read ¶
func (c *ConfigMapWrapper) Read() ([]byte, error)
Read implements github.com/Fresh-Tracks/bomb-squad/config.Configurator
func (*ConfigMapWrapper) Write ¶
func (c *ConfigMapWrapper) Write(data []byte) error
Write implements github.com/Fresh-Tracks/bomb-squad/config.Configurator
Click to show internal directories.
Click to hide internal directories.