Documentation ¶
Index ¶
- type AllowListConfig
- func (a *AllowListConfig) BaseDirectory() string
- func (a *AllowListConfig) Build() (map[string]interface{}, metadataobject.ErrParsingMetadataObject)
- func (a *AllowListConfig) CreateFiles() error
- func (a *AllowListConfig) Export(metadata map[string]yaml.Node) (map[string][]byte, metadataobject.ErrParsingMetadataObject)
- func (a *AllowListConfig) Filename() string
- func (a *AllowListConfig) GetFiles() ([]string, metadataobject.ErrParsingMetadataObject)
- func (a *AllowListConfig) Key() string
- func (a *AllowListConfig) Validate() error
- func (a *AllowListConfig) WriteDiff(opts metadataobject.WriteDiffOpts) metadataobject.ErrParsingMetadataObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowListConfig ¶
type AllowListConfig struct { MetadataDir string // contains filtered or unexported fields }
func New ¶
func New(ec *cli.ExecutionContext, baseDir string) *AllowListConfig
func (*AllowListConfig) BaseDirectory ¶
func (a *AllowListConfig) BaseDirectory() string
func (*AllowListConfig) Build ¶
func (a *AllowListConfig) Build() (map[string]interface{}, metadataobject.ErrParsingMetadataObject)
func (*AllowListConfig) CreateFiles ¶
func (a *AllowListConfig) CreateFiles() error
func (*AllowListConfig) Export ¶
func (a *AllowListConfig) Export(metadata map[string]yaml.Node) (map[string][]byte, metadataobject.ErrParsingMetadataObject)
func (*AllowListConfig) Filename ¶
func (a *AllowListConfig) Filename() string
func (*AllowListConfig) GetFiles ¶
func (a *AllowListConfig) GetFiles() ([]string, metadataobject.ErrParsingMetadataObject)
func (*AllowListConfig) Key ¶
func (a *AllowListConfig) Key() string
func (*AllowListConfig) Validate ¶
func (a *AllowListConfig) Validate() error
func (*AllowListConfig) WriteDiff ¶
func (a *AllowListConfig) WriteDiff(opts metadataobject.WriteDiffOpts) metadataobject.ErrParsingMetadataObject
Click to show internal directories.
Click to hide internal directories.