Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRootDir ¶
Types ¶
type LintGlob ¶
func (*LintGlob) ToModule ¶
func (lg *LintGlob) ToModule() *ModuleGlob
func (*LintGlob) UnmarshalJSON ¶
type Module ¶
type Module struct { ID string Archive *ModuleArchive SlashPath string Config map[string]interface{} }
func ParseImport ¶
type ModuleArchive ¶
type ModuleArchive struct { ID string Type string Host string RepoOwner string RepoName string Ref string Tag string }
func (*ModuleArchive) FilePath ¶
func (m *ModuleArchive) FilePath() string
type ModuleGlob ¶
type ModuleGlob struct { ID string SlashPath string Archive *ModuleArchive Config map[string]interface{} Excluded bool }
func ParseModuleLine ¶
func ParseModuleLine(line string) (*ModuleGlob, error)
type Output ¶
type Output struct { ID string `json:"id"` // text/template, html/template, jsonnet Renderer string `json:"renderer"` // path to a template file Template string `json:"template"` // parameter Config map[string]any `json:"config"` // Transform parameter Transform string `json:"transform"` TemplateModule *Module `json:"-"` TransformModule *Module `json:"-"` }
type RawConfig ¶
type RawModule ¶
func (*RawModule) Parse ¶
func (rm *RawModule) Parse() (*ModuleGlob, error)
func (*RawModule) UnmarshalJSON ¶
type RawTarget ¶
type Target ¶
type Target struct { ID string LintFiles []*ModuleGlob Modules []*ModuleGlob ModuleArchives map[string]*ModuleArchive DataFiles []string Combine bool }
Click to show internal directories.
Click to hide internal directories.