Versions in this module Expand all Collapse all v7 v7.0.0 Mar 13, 2021 Changes in this version + type And struct + Prefix string + Tags []Tag + XMLName xml.Name + type Config struct + Role string + Rules []Rule + XMLName xml.Name + func (c *Config) AddRule(opts Options) error + func (c *Config) EditRule(opts Options) error + func (c *Config) Empty() bool + func (c *Config) RemoveRule(opts Options) error + type DeleteMarkerReplication struct + Status Status + func (d DeleteMarkerReplication) IsEmpty() bool + type DeleteReplication struct + Status Status + func (d DeleteReplication) IsEmpty() bool + type Destination struct + Bucket string + StorageClass string + XMLName xml.Name + type Filter struct + And And + Prefix string + Tag Tag + XMLName xml.Name + func (f Filter) Validate() error + type OptionType string + const AddOption + const ImportOption + const RemoveOption + const SetOption + type Options struct + DestBucket string + ID string + IsSCSet bool + IsTagSet bool + Op OptionType + Prefix string + Priority string + ReplicateDeleteMarkers string + ReplicateDeletes string + RoleArn string + RuleStatus string + StorageClass string + TagString string + func (opts Options) Tags() ([]Tag, error) + type ReplicaModifications struct + Status Status + type Rule struct + DeleteMarkerReplication DeleteMarkerReplication + DeleteReplication DeleteReplication + Destination Destination + Filter Filter + ID string + Priority int + SourceSelectionCriteria SourceSelectionCriteria + Status Status + XMLName xml.Name + func (r Rule) Prefix() string + func (r Rule) Tags() string + func (r Rule) Validate() error + type SourceSelectionCriteria struct + ReplicaModifications ReplicaModifications + func (s SourceSelectionCriteria) IsValid() bool + func (s SourceSelectionCriteria) Validate() error + type Status string + const Disabled + const Enabled + type Tag struct + Key string + Value string + XMLName xml.Name + func (tag Tag) IsEmpty() bool + func (tag Tag) String() string + func (tag Tag) Validate() error