MCPcopy Create free account
hub / github.com/flant/shell-operator / DefaultCreateOptions

Function DefaultCreateOptions

pkg/kubernetes.go:9–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7)
8
9func DefaultCreateOptions() metav1.CreateOptions {
10 opts := metav1.CreateOptions{}
11
12 if app.KubeClientFieldManager != "" {
13 opts.FieldManager = app.KubeClientFieldManager
14 }
15
16 return opts
17}
18
19func DefaultUpdateOptions() metav1.UpdateOptions {
20 opts := metav1.UpdateOptions{}

Callers 6

createNsWithLabelsFunction · 0.92
submitMethod · 0.92
submitMethod · 0.92

Calls

no outgoing calls

Tested by 3

createNsWithLabelsFunction · 0.74