This change enables users to have declarative specifications for Fission resources. Users can specify their "app" in a set of spec files, and use a new fission CLI command to "apply" these specs to a running cluster. The new "spec" CLI also includes archiving of local source files, and a file watcher that re-builds archives and uploads them on file changes, and a package build watcher that waits for package builds on the CLI. A "--spec" option is also added to "function create", and will be added to other resources in future changes. This option causes a YAML to be outputted to the specs directory instead of the resource being created on the cluster. The CLI "fission spec --help" outputs usage information.
54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
package: github.com/fission/fission
|
|
import:
|
|
- package: github.com/sirupsen/logrus
|
|
version: 68cec9f21fbf3ea8d8f98c044bc6ce05f17b267a
|
|
- package: github.com/coreos/etcd
|
|
subpackages:
|
|
- client
|
|
- package: github.com/dchest/uniuri
|
|
- package: github.com/docopt/docopt-go
|
|
version: ^0.6.2
|
|
- package: github.com/gorilla/handlers
|
|
version: ^1.1.0
|
|
- package: github.com/gorilla/mux
|
|
version: ^1.1.0
|
|
- package: github.com/satori/go.uuid
|
|
version: ^1.1.0
|
|
- package: github.com/urfave/cli
|
|
version: ^1.18.1
|
|
- package: golang.org/x/net
|
|
subpackages:
|
|
- context
|
|
- package: k8s.io/client-go
|
|
version: v4.0.0
|
|
subpackages:
|
|
- kubernetes
|
|
- pkg/api
|
|
- pkg/api/v1
|
|
- pkg/apis/extensions/v1beta1
|
|
- pkg/labels
|
|
- pkg/util/intstr
|
|
- rest
|
|
- package: k8s.io/api
|
|
version: 4b8fc5be9b77d91bbb6525d18591c43699a2b4e5
|
|
- package: k8s.io/apiextensions-apiserver
|
|
version: release-1.7
|
|
subpackages:
|
|
- pkg/apis/apiextensions/v1beta1
|
|
- package: k8s.io/apimachinery
|
|
version: release-1.7
|
|
- package: github.com/influxdata/influxdb
|
|
version: v1.2.0
|
|
subpackages:
|
|
- client/v2
|
|
- package: github.com/robfig/cron
|
|
- package: github.com/nats-io/go-nats-streaming
|
|
version: ^v0.3.4
|
|
- package: github.com/nats-io/nats-streaming-server
|
|
version: ^v0.4.0
|
|
- package: github.com/graymeta/stow
|
|
- package: github.com/mholt/archiver
|
|
- package: github.com/pkg/errors
|
|
- package: github.com/fsnotify/fsnotify
|
|
|