Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector collects configmap values and their associated genruntime.ConfigMapDestination's and produces a merged set of v1.ConfigMap's that can be written.
func NewCollector ¶
NewCollector creates a new Collector for collecting multiple config map writes together
func (*Collector) AddBinaryValue ¶
func (c *Collector) AddBinaryValue(dest *genruntime.ConfigMapDestination, value []byte)
AddBinaryValue adds the dest and ConfigMapDestination pair to the collector. If another value has already been added going to the same config map (but with a different key) the new key is merged into the existing map.
func (*Collector) AddValue ¶
func (c *Collector) AddValue(dest *genruntime.ConfigMapDestination, value string)
AddValue adds the dest and ConfigMapDestination pair to the collector. If another value has already been added going to the same config map (but with a different key) the new key is merged into the existing map.