Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnsupportedExtension is returned when the file extension is not supported. ErrUnsupportedExtension = errors.New("extension not supported") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Triggers []v1alpha1.TriggerMeta `json:"triggers"`
}
Config is what actually stores configs in memory. When marshalling or unmarshalling, simplified.ConfigWrapper will be used instead to make it easier for the user to write.
func NewFromFileOrDir ¶
NewFromFileOrDir news a config from file or dir.
Click to show internal directories.
Click to hide internal directories.