MCPcopy Create free account
hub / github.com/conforma/cli / setDefaults

Method setDefaults

internal/tracker/tracker.go:66–70  ·  view source on GitHub ↗

setDefaults initializes the required nested attributes.

()

Source from the content-addressed store, hash-verified

64
65// setDefaults initializes the required nested attributes.
66func (t *Tracker) setDefaults() {
67 if t.TrustedTasks == nil {
68 t.TrustedTasks = map[string][]taskRecord{}
69 }
70}
71
72// addTrustedTaskRecord includes the given Tekton bundle Task record in the tracker.
73func (t *Tracker) addTrustedTaskRecord(prefix string, record taskRecord) {

Callers 1

newTrackerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected