mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* add minio-go dep, update deps * add minio s3 client minio has an s3 compatible api and is an open source project and, notably, is not amazon, so it seems best to use their client (fwiw the aws-sdk-go is a giant hair ball of things we don't need, too). it was pretty easy and seems to work, so rolling with it. also, minio is a totally feasible option for fn installs in prod / for demos / for local. * adds 's3' package for s3 compatible log storage api, for use with storing logs from calls and retrieving them. * removes DELETE /v1/apps/:app/calls/:call/log endpoint * removes internal log deletion api * changes the GetLog API to use an io.Reader, which is a backwards step atm due to the json api for logs, I have another branch lined up to make a plain text log API and this will be much more efficient (also want to gzip) * hooked up minio to the test suite and fixed up the test suite * add how to run minio docs and point fn at it docs some notes: notably we aren't cleaning up these logs. there is a ticket already to make a Mr. Clean who wakes up periodically and nukes old stuff, so am punting any api design around some kind of TTL deletion of logs. there are a lot of options really for Mr. Clean, we can notably defer to him when apps are deleted, too, so that app deletion is fast and then Mr. Clean will just clean them up later (seems like a good option). have not tested against BMC object store, which has an s3 compatible API. but in theory it 'just works' (the reason for doing this). in any event, that's part of the service land to figure out. closes #481 closes #473 * add log not found error to minio land
81 lines
2.6 KiB
YAML
81 lines
2.6 KiB
YAML
package: github.com/fnproject/fn
|
|
excludeDirs:
|
|
- cli
|
|
import:
|
|
- package: golang.org/x/crypto
|
|
version: master
|
|
subpackages:
|
|
- pkcs12
|
|
- package: github.com/fnproject/fn_go
|
|
version: ^0.2.0
|
|
subpackages:
|
|
- models
|
|
- package: github.com/sirupsen/logrus
|
|
version: 89742aefa4b206dcf400792f3bd35b542998eb3b
|
|
- package: github.com/amir/raidman
|
|
- package: github.com/boltdb/bolt
|
|
- package: github.com/cactus/go-statsd-client
|
|
subpackages:
|
|
- statsd
|
|
- package: github.com/dchest/siphash
|
|
- package: github.com/dghubble/go-twitter
|
|
subpackages:
|
|
- twitter
|
|
- package: github.com/dghubble/oauth1
|
|
- package: github.com/dgrijalva/jwt-go
|
|
- package: github.com/docker/cli
|
|
version: 139fcd3ee95f37f3ac17b1200fb0a63908cb6781
|
|
subpackages:
|
|
- cli/config/configfile
|
|
- package: github.com/docker/distribution
|
|
version: 5f6282db7d65e6d72ad7c2cc66310724a57be716
|
|
- package: github.com/fsouza/go-dockerclient
|
|
- package: github.com/garyburd/redigo
|
|
subpackages:
|
|
- redis
|
|
- package: github.com/gin-gonic/gin
|
|
- package: github.com/rdallman/migrate
|
|
# TODO change to mattes/migrate w/ https://github.com/mattes/migrate/pull/299
|
|
version: bc72eeb997c7334cb5f05f5aefd2d70bc34d71ef
|
|
- package: github.com/go-openapi/errors
|
|
- package: github.com/go-openapi/loads
|
|
subpackages:
|
|
- fmts
|
|
- package: github.com/go-openapi/runtime
|
|
subpackages:
|
|
- client
|
|
- package: github.com/go-openapi/spec
|
|
- package: github.com/go-openapi/strfmt
|
|
- package: github.com/go-openapi/swag
|
|
- package: github.com/go-openapi/validate
|
|
- package: github.com/go-sql-driver/mysql
|
|
version: 21d7e97c9f760ca685a01ecea202e1c84276daa1
|
|
- package: github.com/google/btree
|
|
- package: github.com/jmoiron/jsonq
|
|
- package: github.com/lib/pq
|
|
- package: github.com/docker/docker
|
|
version: cdf870bd0b5fa678b10ef2708cca7ad776b4913c
|
|
- package: github.com/pkg/errors
|
|
- package: github.com/spf13/viper
|
|
- package: gopkg.in/mgo.v2
|
|
subpackages:
|
|
- bson
|
|
- package: github.com/jmoiron/sqlx
|
|
- package: github.com/mattn/go-sqlite3
|
|
- package: github.com/minio/minio-go
|
|
- package: github.com/opentracing/opentracing-go
|
|
- package: github.com/openzipkin/zipkin-go-opentracing
|
|
- package: github.com/opencontainers/go-digest
|
|
version: 279bed98673dd5bef374d3b6e4b09e2af76183bf
|
|
- package: github.com/opencontainers/runc
|
|
version: ae2948042b08ad3d6d13cd09f40a50ffff4fc688
|
|
- package: github.com/Azure/go-ansiterm
|
|
version: 19f72df4d05d31cbe1c56bfc8045c96babff6c7e
|
|
- package: github.com/prometheus/common
|
|
version: 2f17f4a9d485bf34b4bfaccc273805040e4f86c8
|
|
- package: github.com/prometheus/client_golang
|
|
- package: github.com/gin-contrib/cors
|
|
version: ~1.2.0
|
|
testImport:
|
|
- package: github.com/patrickmn/go-cache
|