-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
351 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# docker | ||
Dockerfile | ||
docker-compose.yml | ||
|
||
# git | ||
/.git | ||
|
||
# dep | ||
/vendor | ||
|
||
# deploy | ||
/dist | ||
|
||
# misc | ||
/.data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Build image | ||
FROM golang:1.12-alpine | ||
|
||
# Maintainer | ||
MAINTAINER Florian Schwab <me@ydkn.de> | ||
|
||
# Upgrade system | ||
RUN apk --no-cache --no-progress --update upgrade | ||
|
||
# Install dependencies | ||
RUN apk --no-cache --no-progress --update add bash build-base git ca-certificates | ||
|
||
# Install dep | ||
RUN go get github.com/golang/dep/cmd/dep | ||
|
||
# Install cobra | ||
RUN go get github.com/spf13/cobra/cobra | ||
|
||
# Install golint | ||
RUN go get golang.org/x/lint/golint | ||
|
||
# Install errcheck | ||
RUN go get github.com/kisielk/errcheck | ||
|
||
# Install goconst | ||
RUN go get github.com/jgautheron/goconst/cmd/goconst | ||
|
||
# Install ineffassign | ||
RUN go get github.com/gordonklaus/ineffassign | ||
|
||
# Set the working directory | ||
WORKDIR /go/src/sensu-sic-handler | ||
|
||
# Copy in the application code | ||
COPY ./ /go/src/sensu-sic-handler | ||
|
||
# Install dependencies | ||
RUN dep ensure | ||
|
||
# Default command | ||
CMD ["bash"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[prune] | ||
go-tests = true | ||
|
||
[[constraint]] | ||
name = "github.com/go-redis/redis" | ||
version = "6.15.2" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/mattn/go-redmine" | ||
|
||
[[constraint]] | ||
name = "github.com/sensu/sensu-go" | ||
version = "5.7.0" | ||
|
||
[[constraint]] | ||
name = "github.com/spf13/cobra" | ||
version = "0.0.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Sensu Go SIC Handler | ||
|
||
The Sensu SIC handler is a [Sensu Event Handler][1] that is used by SIC! Software for dispatching events based on entity annotations. | ||
|
||
## Installation | ||
|
||
TODO | ||
|
||
## Configuration | ||
|
||
TODO | ||
|
||
## Usage examples | ||
|
||
TODO | ||
|
||
[1]: https://docs.sensu.io/sensu-go/5.0/reference/handlers/#how-do-sensu-handlers-work |