Documentation ¶
Index ¶
- Constants
- func ApplyFilters(obj ObjectInterface, filters []ObjectFilterFunc) bool
- func ApplyVersionedFilters(obj ObjectVersionInterface, filters []ObjectVersionFilterFunc) bool
- type ListObjectsItemOutput
- type ListObjectsOutput
- type Object
- type ObjectFilterFunc
- type ObjectInterface
- type ObjectVersion
- func (o *ObjectVersion) GetIsLatest() bool
- func (o *ObjectVersion) GetKey() *string
- func (o *ObjectVersion) GetLastModified() *time.Time
- func (o *ObjectVersion) GetListObjectsItemOutput() *ListObjectsItemOutput
- func (o *ObjectVersion) GetSize() int64
- func (o *ObjectVersion) GetVersionID() *string
- func (o *ObjectVersion) GetVersionNumber() uint64
- func (o *ObjectVersion) SetVersionNumber(versionNumber uint64)
- type ObjectVersionFilterFunc
- type ObjectVersionInterface
Constants ¶
View Source
const (
TimestampFormat = "2006-01-02 15:04:05 MST"
)
Variables ¶
This section is empty.
Functions ¶
func ApplyFilters ¶
func ApplyFilters(obj ObjectInterface, filters []ObjectFilterFunc) bool
func ApplyVersionedFilters ¶
func ApplyVersionedFilters(obj ObjectVersionInterface, filters []ObjectVersionFilterFunc) bool
Types ¶
type ListObjectsItemOutput ¶
type ListObjectsOutput ¶
type ListObjectsOutput []ListObjectsItemOutput
func (*ListObjectsOutput) ToJSON ¶
func (o *ListObjectsOutput) ToJSON()
func (*ListObjectsOutput) ToTable ¶
func (o *ListObjectsOutput) ToTable()
func (*ListObjectsOutput) ToText ¶
func (o *ListObjectsOutput) ToText()
type Object ¶
func (*Object) GetLastModified ¶
func (*Object) GetListObjectsItemOutput ¶
func (o *Object) GetListObjectsItemOutput() *ListObjectsItemOutput
type ObjectFilterFunc ¶
type ObjectFilterFunc func(ObjectInterface) bool
func NewerThanFilterFunc ¶
func NewerThanFilterFunc(t time.Time) ObjectFilterFunc
func OlderThanFilterFunc ¶
func OlderThanFilterFunc(t time.Time) ObjectFilterFunc
type ObjectInterface ¶
type ObjectInterface interface { GetKey() *string GetSize() int64 GetLastModified() *time.Time GetListObjectsItemOutput() *ListObjectsItemOutput }
type ObjectVersion ¶
type ObjectVersion struct { *types.ObjectVersion VersionNumber uint64 }
func (*ObjectVersion) GetIsLatest ¶
func (o *ObjectVersion) GetIsLatest() bool
func (*ObjectVersion) GetKey ¶
func (o *ObjectVersion) GetKey() *string
func (*ObjectVersion) GetLastModified ¶
func (o *ObjectVersion) GetLastModified() *time.Time
func (*ObjectVersion) GetListObjectsItemOutput ¶
func (o *ObjectVersion) GetListObjectsItemOutput() *ListObjectsItemOutput
func (*ObjectVersion) GetSize ¶
func (o *ObjectVersion) GetSize() int64
func (*ObjectVersion) GetVersionID ¶ added in v1.78.1
func (o *ObjectVersion) GetVersionID() *string
func (*ObjectVersion) GetVersionNumber ¶
func (o *ObjectVersion) GetVersionNumber() uint64
func (*ObjectVersion) SetVersionNumber ¶
func (o *ObjectVersion) SetVersionNumber(versionNumber uint64)
type ObjectVersionFilterFunc ¶
type ObjectVersionFilterFunc func(ObjectVersionInterface) bool
type ObjectVersionInterface ¶
type ObjectVersionInterface interface { ObjectInterface GetIsLatest() bool GetVersionID() *string SetVersionNumber(uint64) GetVersionNumber() uint64 }
Click to show internal directories.
Click to hide internal directories.