Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions controllers/spifftemplatedoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ import (
"github.com/mikefarah/yq/v4/pkg/yqlib"
"ocm.software/ocm/api/ocm/ocmutils/localize"
ocmruntime "ocm.software/ocm/api/utils/runtime"
ocm_yqlib "ocm.software/ocm/api/utils/yqlib"
)

// Key we store spiff rules under within spiff template doc.
const ocmAdjustmentsTemplateKey = "ocmAdjustmentsTemplateKey"

func init() {
ocm_yqlib.InitYq()
}

// makeYqNode unmarshalls bytes into a CandidateNode
// In order to make debugging easier later during yaml processing we take in
// file name, document index and file index values which are then set on
Expand Down
Loading