allowlist

package
v2.36.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL