Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeType ¶
type ChangeType string
const ( Create ChangeType = "CREATE" Update ChangeType = "UPDATE" Delete ChangeType = "DELETE" )
type ResourceDiff ¶
type ResourceDiff struct {
Kind string `yaml:"kind,omitempty" json:"kind,omitempty"`
Name string `yaml:"name,omitempty" json:"name,omitempty"`
Namespace string `yaml:"namespace,omitempty" json:"namespace,omitempty"`
ChangeType ChangeType `yaml:"change_type,omitempty" json:"change_type,omitempty"`
Severity Severity `yaml:"severity,omitempty" json:"severity,omitempty"`
Category Category `yaml:"category,omitempty" json:"category,omitempty"`
Additions int `yaml:"additions,omitempty" json:"additions,omitempty"`
Deletions int `yaml:"deletions,omitempty" json:"deletions,omitempty"`
ChangedLines int `yaml:"changed_lines,omitempty" json:"changed_lines,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.