Adds a validator, invoked through `fission spec validate` and before `fission spec apply`. The validator checks for duplicate names, dangling references, and unused resources. Also attempts to fix a race between CLI and builder. Avoids replacing a package while it's building, instead waiting for the build status to change from pending before updating it.
65 lines
1.7 KiB
YAML
65 lines
1.7 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
|
|
- package: github.com/Azure/azure-sdk-for-go
|
|
version: ~12.4.0-beta
|
|
- package: github.com/Azure/go-autorest
|
|
version: ~9.9.0
|
|
- package: github.com/stretchr/testify
|
|
version: ~1.2.1
|
|
- package: github.com/davecgh/go-spew
|
|
version: ~1.1.0
|
|
- package: github.com/imdario/mergo
|
|
version: ~0.3.2
|
|
- package: github.com/hashicorp/go-multierror
|
|
- package: github.com/hashicorp/errwrap
|