Documentation ¶
Index ¶
- type Destination
- type DestinationAttributes
- func (d DestinationAttributes) InternalRef() (terra.Reference, error)
- func (d DestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DestinationAttributes) InternalWithRef(ref terra.Reference) DestinationAttributes
- func (d DestinationAttributes) Region() terra.StringValue
- func (d DestinationAttributes) RegistryId() terra.StringValue
- type DestinationState
- type ReplicationConfiguration
- type ReplicationConfigurationAttributes
- func (rc ReplicationConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (rc ReplicationConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc ReplicationConfigurationAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationAttributes
- func (rc ReplicationConfigurationAttributes) Rule() terra.ListValue[RuleAttributes]
- type ReplicationConfigurationState
- 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) Destination() terra.ListValue[DestinationAttributes]
- 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.ListValue[RepositoryFilterAttributes]
- type RuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destination ¶
type Destination struct { // Region: string, required Region terra.StringValue `hcl:"region,attr" validate:"required"` // RegistryId: string, required RegistryId terra.StringValue `hcl:"registry_id,attr" validate:"required"` }
type DestinationAttributes ¶
type DestinationAttributes struct {
// contains filtered or unexported fields
}
func (DestinationAttributes) InternalRef ¶
func (d DestinationAttributes) InternalRef() (terra.Reference, error)
func (DestinationAttributes) InternalTokens ¶
func (d DestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationAttributes) InternalWithRef ¶
func (d DestinationAttributes) InternalWithRef(ref terra.Reference) DestinationAttributes
func (DestinationAttributes) Region ¶
func (d DestinationAttributes) Region() terra.StringValue
func (DestinationAttributes) RegistryId ¶
func (d DestinationAttributes) RegistryId() terra.StringValue
type DestinationState ¶
type ReplicationConfiguration ¶
type ReplicationConfiguration struct { // Rule: min=1,max=10 Rule []Rule `hcl:"rule,block" validate:"min=1,max=10"` }
type ReplicationConfigurationAttributes ¶
type ReplicationConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationAttributes) InternalRef ¶
func (rc ReplicationConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationAttributes) InternalTokens ¶
func (rc ReplicationConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationAttributes) InternalWithRef ¶
func (rc ReplicationConfigurationAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationAttributes
func (ReplicationConfigurationAttributes) Rule ¶
func (rc ReplicationConfigurationAttributes) Rule() terra.ListValue[RuleAttributes]
type ReplicationConfigurationState ¶
type ReplicationConfigurationState struct {
Rule []RuleState `json:"rule"`
}
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 { // Destination: min=1,max=25 Destination []Destination `hcl:"destination,block" validate:"min=1,max=25"` // RepositoryFilter: min=0,max=100 RepositoryFilter []RepositoryFilter `hcl:"repository_filter,block" validate:"min=0,max=100"` }
type RuleAttributes ¶
type RuleAttributes struct {
// contains filtered or unexported fields
}
func (RuleAttributes) Destination ¶
func (r RuleAttributes) Destination() terra.ListValue[DestinationAttributes]
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.ListValue[RepositoryFilterAttributes]
type RuleState ¶
type RuleState struct { Destination []DestinationState `json:"destination"` RepositoryFilter []RepositoryFilterState `json:"repository_filter"` }
Click to show internal directories.
Click to hide internal directories.