proto

package
v1.141.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Incident_State_name = map[int32]string{
		0: "UNRESOLVED",
		1: "RESOLVED",
		2: "MONITORING",
		3: "IDLE",
	}
	Incident_State_value = map[string]int32{
		"UNRESOLVED": 0,
		"RESOLVED":   1,
		"MONITORING": 2,
		"IDLE":       3,
	}
)

Enum value maps for Incident_State.

View Source
var (
	Incident_ComponentState_name = map[int32]string{
		0: "OPERATIONAL",
		1: "UNDER_MAINTENANCE",
		2: "DEGRADED_PERFORMANCE",
		3: "PARTIAL_OUTAGE",
		4: "MAJOR_OUTAGE",
	}
	Incident_ComponentState_value = map[string]int32{
		"OPERATIONAL":          0,
		"UNDER_MAINTENANCE":    1,
		"DEGRADED_PERFORMANCE": 2,
		"PARTIAL_OUTAGE":       3,
		"MAJOR_OUTAGE":         4,
	}
)

Enum value maps for Incident_ComponentState.

View Source
var (
	MetadataField_InputType_name = map[int32]string{
		0: "TEXT",
		1: "PASSWORD",
		2: "CHECKBOX",
		3: "RADIO",
		4: "SELECT",
	}
	MetadataField_InputType_value = map[string]int32{
		"TEXT":     0,
		"PASSWORD": 1,
		"CHECKBOX": 2,
		"RADIO":    3,
		"SELECT":   4,
	}
)

Enum value maps for MetadataField_InputType.

View Source
var File_plugin_proto protoreflect.FileDescriptor
View Source
var Notifier_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "types.Notifier",
	HandlerType: (*NotifierServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Init",
			Handler:    _Notifier_Init_Handler,
		},
		{
			MethodName: "Name",
			Handler:    _Notifier_Name_Handler,
		},
		{
			MethodName: "Description",
			Handler:    _Notifier_Description_Handler,
		},
		{
			MethodName: "Id",
			Handler:    _Notifier_Id_Handler,
		},
		{
			MethodName: "Notify",
			Handler:    _Notifier_Notify_Handler,
		},
		{
			MethodName: "MetadataFields",
			Handler:    _Notifier_MetadataFields_Handler,
		},
		{
			MethodName: "PreCheck",
			Handler:    _Notifier_PreCheck_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin.proto",
}

Notifier_ServiceDesc is the grpc.ServiceDesc for Notifier service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterNotifierServer

func RegisterNotifierServer(s grpc.ServiceRegistrar, srv NotifierServer)

Types

type BaseInfo

type BaseInfo struct {
	BaseUrl  string `protobuf:"bytes,1,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	Support  string `protobuf:"bytes,2,opt,name=support,proto3" json:"support,omitempty"`
	Contact  string `protobuf:"bytes,3,opt,name=contact,proto3" json:"contact,omitempty"`
	Title    string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseInfo) Descriptor deprecated

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

Deprecated: Use BaseInfo.ProtoReflect.Descriptor instead.

func (*BaseInfo) GetBaseUrl

func (x *BaseInfo) GetBaseUrl() string

func (*BaseInfo) GetContact

func (x *BaseInfo) GetContact() string

func (*BaseInfo) GetSupport

func (x *BaseInfo) GetSupport() string

func (*BaseInfo) GetTimeZone

func (x *BaseInfo) GetTimeZone() string

func (*BaseInfo) GetTitle

func (x *BaseInfo) GetTitle() string

func (*BaseInfo) ProtoMessage

func (*BaseInfo) ProtoMessage()

func (*BaseInfo) ProtoReflect

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

func (*BaseInfo) Reset

func (x *BaseInfo) Reset()

func (*BaseInfo) String

func (x *BaseInfo) String() string

type Component

type Component struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*Component) Descriptor deprecated

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

Deprecated: Use Component.ProtoReflect.Descriptor instead.

func (*Component) GetGroup

func (x *Component) GetGroup() string

func (*Component) GetName

func (x *Component) GetName() string

func (*Component) ProtoMessage

func (*Component) ProtoMessage()

func (*Component) ProtoReflect

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

func (*Component) Reset

func (x *Component) Reset()

func (*Component) String

func (x *Component) String() string

type DescriptionResponse added in v1.6.1

type DescriptionResponse struct {
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*DescriptionResponse) Descriptor deprecated added in v1.6.1

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

Deprecated: Use DescriptionResponse.ProtoReflect.Descriptor instead.

func (*DescriptionResponse) GetDescription added in v1.6.1

func (x *DescriptionResponse) GetDescription() string

func (*DescriptionResponse) ProtoMessage added in v1.6.1

func (*DescriptionResponse) ProtoMessage()

func (*DescriptionResponse) ProtoReflect added in v1.6.1

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

func (*DescriptionResponse) Reset added in v1.6.1

func (x *DescriptionResponse) Reset()

func (*DescriptionResponse) String added in v1.6.1

func (x *DescriptionResponse) String() string

type Error

type Error struct {
	Detail string `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetDetail

func (x *Error) GetDetail() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type ErrorResponse

type ErrorResponse struct {
	Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorResponse) Descriptor deprecated

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

Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.

func (*ErrorResponse) GetError

func (x *ErrorResponse) GetError() *Error

func (*ErrorResponse) ProtoMessage

func (*ErrorResponse) ProtoMessage()

func (*ErrorResponse) ProtoReflect

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

func (*ErrorResponse) Reset

func (x *ErrorResponse) Reset()

func (*ErrorResponse) String

func (x *ErrorResponse) String() string

type IdResponse

type IdResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*IdResponse) Descriptor deprecated

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

Deprecated: Use IdResponse.ProtoReflect.Descriptor instead.

func (*IdResponse) GetId

func (x *IdResponse) GetId() string

func (*IdResponse) ProtoMessage

func (*IdResponse) ProtoMessage()

func (*IdResponse) ProtoReflect

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

func (*IdResponse) Reset

func (x *IdResponse) Reset()

func (*IdResponse) String

func (x *IdResponse) String() string

type Incident

type Incident struct {
	Guid           string                  `protobuf:"bytes,1,opt,name=guid,proto3" json:"guid,omitempty"`
	CreatedAt      *LocalizedTime          `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt      *LocalizedTime          `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	State          Incident_State          `protobuf:"varint,4,opt,name=state,proto3,enum=types.Incident_State" json:"state,omitempty"`
	ComponentState Incident_ComponentState `` /* 139-byte string literal not displayed */
	Components     []*Component            `protobuf:"bytes,6,rep,name=components,proto3" json:"components,omitempty"`
	Messages       []*Message              `protobuf:"bytes,7,rep,name=messages,proto3" json:"messages,omitempty"`
	Metadata       map[string]string       `` /* 157-byte string literal not displayed */
	IsScheduled    bool                    `protobuf:"varint,9,opt,name=is_scheduled,json=isScheduled,proto3" json:"is_scheduled,omitempty"`
	ScheduledEnd   *LocalizedTime          `protobuf:"bytes,10,opt,name=scheduled_end,json=scheduledEnd,proto3" json:"scheduled_end,omitempty"`
	Origin         string                  `protobuf:"bytes,11,opt,name=origin,proto3" json:"origin,omitempty"`
	// contains filtered or unexported fields
}

func (*Incident) Descriptor deprecated

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

Deprecated: Use Incident.ProtoReflect.Descriptor instead.

func (*Incident) GetComponentState

func (x *Incident) GetComponentState() Incident_ComponentState

func (*Incident) GetComponents

func (x *Incident) GetComponents() []*Component

func (*Incident) GetCreatedAt

func (x *Incident) GetCreatedAt() *LocalizedTime

func (*Incident) GetGuid

func (x *Incident) GetGuid() string

func (*Incident) GetIsScheduled

func (x *Incident) GetIsScheduled() bool

func (*Incident) GetMessages

func (x *Incident) GetMessages() []*Message

func (*Incident) GetMetadata

func (x *Incident) GetMetadata() map[string]string

func (*Incident) GetOrigin

func (x *Incident) GetOrigin() string

func (*Incident) GetScheduledEnd

func (x *Incident) GetScheduledEnd() *LocalizedTime

func (*Incident) GetState

func (x *Incident) GetState() Incident_State

func (*Incident) GetUpdatedAt

func (x *Incident) GetUpdatedAt() *LocalizedTime

func (*Incident) ProtoMessage

func (*Incident) ProtoMessage()

func (*Incident) ProtoReflect

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

func (*Incident) Reset

func (x *Incident) Reset()

func (*Incident) String

func (x *Incident) String() string

type Incident_ComponentState

type Incident_ComponentState int32
const (
	Incident_OPERATIONAL          Incident_ComponentState = 0
	Incident_UNDER_MAINTENANCE    Incident_ComponentState = 1
	Incident_DEGRADED_PERFORMANCE Incident_ComponentState = 2
	Incident_PARTIAL_OUTAGE       Incident_ComponentState = 3
	Incident_MAJOR_OUTAGE         Incident_ComponentState = 4
)

func (Incident_ComponentState) Descriptor

func (Incident_ComponentState) Enum

func (Incident_ComponentState) EnumDescriptor deprecated

func (Incident_ComponentState) EnumDescriptor() ([]byte, []int)

Deprecated: Use Incident_ComponentState.Descriptor instead.

func (Incident_ComponentState) Number

func (Incident_ComponentState) String

func (x Incident_ComponentState) String() string

func (Incident_ComponentState) Type

type Incident_State

type Incident_State int32
const (
	Incident_UNRESOLVED Incident_State = 0
	Incident_RESOLVED   Incident_State = 1
	Incident_MONITORING Incident_State = 2
	Incident_IDLE       Incident_State = 3
)

func (Incident_State) Descriptor

func (Incident_State) Enum

func (x Incident_State) Enum() *Incident_State

func (Incident_State) EnumDescriptor deprecated

func (Incident_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Incident_State.Descriptor instead.

func (Incident_State) Number

func (Incident_State) String

func (x Incident_State) String() string

func (Incident_State) Type

type InitRequest

type InitRequest struct {
	BaseInfo *BaseInfo        `protobuf:"bytes,1,opt,name=base_info,json=baseInfo,proto3" json:"base_info,omitempty"`
	Params   *structpb.Struct `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*InitRequest) Descriptor deprecated

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

Deprecated: Use InitRequest.ProtoReflect.Descriptor instead.

func (*InitRequest) GetBaseInfo

func (x *InitRequest) GetBaseInfo() *BaseInfo

func (*InitRequest) GetParams

func (x *InitRequest) GetParams() *structpb.Struct

func (*InitRequest) ProtoMessage

func (*InitRequest) ProtoMessage()

func (*InitRequest) ProtoReflect

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

func (*InitRequest) Reset

func (x *InitRequest) Reset()

func (*InitRequest) String

func (x *InitRequest) String() string

type ListMetadataField

type ListMetadataField struct {
	Fields []*MetadataField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMetadataField) Descriptor deprecated

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

Deprecated: Use ListMetadataField.ProtoReflect.Descriptor instead.

func (*ListMetadataField) GetFields

func (x *ListMetadataField) GetFields() []*MetadataField

func (*ListMetadataField) ProtoMessage

func (*ListMetadataField) ProtoMessage()

func (*ListMetadataField) ProtoReflect

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

func (*ListMetadataField) Reset

func (x *ListMetadataField) Reset()

func (*ListMetadataField) String

func (x *ListMetadataField) String() string

type LocalizedTime

type LocalizedTime struct {
	Time     *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Location string                 `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*LocalizedTime) Descriptor deprecated

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

Deprecated: Use LocalizedTime.ProtoReflect.Descriptor instead.

func (*LocalizedTime) GetLocation

func (x *LocalizedTime) GetLocation() string

func (*LocalizedTime) GetTime

func (x *LocalizedTime) GetTime() *timestamppb.Timestamp

func (*LocalizedTime) ProtoMessage

func (*LocalizedTime) ProtoMessage()

func (*LocalizedTime) ProtoReflect

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

func (*LocalizedTime) Reset

func (x *LocalizedTime) Reset()

func (*LocalizedTime) String

func (x *LocalizedTime) String() string

type Message

type Message struct {
	Guid      string         `protobuf:"bytes,1,opt,name=guid,proto3" json:"guid,omitempty"`
	CreatedAt *LocalizedTime `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Title     string         `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Content   string         `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetContent

func (x *Message) GetContent() string

func (*Message) GetCreatedAt

func (x *Message) GetCreatedAt() *LocalizedTime

func (*Message) GetGuid

func (x *Message) GetGuid() string

func (*Message) GetTitle

func (x *Message) GetTitle() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MetadataField

type MetadataField struct {
	Name         string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id           string                  `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Info         string                  `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
	InputType    MetadataField_InputType `protobuf:"varint,4,opt,name=input_type,json=inputType,proto3,enum=types.MetadataField_InputType" json:"input_type,omitempty"`
	ForScheduled bool                    `protobuf:"varint,5,opt,name=for_scheduled,json=forScheduled,proto3" json:"for_scheduled,omitempty"`
	// Types that are assignable to Opts:
	//	*MetadataField_RadioOpts
	//	*MetadataField_SelectOpts
	Opts isMetadataField_Opts `protobuf_oneof:"opts"`
	// Types that are assignable to DefaultOpt:
	//	*MetadataField_DefaultOptKey
	DefaultOpt isMetadataField_DefaultOpt `protobuf_oneof:"DefaultOpt"`
	// contains filtered or unexported fields
}

func (*MetadataField) Descriptor deprecated

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

Deprecated: Use MetadataField.ProtoReflect.Descriptor instead.

func (*MetadataField) GetDefaultOpt

func (m *MetadataField) GetDefaultOpt() isMetadataField_DefaultOpt

func (*MetadataField) GetDefaultOptKey

func (x *MetadataField) GetDefaultOptKey() string

func (*MetadataField) GetForScheduled

func (x *MetadataField) GetForScheduled() bool

func (*MetadataField) GetId

func (x *MetadataField) GetId() string

func (*MetadataField) GetInfo

func (x *MetadataField) GetInfo() string

func (*MetadataField) GetInputType

func (x *MetadataField) GetInputType() MetadataField_InputType

func (*MetadataField) GetName

func (x *MetadataField) GetName() string

func (*MetadataField) GetOpts

func (m *MetadataField) GetOpts() isMetadataField_Opts

func (*MetadataField) GetRadioOpts

func (x *MetadataField) GetRadioOpts() *RadioOpts

func (*MetadataField) GetSelectOpts

func (x *MetadataField) GetSelectOpts() *structpb.Struct

func (*MetadataField) ProtoMessage

func (*MetadataField) ProtoMessage()

func (*MetadataField) ProtoReflect

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

func (*MetadataField) Reset

func (x *MetadataField) Reset()

func (*MetadataField) String

func (x *MetadataField) String() string

type MetadataField_DefaultOptKey

type MetadataField_DefaultOptKey struct {
	DefaultOptKey string `protobuf:"bytes,8,opt,name=default_opt_key,json=defaultOptKey,proto3,oneof"`
}

type MetadataField_InputType

type MetadataField_InputType int32
const (
	MetadataField_TEXT     MetadataField_InputType = 0
	MetadataField_PASSWORD MetadataField_InputType = 1
	MetadataField_CHECKBOX MetadataField_InputType = 2
	MetadataField_RADIO    MetadataField_InputType = 3
	MetadataField_SELECT   MetadataField_InputType = 4
)

func (MetadataField_InputType) Descriptor

func (MetadataField_InputType) Enum

func (MetadataField_InputType) EnumDescriptor deprecated

func (MetadataField_InputType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MetadataField_InputType.Descriptor instead.

func (MetadataField_InputType) Number

func (MetadataField_InputType) String

func (x MetadataField_InputType) String() string

func (MetadataField_InputType) Type

type MetadataField_RadioOpts

type MetadataField_RadioOpts struct {
	RadioOpts *RadioOpts `protobuf:"bytes,6,opt,name=radio_opts,json=radioOpts,proto3,oneof"`
}

type MetadataField_SelectOpts

type MetadataField_SelectOpts struct {
	SelectOpts *structpb.Struct `protobuf:"bytes,7,opt,name=select_opts,json=selectOpts,proto3,oneof"`
}

type NameResponse

type NameResponse struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*NameResponse) Descriptor deprecated

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

Deprecated: Use NameResponse.ProtoReflect.Descriptor instead.

func (*NameResponse) GetName

func (x *NameResponse) GetName() string

func (*NameResponse) ProtoMessage

func (*NameResponse) ProtoMessage()

func (*NameResponse) ProtoReflect

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

func (*NameResponse) Reset

func (x *NameResponse) Reset()

func (*NameResponse) String

func (x *NameResponse) String() string

type NotifierClient

type NotifierClient interface {
	Init(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Name(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NameResponse, error)
	Description(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*DescriptionResponse, error)
	Id(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IdResponse, error)
	Notify(ctx context.Context, in *NotifyRequest, opts ...grpc.CallOption) (*ErrorResponse, error)
	MetadataFields(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListMetadataField, error)
	PreCheck(ctx context.Context, in *NotifyRequest, opts ...grpc.CallOption) (*ErrorResponse, error)
}

NotifierClient is the client API for Notifier service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewNotifierClient

func NewNotifierClient(cc grpc.ClientConnInterface) NotifierClient

type NotifierServer

type NotifierServer interface {
	Init(context.Context, *InitRequest) (*emptypb.Empty, error)
	Name(context.Context, *emptypb.Empty) (*NameResponse, error)
	Description(context.Context, *emptypb.Empty) (*DescriptionResponse, error)
	Id(context.Context, *emptypb.Empty) (*IdResponse, error)
	Notify(context.Context, *NotifyRequest) (*ErrorResponse, error)
	MetadataFields(context.Context, *emptypb.Empty) (*ListMetadataField, error)
	PreCheck(context.Context, *NotifyRequest) (*ErrorResponse, error)
	// contains filtered or unexported methods
}

NotifierServer is the server API for Notifier service. All implementations must embed UnimplementedNotifierServer for forward compatibility

type NotifyRequest

type NotifyRequest struct {
	Incident      *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"`
	TriggerByUser bool      `protobuf:"varint,2,opt,name=trigger_by_user,json=triggerByUser,proto3" json:"trigger_by_user,omitempty"`
	Subscribers   []string  `protobuf:"bytes,3,rep,name=subscribers,proto3" json:"subscribers,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyRequest) Descriptor deprecated

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

Deprecated: Use NotifyRequest.ProtoReflect.Descriptor instead.

func (*NotifyRequest) GetIncident

func (x *NotifyRequest) GetIncident() *Incident

func (*NotifyRequest) GetSubscribers added in v1.6.1

func (x *NotifyRequest) GetSubscribers() []string

func (*NotifyRequest) GetTriggerByUser added in v1.6.1

func (x *NotifyRequest) GetTriggerByUser() bool

func (*NotifyRequest) ProtoMessage

func (*NotifyRequest) ProtoMessage()

func (*NotifyRequest) ProtoReflect

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

func (*NotifyRequest) Reset

func (x *NotifyRequest) Reset()

func (*NotifyRequest) String

func (x *NotifyRequest) String() string

type RadioOpts

type RadioOpts struct {
	Opts []string `protobuf:"bytes,4,rep,name=opts,proto3" json:"opts,omitempty"`
	// contains filtered or unexported fields
}

func (*RadioOpts) Descriptor deprecated

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

Deprecated: Use RadioOpts.ProtoReflect.Descriptor instead.

func (*RadioOpts) GetOpts

func (x *RadioOpts) GetOpts() []string

func (*RadioOpts) ProtoMessage

func (*RadioOpts) ProtoMessage()

func (*RadioOpts) ProtoReflect

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

func (*RadioOpts) Reset

func (x *RadioOpts) Reset()

func (*RadioOpts) String

func (x *RadioOpts) String() string

type UnimplementedNotifierServer

type UnimplementedNotifierServer struct {
}

UnimplementedNotifierServer must be embedded to have forward compatible implementations.

func (UnimplementedNotifierServer) Description added in v1.6.1

func (UnimplementedNotifierServer) Id

func (UnimplementedNotifierServer) Init

func (UnimplementedNotifierServer) MetadataFields

func (UnimplementedNotifierServer) Name

func (UnimplementedNotifierServer) Notify

func (UnimplementedNotifierServer) PreCheck added in v1.6.1

type UnsafeNotifierServer

type UnsafeNotifierServer interface {
	// contains filtered or unexported methods
}

UnsafeNotifierServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotifierServer will result in compilation errors.

Jump to

Keyboard shortcuts

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