Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteEntry ¶
type DeleteEntry struct { Project string `yaml:"project,omitempty" mapstructure:"project"` Type string `yaml:"type" mapstructure:"type"` ConfigId string `yaml:"id,omitempty" mapstructure:"id"` ConfigName string `yaml:"name,omitempty" mapstructure:"name"` }
DeleteEntry is a full representation of a delete entry loaded from a YAML delete file ConfigId and ConfigName should be mutually exclusive (validated if using LoadEntriesToDelete)
type FileDefinition ¶
type FileDefinition struct {
// DeleteEntries loaded from a file are either legacy shorthand strings or full DeleteEntry values
DeleteEntries []interface{} `yaml:"delete"`
}
FileDefinition represents a loaded YAML delete file consisting of a list of delete entries called 'delete' In this struct DeleteEntries may either be a legacy shorthand string or full DeleteEntry value. Use FullFileDefinition if you're always working with DeleteEntry values instead
type FullFileDefinition ¶
type FullFileDefinition struct { // DeleteEntries loaded from a file are either legacy shorthand strings or full DeleteEntry values DeleteEntries []DeleteEntry `yaml:"delete"` }
FullFileDefinition represents a delete file consisting of a list of delete entries called 'delete' In this struct DeleteEntries are DeleteEntry values.
Click to show internal directories.
Click to hide internal directories.