Documentation ¶
Index ¶
- type AllowListConfig
- func (a *AllowListConfig) BaseDirectory() string
- func (a *AllowListConfig) Build() (map[string]interface{}, error)
- func (a *AllowListConfig) CreateFiles() error
- func (a *AllowListConfig) Export(metadata map[string]yaml.Node) (map[string][]byte, error)
- func (a *AllowListConfig) Filename() string
- func (a *AllowListConfig) GetFiles() ([]string, error)
- func (a *AllowListConfig) Key() string
- func (a *AllowListConfig) Validate() error
- func (a *AllowListConfig) WriteDiff(opts metadataobject.WriteDiffOpts) error
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{}, error)
func (*AllowListConfig) CreateFiles ¶
func (a *AllowListConfig) CreateFiles() error
func (*AllowListConfig) Export ¶
func (a *AllowListConfig) Export(metadata map[string]yaml.Node) (map[string][]byte, error)
func (*AllowListConfig) Filename ¶
func (a *AllowListConfig) Filename() string
func (*AllowListConfig) GetFiles ¶
func (a *AllowListConfig) GetFiles() ([]string, error)
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) error
Click to show internal directories.
Click to hide internal directories.