Documentation ¶
Index ¶
- type ApprovalRule
- type ApprovalRuleAttributes
- func (ar ApprovalRuleAttributes) ApproveAfterDays() terra.NumberValue
- func (ar ApprovalRuleAttributes) ApproveUntilDate() terra.StringValue
- func (ar ApprovalRuleAttributes) ComplianceLevel() terra.StringValue
- func (ar ApprovalRuleAttributes) EnableNonSecurity() terra.BoolValue
- func (ar ApprovalRuleAttributes) InternalRef() (terra.Reference, error)
- func (ar ApprovalRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ar ApprovalRuleAttributes) InternalWithRef(ref terra.Reference) ApprovalRuleAttributes
- func (ar ApprovalRuleAttributes) PatchFilter() terra.ListValue[PatchFilterAttributes]
- type ApprovalRuleState
- type GlobalFilter
- type GlobalFilterAttributes
- func (gf GlobalFilterAttributes) InternalRef() (terra.Reference, error)
- func (gf GlobalFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gf GlobalFilterAttributes) InternalWithRef(ref terra.Reference) GlobalFilterAttributes
- func (gf GlobalFilterAttributes) Key() terra.StringValue
- func (gf GlobalFilterAttributes) Values() terra.ListValue[terra.StringValue]
- type GlobalFilterState
- type PatchFilter
- type PatchFilterAttributes
- func (pf PatchFilterAttributes) InternalRef() (terra.Reference, error)
- func (pf PatchFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pf PatchFilterAttributes) InternalWithRef(ref terra.Reference) PatchFilterAttributes
- func (pf PatchFilterAttributes) Key() terra.StringValue
- func (pf PatchFilterAttributes) Values() terra.ListValue[terra.StringValue]
- type PatchFilterState
- type Source
- type SourceAttributes
- func (s SourceAttributes) Configuration() terra.StringValue
- func (s SourceAttributes) InternalRef() (terra.Reference, error)
- func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
- func (s SourceAttributes) Name() terra.StringValue
- func (s SourceAttributes) Products() terra.ListValue[terra.StringValue]
- type SourceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApprovalRule ¶
type ApprovalRule struct { // ApproveAfterDays: number, optional ApproveAfterDays terra.NumberValue `hcl:"approve_after_days,attr"` // ApproveUntilDate: string, optional ApproveUntilDate terra.StringValue `hcl:"approve_until_date,attr"` // ComplianceLevel: string, optional ComplianceLevel terra.StringValue `hcl:"compliance_level,attr"` // EnableNonSecurity: bool, optional EnableNonSecurity terra.BoolValue `hcl:"enable_non_security,attr"` // PatchFilter: min=1,max=10 PatchFilter []PatchFilter `hcl:"patch_filter,block" validate:"min=1,max=10"` }
type ApprovalRuleAttributes ¶
type ApprovalRuleAttributes struct {
// contains filtered or unexported fields
}
func (ApprovalRuleAttributes) ApproveAfterDays ¶
func (ar ApprovalRuleAttributes) ApproveAfterDays() terra.NumberValue
func (ApprovalRuleAttributes) ApproveUntilDate ¶
func (ar ApprovalRuleAttributes) ApproveUntilDate() terra.StringValue
func (ApprovalRuleAttributes) ComplianceLevel ¶
func (ar ApprovalRuleAttributes) ComplianceLevel() terra.StringValue
func (ApprovalRuleAttributes) EnableNonSecurity ¶
func (ar ApprovalRuleAttributes) EnableNonSecurity() terra.BoolValue
func (ApprovalRuleAttributes) InternalRef ¶
func (ar ApprovalRuleAttributes) InternalRef() (terra.Reference, error)
func (ApprovalRuleAttributes) InternalTokens ¶
func (ar ApprovalRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ApprovalRuleAttributes) InternalWithRef ¶
func (ar ApprovalRuleAttributes) InternalWithRef(ref terra.Reference) ApprovalRuleAttributes
func (ApprovalRuleAttributes) PatchFilter ¶
func (ar ApprovalRuleAttributes) PatchFilter() terra.ListValue[PatchFilterAttributes]
type ApprovalRuleState ¶
type ApprovalRuleState struct { ApproveAfterDays float64 `json:"approve_after_days"` ApproveUntilDate string `json:"approve_until_date"` ComplianceLevel string `json:"compliance_level"` EnableNonSecurity bool `json:"enable_non_security"` PatchFilter []PatchFilterState `json:"patch_filter"` }
type GlobalFilter ¶
type GlobalFilter struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Values: list of string, required Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type GlobalFilterAttributes ¶
type GlobalFilterAttributes struct {
// contains filtered or unexported fields
}
func (GlobalFilterAttributes) InternalRef ¶
func (gf GlobalFilterAttributes) InternalRef() (terra.Reference, error)
func (GlobalFilterAttributes) InternalTokens ¶
func (gf GlobalFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GlobalFilterAttributes) InternalWithRef ¶
func (gf GlobalFilterAttributes) InternalWithRef(ref terra.Reference) GlobalFilterAttributes
func (GlobalFilterAttributes) Key ¶
func (gf GlobalFilterAttributes) Key() terra.StringValue
func (GlobalFilterAttributes) Values ¶
func (gf GlobalFilterAttributes) Values() terra.ListValue[terra.StringValue]
type GlobalFilterState ¶
type PatchFilter ¶
type PatchFilter struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Values: list of string, required Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type PatchFilterAttributes ¶
type PatchFilterAttributes struct {
// contains filtered or unexported fields
}
func (PatchFilterAttributes) InternalRef ¶
func (pf PatchFilterAttributes) InternalRef() (terra.Reference, error)
func (PatchFilterAttributes) InternalTokens ¶
func (pf PatchFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PatchFilterAttributes) InternalWithRef ¶
func (pf PatchFilterAttributes) InternalWithRef(ref terra.Reference) PatchFilterAttributes
func (PatchFilterAttributes) Key ¶
func (pf PatchFilterAttributes) Key() terra.StringValue
func (PatchFilterAttributes) Values ¶
func (pf PatchFilterAttributes) Values() terra.ListValue[terra.StringValue]
type PatchFilterState ¶
type Source ¶
type Source struct { // Configuration: string, required Configuration terra.StringValue `hcl:"configuration,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Products: list of string, required Products terra.ListValue[terra.StringValue] `hcl:"products,attr" validate:"required"` }
type SourceAttributes ¶
type SourceAttributes struct {
// contains filtered or unexported fields
}
func (SourceAttributes) Configuration ¶
func (s SourceAttributes) Configuration() terra.StringValue
func (SourceAttributes) InternalRef ¶
func (s SourceAttributes) InternalRef() (terra.Reference, error)
func (SourceAttributes) InternalTokens ¶
func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceAttributes) InternalWithRef ¶
func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
func (SourceAttributes) Name ¶
func (s SourceAttributes) Name() terra.StringValue
func (SourceAttributes) Products ¶
func (s SourceAttributes) Products() terra.ListValue[terra.StringValue]
type SourceState ¶
Click to show internal directories.
Click to hide internal directories.