MCPcopy Create free account
hub / github.com/devfile/devworkspace-operator / isMutableObject

Function isMutableObject

pkg/provision/sync/sync.go:180–187  ·  view source on GitHub ↗
(obj crclient.Object)

Source from the content-addressed store, hash-verified

178}
179
180func isMutableObject(obj crclient.Object) bool {
181 switch obj.(type) {
182 case *corev1.PersistentVolumeClaim:
183 return false
184 default:
185 return true
186 }
187}
188
189func printDiff(specObj, clusterObj crclient.Object, log logr.Logger) {
190 if config.IsSetUp() && config.ExperimentalFeaturesEnabled() {

Callers 1

SyncObjectWithClusterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected