MCPcopy
hub / github.com/apecloud/kubeblocks / NewConfigMapBuilder

Function NewConfigMapBuilder

pkg/controller/builder/builder_configmap.go:28–32  ·  view source on GitHub ↗
(namespace, name string)

Source from the content-addressed store, hash-verified

26}
27
28func NewConfigMapBuilder(namespace, name string) *ConfigMapBuilder {
29 builder := &ConfigMapBuilder{}
30 builder.init(namespace, name, &corev1.ConfigMap{}, builder)
31 return builder
32}
33
34func (builder *ConfigMapBuilder) SetImmutable(immutable bool) *ConfigMapBuilder {
35 builder.get().Immutable = &immutable

Callers 15

buildFileTemplateObjectFunction · 0.92
TestGcConfigRevisionFunction · 0.92
util_test.goFile · 0.92
ReconcileMethod · 0.92
findTemplateObjectFunction · 0.92

Calls 1

initMethod · 0.45

Tested by 5

TestGcConfigRevisionFunction · 0.74
ReconcileMethod · 0.74
TestIsRerenderFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…