Versions in this module Expand all Collapse all v0 v0.0.4 Nov 18, 2022 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 ExistingObjectReplication struct + Status Status + func (e ExistingObjectReplication) IsEmpty() bool + func (e ExistingObjectReplication) Validate() error + type Filter struct + And And + Prefix string + Tag Tag + XMLName xml.Name + func (f Filter) Validate() error + type Metrics struct + FailedCount uint64 + FailedSize uint64 + PendingCount uint64 + PendingSize uint64 + ReplicaSize uint64 + ReplicatedSize uint64 + Stats map[string]TargetMetrics + type OptionType string + const AddOption + const ImportOption + const RemoveOption + const SetOption + type Options struct + DestBucket string + ExistingObjectReplicate string + ID string + IsSCSet bool + IsTagSet bool + Op OptionType + Prefix string + Priority string + ReplicaSync 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 ResyncTarget struct + Arn string + Bucket string + EndTime time.Time + FailedCount int64 + FailedSize int64 + Object string + ReplicatedCount int64 + ReplicatedSize int64 + ResetID string + ResyncStatus string + StartTime time.Time + type ResyncTargetsInfo struct + Targets []ResyncTarget + type Rule struct + DeleteMarkerReplication DeleteMarkerReplication + DeleteReplication DeleteReplication + Destination Destination + ExistingObjectReplication ExistingObjectReplication + 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 + type TargetMetrics struct + FailedCount uint64 + FailedSize uint64 + PendingCount uint64 + PendingSize uint64 + ReplicaSize uint64 + ReplicatedSize uint64