Skip to content

Commit

Permalink
Use sensu-plugin-sdk
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Chlebek <[email protected]>
  • Loading branch information
echlebek committed Feb 5, 2020
1 parent e526ce0 commit 83f478b
Show file tree
Hide file tree
Showing 5 changed files with 305 additions and 182 deletions.
5 changes: 3 additions & 2 deletions aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package aws

import (
"fmt"
"log"

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/sensu/sensu-plugins-go-library/sensu"
"log"
"github.com/sensu-community/sensu-plugin-sdk/sensu"
)

var (
Expand Down
29 changes: 7 additions & 22 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,15 @@ go 1.13

require (
github.com/aws/aws-sdk-go v1.19.11
github.com/coreos/etcd v3.3.13+incompatible // indirect
github.com/coreos/go-semver v0.3.0 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/echlebek/crock v1.0.1 // indirect
github.com/echlebek/timeproxy v1.0.0 // indirect
github.com/gogo/protobuf v1.2.1 // indirect
github.com/golang/protobuf v1.3.1 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/json-iterator/go v1.1.6 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect
github.com/robertkrimen/otto v0.0.0-20180617131154-15f95af6e78d // indirect
github.com/envoyproxy/go-control-plane v0.6.9 // indirect
github.com/gogo/googleapis v1.1.0 // indirect
github.com/gorilla/mux v1.7.3 // indirect
github.com/lyft/protoc-gen-validate v0.0.13 // indirect
github.com/robfig/cron v1.0.1-0.20171101201047-2315d5715e36 // indirect
github.com/sensu-community/sensu-plugin-sdk v0.5.0
github.com/sensu-skunkworks/sensu-aws-ec2-deregistration-handler v0.0.0-20190717033901-7e11e7c85e57
github.com/sensu/sensu-go v0.0.0-20190618214340-c7551ba6f201
github.com/sensu/sensu-go v0.0.0-20200131164840-40b1d5938251
github.com/sensu/sensu-plugins-go-library v0.0.0-20190605192444-3ea0d273e458
github.com/sirupsen/logrus v1.4.2 // indirect
github.com/spf13/cobra v0.0.3 // indirect
github.com/spf13/pflag v1.0.3 // indirect
github.com/stretchr/testify v1.3.0
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 // indirect
google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107 // indirect
google.golang.org/grpc v1.20.0 // indirect
gopkg.in/sourcemap.v1 v1.0.5 // indirect
github.com/stretchr/testify v1.4.0
gopkg.in/yaml.v2 v2.2.8 // indirect
)
Loading

0 comments on commit 83f478b

Please sign in to comment.