internal

package
v0.0.0-...-1f88c41 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_luci_notify_internal_tq_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EmailTask

type EmailTask struct {

	// Recipients is a list of email addresses to send the email to.
	// TODO(nodir): make it non-repeated.
	Recipients []string `protobuf:"bytes,1,rep,name=recipients,proto3" json:"recipients,omitempty"`
	// Subject is the subject line of the email to be sent.
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	// DEPRECATED. See body_gzip.
	Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	// Gzipped, HTML-formatted string containing the body of the email
	// to be sent.
	BodyGzip []byte `protobuf:"bytes,4,opt,name=body_gzip,json=bodyGzip,proto3" json:"body_gzip,omitempty"`
	// contains filtered or unexported fields
}

EmailTask represents a single email notification to be dispatched.

func (*EmailTask) Descriptor deprecated

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

Deprecated: Use EmailTask.ProtoReflect.Descriptor instead.

func (*EmailTask) GetBody

func (x *EmailTask) GetBody() string

func (*EmailTask) GetBodyGzip

func (x *EmailTask) GetBodyGzip() []byte

func (*EmailTask) GetRecipients

func (x *EmailTask) GetRecipients() []string

func (*EmailTask) GetSubject

func (x *EmailTask) GetSubject() string

func (*EmailTask) ProtoMessage

func (*EmailTask) ProtoMessage()

func (*EmailTask) ProtoReflect

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

func (*EmailTask) Reset

func (x *EmailTask) Reset()

func (*EmailTask) String

func (x *EmailTask) String() string

Directories

Path Synopsis
Package alerts manages alert values in the database.
Package alerts manages alert values in the database.
Package span contains utility functions to interact with the underlying Spanner storage.
Package span contains utility functions to interact with the underlying Spanner storage.
Package testutil holds helper functions for testing.
Package testutil holds helper functions for testing.

Jump to

Keyboard shortcuts

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