Skip to content

Commit

Permalink
bucket lifecycle json import
Browse files Browse the repository at this point in the history
  • Loading branch information
rzrbld committed Apr 23, 2021
1 parent d76bb8d commit c7657e1
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 71 deletions.
28 changes: 28 additions & 0 deletions examples/lifecycle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"Rules": [
{
"AbortIncompleteMultipartUpload": {},
"Expiration": {
"Date": "0001-01-01T00:00:00Z",
"Days": 1,
"DeleteMarker": false
},
"ID": "expire-bucket",
"Filter": {
"And": {},
"Tag": {
"Key": "Key",
"Value": "Value"
}
},
"NoncurrentVersionExpiration": {
"NoncurrentDays": 0
},
"NoncurrentVersionTransition": {},
"Status": "Enabled",
"Transition": {
"Date": "0001-01-01T00:00:00Z"
}
}
]
}
8 changes: 2 additions & 6 deletions src/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ require (
github.com/Joker/hpp v1.0.0 // indirect
github.com/Shopify/goreferrer v0.0.0-20210305184658-1a4fe54f556d // indirect
github.com/StackExchange/wmi v0.0.0-20210224194228-fe8f1750fd46 // indirect
github.com/elazarl/go-bindata-assetfs v1.0.0 // indirect
github.com/flosch/pongo2/v4 v4.0.2 // indirect
github.com/go-ole/go-ole v1.2.5 // indirect
github.com/golang/protobuf v1.5.1 // indirect
Expand All @@ -22,14 +21,12 @@ require (
github.com/mailru/easyjson v0.7.7 // indirect
github.com/markbates/goth v1.67.1
github.com/minio/md5-simd v1.1.2 // indirect
github.com/minio/minio v0.0.0-20210324172527-749e9c577119
github.com/minio/minio v0.0.0-20210326002359-91eb1fe2ef42
github.com/minio/minio-go/v7 v7.0.11-0.20210302210017-6ae69c73ce78
github.com/montanaflynn/stats v0.6.5 // indirect
github.com/prometheus/client_golang v1.10.0
github.com/prometheus/common v0.20.0 // indirect
github.com/prometheus/procfs v0.6.0 // indirect
github.com/rzrbld/goth-provider-wso2 v0.0.0-20200714144945-8df7b3afa068
github.com/shirou/gopsutil v3.21.2+incompatible // indirect
github.com/shirou/gopsutil/v3 v3.21.2 // indirect
github.com/smartystreets/assertions v1.2.0 // indirect
github.com/stretchr/testify v1.7.0 // indirect
Expand All @@ -38,9 +35,8 @@ require (
github.com/vmihailenco/msgpack/v5 v5.3.1 // indirect
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 // indirect
golang.org/x/net v0.0.0-20210324051636-2c4c8ecb7826 // indirect
golang.org/x/net v0.0.0-20210326060303-6b1517762897 // indirect
golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558 // indirect
golang.org/x/sys v0.0.0-20210324051608-47abb6519492 // indirect
golang.org/x/text v0.3.5 // indirect
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba // indirect
google.golang.org/appengine v1.6.7 // indirect
Expand Down
Loading

0 comments on commit c7657e1

Please sign in to comment.