ecrregistryscanningconfiguration

package
v0.0.0-...-917d9f1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepositoryFilter

type RepositoryFilter struct {
	// Filter: string, required
	Filter terra.StringValue `hcl:"filter,attr" validate:"required"`
	// FilterType: string, required
	FilterType terra.StringValue `hcl:"filter_type,attr" validate:"required"`
}

type RepositoryFilterAttributes

type RepositoryFilterAttributes struct {
	// contains filtered or unexported fields
}

func (RepositoryFilterAttributes) Filter

func (RepositoryFilterAttributes) FilterType

func (RepositoryFilterAttributes) InternalRef

func (rf RepositoryFilterAttributes) InternalRef() (terra.Reference, error)

func (RepositoryFilterAttributes) InternalTokens

func (rf RepositoryFilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RepositoryFilterAttributes) InternalWithRef

type RepositoryFilterState

type RepositoryFilterState struct {
	Filter     string `json:"filter"`
	FilterType string `json:"filter_type"`
}

type Rule

type Rule struct {
	// ScanFrequency: string, required
	ScanFrequency terra.StringValue `hcl:"scan_frequency,attr" validate:"required"`
	// RepositoryFilter: min=1
	RepositoryFilter []RepositoryFilter `hcl:"repository_filter,block" validate:"min=1"`
}

type RuleAttributes

type RuleAttributes struct {
	// contains filtered or unexported fields
}

func (RuleAttributes) InternalRef

func (r RuleAttributes) InternalRef() (terra.Reference, error)

func (RuleAttributes) InternalTokens

func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuleAttributes) InternalWithRef

func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes

func (RuleAttributes) RepositoryFilter

func (RuleAttributes) ScanFrequency

func (r RuleAttributes) ScanFrequency() terra.StringValue

type RuleState

type RuleState struct {
	ScanFrequency    string                  `json:"scan_frequency"`
	RepositoryFilter []RepositoryFilterState `json:"repository_filter"`
}

Jump to

Keyboard shortcuts

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