notification

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_notification_bearychat_proto protoreflect.FileDescriptor
View Source
var File_notification_email_proto protoreflect.FileDescriptor
View Source
var File_notification_github_status_proto protoreflect.FileDescriptor
View Source
var File_notification_google_chat_proto protoreflect.FileDescriptor
View Source
var File_notification_microsoft_teams_proto protoreflect.FileDescriptor
View Source
var File_notification_notifications_proto protoreflect.FileDescriptor
View Source
var File_notification_pubsub_proto protoreflect.FileDescriptor
View Source
var File_notification_slack_proto protoreflect.FileDescriptor
View Source
var File_notification_twilio_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BearyChat

type BearyChat struct {

	// Whether BearyChat notifications are enabled.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for BearyChat notifications.

func (*BearyChat) Descriptor deprecated

func (*BearyChat) Descriptor() ([]byte, []int)

Deprecated: Use BearyChat.ProtoReflect.Descriptor instead.

func (*BearyChat) GetEnabled

func (x *BearyChat) GetEnabled() *wrapperspb.BoolValue

func (*BearyChat) ProtoMessage

func (*BearyChat) ProtoMessage()

func (*BearyChat) ProtoReflect

func (x *BearyChat) ProtoReflect() protoreflect.Message

func (*BearyChat) Reset

func (x *BearyChat) Reset()

func (*BearyChat) String

func (x *BearyChat) String() string

type Email

type Email struct {

	// Whether Email notifications are enabled.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Email notifications.

func (*Email) Descriptor deprecated

func (*Email) Descriptor() ([]byte, []int)

Deprecated: Use Email.ProtoReflect.Descriptor instead.

func (*Email) GetEnabled

func (x *Email) GetEnabled() *wrapperspb.BoolValue

func (*Email) ProtoMessage

func (*Email) ProtoMessage()

func (*Email) ProtoReflect

func (x *Email) ProtoReflect() protoreflect.Message

func (*Email) Reset

func (x *Email) Reset()

func (*Email) String

func (x *Email) String() string

type GithubStatus

type GithubStatus struct {

	// Whether GitHub status notifications are enabled.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Your GitHub account token.
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Github status notifications.

func (*GithubStatus) Descriptor deprecated

func (*GithubStatus) Descriptor() ([]byte, []int)

Deprecated: Use GithubStatus.ProtoReflect.Descriptor instead.

func (*GithubStatus) GetEnabled

func (x *GithubStatus) GetEnabled() *wrapperspb.BoolValue

func (*GithubStatus) GetToken

func (x *GithubStatus) GetToken() string

func (*GithubStatus) ProtoMessage

func (*GithubStatus) ProtoMessage()

func (*GithubStatus) ProtoReflect

func (x *GithubStatus) ProtoReflect() protoreflect.Message

func (*GithubStatus) Reset

func (x *GithubStatus) Reset()

func (*GithubStatus) String

func (x *GithubStatus) String() string

type GoogleChat

type GoogleChat struct {

	// Whether Google Chat notifications are enabled.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Google Chat notifications.

func (*GoogleChat) Descriptor deprecated

func (*GoogleChat) Descriptor() ([]byte, []int)

Deprecated: Use GoogleChat.ProtoReflect.Descriptor instead.

func (*GoogleChat) GetEnabled

func (x *GoogleChat) GetEnabled() *wrapperspb.BoolValue

func (*GoogleChat) ProtoMessage

func (*GoogleChat) ProtoMessage()

func (*GoogleChat) ProtoReflect

func (x *GoogleChat) ProtoReflect() protoreflect.Message

func (*GoogleChat) Reset

func (x *GoogleChat) Reset()

func (*GoogleChat) String

func (x *GoogleChat) String() string

type MicrosoftTeams added in v0.6.0

type MicrosoftTeams struct {

	// Whether Microsoft Teams notifications are enabled.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Microsoft Teams notifications.

func (*MicrosoftTeams) Descriptor deprecated added in v0.6.0

func (*MicrosoftTeams) Descriptor() ([]byte, []int)

Deprecated: Use MicrosoftTeams.ProtoReflect.Descriptor instead.

func (*MicrosoftTeams) GetEnabled added in v0.6.0

func (x *MicrosoftTeams) GetEnabled() *wrapperspb.BoolValue

func (*MicrosoftTeams) ProtoMessage added in v0.6.0

func (*MicrosoftTeams) ProtoMessage()

func (*MicrosoftTeams) ProtoReflect added in v0.6.0

func (x *MicrosoftTeams) ProtoReflect() protoreflect.Message

func (*MicrosoftTeams) Reset added in v0.6.0

func (x *MicrosoftTeams) Reset()

func (*MicrosoftTeams) String added in v0.6.0

func (x *MicrosoftTeams) String() string

type Notifications

type Notifications struct {
	Slack          *Slack          `protobuf:"bytes,1,opt,name=slack,proto3" json:"slack,omitempty"`
	Twilio         *Twilio         `protobuf:"bytes,2,opt,name=twilio,proto3" json:"twilio,omitempty"`
	GithubStatus   *GithubStatus   `protobuf:"bytes,3,opt,name=githubStatus,proto3" json:"githubStatus,omitempty"`
	Bearychat      *BearyChat      `protobuf:"bytes,4,opt,name=bearychat,proto3" json:"bearychat,omitempty"`
	Email          *Email          `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Googlechat     *GoogleChat     `protobuf:"bytes,6,opt,name=googlechat,proto3" json:"googlechat,omitempty"`
	Pubsub         *PubSub         `protobuf:"bytes,7,opt,name=pubsub,proto3" json:"pubsub,omitempty"`
	Microsoftteams *MicrosoftTeams `protobuf:"bytes,8,opt,name=microsoftteams,proto3" json:"microsoftteams,omitempty"`
	// contains filtered or unexported fields
}

Configuration for notifications.

func (*Notifications) Descriptor deprecated

func (*Notifications) Descriptor() ([]byte, []int)

Deprecated: Use Notifications.ProtoReflect.Descriptor instead.

func (*Notifications) GetBearychat

func (x *Notifications) GetBearychat() *BearyChat

func (*Notifications) GetEmail

func (x *Notifications) GetEmail() *Email

func (*Notifications) GetGithubStatus

func (x *Notifications) GetGithubStatus() *GithubStatus

func (*Notifications) GetGooglechat

func (x *Notifications) GetGooglechat() *GoogleChat

func (*Notifications) GetMicrosoftteams added in v0.6.0

func (x *Notifications) GetMicrosoftteams() *MicrosoftTeams

func (*Notifications) GetPubsub

func (x *Notifications) GetPubsub() *PubSub

func (*Notifications) GetSlack

func (x *Notifications) GetSlack() *Slack

func (*Notifications) GetTwilio

func (x *Notifications) GetTwilio() *Twilio

func (*Notifications) ProtoMessage

func (*Notifications) ProtoMessage()

func (*Notifications) ProtoReflect

func (x *Notifications) ProtoReflect() protoreflect.Message

func (*Notifications) Reset

func (x *Notifications) Reset()

func (*Notifications) String

func (x *Notifications) String() string

type PubSub

type PubSub struct {

	// Whether Pub/Sub notifications are enabled.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Pub/Sub notifications.

func (*PubSub) Descriptor deprecated

func (*PubSub) Descriptor() ([]byte, []int)

Deprecated: Use PubSub.ProtoReflect.Descriptor instead.

func (*PubSub) GetEnabled

func (x *PubSub) GetEnabled() *wrapperspb.BoolValue

func (*PubSub) ProtoMessage

func (*PubSub) ProtoMessage()

func (*PubSub) ProtoReflect

func (x *PubSub) ProtoReflect() protoreflect.Message

func (*PubSub) Reset

func (x *PubSub) Reset()

func (*PubSub) String

func (x *PubSub) String() string

type Slack

type Slack struct {

	// Whether Slack notifications are enabled.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The name of your Slack bot.
	BotName string `protobuf:"bytes,2,opt,name=botName,proto3" json:"botName,omitempty"`
	// Your Slack bot token.
	Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// Slack endpoint. Optional, can only be set if using a compatible API.
	BaseUrl string `protobuf:"bytes,4,opt,name=baseUrl,proto3" json:"baseUrl,omitempty"`
	// Force usage of incoming webhooks endpoint for Slack. Optional, only set if
	// using a compatible API.
	ForceUseIncomingWebhook *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=forceUseIncomingWebhook,proto3" json:"forceUseIncomingWebhook,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Slack notifications.

func (*Slack) Descriptor deprecated

func (*Slack) Descriptor() ([]byte, []int)

Deprecated: Use Slack.ProtoReflect.Descriptor instead.

func (*Slack) GetBaseUrl

func (x *Slack) GetBaseUrl() string

func (*Slack) GetBotName

func (x *Slack) GetBotName() string

func (*Slack) GetEnabled

func (x *Slack) GetEnabled() *wrapperspb.BoolValue

func (*Slack) GetForceUseIncomingWebhook

func (x *Slack) GetForceUseIncomingWebhook() *wrapperspb.BoolValue

func (*Slack) GetToken

func (x *Slack) GetToken() string

func (*Slack) ProtoMessage

func (*Slack) ProtoMessage()

func (*Slack) ProtoReflect

func (x *Slack) ProtoReflect() protoreflect.Message

func (*Slack) Reset

func (x *Slack) Reset()

func (*Slack) String

func (x *Slack) String() string

type Twilio

type Twilio struct {

	// Whether Twilio notifications are enabled.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Your Twilio account SID.
	Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// Your Twilio auth token.
	Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// The endpoint of the Twilio API. Optional, only set if overriding the default.
	BaseUrl string `protobuf:"bytes,4,opt,name=baseUrl,proto3" json:"baseUrl,omitempty"`
	// The phone number from which the SMS will be sent (e.g., +1234-567-8910).
	From string `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Twilio notifications.

func (*Twilio) Descriptor deprecated

func (*Twilio) Descriptor() ([]byte, []int)

Deprecated: Use Twilio.ProtoReflect.Descriptor instead.

func (*Twilio) GetAccount

func (x *Twilio) GetAccount() string

func (*Twilio) GetBaseUrl

func (x *Twilio) GetBaseUrl() string

func (*Twilio) GetEnabled

func (x *Twilio) GetEnabled() *wrapperspb.BoolValue

func (*Twilio) GetFrom

func (x *Twilio) GetFrom() string

func (*Twilio) GetToken

func (x *Twilio) GetToken() string

func (*Twilio) ProtoMessage

func (*Twilio) ProtoMessage()

func (*Twilio) ProtoReflect

func (x *Twilio) ProtoReflect() protoreflect.Message

func (*Twilio) Reset

func (x *Twilio) Reset()

func (*Twilio) String

func (x *Twilio) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL