Skip to content

Commit 5889015

Browse files
Remove inline comments from models/job.go
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 19d5b2a commit 5889015

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

internal/carvel/models/job.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,9 @@ type Job struct {
44
Name string `yaml:"name"`
55
Release string `yaml:"release"`
66
Consumes map[string]JobConsumes `yaml:"consumes,omitempty"`
7-
// Properties is intentionally map[string]interface{} so both the
8-
// PackageInstall-shaped registry-data job and simpler additional jobs
9-
// (e.g. script-deposit jobs with no PackageInstall-shaped payload) can
10-
// coexist without being forced into the {name, version, values} schema.
117
Properties map[string]interface{} `yaml:"properties,omitempty"`
128
}
139

14-
// JobConsumes declares cross-deployment link resolution for a runtime config addon job.
15-
// When a job-spec-overlay entry sets from or deployment, kiln includes it in the
16-
// addon job's consumes map in the generated metadata.
1710
type JobConsumes struct {
1811
From string `yaml:"from,omitempty"`
1912
Deployment string `yaml:"deployment,omitempty"`

0 commit comments

Comments
 (0)