v1

package
v0.6.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Severity_name = map[int32]string{
		0: "INFO",
		1: "WARNING",
		2: "ERROR",
		3: "CRITICAL",
	}
	Severity_value = map[string]int32{
		"INFO":     0,
		"WARNING":  1,
		"ERROR":    2,
		"CRITICAL": 3,
	}
)

Enum value maps for Severity.

View Source
var (
	AlertType_name = map[int32]string{
		0: "SYSTEM",
		1: "KUBE_STATE",
		2: "COMPOSITION",
		3: "CONTROL_FLOW",
	}
	AlertType_value = map[string]int32{
		"SYSTEM":       0,
		"KUBE_STATE":   1,
		"COMPOSITION":  2,
		"CONTROL_FLOW": 3,
	}
)

Enum value maps for AlertType.

View Source
var (
	CompositionAction_name = map[int32]string{
		0: "AND",
		1: "OR",
	}
	CompositionAction_value = map[string]int32{
		"AND": 0,
		"OR":  1,
	}
)

Enum value maps for CompositionAction.

View Source
var (
	ControlFlowAction_name = map[int32]string{
		0: "IF_THEN",
		1: "IF_NOT_THEN",
	}
	ControlFlowAction_value = map[string]int32{
		"IF_THEN":     0,
		"IF_NOT_THEN": 1,
	}
)

Enum value maps for ControlFlowAction.

View Source
var (
	AlertConditionState_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "OK",
		2: "FIRING",
		3: "SILENCED",
	}
	AlertConditionState_value = map[string]int32{
		"UNSPECIFIED": 0,
		"OK":          1,
		"FIRING":      2,
		"SILENCED":    3,
	}
)

Enum value maps for AlertConditionState.

View Source
var (
	TimelineType_name = map[int32]string{
		0: "Timeline_Unknown",
		1: "Timeline_Alerting",
		2: "Timeline_Silenced",
	}
	TimelineType_value = map[string]int32{
		"Timeline_Unknown":  0,
		"Timeline_Alerting": 1,
		"Timeline_Silenced": 2,
	}
)

Enum value maps for TimelineType.

View Source
var EnumConditionToDatasource = make(map[AlertType]*string)

EnumConditionToDatasource

nil values indicate they are composition alerts we need this since each alert tree must only have one datasource atm

View Source
var EnumConditionToImplementation = make(map[AlertType]AlertTypeDetails)
View Source
var File_github_com_rancher_opni_pkg_apis_alerting_v1_alerting_proto protoreflect.FileDescriptor

Functions

func DetailsHasImplementation

func DetailsHasImplementation(a *AlertTypeDetails) error

func EnumHasImplementation

func EnumHasImplementation(a AlertType) error

func ShouldCreateRoutingNode

func ShouldCreateRoutingNode(new, old *AttachedEndpoints) bool

func ShouldDeleteRoutingNode

func ShouldDeleteRoutingNode(new, old *AttachedEndpoints) bool

func ShouldUpdateRoutingNode

func ShouldUpdateRoutingNode(new, old *AttachedEndpoints) bool

Types

type ActiveWindow

type ActiveWindow struct {
	Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	Type  TimelineType           `protobuf:"varint,3,opt,name=type,proto3,enum=alerting.TimelineType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ActiveWindow) Descriptor deprecated

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

Deprecated: Use ActiveWindow.ProtoReflect.Descriptor instead.

func (*ActiveWindow) GetEnd

func (x *ActiveWindow) GetEnd() *timestamppb.Timestamp

func (*ActiveWindow) GetStart

func (x *ActiveWindow) GetStart() *timestamppb.Timestamp

func (*ActiveWindow) GetType

func (x *ActiveWindow) GetType() TimelineType

func (*ActiveWindow) ProtoMessage

func (*ActiveWindow) ProtoMessage()

func (*ActiveWindow) ProtoReflect

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

func (*ActiveWindow) Reset

func (x *ActiveWindow) Reset()

func (*ActiveWindow) String

func (x *ActiveWindow) String() string

type ActiveWindows

type ActiveWindows struct {
	Windows []*ActiveWindow `protobuf:"bytes,1,rep,name=windows,proto3" json:"windows,omitempty"`
	// contains filtered or unexported fields
}

func (*ActiveWindows) Descriptor deprecated

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

Deprecated: Use ActiveWindows.ProtoReflect.Descriptor instead.

func (*ActiveWindows) GetWindows

func (x *ActiveWindows) GetWindows() []*ActiveWindow

func (*ActiveWindows) ProtoMessage

func (*ActiveWindows) ProtoMessage()

func (*ActiveWindows) ProtoReflect

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

func (*ActiveWindows) Reset

func (x *ActiveWindows) Reset()

func (*ActiveWindows) String

func (x *ActiveWindows) String() string

type AlertCondition

type AlertCondition struct {
	Name              string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description       string             `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Labels            []string           `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"`
	Severity          Severity           `protobuf:"varint,4,opt,name=severity,proto3,enum=alerting.Severity" json:"severity,omitempty"`
	AlertType         *AlertTypeDetails  `protobuf:"bytes,5,opt,name=alertType,proto3" json:"alertType,omitempty"`
	AttachedEndpoints *AttachedEndpoints `protobuf:"bytes,6,opt,name=attachedEndpoints,proto3" json:"attachedEndpoints,omitempty"`
	// Set & Unset via the silence API
	Silence *SilenceInfo `protobuf:"bytes,7,opt,name=silence,proto3" json:"silence,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertCondition) Descriptor deprecated

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

Deprecated: Use AlertCondition.ProtoReflect.Descriptor instead.

func (*AlertCondition) GetAlertType

func (x *AlertCondition) GetAlertType() *AlertTypeDetails

func (*AlertCondition) GetAttachedEndpoints

func (x *AlertCondition) GetAttachedEndpoints() *AttachedEndpoints

func (*AlertCondition) GetDescription

func (x *AlertCondition) GetDescription() string

func (*AlertCondition) GetLabels

func (x *AlertCondition) GetLabels() []string

func (*AlertCondition) GetName

func (x *AlertCondition) GetName() string

func (*AlertCondition) GetSeverity

func (x *AlertCondition) GetSeverity() Severity

func (*AlertCondition) GetSilence

func (x *AlertCondition) GetSilence() *SilenceInfo

func (*AlertCondition) ProtoMessage

func (*AlertCondition) ProtoMessage()

func (*AlertCondition) ProtoReflect

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

func (*AlertCondition) Reset

func (x *AlertCondition) Reset()

func (*AlertCondition) String

func (x *AlertCondition) String() string

func (*AlertCondition) Validate

func (a *AlertCondition) Validate() error

type AlertConditionComposition

type AlertConditionComposition struct {
	Action CompositionAction `protobuf:"varint,1,opt,name=action,proto3,enum=alerting.CompositionAction" json:"action,omitempty"`
	X      *v1.Reference     `protobuf:"bytes,2,opt,name=x,proto3" json:"x,omitempty"`
	Y      *v1.Reference     `protobuf:"bytes,3,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConditionComposition) Descriptor deprecated

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

Deprecated: Use AlertConditionComposition.ProtoReflect.Descriptor instead.

func (*AlertConditionComposition) GetAction

func (*AlertConditionComposition) GetX

func (*AlertConditionComposition) GetY

func (*AlertConditionComposition) ListTemplates

func (a *AlertConditionComposition) ListTemplates() []string

func (*AlertConditionComposition) ProtoMessage

func (*AlertConditionComposition) ProtoMessage()

func (*AlertConditionComposition) ProtoReflect

func (*AlertConditionComposition) Reset

func (x *AlertConditionComposition) Reset()

func (*AlertConditionComposition) String

func (x *AlertConditionComposition) String() string

func (*AlertConditionComposition) Validate

func (c *AlertConditionComposition) Validate() error

type AlertConditionControlFlow

type AlertConditionControlFlow struct {
	Action ControlFlowAction    `protobuf:"varint,1,opt,name=action,proto3,enum=alerting.ControlFlowAction" json:"action,omitempty"`
	X      *v1.Reference        `protobuf:"bytes,2,opt,name=x,proto3" json:"x,omitempty"`
	Y      *v1.Reference        `protobuf:"bytes,3,opt,name=y,proto3" json:"y,omitempty"`
	For    *durationpb.Duration `protobuf:"bytes,4,opt,name=for,proto3" json:"for,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConditionControlFlow) Descriptor deprecated

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

Deprecated: Use AlertConditionControlFlow.ProtoReflect.Descriptor instead.

func (*AlertConditionControlFlow) GetAction

func (*AlertConditionControlFlow) GetFor

func (*AlertConditionControlFlow) GetX

func (*AlertConditionControlFlow) GetY

func (*AlertConditionControlFlow) ListTemplates

func (a *AlertConditionControlFlow) ListTemplates() []string

func (*AlertConditionControlFlow) ProtoMessage

func (*AlertConditionControlFlow) ProtoMessage()

func (*AlertConditionControlFlow) ProtoReflect

func (*AlertConditionControlFlow) Reset

func (x *AlertConditionControlFlow) Reset()

func (*AlertConditionControlFlow) String

func (x *AlertConditionControlFlow) String() string

func (*AlertConditionControlFlow) Validate

func (c *AlertConditionControlFlow) Validate() error

type AlertConditionKubeState

type AlertConditionKubeState struct {
	ClusterId string `protobuf:"bytes,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	// must be one of the listed kube objects
	ObjectType string `protobuf:"bytes,2,opt,name=objectType,proto3" json:"objectType,omitempty"`
	// kubernetes object name
	ObjectName string `protobuf:"bytes,3,opt,name=objectName,proto3" json:"objectName,omitempty"`
	// kubernetes namespace
	Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// must be one of the listed kube states
	State string               `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	For   *durationpb.Duration `protobuf:"bytes,6,opt,name=for,proto3" json:"for,omitempty"`
	// contains filtered or unexported fields
}

Requires kube state metrics, otherwise the list of choices will be empty

func (*AlertConditionKubeState) Descriptor deprecated

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

Deprecated: Use AlertConditionKubeState.ProtoReflect.Descriptor instead.

func (*AlertConditionKubeState) GetClusterId

func (x *AlertConditionKubeState) GetClusterId() string

func (*AlertConditionKubeState) GetFor

func (*AlertConditionKubeState) GetNamespace

func (x *AlertConditionKubeState) GetNamespace() string

func (*AlertConditionKubeState) GetObjectName

func (x *AlertConditionKubeState) GetObjectName() string

func (*AlertConditionKubeState) GetObjectType

func (x *AlertConditionKubeState) GetObjectType() string

func (*AlertConditionKubeState) GetState

func (x *AlertConditionKubeState) GetState() string

func (*AlertConditionKubeState) ListTemplates

func (a *AlertConditionKubeState) ListTemplates() []string

func (*AlertConditionKubeState) ProtoMessage

func (*AlertConditionKubeState) ProtoMessage()

func (*AlertConditionKubeState) ProtoReflect

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

func (*AlertConditionKubeState) Reset

func (x *AlertConditionKubeState) Reset()

func (*AlertConditionKubeState) String

func (x *AlertConditionKubeState) String() string

func (*AlertConditionKubeState) Validate

func (k *AlertConditionKubeState) Validate() error

type AlertConditionList

type AlertConditionList struct {
	Items []*AlertConditionWithId `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConditionList) Descriptor deprecated

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

Deprecated: Use AlertConditionList.ProtoReflect.Descriptor instead.

func (*AlertConditionList) GetItems

func (x *AlertConditionList) GetItems() []*AlertConditionWithId

func (*AlertConditionList) ProtoMessage

func (*AlertConditionList) ProtoMessage()

func (*AlertConditionList) ProtoReflect

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

func (*AlertConditionList) Reset

func (x *AlertConditionList) Reset()

func (*AlertConditionList) String

func (x *AlertConditionList) String() string

type AlertConditionState

type AlertConditionState int32
const (
	AlertConditionState_UNSPECIFIED AlertConditionState = 0
	AlertConditionState_OK          AlertConditionState = 1
	AlertConditionState_FIRING      AlertConditionState = 2
	AlertConditionState_SILENCED    AlertConditionState = 3
)

func (AlertConditionState) Descriptor

func (AlertConditionState) Enum

func (AlertConditionState) EnumDescriptor deprecated

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

Deprecated: Use AlertConditionState.Descriptor instead.

func (AlertConditionState) Number

func (AlertConditionState) String

func (x AlertConditionState) String() string

func (AlertConditionState) Type

type AlertConditionSystem

type AlertConditionSystem struct {

	// same as clusterId
	ClusterId *v1.Reference `protobuf:"bytes,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	// after how long should we alert on disconnect?
	Timeout *durationpb.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConditionSystem) Descriptor deprecated

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

Deprecated: Use AlertConditionSystem.ProtoReflect.Descriptor instead.

func (*AlertConditionSystem) GetClusterId

func (x *AlertConditionSystem) GetClusterId() *v1.Reference

func (*AlertConditionSystem) GetTimeout

func (x *AlertConditionSystem) GetTimeout() *durationpb.Duration

func (*AlertConditionSystem) ListTemplates

func (a *AlertConditionSystem) ListTemplates() []string

func (*AlertConditionSystem) ProtoMessage

func (*AlertConditionSystem) ProtoMessage()

func (*AlertConditionSystem) ProtoReflect

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

func (*AlertConditionSystem) Reset

func (x *AlertConditionSystem) Reset()

func (*AlertConditionSystem) String

func (x *AlertConditionSystem) String() string

func (*AlertConditionSystem) Validate

func (s *AlertConditionSystem) Validate() error

type AlertConditionWithId

type AlertConditionWithId struct {
	Id             *v1.Reference   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	AlertCondition *AlertCondition `protobuf:"bytes,2,opt,name=alertCondition,proto3" json:"alertCondition,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConditionWithId) Descriptor deprecated

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

Deprecated: Use AlertConditionWithId.ProtoReflect.Descriptor instead.

func (*AlertConditionWithId) GetAlertCondition

func (x *AlertConditionWithId) GetAlertCondition() *AlertCondition

func (*AlertConditionWithId) GetId

func (x *AlertConditionWithId) GetId() *v1.Reference

func (*AlertConditionWithId) ProtoMessage

func (*AlertConditionWithId) ProtoMessage()

func (*AlertConditionWithId) ProtoReflect

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

func (*AlertConditionWithId) Reset

func (x *AlertConditionWithId) Reset()

func (*AlertConditionWithId) String

func (x *AlertConditionWithId) String() string

type AlertDetailChoicesRequest

type AlertDetailChoicesRequest struct {
	AlertType AlertType `protobuf:"varint,1,opt,name=alertType,proto3,enum=alerting.AlertType" json:"alertType,omitempty"`
	// contains filtered or unexported fields
}

enum will map to an object of available choices

func (*AlertDetailChoicesRequest) Descriptor deprecated

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

Deprecated: Use AlertDetailChoicesRequest.ProtoReflect.Descriptor instead.

func (*AlertDetailChoicesRequest) GetAlertType

func (x *AlertDetailChoicesRequest) GetAlertType() AlertType

func (*AlertDetailChoicesRequest) ProtoMessage

func (*AlertDetailChoicesRequest) ProtoMessage()

func (*AlertDetailChoicesRequest) ProtoReflect

func (*AlertDetailChoicesRequest) Reset

func (x *AlertDetailChoicesRequest) Reset()

func (*AlertDetailChoicesRequest) String

func (x *AlertDetailChoicesRequest) String() string

func (*AlertDetailChoicesRequest) Validate

func (a *AlertDetailChoicesRequest) Validate() error

type AlertDetailChoicesResponse

type AlertDetailChoicesResponse struct {
	Choices []*AlertTypeDetails `protobuf:"bytes,1,rep,name=choices,proto3" json:"choices,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertDetailChoicesResponse) Descriptor deprecated

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

Deprecated: Use AlertDetailChoicesResponse.ProtoReflect.Descriptor instead.

func (*AlertDetailChoicesResponse) GetChoices

func (x *AlertDetailChoicesResponse) GetChoices() []*AlertTypeDetails

func (*AlertDetailChoicesResponse) ProtoMessage

func (*AlertDetailChoicesResponse) ProtoMessage()

func (*AlertDetailChoicesResponse) ProtoReflect

func (*AlertDetailChoicesResponse) Reset

func (x *AlertDetailChoicesResponse) Reset()

func (*AlertDetailChoicesResponse) String

func (x *AlertDetailChoicesResponse) String() string

type AlertEndpoint

type AlertEndpoint struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Types that are assignable to Endpoint:
	//
	//	*AlertEndpoint_Slack
	//	*AlertEndpoint_Email
	Endpoint isAlertEndpoint_Endpoint `protobuf_oneof:"endpoint"`
	// contains filtered or unexported fields
}

func (*AlertEndpoint) Descriptor deprecated

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

Deprecated: Use AlertEndpoint.ProtoReflect.Descriptor instead.

func (*AlertEndpoint) GetDescription

func (x *AlertEndpoint) GetDescription() string

func (*AlertEndpoint) GetEmail

func (x *AlertEndpoint) GetEmail() *EmailEndpoint

func (*AlertEndpoint) GetEndpoint

func (m *AlertEndpoint) GetEndpoint() isAlertEndpoint_Endpoint

func (*AlertEndpoint) GetName

func (x *AlertEndpoint) GetName() string

func (*AlertEndpoint) GetSlack

func (x *AlertEndpoint) GetSlack() *SlackEndpoint

func (*AlertEndpoint) ProtoMessage

func (*AlertEndpoint) ProtoMessage()

func (*AlertEndpoint) ProtoReflect

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

func (*AlertEndpoint) Reset

func (x *AlertEndpoint) Reset()

func (*AlertEndpoint) String

func (x *AlertEndpoint) String() string

func (*AlertEndpoint) Validate

func (a *AlertEndpoint) Validate() error

type AlertEndpointList

type AlertEndpointList struct {
	Items []*AlertEndpointWithId `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertEndpointList) Descriptor deprecated

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

Deprecated: Use AlertEndpointList.ProtoReflect.Descriptor instead.

func (*AlertEndpointList) GetItems

func (x *AlertEndpointList) GetItems() []*AlertEndpointWithId

func (*AlertEndpointList) ProtoMessage

func (*AlertEndpointList) ProtoMessage()

func (*AlertEndpointList) ProtoReflect

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

func (*AlertEndpointList) Reset

func (x *AlertEndpointList) Reset()

func (*AlertEndpointList) String

func (x *AlertEndpointList) String() string

type AlertEndpointWithId

type AlertEndpointWithId struct {
	Endpoint *AlertEndpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Id       *v1.Reference  `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertEndpointWithId) Descriptor deprecated

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

Deprecated: Use AlertEndpointWithId.ProtoReflect.Descriptor instead.

func (*AlertEndpointWithId) GetEndpoint

func (x *AlertEndpointWithId) GetEndpoint() *AlertEndpoint

func (*AlertEndpointWithId) GetId

func (x *AlertEndpointWithId) GetId() *v1.Reference

func (*AlertEndpointWithId) ProtoMessage

func (*AlertEndpointWithId) ProtoMessage()

func (*AlertEndpointWithId) ProtoReflect

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

func (*AlertEndpointWithId) Reset

func (x *AlertEndpointWithId) Reset()

func (*AlertEndpointWithId) String

func (x *AlertEndpointWithId) String() string

type AlertEndpoint_Email

type AlertEndpoint_Email struct {
	Email *EmailEndpoint `protobuf:"bytes,5,opt,name=email,proto3,oneof"`
}

type AlertEndpoint_Slack

type AlertEndpoint_Slack struct {
	Slack *SlackEndpoint `protobuf:"bytes,4,opt,name=slack,proto3,oneof"`
}

type AlertStatusResponse

type AlertStatusResponse struct {
	State AlertConditionState `protobuf:"varint,1,opt,name=state,proto3,enum=alerting.AlertConditionState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertStatusResponse) Descriptor deprecated

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

Deprecated: Use AlertStatusResponse.ProtoReflect.Descriptor instead.

func (*AlertStatusResponse) GetState

func (*AlertStatusResponse) ProtoMessage

func (*AlertStatusResponse) ProtoMessage()

func (*AlertStatusResponse) ProtoReflect

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

func (*AlertStatusResponse) Reset

func (x *AlertStatusResponse) Reset()

func (*AlertStatusResponse) String

func (x *AlertStatusResponse) String() string

type AlertType

type AlertType int32
const (
	// Reserved for opni-alerting internal use
	AlertType_SYSTEM AlertType = 0
	// Ready for UI use
	AlertType_KUBE_STATE AlertType = 1
	// Unimplemented
	AlertType_COMPOSITION AlertType = 2
	// Unimplemented
	AlertType_CONTROL_FLOW AlertType = 3
)

func (AlertType) Descriptor

func (AlertType) Descriptor() protoreflect.EnumDescriptor

func (AlertType) Enum

func (x AlertType) Enum() *AlertType

func (AlertType) EnumDescriptor deprecated

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

Deprecated: Use AlertType.Descriptor instead.

func (AlertType) Number

func (x AlertType) Number() protoreflect.EnumNumber

func (AlertType) String

func (x AlertType) String() string

func (AlertType) Type

type AlertTypeDetails

type AlertTypeDetails struct {

	// Types that are assignable to Type:
	//
	//	*AlertTypeDetails_System
	//	*AlertTypeDetails_KubeState
	//	*AlertTypeDetails_Composition
	//	*AlertTypeDetails_ControlFlow
	Type isAlertTypeDetails_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*AlertTypeDetails) Descriptor deprecated

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

Deprecated: Use AlertTypeDetails.ProtoReflect.Descriptor instead.

func (*AlertTypeDetails) GetComposition

func (x *AlertTypeDetails) GetComposition() *AlertConditionComposition

func (*AlertTypeDetails) GetControlFlow

func (x *AlertTypeDetails) GetControlFlow() *AlertConditionControlFlow

func (*AlertTypeDetails) GetKubeState

func (x *AlertTypeDetails) GetKubeState() *AlertConditionKubeState

func (*AlertTypeDetails) GetSystem

func (x *AlertTypeDetails) GetSystem() *AlertConditionSystem

func (*AlertTypeDetails) GetType

func (m *AlertTypeDetails) GetType() isAlertTypeDetails_Type

func (*AlertTypeDetails) ListTemplates

func (a *AlertTypeDetails) ListTemplates() []string

func (*AlertTypeDetails) ProtoMessage

func (*AlertTypeDetails) ProtoMessage()

func (*AlertTypeDetails) ProtoReflect

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

func (*AlertTypeDetails) Reset

func (x *AlertTypeDetails) Reset()

func (*AlertTypeDetails) String

func (x *AlertTypeDetails) String() string

func (*AlertTypeDetails) Validate

func (d *AlertTypeDetails) Validate() error

type AlertTypeDetails_Composition

type AlertTypeDetails_Composition struct {
	Composition *AlertConditionComposition `protobuf:"bytes,3,opt,name=composition,proto3,oneof"`
}

type AlertTypeDetails_ControlFlow

type AlertTypeDetails_ControlFlow struct {
	ControlFlow *AlertConditionControlFlow `protobuf:"bytes,4,opt,name=controlFlow,proto3,oneof"`
}

type AlertTypeDetails_KubeState

type AlertTypeDetails_KubeState struct {
	// kube state : golden signal -> errors
	KubeState *AlertConditionKubeState `protobuf:"bytes,2,opt,name=kubeState,proto3,oneof"`
}

type AlertTypeDetails_System

type AlertTypeDetails_System struct {
	// agent disconnect : golden signal -> errors
	System *AlertConditionSystem `protobuf:"bytes,1,opt,name=system,proto3,oneof"`
}

type AttachedEndpoint

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

func (*AttachedEndpoint) Descriptor deprecated

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

Deprecated: Use AttachedEndpoint.ProtoReflect.Descriptor instead.

func (*AttachedEndpoint) GetEndpointId

func (x *AttachedEndpoint) GetEndpointId() string

func (*AttachedEndpoint) ProtoMessage

func (*AttachedEndpoint) ProtoMessage()

func (*AttachedEndpoint) ProtoReflect

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

func (*AttachedEndpoint) Reset

func (x *AttachedEndpoint) Reset()

func (*AttachedEndpoint) String

func (x *AttachedEndpoint) String() string

func (*AttachedEndpoint) Validate

func (a *AttachedEndpoint) Validate() error

type AttachedEndpoints

type AttachedEndpoints struct {
	Items []*AttachedEndpoint `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// initial delay before firing the alert (optional) (default=10s)
	InitialDelay *durationpb.Duration `protobuf:"bytes,2,opt,name=initialDelay,proto3,oneof" json:"initialDelay,omitempty"`
	// how often to resend alert messages on active alerts (default =10m)
	RepeatInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=repeatInterval,proto3,oneof" json:"repeatInterval,omitempty"`
	// How long to wait before sending notifications on new condition that has
	// already fired recently (default= 10m)
	ThrottlingDuration *durationpb.Duration    `protobuf:"bytes,4,opt,name=throttlingDuration,proto3,oneof" json:"throttlingDuration,omitempty"`
	Details            *EndpointImplementation `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

Empty means no attached endpoints

func (*AttachedEndpoints) Descriptor deprecated

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

Deprecated: Use AttachedEndpoints.ProtoReflect.Descriptor instead.

func (*AttachedEndpoints) GetDetails

func (x *AttachedEndpoints) GetDetails() *EndpointImplementation

func (*AttachedEndpoints) GetInitialDelay

func (x *AttachedEndpoints) GetInitialDelay() *durationpb.Duration

func (*AttachedEndpoints) GetItems

func (x *AttachedEndpoints) GetItems() []*AttachedEndpoint

func (*AttachedEndpoints) GetRepeatInterval

func (x *AttachedEndpoints) GetRepeatInterval() *durationpb.Duration

func (*AttachedEndpoints) GetThrottlingDuration

func (x *AttachedEndpoints) GetThrottlingDuration() *durationpb.Duration

func (*AttachedEndpoints) ProtoMessage

func (*AttachedEndpoints) ProtoMessage()

func (*AttachedEndpoints) ProtoReflect

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

func (*AttachedEndpoints) Reset

func (x *AttachedEndpoints) Reset()

func (*AttachedEndpoints) String

func (x *AttachedEndpoints) String() string

func (*AttachedEndpoints) Validate

func (a *AttachedEndpoints) Validate() error

type CompositionAction

type CompositionAction int32
const (
	CompositionAction_AND CompositionAction = 0
	CompositionAction_OR  CompositionAction = 1
)

func (CompositionAction) Descriptor

func (CompositionAction) Enum

func (CompositionAction) EnumDescriptor deprecated

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

Deprecated: Use CompositionAction.Descriptor instead.

func (CompositionAction) Number

func (CompositionAction) String

func (x CompositionAction) String() string

func (CompositionAction) Type

type ControlFlowAction

type ControlFlowAction int32
const (
	ControlFlowAction_IF_THEN     ControlFlowAction = 0
	ControlFlowAction_IF_NOT_THEN ControlFlowAction = 1
)

func (ControlFlowAction) Descriptor

func (ControlFlowAction) Enum

func (ControlFlowAction) EnumDescriptor deprecated

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

Deprecated: Use ControlFlowAction.Descriptor instead.

func (ControlFlowAction) Number

func (ControlFlowAction) String

func (x ControlFlowAction) String() string

func (ControlFlowAction) Type

type DeleteAlertEndpointRequest

type DeleteAlertEndpointRequest struct {
	ForceDelete bool          `protobuf:"varint,1,opt,name=forceDelete,proto3" json:"forceDelete,omitempty"`
	Id          *v1.Reference `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAlertEndpointRequest) Descriptor deprecated

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

Deprecated: Use DeleteAlertEndpointRequest.ProtoReflect.Descriptor instead.

func (*DeleteAlertEndpointRequest) GetForceDelete

func (x *DeleteAlertEndpointRequest) GetForceDelete() bool

func (*DeleteAlertEndpointRequest) GetId

func (*DeleteAlertEndpointRequest) ProtoMessage

func (*DeleteAlertEndpointRequest) ProtoMessage()

func (*DeleteAlertEndpointRequest) ProtoReflect

func (*DeleteAlertEndpointRequest) Reset

func (x *DeleteAlertEndpointRequest) Reset()

func (*DeleteAlertEndpointRequest) String

func (x *DeleteAlertEndpointRequest) String() string

type EmailEndpoint

type EmailEndpoint struct {

	// email recipient
	To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	// smtp server sender email
	SmtpFrom *string `protobuf:"bytes,2,opt,name=smtpFrom,proto3,oneof" json:"smtpFrom,omitempty"`
	// smtp server host & port
	SmtpSmartHost *string `protobuf:"bytes,3,opt,name=smtpSmartHost,proto3,oneof" json:"smtpSmartHost,omitempty"`
	// smtp server username
	SmtpAuthUsername *string `protobuf:"bytes,4,opt,name=smtpAuthUsername,proto3,oneof" json:"smtpAuthUsername,omitempty"`
	// smtp server identity
	SmtpAuthIdentity *string `protobuf:"bytes,5,opt,name=smtpAuthIdentity,proto3,oneof" json:"smtpAuthIdentity,omitempty"`
	// smtp server password
	SmtpAuthPassword *string `protobuf:"bytes,6,opt,name=smtpAuthPassword,proto3,oneof" json:"smtpAuthPassword,omitempty"`
	// does SMTP require TSL : yes or no
	SmtpRequireTLS *bool `protobuf:"varint,7,opt,name=smtpRequireTLS,proto3,oneof" json:"smtpRequireTLS,omitempty"`
	// contains filtered or unexported fields
}

func (*EmailEndpoint) Descriptor deprecated

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

Deprecated: Use EmailEndpoint.ProtoReflect.Descriptor instead.

func (*EmailEndpoint) GetSmtpAuthIdentity

func (x *EmailEndpoint) GetSmtpAuthIdentity() string

func (*EmailEndpoint) GetSmtpAuthPassword

func (x *EmailEndpoint) GetSmtpAuthPassword() string

func (*EmailEndpoint) GetSmtpAuthUsername

func (x *EmailEndpoint) GetSmtpAuthUsername() string

func (*EmailEndpoint) GetSmtpFrom

func (x *EmailEndpoint) GetSmtpFrom() string

func (*EmailEndpoint) GetSmtpRequireTLS

func (x *EmailEndpoint) GetSmtpRequireTLS() bool

func (*EmailEndpoint) GetSmtpSmartHost

func (x *EmailEndpoint) GetSmtpSmartHost() string

func (*EmailEndpoint) GetTo

func (x *EmailEndpoint) GetTo() string

func (*EmailEndpoint) ProtoMessage

func (*EmailEndpoint) ProtoMessage()

func (*EmailEndpoint) ProtoReflect

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

func (*EmailEndpoint) Reset

func (x *EmailEndpoint) Reset()

func (*EmailEndpoint) String

func (x *EmailEndpoint) String() string

func (*EmailEndpoint) Validate

func (e *EmailEndpoint) Validate() error

type EndpointImplementation

type EndpointImplementation struct {

	// title of the alert (required)
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// body message of the alert (required)
	Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// send a notification when the alert is no longer firing? yes/no (default =
	// no)
	SendResolved *bool `protobuf:"varint,3,opt,name=sendResolved,proto3,oneof" json:"sendResolved,omitempty"`
	// contains filtered or unexported fields
}

func (*EndpointImplementation) Descriptor deprecated

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

Deprecated: Use EndpointImplementation.ProtoReflect.Descriptor instead.

func (*EndpointImplementation) GetBody

func (x *EndpointImplementation) GetBody() string

func (*EndpointImplementation) GetSendResolved

func (x *EndpointImplementation) GetSendResolved() bool

func (*EndpointImplementation) GetTitle

func (x *EndpointImplementation) GetTitle() string

func (*EndpointImplementation) ProtoMessage

func (*EndpointImplementation) ProtoMessage()

func (*EndpointImplementation) ProtoReflect

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

func (*EndpointImplementation) Reset

func (x *EndpointImplementation) Reset()

func (*EndpointImplementation) String

func (x *EndpointImplementation) String() string

func (*EndpointImplementation) Validate

func (e *EndpointImplementation) Validate() error

type EndpointMetadata

type EndpointMetadata struct {
	Position     int32  `protobuf:"varint,1,opt,name=position,proto3" json:"position,omitempty"`
	EndpointType string `protobuf:"bytes,2,opt,name=endpointType,proto3" json:"endpointType,omitempty"`
	// contains filtered or unexported fields
}

opni-alerting internal use

func (*EndpointMetadata) Descriptor deprecated

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

Deprecated: Use EndpointMetadata.ProtoReflect.Descriptor instead.

func (*EndpointMetadata) GetEndpointType

func (x *EndpointMetadata) GetEndpointType() string

func (*EndpointMetadata) GetPosition

func (x *EndpointMetadata) GetPosition() int32

func (*EndpointMetadata) ProtoMessage

func (*EndpointMetadata) ProtoMessage()

func (*EndpointMetadata) ProtoReflect

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

func (*EndpointMetadata) Reset

func (x *EndpointMetadata) Reset()

func (*EndpointMetadata) String

func (x *EndpointMetadata) String() string

type EndpointRoutingMap

type EndpointRoutingMap struct {
	Endpoints map[string]*EndpointMetadata `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

opni-alerting internal use

func (*EndpointRoutingMap) Descriptor deprecated

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

Deprecated: Use EndpointRoutingMap.ProtoReflect.Descriptor instead.

func (*EndpointRoutingMap) GetEndpoints

func (x *EndpointRoutingMap) GetEndpoints() map[string]*EndpointMetadata

func (*EndpointRoutingMap) ProtoMessage

func (*EndpointRoutingMap) ProtoMessage()

func (*EndpointRoutingMap) ProtoReflect

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

func (*EndpointRoutingMap) Reset

func (x *EndpointRoutingMap) Reset()

func (*EndpointRoutingMap) String

func (x *EndpointRoutingMap) String() string

type FullAttachedEndpoint

type FullAttachedEndpoint struct {
	EndpointId    string                  `protobuf:"bytes,1,opt,name=endpointId,proto3" json:"endpointId,omitempty"`
	AlertEndpoint *AlertEndpoint          `protobuf:"bytes,2,opt,name=alertEndpoint,proto3" json:"alertEndpoint,omitempty"`
	Details       *EndpointImplementation `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*FullAttachedEndpoint) Descriptor deprecated

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

Deprecated: Use FullAttachedEndpoint.ProtoReflect.Descriptor instead.

func (*FullAttachedEndpoint) GetAlertEndpoint

func (x *FullAttachedEndpoint) GetAlertEndpoint() *AlertEndpoint

func (*FullAttachedEndpoint) GetDetails

func (*FullAttachedEndpoint) GetEndpointId

func (x *FullAttachedEndpoint) GetEndpointId() string

func (*FullAttachedEndpoint) ProtoMessage

func (*FullAttachedEndpoint) ProtoMessage()

func (*FullAttachedEndpoint) ProtoReflect

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

func (*FullAttachedEndpoint) Reset

func (x *FullAttachedEndpoint) Reset()

func (*FullAttachedEndpoint) String

func (x *FullAttachedEndpoint) String() string

func (*FullAttachedEndpoint) Validate

func (f *FullAttachedEndpoint) Validate() error

type FullAttachedEndpoints

type FullAttachedEndpoints struct {
	Items []*FullAttachedEndpoint `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// initial delay before firing the alert (optional) (default=10s)
	InitialDelay *durationpb.Duration `protobuf:"bytes,2,opt,name=initialDelay,proto3,oneof" json:"initialDelay,omitempty"`
	// how often to resend alert messages on active alerts (default =10m)
	RepeatInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=repeatInterval,proto3,oneof" json:"repeatInterval,omitempty"`
	// How long to wait before sending notifications on new condition that has
	// already fired recently (default= 10m)
	ThrottlingDuration *durationpb.Duration    `protobuf:"bytes,4,opt,name=throttlingDuration,proto3,oneof" json:"throttlingDuration,omitempty"`
	Details            *EndpointImplementation `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*FullAttachedEndpoints) Descriptor deprecated

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

Deprecated: Use FullAttachedEndpoints.ProtoReflect.Descriptor instead.

func (*FullAttachedEndpoints) GetDetails

func (*FullAttachedEndpoints) GetInitialDelay

func (x *FullAttachedEndpoints) GetInitialDelay() *durationpb.Duration

func (*FullAttachedEndpoints) GetItems

func (*FullAttachedEndpoints) GetRepeatInterval

func (x *FullAttachedEndpoints) GetRepeatInterval() *durationpb.Duration

func (*FullAttachedEndpoints) GetThrottlingDuration

func (x *FullAttachedEndpoints) GetThrottlingDuration() *durationpb.Duration

func (*FullAttachedEndpoints) ProtoMessage

func (*FullAttachedEndpoints) ProtoMessage()

func (*FullAttachedEndpoints) ProtoReflect

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

func (*FullAttachedEndpoints) Reset

func (x *FullAttachedEndpoints) Reset()

func (*FullAttachedEndpoints) String

func (x *FullAttachedEndpoints) String() string

func (*FullAttachedEndpoints) Validate

func (f *FullAttachedEndpoints) Validate() error

type InformativeAlertLog

type InformativeAlertLog struct {
	ConditionId *v1.Reference   `protobuf:"bytes,1,opt,name=conditionId,proto3" json:"conditionId,omitempty"`
	Condition   *AlertCondition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
	Log         *v1.AlertLog    `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
	// contains filtered or unexported fields
}

func (*InformativeAlertLog) Descriptor deprecated

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

Deprecated: Use InformativeAlertLog.ProtoReflect.Descriptor instead.

func (*InformativeAlertLog) GetCondition

func (x *InformativeAlertLog) GetCondition() *AlertCondition

func (*InformativeAlertLog) GetConditionId

func (x *InformativeAlertLog) GetConditionId() *v1.Reference

func (*InformativeAlertLog) GetLog

func (x *InformativeAlertLog) GetLog() *v1.AlertLog

func (*InformativeAlertLog) ProtoMessage

func (*InformativeAlertLog) ProtoMessage()

func (*InformativeAlertLog) ProtoReflect

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

func (*InformativeAlertLog) Reset

func (x *InformativeAlertLog) Reset()

func (*InformativeAlertLog) String

func (x *InformativeAlertLog) String() string

type InformativeAlertLogList

type InformativeAlertLogList struct {
	Items []*InformativeAlertLog `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*InformativeAlertLogList) Descriptor deprecated

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

Deprecated: Use InformativeAlertLogList.ProtoReflect.Descriptor instead.

func (*InformativeAlertLogList) GetItems

func (*InformativeAlertLogList) ProtoMessage

func (*InformativeAlertLogList) ProtoMessage()

func (*InformativeAlertLogList) ProtoReflect

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

func (*InformativeAlertLogList) Reset

func (x *InformativeAlertLogList) Reset()

func (*InformativeAlertLogList) String

func (x *InformativeAlertLogList) String() string

type InvolvedConditions

type InvolvedConditions struct {
	Items []*v1.Reference `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*InvolvedConditions) Descriptor deprecated

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

Deprecated: Use InvolvedConditions.ProtoReflect.Descriptor instead.

func (*InvolvedConditions) GetItems

func (x *InvolvedConditions) GetItems() []*v1.Reference

func (*InvolvedConditions) ProtoMessage

func (*InvolvedConditions) ProtoMessage()

func (*InvolvedConditions) ProtoReflect

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

func (*InvolvedConditions) Reset

func (x *InvolvedConditions) Reset()

func (*InvolvedConditions) String

func (x *InvolvedConditions) String() string

type KubeObjectGroups

type KubeObjectGroups struct {
	ResourceTypes map[string]*NamespaceObjects `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*KubeObjectGroups) Descriptor deprecated

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

Deprecated: Use KubeObjectGroups.ProtoReflect.Descriptor instead.

func (*KubeObjectGroups) GetResourceTypes

func (x *KubeObjectGroups) GetResourceTypes() map[string]*NamespaceObjects

func (*KubeObjectGroups) ProtoMessage

func (*KubeObjectGroups) ProtoMessage()

func (*KubeObjectGroups) ProtoReflect

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

func (*KubeObjectGroups) Reset

func (x *KubeObjectGroups) Reset()

func (*KubeObjectGroups) String

func (x *KubeObjectGroups) String() string

type ListAlertConditionComposition

type ListAlertConditionComposition struct {
	X []*v1.Reference `protobuf:"bytes,1,rep,name=x,proto3" json:"x,omitempty"`
	Y []*v1.Reference `protobuf:"bytes,2,rep,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertConditionComposition) Descriptor deprecated

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

Deprecated: Use ListAlertConditionComposition.ProtoReflect.Descriptor instead.

func (*ListAlertConditionComposition) GetX

func (*ListAlertConditionComposition) GetY

func (*ListAlertConditionComposition) ProtoMessage

func (*ListAlertConditionComposition) ProtoMessage()

func (*ListAlertConditionComposition) ProtoReflect

func (*ListAlertConditionComposition) Reset

func (x *ListAlertConditionComposition) Reset()

func (*ListAlertConditionComposition) String

type ListAlertConditionControlFlow

type ListAlertConditionControlFlow struct {
	X    []*v1.Reference        `protobuf:"bytes,1,rep,name=x,proto3" json:"x,omitempty"`
	Y    []*v1.Reference        `protobuf:"bytes,2,rep,name=y,proto3" json:"y,omitempty"`
	Fors []*durationpb.Duration `protobuf:"bytes,3,rep,name=fors,proto3" json:"fors,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertConditionControlFlow) Descriptor deprecated

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

Deprecated: Use ListAlertConditionControlFlow.ProtoReflect.Descriptor instead.

func (*ListAlertConditionControlFlow) GetFors

func (*ListAlertConditionControlFlow) GetX

func (*ListAlertConditionControlFlow) GetY

func (*ListAlertConditionControlFlow) ProtoMessage

func (*ListAlertConditionControlFlow) ProtoMessage()

func (*ListAlertConditionControlFlow) ProtoReflect

func (*ListAlertConditionControlFlow) Reset

func (x *ListAlertConditionControlFlow) Reset()

func (*ListAlertConditionControlFlow) String

type ListAlertConditionKubeState

type ListAlertConditionKubeState struct {
	Clusters map[string]*KubeObjectGroups `` /* 157-byte string literal not displayed */
	States   []string                     `protobuf:"bytes,2,rep,name=states,proto3" json:"states,omitempty"`
	Fors     []*durationpb.Duration       `protobuf:"bytes,3,rep,name=fors,proto3" json:"fors,omitempty"`
	// contains filtered or unexported fields
}

clusters --> resourceType --> namespace --> resourceName

func (*ListAlertConditionKubeState) Descriptor deprecated

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

Deprecated: Use ListAlertConditionKubeState.ProtoReflect.Descriptor instead.

func (*ListAlertConditionKubeState) GetClusters

func (x *ListAlertConditionKubeState) GetClusters() map[string]*KubeObjectGroups

func (*ListAlertConditionKubeState) GetFors

func (*ListAlertConditionKubeState) GetStates

func (x *ListAlertConditionKubeState) GetStates() []string

func (*ListAlertConditionKubeState) ProtoMessage

func (*ListAlertConditionKubeState) ProtoMessage()

func (*ListAlertConditionKubeState) ProtoReflect

func (*ListAlertConditionKubeState) Reset

func (x *ListAlertConditionKubeState) Reset()

func (*ListAlertConditionKubeState) String

func (x *ListAlertConditionKubeState) String() string

type ListAlertConditionRequest

type ListAlertConditionRequest struct {
	// contains filtered or unexported fields
}

func (*ListAlertConditionRequest) Descriptor deprecated

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

Deprecated: Use ListAlertConditionRequest.ProtoReflect.Descriptor instead.

func (*ListAlertConditionRequest) ProtoMessage

func (*ListAlertConditionRequest) ProtoMessage()

func (*ListAlertConditionRequest) ProtoReflect

func (*ListAlertConditionRequest) Reset

func (x *ListAlertConditionRequest) Reset()

func (*ListAlertConditionRequest) String

func (x *ListAlertConditionRequest) String() string

func (*ListAlertConditionRequest) Validate

func (l *ListAlertConditionRequest) Validate() error

type ListAlertConditionSystem

type ListAlertConditionSystem struct {

	// clusters we can apply this to
	AgentIds []string `protobuf:"bytes,1,rep,name=agentIds,proto3" json:"agentIds,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertConditionSystem) Descriptor deprecated

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

Deprecated: Use ListAlertConditionSystem.ProtoReflect.Descriptor instead.

func (*ListAlertConditionSystem) GetAgentIds

func (x *ListAlertConditionSystem) GetAgentIds() []string

func (*ListAlertConditionSystem) ProtoMessage

func (*ListAlertConditionSystem) ProtoMessage()

func (*ListAlertConditionSystem) ProtoReflect

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

func (*ListAlertConditionSystem) Reset

func (x *ListAlertConditionSystem) Reset()

func (*ListAlertConditionSystem) String

func (x *ListAlertConditionSystem) String() string

type ListAlertEndpointsRequest

type ListAlertEndpointsRequest struct {
	// contains filtered or unexported fields
}

func (*ListAlertEndpointsRequest) Descriptor deprecated

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

Deprecated: Use ListAlertEndpointsRequest.ProtoReflect.Descriptor instead.

func (*ListAlertEndpointsRequest) ProtoMessage

func (*ListAlertEndpointsRequest) ProtoMessage()

func (*ListAlertEndpointsRequest) ProtoReflect

func (*ListAlertEndpointsRequest) Reset

func (x *ListAlertEndpointsRequest) Reset()

func (*ListAlertEndpointsRequest) String

func (x *ListAlertEndpointsRequest) String() string

func (*ListAlertEndpointsRequest) Validate

func (l *ListAlertEndpointsRequest) Validate() error

type ListAlertLogRequest

type ListAlertLogRequest struct {
	Labels         []string               `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	Limit          uint64                 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	StartTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=startTimestamp,proto3" json:"startTimestamp,omitempty"`
	EndTimestamp   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=endTimestamp,proto3" json:"endTimestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertLogRequest) Descriptor deprecated

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

Deprecated: Use ListAlertLogRequest.ProtoReflect.Descriptor instead.

func (*ListAlertLogRequest) GetEndTimestamp

func (x *ListAlertLogRequest) GetEndTimestamp() *timestamppb.Timestamp

func (*ListAlertLogRequest) GetLabels

func (x *ListAlertLogRequest) GetLabels() []string

func (*ListAlertLogRequest) GetLimit

func (x *ListAlertLogRequest) GetLimit() uint64

func (*ListAlertLogRequest) GetStartTimestamp

func (x *ListAlertLogRequest) GetStartTimestamp() *timestamppb.Timestamp

func (*ListAlertLogRequest) ProtoMessage

func (*ListAlertLogRequest) ProtoMessage()

func (*ListAlertLogRequest) ProtoReflect

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

func (*ListAlertLogRequest) Reset

func (x *ListAlertLogRequest) Reset()

func (*ListAlertLogRequest) String

func (x *ListAlertLogRequest) String() string

type ListAlertTypeDetails

type ListAlertTypeDetails struct {

	// Types that are assignable to Type:
	//
	//	*ListAlertTypeDetails_System
	//	*ListAlertTypeDetails_KubeState
	//	*ListAlertTypeDetails_Composition
	//	*ListAlertTypeDetails_ControlFlow
	Type isListAlertTypeDetails_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*ListAlertTypeDetails) Descriptor deprecated

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

Deprecated: Use ListAlertTypeDetails.ProtoReflect.Descriptor instead.

func (*ListAlertTypeDetails) GetComposition

func (*ListAlertTypeDetails) GetControlFlow

func (*ListAlertTypeDetails) GetKubeState

func (*ListAlertTypeDetails) GetSystem

func (*ListAlertTypeDetails) GetType

func (m *ListAlertTypeDetails) GetType() isListAlertTypeDetails_Type

func (*ListAlertTypeDetails) ProtoMessage

func (*ListAlertTypeDetails) ProtoMessage()

func (*ListAlertTypeDetails) ProtoReflect

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

func (*ListAlertTypeDetails) Reset

func (x *ListAlertTypeDetails) Reset()

func (*ListAlertTypeDetails) String

func (x *ListAlertTypeDetails) String() string

type ListAlertTypeDetails_Composition

type ListAlertTypeDetails_Composition struct {
	Composition *ListAlertConditionComposition `protobuf:"bytes,3,opt,name=composition,proto3,oneof"`
}

type ListAlertTypeDetails_ControlFlow

type ListAlertTypeDetails_ControlFlow struct {
	ControlFlow *ListAlertConditionControlFlow `protobuf:"bytes,4,opt,name=controlFlow,proto3,oneof"`
}

type ListAlertTypeDetails_KubeState

type ListAlertTypeDetails_KubeState struct {
	KubeState *ListAlertConditionKubeState `protobuf:"bytes,2,opt,name=kubeState,proto3,oneof"`
}

type ListAlertTypeDetails_System

type ListAlertTypeDetails_System struct {
	System *ListAlertConditionSystem `protobuf:"bytes,1,opt,name=system,proto3,oneof"`
}

type ListSelectAlertInfo

type ListSelectAlertInfo struct {
	AlertType AlertType `protobuf:"varint,1,opt,name=alertType,proto3,enum=alerting.AlertType" json:"alertType,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSelectAlertInfo) Descriptor deprecated

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

Deprecated: Use ListSelectAlertInfo.ProtoReflect.Descriptor instead.

func (*ListSelectAlertInfo) GetAlertType

func (x *ListSelectAlertInfo) GetAlertType() AlertType

func (*ListSelectAlertInfo) ProtoMessage

func (*ListSelectAlertInfo) ProtoMessage()

func (*ListSelectAlertInfo) ProtoReflect

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

func (*ListSelectAlertInfo) Reset

func (x *ListSelectAlertInfo) Reset()

func (*ListSelectAlertInfo) String

func (x *ListSelectAlertInfo) String() string

type NamespaceObjects

type NamespaceObjects struct {
	Namespaces map[string]*ObjectList `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NamespaceObjects) Descriptor deprecated

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

Deprecated: Use NamespaceObjects.ProtoReflect.Descriptor instead.

func (*NamespaceObjects) GetNamespaces

func (x *NamespaceObjects) GetNamespaces() map[string]*ObjectList

func (*NamespaceObjects) ProtoMessage

func (*NamespaceObjects) ProtoMessage()

func (*NamespaceObjects) ProtoReflect

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

func (*NamespaceObjects) Reset

func (x *NamespaceObjects) Reset()

func (*NamespaceObjects) String

func (x *NamespaceObjects) String() string

type ObjectList

type ObjectList struct {
	Objects []string `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectList) Descriptor deprecated

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

Deprecated: Use ObjectList.ProtoReflect.Descriptor instead.

func (*ObjectList) GetObjects

func (x *ObjectList) GetObjects() []string

func (*ObjectList) ProtoMessage

func (*ObjectList) ProtoMessage()

func (*ObjectList) ProtoReflect

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

func (*ObjectList) Reset

func (x *ObjectList) Reset()

func (*ObjectList) String

func (x *ObjectList) String() string

type RoutingNode

type RoutingNode struct {
	ConditionId           *v1.Reference          `protobuf:"bytes,1,opt,name=conditionId,proto3" json:"conditionId,omitempty"`
	FullAttachedEndpoints *FullAttachedEndpoints `protobuf:"bytes,2,opt,name=fullAttachedEndpoints,proto3" json:"fullAttachedEndpoints,omitempty"`
	// contains filtered or unexported fields
}

opni-alerting internal use

func (*RoutingNode) Descriptor deprecated

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

Deprecated: Use RoutingNode.ProtoReflect.Descriptor instead.

func (*RoutingNode) GetConditionId

func (x *RoutingNode) GetConditionId() *v1.Reference

func (*RoutingNode) GetFullAttachedEndpoints

func (x *RoutingNode) GetFullAttachedEndpoints() *FullAttachedEndpoints

func (*RoutingNode) ProtoMessage

func (*RoutingNode) ProtoMessage()

func (*RoutingNode) ProtoReflect

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

func (*RoutingNode) Reset

func (x *RoutingNode) Reset()

func (*RoutingNode) String

func (x *RoutingNode) String() string

func (*RoutingNode) Validate

func (c *RoutingNode) Validate() error

type RoutingRelationships

type RoutingRelationships struct {
	Conditions map[string]*EndpointRoutingMap `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

opni-alerting internal use

func (*RoutingRelationships) Descriptor deprecated

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

Deprecated: Use RoutingRelationships.ProtoReflect.Descriptor instead.

func (*RoutingRelationships) GetConditions

func (x *RoutingRelationships) GetConditions() map[string]*EndpointRoutingMap

func (*RoutingRelationships) InvolvedConditionsForEndpoint

func (r *RoutingRelationships) InvolvedConditionsForEndpoint(endpointId string) []string

func (*RoutingRelationships) ProtoMessage

func (*RoutingRelationships) ProtoMessage()

func (*RoutingRelationships) ProtoReflect

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

func (*RoutingRelationships) Reset

func (x *RoutingRelationships) Reset()

func (*RoutingRelationships) String

func (x *RoutingRelationships) String() string

type Severity

type Severity int32
const (
	Severity_INFO     Severity = 0
	Severity_WARNING  Severity = 1
	Severity_ERROR    Severity = 2
	Severity_CRITICAL Severity = 3
)

func (Severity) Descriptor

func (Severity) Descriptor() protoreflect.EnumDescriptor

func (Severity) Enum

func (x Severity) Enum() *Severity

func (Severity) EnumDescriptor deprecated

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

Deprecated: Use Severity.Descriptor instead.

func (Severity) Number

func (x Severity) Number() protoreflect.EnumNumber

func (Severity) String

func (x Severity) String() string

func (Severity) Type

type SilenceInfo

type SilenceInfo struct {
	SilenceId string                 `protobuf:"bytes,1,opt,name=silenceId,proto3" json:"silenceId,omitempty"`
	StartsAt  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=startsAt,proto3" json:"startsAt,omitempty"`
	EndsAt    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=endsAt,proto3" json:"endsAt,omitempty"`
	// contains filtered or unexported fields
}

func (*SilenceInfo) Descriptor deprecated

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

Deprecated: Use SilenceInfo.ProtoReflect.Descriptor instead.

func (*SilenceInfo) GetEndsAt

func (x *SilenceInfo) GetEndsAt() *timestamppb.Timestamp

func (*SilenceInfo) GetSilenceId

func (x *SilenceInfo) GetSilenceId() string

func (*SilenceInfo) GetStartsAt

func (x *SilenceInfo) GetStartsAt() *timestamppb.Timestamp

func (*SilenceInfo) ProtoMessage

func (*SilenceInfo) ProtoMessage()

func (*SilenceInfo) ProtoReflect

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

func (*SilenceInfo) Reset

func (x *SilenceInfo) Reset()

func (*SilenceInfo) String

func (x *SilenceInfo) String() string

type SilenceRequest

type SilenceRequest struct {
	ConditionId *v1.Reference        `protobuf:"bytes,1,opt,name=conditionId,proto3" json:"conditionId,omitempty"`
	Duration    *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*SilenceRequest) Descriptor deprecated

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

Deprecated: Use SilenceRequest.ProtoReflect.Descriptor instead.

func (*SilenceRequest) GetConditionId

func (x *SilenceRequest) GetConditionId() *v1.Reference

func (*SilenceRequest) GetDuration

func (x *SilenceRequest) GetDuration() *durationpb.Duration

func (*SilenceRequest) ProtoMessage

func (*SilenceRequest) ProtoMessage()

func (*SilenceRequest) ProtoReflect

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

func (*SilenceRequest) Reset

func (x *SilenceRequest) Reset()

func (*SilenceRequest) String

func (x *SilenceRequest) String() string

func (*SilenceRequest) Validate

func (s *SilenceRequest) Validate() error

type SlackEndpoint

type SlackEndpoint struct {
	WebhookUrl string `protobuf:"bytes,1,opt,name=webhookUrl,proto3" json:"webhookUrl,omitempty"`
	Channel    string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*SlackEndpoint) Descriptor deprecated

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

Deprecated: Use SlackEndpoint.ProtoReflect.Descriptor instead.

func (*SlackEndpoint) GetChannel

func (x *SlackEndpoint) GetChannel() string

func (*SlackEndpoint) GetWebhookUrl

func (x *SlackEndpoint) GetWebhookUrl() string

func (*SlackEndpoint) ProtoMessage

func (*SlackEndpoint) ProtoMessage()

func (*SlackEndpoint) ProtoReflect

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

func (*SlackEndpoint) Reset

func (x *SlackEndpoint) Reset()

func (*SlackEndpoint) String

func (x *SlackEndpoint) String() string

func (*SlackEndpoint) Validate

func (s *SlackEndpoint) Validate() error

type Templateable

type Templateable interface {
	ListTemplates() []string
}

type TestAlertEndpointRequest

type TestAlertEndpointRequest struct {
	Endpoint *AlertEndpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*TestAlertEndpointRequest) Descriptor deprecated

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

Deprecated: Use TestAlertEndpointRequest.ProtoReflect.Descriptor instead.

func (*TestAlertEndpointRequest) GetEndpoint

func (x *TestAlertEndpointRequest) GetEndpoint() *AlertEndpoint

func (*TestAlertEndpointRequest) ProtoMessage

func (*TestAlertEndpointRequest) ProtoMessage()

func (*TestAlertEndpointRequest) ProtoReflect

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

func (*TestAlertEndpointRequest) Reset

func (x *TestAlertEndpointRequest) Reset()

func (*TestAlertEndpointRequest) String

func (x *TestAlertEndpointRequest) String() string

func (*TestAlertEndpointRequest) Validate

func (t *TestAlertEndpointRequest) Validate() error

type TestAlertEndpointResponse

type TestAlertEndpointResponse struct {
	// contains filtered or unexported fields
}

will contain details in a future iteration

func (*TestAlertEndpointResponse) Descriptor deprecated

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

Deprecated: Use TestAlertEndpointResponse.ProtoReflect.Descriptor instead.

func (*TestAlertEndpointResponse) ProtoMessage

func (*TestAlertEndpointResponse) ProtoMessage()

func (*TestAlertEndpointResponse) ProtoReflect

func (*TestAlertEndpointResponse) Reset

func (x *TestAlertEndpointResponse) Reset()

func (*TestAlertEndpointResponse) String

func (x *TestAlertEndpointResponse) String() string

type TimelineRequest

type TimelineRequest struct {
	LookbackWindow *durationpb.Duration `protobuf:"bytes,1,opt,name=lookbackWindow,proto3" json:"lookbackWindow,omitempty"`
	// contains filtered or unexported fields
}

query for status timeline page

func (*TimelineRequest) Descriptor deprecated

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

Deprecated: Use TimelineRequest.ProtoReflect.Descriptor instead.

func (*TimelineRequest) GetLookbackWindow

func (x *TimelineRequest) GetLookbackWindow() *durationpb.Duration

func (*TimelineRequest) ProtoMessage

func (*TimelineRequest) ProtoMessage()

func (*TimelineRequest) ProtoReflect

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

func (*TimelineRequest) Reset

func (x *TimelineRequest) Reset()

func (*TimelineRequest) String

func (x *TimelineRequest) String() string

func (*TimelineRequest) Validate

func (t *TimelineRequest) Validate() error

type TimelineResponse

type TimelineResponse struct {
	Items map[string]*ActiveWindows `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

maps conditionId => list of active windows

func (*TimelineResponse) Descriptor deprecated

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

Deprecated: Use TimelineResponse.ProtoReflect.Descriptor instead.

func (*TimelineResponse) GetItems

func (x *TimelineResponse) GetItems() map[string]*ActiveWindows

func (*TimelineResponse) ProtoMessage

func (*TimelineResponse) ProtoMessage()

func (*TimelineResponse) ProtoReflect

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

func (*TimelineResponse) Reset

func (x *TimelineResponse) Reset()

func (*TimelineResponse) String

func (x *TimelineResponse) String() string

type TimelineType

type TimelineType int32
const (
	// do not show, backend error
	TimelineType_Timeline_Unknown TimelineType = 0
	// red
	TimelineType_Timeline_Alerting TimelineType = 1
	// blue?
	TimelineType_Timeline_Silenced TimelineType = 2
)

func (TimelineType) Descriptor

func (TimelineType) Enum

func (x TimelineType) Enum() *TimelineType

func (TimelineType) EnumDescriptor deprecated

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

Deprecated: Use TimelineType.Descriptor instead.

func (TimelineType) Number

func (TimelineType) String

func (x TimelineType) String() string

func (TimelineType) Type

type TriggerAlertsRequest

type TriggerAlertsRequest struct {
	ConditionId *v1.Reference     `protobuf:"bytes,1,opt,name=conditionId,proto3" json:"conditionId,omitempty"`
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

opni-alerting internal use

func (*TriggerAlertsRequest) Descriptor deprecated

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

Deprecated: Use TriggerAlertsRequest.ProtoReflect.Descriptor instead.

func (*TriggerAlertsRequest) GetAnnotations

func (x *TriggerAlertsRequest) GetAnnotations() map[string]string

func (*TriggerAlertsRequest) GetConditionId

func (x *TriggerAlertsRequest) GetConditionId() *v1.Reference

func (*TriggerAlertsRequest) ProtoMessage

func (*TriggerAlertsRequest) ProtoMessage()

func (*TriggerAlertsRequest) ProtoReflect

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

func (*TriggerAlertsRequest) Reset

func (x *TriggerAlertsRequest) Reset()

func (*TriggerAlertsRequest) String

func (x *TriggerAlertsRequest) String() string

type TriggerAlertsResponse

type TriggerAlertsResponse struct {
	// contains filtered or unexported fields
}

opni-alerting internal use

func (*TriggerAlertsResponse) Descriptor deprecated

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

Deprecated: Use TriggerAlertsResponse.ProtoReflect.Descriptor instead.

func (*TriggerAlertsResponse) ProtoMessage

func (*TriggerAlertsResponse) ProtoMessage()

func (*TriggerAlertsResponse) ProtoReflect

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

func (*TriggerAlertsResponse) Reset

func (x *TriggerAlertsResponse) Reset()

func (*TriggerAlertsResponse) String

func (x *TriggerAlertsResponse) String() string

type UpdateAlertConditionRequest

type UpdateAlertConditionRequest struct {
	Id          *v1.Reference   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UpdateAlert *AlertCondition `protobuf:"bytes,2,opt,name=updateAlert,proto3" json:"updateAlert,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAlertConditionRequest) Descriptor deprecated

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

Deprecated: Use UpdateAlertConditionRequest.ProtoReflect.Descriptor instead.

func (*UpdateAlertConditionRequest) GetId

func (*UpdateAlertConditionRequest) GetUpdateAlert

func (x *UpdateAlertConditionRequest) GetUpdateAlert() *AlertCondition

func (*UpdateAlertConditionRequest) ProtoMessage

func (*UpdateAlertConditionRequest) ProtoMessage()

func (*UpdateAlertConditionRequest) ProtoReflect

func (*UpdateAlertConditionRequest) Reset

func (x *UpdateAlertConditionRequest) Reset()

func (*UpdateAlertConditionRequest) String

func (x *UpdateAlertConditionRequest) String() string

func (*UpdateAlertConditionRequest) Validate

func (u *UpdateAlertConditionRequest) Validate() error

type UpdateAlertEndpointRequest

type UpdateAlertEndpointRequest struct {
	ForceUpdate bool           `protobuf:"varint,1,opt,name=forceUpdate,proto3" json:"forceUpdate,omitempty"`
	Id          *v1.Reference  `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	UpdateAlert *AlertEndpoint `protobuf:"bytes,3,opt,name=updateAlert,proto3" json:"updateAlert,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAlertEndpointRequest) Descriptor deprecated

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

Deprecated: Use UpdateAlertEndpointRequest.ProtoReflect.Descriptor instead.

func (*UpdateAlertEndpointRequest) GetForceUpdate

func (x *UpdateAlertEndpointRequest) GetForceUpdate() bool

func (*UpdateAlertEndpointRequest) GetId

func (*UpdateAlertEndpointRequest) GetUpdateAlert

func (x *UpdateAlertEndpointRequest) GetUpdateAlert() *AlertEndpoint

func (*UpdateAlertEndpointRequest) ProtoMessage

func (*UpdateAlertEndpointRequest) ProtoMessage()

func (*UpdateAlertEndpointRequest) ProtoReflect

func (*UpdateAlertEndpointRequest) Reset

func (x *UpdateAlertEndpointRequest) Reset()

func (*UpdateAlertEndpointRequest) String

func (x *UpdateAlertEndpointRequest) String() string

func (*UpdateAlertEndpointRequest) Validate

func (u *UpdateAlertEndpointRequest) Validate() error

type UpdateAlertLogRequest

type UpdateAlertLogRequest struct {
	Id          string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UpdateAlert *v1.AlertLog `protobuf:"bytes,2,opt,name=UpdateAlert,proto3" json:"UpdateAlert,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAlertLogRequest) Descriptor deprecated

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

Deprecated: Use UpdateAlertLogRequest.ProtoReflect.Descriptor instead.

func (*UpdateAlertLogRequest) GetId

func (x *UpdateAlertLogRequest) GetId() string

func (*UpdateAlertLogRequest) GetUpdateAlert

func (x *UpdateAlertLogRequest) GetUpdateAlert() *v1.AlertLog

func (*UpdateAlertLogRequest) ProtoMessage

func (*UpdateAlertLogRequest) ProtoMessage()

func (*UpdateAlertLogRequest) ProtoReflect

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

func (*UpdateAlertLogRequest) Reset

func (x *UpdateAlertLogRequest) Reset()

func (*UpdateAlertLogRequest) String

func (x *UpdateAlertLogRequest) String() string

Jump to

Keyboard shortcuts

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