Skip to content

Commit

Permalink
Add microsoft teams notification (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
KeisukeYamashita authored Nov 16, 2020
1 parent b8a45e9 commit 16d6813
Show file tree
Hide file tree
Showing 5 changed files with 271 additions and 44 deletions.
160 changes: 160 additions & 0 deletions api/client/notification/microsoft_teams.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

106 changes: 62 additions & 44 deletions api/client/notification/notifications.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions api/proto/notification/microsoft_teams.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
syntax = "proto3";
package proto.notification;

option go_package = "github.com/spinnaker/kleat/api/client/notification";

import "google/protobuf/wrappers.proto";

// Configuration for Microsoft Teams notifications.
message MicrosoftTeams {
// Whether Microsoft Teams notifications are enabled.
google.protobuf.BoolValue enabled = 1;
}
2 changes: 2 additions & 0 deletions api/proto/notification/notifications.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import "notification/bearychat.proto";
import "notification/email.proto";
import "notification/google_chat.proto";
import "notification/pubsub.proto";
import "notification/microsoft_teams.proto";

// Configuration for notifications.
message Notifications {
Expand All @@ -20,4 +21,5 @@ message Notifications {
Email email = 5;
GoogleChat googlechat = 6;
PubSub pubsub = 7;
MicrosoftTeams microsoftteams = 8;
}
35 changes: 35 additions & 0 deletions docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,9 @@
- [notification/google_chat.proto](#notification/google_chat.proto)
- [GoogleChat](#proto.notification.GoogleChat)

- [notification/microsoft_teams.proto](#notification/microsoft_teams.proto)
- [MicrosoftTeams](#proto.notification.MicrosoftTeams)

- [notification/notifications.proto](#notification/notifications.proto)
- [Notifications](#proto.notification.Notifications)

Expand Down Expand Up @@ -4932,6 +4935,37 @@ Configuration for Google Chat notifications.



<a name="notification/microsoft_teams.proto"></a>
<p align="right"><a href="#top">Top</a></p>

## notification/microsoft_teams.proto



<a name="proto.notification.MicrosoftTeams"></a>

### MicrosoftTeams
Configuration for Microsoft Teams notifications.


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| enabled | [google.protobuf.BoolValue](#google.protobuf.BoolValue) | | Whether Microsoft Teams notifications are enabled. |















<a name="notification/notifications.proto"></a>
<p align="right"><a href="#top">Top</a></p>

Expand All @@ -4954,6 +4988,7 @@ Configuration for notifications.
| email | [Email](#proto.notification.Email) | | |
| googlechat | [GoogleChat](#proto.notification.GoogleChat) | | |
| pubsub | [PubSub](#proto.notification.PubSub) | | |
| microsoftteams | [MicrosoftTeams](#proto.notification.MicrosoftTeams) | | |



Expand Down

0 comments on commit 16d6813

Please sign in to comment.