Documentation ¶
Index ¶
- type ControlSets
- type ControlSetsAttributes
- func (cs ControlSetsAttributes) Controls() terra.SetValue[ControlsAttributes]
- func (cs ControlSetsAttributes) Id() terra.StringValue
- func (cs ControlSetsAttributes) InternalRef() (terra.Reference, error)
- func (cs ControlSetsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cs ControlSetsAttributes) InternalWithRef(ref terra.Reference) ControlSetsAttributes
- func (cs ControlSetsAttributes) Name() terra.StringValue
- type ControlSetsState
- type Controls
- type ControlsAttributes
- type ControlsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlSets ¶
type ControlSets struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Controls: min=0 Controls []Controls `hcl:"controls,block" validate:"min=0"` }
type ControlSetsAttributes ¶
type ControlSetsAttributes struct {
// contains filtered or unexported fields
}
func (ControlSetsAttributes) Controls ¶
func (cs ControlSetsAttributes) Controls() terra.SetValue[ControlsAttributes]
func (ControlSetsAttributes) Id ¶
func (cs ControlSetsAttributes) Id() terra.StringValue
func (ControlSetsAttributes) InternalRef ¶
func (cs ControlSetsAttributes) InternalRef() (terra.Reference, error)
func (ControlSetsAttributes) InternalTokens ¶
func (cs ControlSetsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ControlSetsAttributes) InternalWithRef ¶
func (cs ControlSetsAttributes) InternalWithRef(ref terra.Reference) ControlSetsAttributes
func (ControlSetsAttributes) Name ¶
func (cs ControlSetsAttributes) Name() terra.StringValue
type ControlSetsState ¶
type ControlSetsState struct { Id string `json:"id"` Name string `json:"name"` Controls []ControlsState `json:"controls"` }
type Controls ¶
type Controls struct { // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` }
type ControlsAttributes ¶
type ControlsAttributes struct {
// contains filtered or unexported fields
}
func (ControlsAttributes) Id ¶
func (c ControlsAttributes) Id() terra.StringValue
func (ControlsAttributes) InternalRef ¶
func (c ControlsAttributes) InternalRef() (terra.Reference, error)
func (ControlsAttributes) InternalTokens ¶
func (c ControlsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ControlsAttributes) InternalWithRef ¶
func (c ControlsAttributes) InternalWithRef(ref terra.Reference) ControlsAttributes
type ControlsState ¶
type ControlsState struct {
Id string `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.