ecrreplicationconfiguration

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 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 (DestinationAttributes) Region

func (DestinationAttributes) RegistryId

func (d DestinationAttributes) RegistryId() terra.StringValue

type DestinationState

type DestinationState struct {
	Region     string `json:"region"`
	RegistryId string `json:"registry_id"`
}

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 (ReplicationConfigurationAttributes) InternalTokens

func (ReplicationConfigurationAttributes) InternalWithRef

func (ReplicationConfigurationAttributes) Rule

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 (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 {
	// 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 (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

type RuleState

type RuleState struct {
	Destination      []DestinationState      `json:"destination"`
	RepositoryFilter []RepositoryFilterState `json:"repository_filter"`
}

Jump to

Keyboard shortcuts

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