Documentation ¶
Index ¶
- type RepositoryFilter
- type RepositoryFilterAttributes
- func (rf RepositoryFilterAttributes) Filter() terra.StringValue
- func (rf RepositoryFilterAttributes) FilterType() terra.StringValue
- func (rf RepositoryFilterAttributes) InternalRef() (terra.Reference, error)
- func (rf RepositoryFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rf RepositoryFilterAttributes) InternalWithRef(ref terra.Reference) RepositoryFilterAttributes
- type RepositoryFilterState
- type Rule
- type RuleAttributes
- func (r RuleAttributes) InternalRef() (terra.Reference, error)
- func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
- func (r RuleAttributes) RepositoryFilter() terra.SetValue[RepositoryFilterAttributes]
- func (r RuleAttributes) ScanFrequency() terra.StringValue
- type RuleState
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 (rf RepositoryFilterAttributes) Filter() terra.StringValue
func (RepositoryFilterAttributes) FilterType ¶
func (rf RepositoryFilterAttributes) FilterType() terra.StringValue
func (RepositoryFilterAttributes) InternalRef ¶
func (rf RepositoryFilterAttributes) InternalRef() (terra.Reference, error)
func (RepositoryFilterAttributes) InternalTokens ¶
func (rf RepositoryFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RepositoryFilterAttributes) InternalWithRef ¶
func (rf RepositoryFilterAttributes) InternalWithRef(ref terra.Reference) RepositoryFilterAttributes
type RepositoryFilterState ¶
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 (r RuleAttributes) RepositoryFilter() terra.SetValue[RepositoryFilterAttributes]
func (RuleAttributes) ScanFrequency ¶
func (r RuleAttributes) ScanFrequency() terra.StringValue
type RuleState ¶
type RuleState struct { ScanFrequency string `json:"scan_frequency"` RepositoryFilter []RepositoryFilterState `json:"repository_filter"` }
Click to show internal directories.
Click to hide internal directories.