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

Method String

pkg/controller/model/transform_types.go:77–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77func (v *ObjectVertex) String() string {
78 if v.Action == nil {
79 return fmt.Sprintf("{obj:%T, name: %s, action: nil}", v.Obj, v.Obj.GetName())
80 }
81 return fmt.Sprintf("{obj:%T, name: %s, action: %v}", v.Obj, v.Obj.GetName(), *v.Action)
82}
83
84func NewObjectVertex(oldObj, newObj client.Object, action *Action, opts ...GraphOption) *ObjectVertex {
85 graphOpts := &GraphOptions{}

Callers 4

IsOwnerOfFunction · 0.45
DefaultLessFunction · 0.45
ListMethod · 0.45

Calls 1

GetNameMethod · 0.65

Tested by

no test coverage detected