templates

package
v1.6.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDiscoPatchedTemplate

func LoadDiscoPatchedTemplate() (*raymond.Template, error)

func LoadDiscoUnpatchedTemplate

func LoadDiscoUnpatchedTemplate() (*raymond.Template, error)

func LoadMergeGuardNoViolationsTemplate added in v1.5.56

func LoadMergeGuardNoViolationsTemplate() (*raymond.Template, error)

func LoadMergeGuardViolationsTemplate added in v1.5.56

func LoadMergeGuardViolationsTemplate() (*raymond.Template, error)

func LoadTemplate

func LoadTemplate(path string) (*raymond.Template, error)

Types

type Violation

type Violation struct {
	EntityName string
	EntityType string
	SourceLink string
	SourceLine int
	Violations []string
}

type ViolationComment

type ViolationComment struct {
	Files []ViolationFile
}

type ViolationFile

type ViolationFile struct {
	Path       string
	Violations []Violation
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL