v1

package
v0.10.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AlertConditions_CreateAlertCondition_FullMethodName          = "/alerting.AlertConditions/CreateAlertCondition"
	AlertConditions_GetAlertCondition_FullMethodName             = "/alerting.AlertConditions/GetAlertCondition"
	AlertConditions_ListAlertConditions_FullMethodName           = "/alerting.AlertConditions/ListAlertConditions"
	AlertConditions_UpdateAlertCondition_FullMethodName          = "/alerting.AlertConditions/UpdateAlertCondition"
	AlertConditions_ListAlertConditionChoices_FullMethodName     = "/alerting.AlertConditions/ListAlertConditionChoices"
	AlertConditions_DeleteAlertCondition_FullMethodName          = "/alerting.AlertConditions/DeleteAlertCondition"
	AlertConditions_AlertConditionStatus_FullMethodName          = "/alerting.AlertConditions/AlertConditionStatus"
	AlertConditions_ListAlertConditionsWithStatus_FullMethodName = "/alerting.AlertConditions/ListAlertConditionsWithStatus"
	AlertConditions_CloneTo_FullMethodName                       = "/alerting.AlertConditions/CloneTo"
	AlertConditions_ActivateSilence_FullMethodName               = "/alerting.AlertConditions/ActivateSilence"
	AlertConditions_DeactivateSilence_FullMethodName             = "/alerting.AlertConditions/DeactivateSilence"
	AlertConditions_Timeline_FullMethodName                      = "/alerting.AlertConditions/Timeline"
)
View Source
const (
	AlertEndpoints_CreateAlertEndpoint_FullMethodName = "/alerting.AlertEndpoints/CreateAlertEndpoint"
	AlertEndpoints_GetAlertEndpoint_FullMethodName    = "/alerting.AlertEndpoints/GetAlertEndpoint"
	AlertEndpoints_ToggleNotifications_FullMethodName = "/alerting.AlertEndpoints/ToggleNotifications"
	AlertEndpoints_ListAlertEndpoints_FullMethodName  = "/alerting.AlertEndpoints/ListAlertEndpoints"
	AlertEndpoints_UpdateAlertEndpoint_FullMethodName = "/alerting.AlertEndpoints/UpdateAlertEndpoint"
	AlertEndpoints_DeleteAlertEndpoint_FullMethodName = "/alerting.AlertEndpoints/DeleteAlertEndpoint"
	AlertEndpoints_TestAlertEndpoint_FullMethodName   = "/alerting.AlertEndpoints/TestAlertEndpoint"
)
View Source
const (
	AlertNotifications_TriggerAlerts_FullMethodName            = "/alerting.AlertNotifications/TriggerAlerts"
	AlertNotifications_ResolveAlerts_FullMethodName            = "/alerting.AlertNotifications/ResolveAlerts"
	AlertNotifications_PushNotification_FullMethodName         = "/alerting.AlertNotifications/PushNotification"
	AlertNotifications_ListNotifications_FullMethodName        = "/alerting.AlertNotifications/ListNotifications"
	AlertNotifications_ListAlarmMessages_FullMethodName        = "/alerting.AlertNotifications/ListAlarmMessages"
	AlertNotifications_ListRoutingRelationships_FullMethodName = "/alerting.AlertNotifications/ListRoutingRelationships"
)
View Source
const (
	// Property that specifies the unique identifier for the notification
	// Corresponds to condition id for `AlertCondition` and an opaque identifier for
	// an each ephemeral `Notification` instance
	NotificationPropertyOpniUuid = "opni_uuid"
	// Any messages already in the notification queue with the same dedupe key will not be processed
	// immediately, but will be deduplicated.
	NotificationPropertyDedupeKey = "opni_dedupe_key"
	// Any messages with the same group key will be sent together
	NotificationPropertyGroupKey = "opni_group_key"
	// Opaque identifier for the cluster that generated the notification
	NotificationPropertyClusterId = "opni_clusterId"
	// Property that specifies how to classify the notification according to golden signal
	NotificationPropertyGoldenSignal = "opni_goldenSignal"
	// Property that specifies the severity of the notification. Severity impacts how quickly the
	// notification is dispatched & repeated, as well as how long to persist it.
	NotificationPropertySeverity = "opni_severity"
	// Property that is used to correlate messages to particular incidents
	NotificationPropertyFingerprint = "opni_fingerprint"
)

Note these properties have to conform to the AlertManager label naming convention https://prometheus.io/docs/alerting/latest/configuration/#labelname

View Source
const (
	Syncer_PutConfig_FullMethodName = "/alerting.Syncer/PutConfig"
	Syncer_Ready_FullMethodName     = "/alerting.Syncer/Ready"
	Syncer_Healthy_FullMethodName   = "/alerting.Syncer/Healthy"
	Syncer_Status_FullMethodName    = "/alerting.Syncer/Status"
)
View Source
const CustomGoldenSignal = "custom"
View Source
const EndpointTagNotifications = "notifications"
View Source
const ErrorGoldenSignal = "error"
View Source
const LatencyGoldenSignal = "latency"
View Source
const (
	// maps to a wellknown.Capability
	RoutingPropertyDatasource = "opni_datasource"
)

Note these properties have to conform to the AlertManager label naming convention https://prometheus.io/docs/alerting/latest/configuration/#labelname

View Source
const SaturationGoldenSignal = "saturation"
View Source
const TrafficGoldenSignal = "traffic"
View Source
const UpstreamClusterId = "UPSTREAM_CLUSTER_ID"

Variables

View Source
var (
	AlertType_name = map[int32]string{
		0:  "System",
		1:  "KubeState",
		2:  "CpuSaturation",
		3:  "MemorySaturation",
		4:  "FsSaturation",
		5:  "DownstreamCapability",
		6:  "Composition",
		7:  "ControlFlow",
		9:  "PrometheusQuery",
		10: "MonitoringBackend",
	}
	AlertType_value = map[string]int32{
		"System":               0,
		"KubeState":            1,
		"CpuSaturation":        2,
		"MemorySaturation":     3,
		"FsSaturation":         4,
		"DownstreamCapability": 5,
		"Composition":          6,
		"ControlFlow":          7,
		"PrometheusQuery":      9,
		"MonitoringBackend":    10,
	}
)

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: "Unkown",
		1: "Ok",
		2: "Pending",
		3: "Firing",
		4: "Silenced",
		5: "Invalidated",
	}
	AlertConditionState_value = map[string]int32{
		"Unkown":      0,
		"Ok":          1,
		"Pending":     2,
		"Firing":      3,
		"Silenced":    4,
		"Invalidated": 5,
	}
)

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 (
	OpniSeverity_name = map[int32]string{
		0: "Info",
		1: "Warning",
		2: "Error",
		3: "Critical",
	}
	OpniSeverity_value = map[string]int32{
		"Info":     0,
		"Warning":  1,
		"Error":    2,
		"Critical": 3,
	}
)

Enum value maps for OpniSeverity.

View Source
var (
	GoldenSignal_name = map[int32]string{
		0: "Custom",
		1: "Errors",
		2: "Saturation",
		3: "Traffic",
		4: "Latency",
	}
	GoldenSignal_value = map[string]int32{
		"Custom":     0,
		"Errors":     1,
		"Saturation": 2,
		"Traffic":    3,
		"Latency":    4,
	}
)

Enum value maps for GoldenSignal.

View Source
var AlertConditions_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "alerting.AlertConditions",
	HandlerType: (*AlertConditionsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAlertCondition",
			Handler:    _AlertConditions_CreateAlertCondition_Handler,
		},
		{
			MethodName: "GetAlertCondition",
			Handler:    _AlertConditions_GetAlertCondition_Handler,
		},
		{
			MethodName: "ListAlertConditions",
			Handler:    _AlertConditions_ListAlertConditions_Handler,
		},
		{
			MethodName: "UpdateAlertCondition",
			Handler:    _AlertConditions_UpdateAlertCondition_Handler,
		},
		{
			MethodName: "ListAlertConditionChoices",
			Handler:    _AlertConditions_ListAlertConditionChoices_Handler,
		},
		{
			MethodName: "DeleteAlertCondition",
			Handler:    _AlertConditions_DeleteAlertCondition_Handler,
		},
		{
			MethodName: "AlertConditionStatus",
			Handler:    _AlertConditions_AlertConditionStatus_Handler,
		},
		{
			MethodName: "ListAlertConditionsWithStatus",
			Handler:    _AlertConditions_ListAlertConditionsWithStatus_Handler,
		},
		{
			MethodName: "CloneTo",
			Handler:    _AlertConditions_CloneTo_Handler,
		},
		{
			MethodName: "ActivateSilence",
			Handler:    _AlertConditions_ActivateSilence_Handler,
		},
		{
			MethodName: "DeactivateSilence",
			Handler:    _AlertConditions_DeactivateSilence_Handler,
		},
		{
			MethodName: "Timeline",
			Handler:    _AlertConditions_Timeline_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/rancher/opni/pkg/apis/alerting/v1/alerting.condition.proto",
}

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

View Source
var AlertEndpoints_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "alerting.AlertEndpoints",
	HandlerType: (*AlertEndpointsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAlertEndpoint",
			Handler:    _AlertEndpoints_CreateAlertEndpoint_Handler,
		},
		{
			MethodName: "GetAlertEndpoint",
			Handler:    _AlertEndpoints_GetAlertEndpoint_Handler,
		},
		{
			MethodName: "ToggleNotifications",
			Handler:    _AlertEndpoints_ToggleNotifications_Handler,
		},
		{
			MethodName: "ListAlertEndpoints",
			Handler:    _AlertEndpoints_ListAlertEndpoints_Handler,
		},
		{
			MethodName: "UpdateAlertEndpoint",
			Handler:    _AlertEndpoints_UpdateAlertEndpoint_Handler,
		},
		{
			MethodName: "DeleteAlertEndpoint",
			Handler:    _AlertEndpoints_DeleteAlertEndpoint_Handler,
		},
		{
			MethodName: "TestAlertEndpoint",
			Handler:    _AlertEndpoints_TestAlertEndpoint_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/rancher/opni/pkg/apis/alerting/v1/alerting.endpoint.proto",
}

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

View Source
var AlertNotifications_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "alerting.AlertNotifications",
	HandlerType: (*AlertNotificationsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "TriggerAlerts",
			Handler:    _AlertNotifications_TriggerAlerts_Handler,
		},
		{
			MethodName: "ResolveAlerts",
			Handler:    _AlertNotifications_ResolveAlerts_Handler,
		},
		{
			MethodName: "PushNotification",
			Handler:    _AlertNotifications_PushNotification_Handler,
		},
		{
			MethodName: "ListNotifications",
			Handler:    _AlertNotifications_ListNotifications_Handler,
		},
		{
			MethodName: "ListAlarmMessages",
			Handler:    _AlertNotifications_ListAlarmMessages_Handler,
		},
		{
			MethodName: "ListRoutingRelationships",
			Handler:    _AlertNotifications_ListRoutingRelationships_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/rancher/opni/pkg/apis/alerting/v1/alerting.notification.proto",
}

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

View Source
var File_github_com_rancher_opni_pkg_apis_alerting_v1_alerting_condition_proto protoreflect.FileDescriptor
View Source
var File_github_com_rancher_opni_pkg_apis_alerting_v1_alerting_endpoint_proto protoreflect.FileDescriptor
View Source
var File_github_com_rancher_opni_pkg_apis_alerting_v1_alerting_notification_proto protoreflect.FileDescriptor
View Source
var File_github_com_rancher_opni_pkg_apis_alerting_v1_alerting_proto protoreflect.FileDescriptor
View Source
var File_github_com_rancher_opni_pkg_apis_alerting_v1_sidecar_proto protoreflect.FileDescriptor
View Source
var Syncer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "alerting.Syncer",
	HandlerType: (*SyncerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PutConfig",
			Handler:    _Syncer_PutConfig_Handler,
		},
		{
			MethodName: "Ready",
			Handler:    _Syncer_Ready_Handler,
		},
		{
			MethodName: "Healthy",
			Handler:    _Syncer_Healthy_Handler,
		},
		{
			MethodName: "Status",
			Handler:    _Syncer_Status_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/rancher/opni/pkg/apis/alerting/v1/sidecar.proto",
}

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

Functions

func IsInternalCondition added in v0.8.3

func IsInternalCondition(cond *AlertCondition) bool

func IsMetricsCondition added in v0.8.3

func IsMetricsCondition(cond *AlertCondition) bool

func RegisterAlertConditionsServer added in v0.8.2

func RegisterAlertConditionsServer(s grpc.ServiceRegistrar, srv AlertConditionsServer)

func RegisterAlertEndpointsServer added in v0.8.2

func RegisterAlertEndpointsServer(s grpc.ServiceRegistrar, srv AlertEndpointsServer)

func RegisterAlertNotificationsServer added in v0.8.3

func RegisterAlertNotificationsServer(s grpc.ServiceRegistrar, srv AlertNotificationsServer)

func RegisterSyncerServer added in v0.8.2

func RegisterSyncerServer(s grpc.ServiceRegistrar, srv SyncerServer)

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"`
	Fingerprints []string               `protobuf:"bytes,4,rep,name=fingerprints,proto3" json:"fingerprints,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) GetFingerprints added in v0.9.0

func (x *ActiveWindow) GetFingerprints() []string

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          OpniSeverity       `protobuf:"varint,4,opt,name=severity,proto3,enum=alerting.OpniSeverity" 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"`
	Silence           *SilenceInfo       `protobuf:"bytes,7,opt,name=silence,proto3" json:"silence,omitempty"` // Set & Unset via the silence API
	// the object id
	LastUpdated *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=lastUpdated,proto3" json:"lastUpdated,omitempty"`
	Id          string                 `protobuf:"bytes,9,opt,name=id,proto3" json:"id,omitempty"`
	// Explicit field where the golden signal is set
	GoldenSignal GoldenSignal `protobuf:"varint,10,opt,name=goldenSignal,proto3,enum=alerting.GoldenSignal" json:"goldenSignal,omitempty"`
	// overrides the String type of AlertType Details for use in the UI
	OverrideType string `protobuf:"bytes,11,opt,name=overrideType,proto3" json:"overrideType,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) GetClusterId added in v0.8.0

func (a *AlertCondition) GetClusterId() *corev1.Reference

stop-gap solution, until we move to the new versin of the API

func (*AlertCondition) GetDescription

func (x *AlertCondition) GetDescription() string

func (*AlertCondition) GetGoldenSignal added in v0.8.2

func (x *AlertCondition) GetGoldenSignal() GoldenSignal

func (*AlertCondition) GetId added in v0.8.2

func (x *AlertCondition) GetId() string

func (*AlertCondition) GetLabels

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

func (*AlertCondition) GetLastUpdated added in v0.8.2

func (x *AlertCondition) GetLastUpdated() *timestamppb.Timestamp

func (*AlertCondition) GetName

func (x *AlertCondition) GetName() string

func (*AlertCondition) GetOverrideType added in v0.8.2

func (x *AlertCondition) GetOverrideType() string

func (*AlertCondition) GetRoutingAnnotations added in v0.8.3

func (a *AlertCondition) GetRoutingAnnotations() map[string]string

func (*AlertCondition) GetRoutingGoldenSignal added in v0.8.3

func (a *AlertCondition) GetRoutingGoldenSignal() string

func (*AlertCondition) GetRoutingLabels added in v0.8.3

func (a *AlertCondition) GetRoutingLabels() map[string]string

func (*AlertCondition) GetSeverity

func (x *AlertCondition) GetSeverity() OpniSeverity

func (*AlertCondition) GetSilence

func (x *AlertCondition) GetSilence() *SilenceInfo

func (*AlertCondition) IsType added in v0.8.3

func (a *AlertCondition) IsType(typVal AlertType) bool

func (*AlertCondition) Namespace added in v0.8.2

func (a *AlertCondition) Namespace() string

func (*AlertCondition) ProtoMessage

func (*AlertCondition) ProtoMessage()

func (*AlertCondition) ProtoReflect

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

func (*AlertCondition) RedactSecrets added in v0.8.2

func (a *AlertCondition) RedactSecrets()

func (*AlertCondition) Reset

func (x *AlertCondition) Reset()

func (*AlertCondition) Sanitize added in v0.9.0

func (a *AlertCondition) Sanitize()

func (*AlertCondition) SetClusterId added in v0.8.0

func (a *AlertCondition) SetClusterId(clusterId *corev1.Reference) error

stop-gap solution until we move to the new version of the API

func (*AlertCondition) String

func (x *AlertCondition) String() string

func (*AlertCondition) Validate

func (a *AlertCondition) Validate() error

type AlertConditionCPUSaturation added in v0.6.2

type AlertConditionCPUSaturation struct {
	ClusterId *v1.Reference `protobuf:"bytes,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	// optional filters for nodes and cores, restrict observation to said nodes or cores,
	// if empty, all nodes and cores are selected
	NodeCoreFilters map[string]*Cores `` /* 171-byte string literal not displayed */
	// at least one cpu state should be specified
	CpuStates     []string             `protobuf:"bytes,3,rep,name=cpuStates,proto3" json:"cpuStates,omitempty"`
	Operation     string               `protobuf:"bytes,4,opt,name=operation,proto3" json:"operation,omitempty"`           // one of "<", ">", "<=", ">=", "=". "!="
	ExpectedRatio float32              `protobuf:"fixed32,5,opt,name=expectedRatio,proto3" json:"expectedRatio,omitempty"` // 0-1
	For           *durationpb.Duration `protobuf:"bytes,6,opt,name=for,proto3" json:"for,omitempty"`
	// contains filtered or unexported fields
}

Defaults : - cpuState : "user", "system", "guest" selected

func (*AlertConditionCPUSaturation) AlertType added in v0.6.2

func (a *AlertConditionCPUSaturation) AlertType() string

func (*AlertConditionCPUSaturation) Descriptor deprecated added in v0.6.2

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

Deprecated: Use AlertConditionCPUSaturation.ProtoReflect.Descriptor instead.

func (*AlertConditionCPUSaturation) GetClusterId added in v0.6.2

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

func (*AlertConditionCPUSaturation) GetCpuStates added in v0.6.2

func (x *AlertConditionCPUSaturation) GetCpuStates() []string

func (*AlertConditionCPUSaturation) GetExpectedRatio added in v0.6.2

func (x *AlertConditionCPUSaturation) GetExpectedRatio() float32

func (*AlertConditionCPUSaturation) GetFor added in v0.6.2

func (*AlertConditionCPUSaturation) GetNodeCoreFilters added in v0.6.2

func (x *AlertConditionCPUSaturation) GetNodeCoreFilters() map[string]*Cores

func (*AlertConditionCPUSaturation) GetOperation added in v0.6.2

func (x *AlertConditionCPUSaturation) GetOperation() string

func (*AlertConditionCPUSaturation) GoldenSignal added in v0.6.2

func (a *AlertConditionCPUSaturation) GoldenSignal() string

func (*AlertConditionCPUSaturation) ProtoMessage added in v0.6.2

func (*AlertConditionCPUSaturation) ProtoMessage()

func (*AlertConditionCPUSaturation) ProtoReflect added in v0.6.2

func (*AlertConditionCPUSaturation) Reset added in v0.6.2

func (x *AlertConditionCPUSaturation) Reset()

func (*AlertConditionCPUSaturation) String added in v0.6.2

func (x *AlertConditionCPUSaturation) String() string

func (*AlertConditionCPUSaturation) Validate added in v0.6.2

func (c *AlertConditionCPUSaturation) 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) 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) 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 AlertConditionDownstreamCapability added in v0.8.0

type AlertConditionDownstreamCapability struct {
	ClusterId       *v1.Reference        `protobuf:"bytes,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	CapabilityState []string             `protobuf:"bytes,2,rep,name=capabilityState,proto3" json:"capabilityState,omitempty"`
	For             *durationpb.Duration `protobuf:"bytes,3,opt,name=for,proto3" json:"for,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConditionDownstreamCapability) Descriptor deprecated added in v0.8.0

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

Deprecated: Use AlertConditionDownstreamCapability.ProtoReflect.Descriptor instead.

func (*AlertConditionDownstreamCapability) GetCapabilityState added in v0.8.0

func (x *AlertConditionDownstreamCapability) GetCapabilityState() []string

func (*AlertConditionDownstreamCapability) GetClusterId added in v0.8.0

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

func (*AlertConditionDownstreamCapability) GetFor added in v0.8.0

func (*AlertConditionDownstreamCapability) ProtoMessage added in v0.8.0

func (*AlertConditionDownstreamCapability) ProtoMessage()

func (*AlertConditionDownstreamCapability) ProtoReflect added in v0.8.0

func (*AlertConditionDownstreamCapability) Reset added in v0.8.0

func (*AlertConditionDownstreamCapability) String added in v0.8.0

func (*AlertConditionDownstreamCapability) Validate added in v0.8.0

type AlertConditionFilesystemSaturation added in v0.6.2

type AlertConditionFilesystemSaturation struct {
	ClusterId *v1.Reference `protobuf:"bytes,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	// optional filters, if none are set then everything is selected
	NodeFilters   map[string]*FilesystemInfo ``                                                                                  /* 163-byte string literal not displayed */
	Operation     string                     `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`           // one of "<", ">", "<=", ">=", "=". "!="
	ExpectedRatio float64                    `protobuf:"fixed64,4,opt,name=expectedRatio,proto3" json:"expectedRatio,omitempty"` // 0-1
	For           *durationpb.Duration       `protobuf:"bytes,5,opt,name=for,proto3" json:"for,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConditionFilesystemSaturation) AlertType added in v0.6.2

func (*AlertConditionFilesystemSaturation) Descriptor deprecated added in v0.6.2

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

Deprecated: Use AlertConditionFilesystemSaturation.ProtoReflect.Descriptor instead.

func (*AlertConditionFilesystemSaturation) GetClusterId added in v0.6.2

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

func (*AlertConditionFilesystemSaturation) GetExpectedRatio added in v0.6.2

func (x *AlertConditionFilesystemSaturation) GetExpectedRatio() float64

func (*AlertConditionFilesystemSaturation) GetFor added in v0.6.2

func (*AlertConditionFilesystemSaturation) GetNodeFilters added in v0.6.2

func (x *AlertConditionFilesystemSaturation) GetNodeFilters() map[string]*FilesystemInfo

func (*AlertConditionFilesystemSaturation) GetOperation added in v0.6.2

func (x *AlertConditionFilesystemSaturation) GetOperation() string

func (*AlertConditionFilesystemSaturation) GoldenSignal added in v0.6.2

func (a *AlertConditionFilesystemSaturation) GoldenSignal() string

func (*AlertConditionFilesystemSaturation) ProtoMessage added in v0.6.2

func (*AlertConditionFilesystemSaturation) ProtoMessage()

func (*AlertConditionFilesystemSaturation) ProtoReflect added in v0.6.2

func (*AlertConditionFilesystemSaturation) Reset added in v0.6.2

func (*AlertConditionFilesystemSaturation) String added in v0.6.2

func (*AlertConditionFilesystemSaturation) Validate added in v0.6.2

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) AlertType added in v0.6.2

func (a *AlertConditionKubeState) AlertType() string

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) GoldenSignal added in v0.6.2

func (a *AlertConditionKubeState) GoldenSignal() 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 AlertConditionMemorySaturation added in v0.6.2

type AlertConditionMemorySaturation struct {
	ClusterId         *v1.Reference          `protobuf:"bytes,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	NodeMemoryFilters map[string]*MemoryInfo `` // nodes to devices
	/* 175-byte string literal not displayed */
	// at least one usageType is required
	UsageTypes    []string             `protobuf:"bytes,3,rep,name=usageTypes,proto3" json:"usageTypes,omitempty"`
	Operation     string               `protobuf:"bytes,4,opt,name=operation,proto3" json:"operation,omitempty"` // one of "<", ">", "<=", ">=", "=". "!="
	ExpectedRatio float64              `protobuf:"fixed64,5,opt,name=expectedRatio,proto3" json:"expectedRatio,omitempty"`
	For           *durationpb.Duration `protobuf:"bytes,6,opt,name=for,proto3" json:"for,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConditionMemorySaturation) AlertType added in v0.6.2

func (a *AlertConditionMemorySaturation) AlertType() string

func (*AlertConditionMemorySaturation) Descriptor deprecated added in v0.6.2

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

Deprecated: Use AlertConditionMemorySaturation.ProtoReflect.Descriptor instead.

func (*AlertConditionMemorySaturation) GetClusterId added in v0.6.2

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

func (*AlertConditionMemorySaturation) GetExpectedRatio added in v0.6.2

func (x *AlertConditionMemorySaturation) GetExpectedRatio() float64

func (*AlertConditionMemorySaturation) GetFor added in v0.6.2

func (*AlertConditionMemorySaturation) GetNodeMemoryFilters added in v0.6.2

func (x *AlertConditionMemorySaturation) GetNodeMemoryFilters() map[string]*MemoryInfo

func (*AlertConditionMemorySaturation) GetOperation added in v0.6.2

func (x *AlertConditionMemorySaturation) GetOperation() string

func (*AlertConditionMemorySaturation) GetUsageTypes added in v0.6.2

func (x *AlertConditionMemorySaturation) GetUsageTypes() []string

func (*AlertConditionMemorySaturation) GoldenSignal added in v0.6.2

func (a *AlertConditionMemorySaturation) GoldenSignal() string

func (*AlertConditionMemorySaturation) ProtoMessage added in v0.6.2

func (*AlertConditionMemorySaturation) ProtoMessage()

func (*AlertConditionMemorySaturation) ProtoReflect added in v0.6.2

func (*AlertConditionMemorySaturation) Reset added in v0.6.2

func (x *AlertConditionMemorySaturation) Reset()

func (*AlertConditionMemorySaturation) String added in v0.6.2

func (*AlertConditionMemorySaturation) Validate added in v0.6.2

func (c *AlertConditionMemorySaturation) Validate() error

type AlertConditionMonitoringBackend added in v0.8.0

type AlertConditionMonitoringBackend struct {

	// this will alert if these any of these components are unhealthy
	BackendComponents []string             `protobuf:"bytes,1,rep,name=backendComponents,proto3" json:"backendComponents,omitempty"`
	For               *durationpb.Duration `protobuf:"bytes,2,opt,name=for,proto3" json:"for,omitempty"`
	ClusterId         *v1.Reference        `protobuf:"bytes,3,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConditionMonitoringBackend) Descriptor deprecated added in v0.8.0

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

Deprecated: Use AlertConditionMonitoringBackend.ProtoReflect.Descriptor instead.

func (*AlertConditionMonitoringBackend) GetBackendComponents added in v0.8.0

func (x *AlertConditionMonitoringBackend) GetBackendComponents() []string

func (*AlertConditionMonitoringBackend) GetClusterId added in v0.8.0

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

func (*AlertConditionMonitoringBackend) GetFor added in v0.8.0

func (*AlertConditionMonitoringBackend) ProtoMessage added in v0.8.0

func (*AlertConditionMonitoringBackend) ProtoMessage()

func (*AlertConditionMonitoringBackend) ProtoReflect added in v0.8.0

func (*AlertConditionMonitoringBackend) Reset added in v0.8.0

func (*AlertConditionMonitoringBackend) String added in v0.8.0

func (*AlertConditionMonitoringBackend) Validate added in v0.8.0

func (m *AlertConditionMonitoringBackend) Validate() error

type AlertConditionPrometheusQuery added in v0.6.2

type AlertConditionPrometheusQuery struct {
	ClusterId *v1.Reference        `protobuf:"bytes,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	Query     string               `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	For       *durationpb.Duration `protobuf:"bytes,3,opt,name=for,proto3" json:"for,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConditionPrometheusQuery) AlertType added in v0.6.2

func (a *AlertConditionPrometheusQuery) AlertType() string

func (*AlertConditionPrometheusQuery) Descriptor deprecated added in v0.6.2

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

Deprecated: Use AlertConditionPrometheusQuery.ProtoReflect.Descriptor instead.

func (*AlertConditionPrometheusQuery) GetClusterId added in v0.6.2

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

func (*AlertConditionPrometheusQuery) GetFor added in v0.6.2

func (*AlertConditionPrometheusQuery) GetQuery added in v0.6.2

func (x *AlertConditionPrometheusQuery) GetQuery() string

func (*AlertConditionPrometheusQuery) GoldenSignal added in v0.6.2

func (a *AlertConditionPrometheusQuery) GoldenSignal() string

func (*AlertConditionPrometheusQuery) ProtoMessage added in v0.6.2

func (*AlertConditionPrometheusQuery) ProtoMessage()

func (*AlertConditionPrometheusQuery) ProtoReflect added in v0.6.2

func (*AlertConditionPrometheusQuery) Reset added in v0.6.2

func (x *AlertConditionPrometheusQuery) Reset()

func (*AlertConditionPrometheusQuery) String added in v0.6.2

func (*AlertConditionPrometheusQuery) Validate added in v0.6.2

func (q *AlertConditionPrometheusQuery) Validate() error

type AlertConditionState

type AlertConditionState int32

From least important to most important, for logical comparisons

const (
	AlertConditionState_Unkown      AlertConditionState = 0
	AlertConditionState_Ok          AlertConditionState = 1
	AlertConditionState_Pending     AlertConditionState = 2
	AlertConditionState_Firing      AlertConditionState = 3
	AlertConditionState_Silenced    AlertConditionState = 4
	AlertConditionState_Invalidated AlertConditionState = 5
)

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) 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 AlertConditionWithStatus added in v0.8.3

type AlertConditionWithStatus struct {
	AlertCondition *AlertCondition      `protobuf:"bytes,1,opt,name=alertCondition,proto3" json:"alertCondition,omitempty"`
	Status         *AlertStatusResponse `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConditionWithStatus) Descriptor deprecated added in v0.8.3

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

Deprecated: Use AlertConditionWithStatus.ProtoReflect.Descriptor instead.

func (*AlertConditionWithStatus) GetAlertCondition added in v0.8.3

func (x *AlertConditionWithStatus) GetAlertCondition() *AlertCondition

func (*AlertConditionWithStatus) GetStatus added in v0.8.3

func (*AlertConditionWithStatus) ProtoMessage added in v0.8.3

func (*AlertConditionWithStatus) ProtoMessage()

func (*AlertConditionWithStatus) ProtoReflect added in v0.8.3

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

func (*AlertConditionWithStatus) Reset added in v0.8.3

func (x *AlertConditionWithStatus) Reset()

func (*AlertConditionWithStatus) String added in v0.8.3

func (x *AlertConditionWithStatus) String() string

type AlertConditionsClient added in v0.8.2

type AlertConditionsClient interface {
	CreateAlertCondition(ctx context.Context, in *AlertCondition, opts ...grpc.CallOption) (*v1.Reference, error)
	GetAlertCondition(ctx context.Context, in *v1.Reference, opts ...grpc.CallOption) (*AlertCondition, error)
	ListAlertConditions(ctx context.Context, in *ListAlertConditionRequest, opts ...grpc.CallOption) (*AlertConditionList, error)
	UpdateAlertCondition(ctx context.Context, in *UpdateAlertConditionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListAlertConditionChoices(ctx context.Context, in *AlertDetailChoicesRequest, opts ...grpc.CallOption) (*ListAlertTypeDetails, error)
	DeleteAlertCondition(ctx context.Context, in *v1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AlertConditionStatus(ctx context.Context, in *v1.Reference, opts ...grpc.CallOption) (*AlertStatusResponse, error)
	ListAlertConditionsWithStatus(ctx context.Context, in *ListStatusRequest, opts ...grpc.CallOption) (*ListStatusResponse, error)
	CloneTo(ctx context.Context, in *CloneToRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// can only active silence when alert is in firing state (limitation of alertmanager)
	ActivateSilence(ctx context.Context, in *SilenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// id corresponds to conditionId
	DeactivateSilence(ctx context.Context, in *v1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Timeline(ctx context.Context, in *TimelineRequest, opts ...grpc.CallOption) (*TimelineResponse, error)
}

AlertConditionsClient is the client API for AlertConditions 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 NewAlertConditionsClient added in v0.8.2

func NewAlertConditionsClient(cc grpc.ClientConnInterface) AlertConditionsClient

func NewConditionsClient added in v0.8.2

func NewConditionsClient(ctx waitctx.PermissiveContext, opts ...OpsClientOption) (AlertConditionsClient, error)

type AlertConditionsServer added in v0.8.2

type AlertConditionsServer interface {
	CreateAlertCondition(context.Context, *AlertCondition) (*v1.Reference, error)
	GetAlertCondition(context.Context, *v1.Reference) (*AlertCondition, error)
	ListAlertConditions(context.Context, *ListAlertConditionRequest) (*AlertConditionList, error)
	UpdateAlertCondition(context.Context, *UpdateAlertConditionRequest) (*emptypb.Empty, error)
	ListAlertConditionChoices(context.Context, *AlertDetailChoicesRequest) (*ListAlertTypeDetails, error)
	DeleteAlertCondition(context.Context, *v1.Reference) (*emptypb.Empty, error)
	AlertConditionStatus(context.Context, *v1.Reference) (*AlertStatusResponse, error)
	ListAlertConditionsWithStatus(context.Context, *ListStatusRequest) (*ListStatusResponse, error)
	CloneTo(context.Context, *CloneToRequest) (*emptypb.Empty, error)
	// can only active silence when alert is in firing state (limitation of alertmanager)
	ActivateSilence(context.Context, *SilenceRequest) (*emptypb.Empty, error)
	// id corresponds to conditionId
	DeactivateSilence(context.Context, *v1.Reference) (*emptypb.Empty, error)
	Timeline(context.Context, *TimelineRequest) (*TimelineResponse, error)
	// contains filtered or unexported methods
}

AlertConditionsServer is the server API for AlertConditions service. All implementations must embed UnimplementedAlertConditionsServer for forward compatibility

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
	//	*AlertEndpoint_PagerDuty
	//	*AlertEndpoint_Webhook
	Endpoint isAlertEndpoint_Endpoint `protobuf_oneof:"endpoint"`
	// properties are used to flag properties of endpoints, for
	// example opting into opni notifications
	// Properties starting with "_" are private
	Properties map[string]string `` /* 161-byte string literal not displayed */
	// the following are read only for consumers of the API
	LastUpdated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=lastUpdated,proto3" json:"lastUpdated,omitempty"`
	Id          string                 `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	// 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) GetId added in v0.8.2

func (x *AlertEndpoint) GetId() string

func (*AlertEndpoint) GetLastUpdated added in v0.8.2

func (x *AlertEndpoint) GetLastUpdated() *timestamppb.Timestamp

func (*AlertEndpoint) GetName

func (x *AlertEndpoint) GetName() string

func (*AlertEndpoint) GetPagerDuty added in v0.8.0

func (x *AlertEndpoint) GetPagerDuty() *PagerDutyEndpoint

func (*AlertEndpoint) GetProperties added in v0.8.3

func (x *AlertEndpoint) GetProperties() map[string]string

func (*AlertEndpoint) GetSlack

func (x *AlertEndpoint) GetSlack() *SlackEndpoint

func (*AlertEndpoint) GetWebhook added in v0.8.2

func (x *AlertEndpoint) GetWebhook() *WebhookEndpoint

func (*AlertEndpoint) HasSameImplementation added in v0.8.0

func (e *AlertEndpoint) HasSameImplementation(other *AlertEndpoint) bool

func (*AlertEndpoint) ProtoMessage

func (*AlertEndpoint) ProtoMessage()

func (*AlertEndpoint) ProtoReflect

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

func (*AlertEndpoint) RedactSecrets added in v0.8.0

func (e *AlertEndpoint) RedactSecrets()

func (*AlertEndpoint) Reset

func (x *AlertEndpoint) Reset()

func (*AlertEndpoint) String

func (x *AlertEndpoint) String() string

func (*AlertEndpoint) UnredactSecrets added in v0.8.0

func (e *AlertEndpoint) UnredactSecrets(unredacted *AlertEndpoint)

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,6,opt,name=email,proto3,oneof"`
}

type AlertEndpoint_PagerDuty added in v0.8.0

type AlertEndpoint_PagerDuty struct {
	PagerDuty *PagerDutyEndpoint `protobuf:"bytes,7,opt,name=pagerDuty,proto3,oneof"`
}

type AlertEndpoint_Slack

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

type AlertEndpoint_Webhook added in v0.8.2

type AlertEndpoint_Webhook struct {
	Webhook *WebhookEndpoint `protobuf:"bytes,8,opt,name=webhook,proto3,oneof"`
}

type AlertEndpointsClient added in v0.8.2

type AlertEndpointsClient interface {
	CreateAlertEndpoint(ctx context.Context, in *AlertEndpoint, opts ...grpc.CallOption) (*v1.Reference, error)
	GetAlertEndpoint(ctx context.Context, in *v1.Reference, opts ...grpc.CallOption) (*AlertEndpoint, error)
	// update the endpoint to opt in/out of opni notifications
	ToggleNotifications(ctx context.Context, in *ToggleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListAlertEndpoints(ctx context.Context, in *ListAlertEndpointsRequest, opts ...grpc.CallOption) (*AlertEndpointList, error)
	// when forceUpdate = false,
	// returns a list of conditions this would affect(if none, applies the update)
	// when forceUpdate = true,
	//
	//	updates everything without warning
	UpdateAlertEndpoint(ctx context.Context, in *UpdateAlertEndpointRequest, opts ...grpc.CallOption) (*InvolvedConditions, error)
	// when forceDelete = false,
	// returns a list of conditions this would affect(if none, applies the delete)
	// when forceDelete = true
	// deletes and applies the consequences of those changes
	// to everything without warning
	DeleteAlertEndpoint(ctx context.Context, in *DeleteAlertEndpointRequest, opts ...grpc.CallOption) (*InvolvedConditions, error)
	TestAlertEndpoint(ctx context.Context, in *TestAlertEndpointRequest, opts ...grpc.CallOption) (*TestAlertEndpointResponse, error)
}

AlertEndpointsClient is the client API for AlertEndpoints 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 NewAlertEndpointsClient added in v0.8.2

func NewAlertEndpointsClient(cc grpc.ClientConnInterface) AlertEndpointsClient

func NewEndpointsClient added in v0.8.2

func NewEndpointsClient(ctx waitctx.PermissiveContext, opts ...OpsClientOption) (AlertEndpointsClient, error)

type AlertEndpointsServer added in v0.8.2

type AlertEndpointsServer interface {
	CreateAlertEndpoint(context.Context, *AlertEndpoint) (*v1.Reference, error)
	GetAlertEndpoint(context.Context, *v1.Reference) (*AlertEndpoint, error)
	// update the endpoint to opt in/out of opni notifications
	ToggleNotifications(context.Context, *ToggleRequest) (*emptypb.Empty, error)
	ListAlertEndpoints(context.Context, *ListAlertEndpointsRequest) (*AlertEndpointList, error)
	// when forceUpdate = false,
	// returns a list of conditions this would affect(if none, applies the update)
	// when forceUpdate = true,
	//
	//	updates everything without warning
	UpdateAlertEndpoint(context.Context, *UpdateAlertEndpointRequest) (*InvolvedConditions, error)
	// when forceDelete = false,
	// returns a list of conditions this would affect(if none, applies the delete)
	// when forceDelete = true
	// deletes and applies the consequences of those changes
	// to everything without warning
	DeleteAlertEndpoint(context.Context, *DeleteAlertEndpointRequest) (*InvolvedConditions, error)
	TestAlertEndpoint(context.Context, *TestAlertEndpointRequest) (*TestAlertEndpointResponse, error)
	// contains filtered or unexported methods
}

AlertEndpointsServer is the server API for AlertEndpoints service. All implementations must embed UnimplementedAlertEndpointsServer for forward compatibility

type AlertNotificationsClient added in v0.8.3

type AlertNotificationsClient interface {
	TriggerAlerts(ctx context.Context, in *TriggerAlertsRequest, opts ...grpc.CallOption) (*TriggerAlertsResponse, error)
	ResolveAlerts(ctx context.Context, in *ResolveAlertsRequest, opts ...grpc.CallOption) (*ResolveAlertsResponse, error)
	PushNotification(ctx context.Context, in *Notification, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// In the cache we evict the keys with the highest (priority,severity)
	// according to the given filter
	// but return the filtered messages sorted by timestamp.
	ListNotifications(ctx context.Context, in *ListNotificationRequest, opts ...grpc.CallOption) (*ListMessageResponse, error)
	// best-effort listing of alarm messages for a given window
	// messages with low frequency and severity are dropped frequently
	// so may not show up with their associated incident
	ListAlarmMessages(ctx context.Context, in *ListAlarmMessageRequest, opts ...grpc.CallOption) (*ListMessageResponse, error)
	ListRoutingRelationships(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListRoutingRelationshipsResponse, error)
}

AlertNotificationsClient is the client API for AlertNotifications 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 NewAlertNotificationsClient added in v0.8.3

func NewAlertNotificationsClient(cc grpc.ClientConnInterface) AlertNotificationsClient

func NewNotificationsClient added in v0.8.3

func NewNotificationsClient(ctx waitctx.PermissiveContext, opts ...OpsClientOption) (AlertNotificationsClient, error)

type AlertNotificationsServer added in v0.8.3

type AlertNotificationsServer interface {
	TriggerAlerts(context.Context, *TriggerAlertsRequest) (*TriggerAlertsResponse, error)
	ResolveAlerts(context.Context, *ResolveAlertsRequest) (*ResolveAlertsResponse, error)
	PushNotification(context.Context, *Notification) (*emptypb.Empty, error)
	// In the cache we evict the keys with the highest (priority,severity)
	// according to the given filter
	// but return the filtered messages sorted by timestamp.
	ListNotifications(context.Context, *ListNotificationRequest) (*ListMessageResponse, error)
	// best-effort listing of alarm messages for a given window
	// messages with low frequency and severity are dropped frequently
	// so may not show up with their associated incident
	ListAlarmMessages(context.Context, *ListAlarmMessageRequest) (*ListMessageResponse, error)
	ListRoutingRelationships(context.Context, *emptypb.Empty) (*ListRoutingRelationshipsResponse, error)
	// contains filtered or unexported methods
}

AlertNotificationsServer is the server API for AlertNotifications service. All implementations must embed UnimplementedAlertNotificationsServer for forward compatibility

type AlertStatusResponse

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

func (*AlertStatusResponse) Descriptor deprecated

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

Deprecated: Use AlertStatusResponse.ProtoReflect.Descriptor instead.

func (*AlertStatusResponse) GetReason added in v0.8.3

func (x *AlertStatusResponse) GetReason() string

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 (
	AlertType_System               AlertType = 0
	AlertType_KubeState            AlertType = 1
	AlertType_CpuSaturation        AlertType = 2
	AlertType_MemorySaturation     AlertType = 3
	AlertType_FsSaturation         AlertType = 4
	AlertType_DownstreamCapability AlertType = 5
	// Unimplemented
	AlertType_Composition AlertType = 6
	// Unimplemented
	AlertType_ControlFlow       AlertType = 7
	AlertType_PrometheusQuery   AlertType = 9
	AlertType_MonitoringBackend AlertType = 10
)

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
	//	*AlertTypeDetails_Cpu
	//	*AlertTypeDetails_Memory
	//	*AlertTypeDetails_Fs
	//	*AlertTypeDetails_PrometheusQuery
	//	*AlertTypeDetails_DownstreamCapability
	//	*AlertTypeDetails_MonitoringBackend
	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) GetCpu added in v0.6.2

func (*AlertTypeDetails) GetDownstreamCapability added in v0.8.0

func (x *AlertTypeDetails) GetDownstreamCapability() *AlertConditionDownstreamCapability

func (*AlertTypeDetails) GetFs added in v0.6.2

func (*AlertTypeDetails) GetKubeState

func (x *AlertTypeDetails) GetKubeState() *AlertConditionKubeState

func (*AlertTypeDetails) GetMemory added in v0.6.2

func (*AlertTypeDetails) GetMonitoringBackend added in v0.8.0

func (x *AlertTypeDetails) GetMonitoringBackend() *AlertConditionMonitoringBackend

func (*AlertTypeDetails) GetPrometheusQuery added in v0.6.2

func (x *AlertTypeDetails) GetPrometheusQuery() *AlertConditionPrometheusQuery

func (*AlertTypeDetails) GetSystem

func (x *AlertTypeDetails) GetSystem() *AlertConditionSystem

func (*AlertTypeDetails) GetType

func (m *AlertTypeDetails) GetType() isAlertTypeDetails_Type

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 {
	// not implemented
	Composition *AlertConditionComposition `protobuf:"bytes,3,opt,name=composition,proto3,oneof"`
}

type AlertTypeDetails_ControlFlow

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

type AlertTypeDetails_Cpu added in v0.6.2

type AlertTypeDetails_Cpu struct {
	// cpu saturation : golden signal -> saturation
	Cpu *AlertConditionCPUSaturation `protobuf:"bytes,5,opt,name=cpu,proto3,oneof"`
}

type AlertTypeDetails_DownstreamCapability added in v0.8.0

type AlertTypeDetails_DownstreamCapability struct {
	// agent downstream capability alerts
	DownstreamCapability *AlertConditionDownstreamCapability `protobuf:"bytes,10,opt,name=downstreamCapability,proto3,oneof"`
}

type AlertTypeDetails_Fs added in v0.6.2

type AlertTypeDetails_Fs struct {
	// fs saturation : golden signal -> saturation
	Fs *AlertConditionFilesystemSaturation `protobuf:"bytes,8,opt,name=fs,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_Memory added in v0.6.2

type AlertTypeDetails_Memory struct {
	// memory saturation : golden signal -> saturation
	Memory *AlertConditionMemorySaturation `protobuf:"bytes,6,opt,name=memory,proto3,oneof"`
}

type AlertTypeDetails_MonitoringBackend added in v0.8.0

type AlertTypeDetails_MonitoringBackend struct {
	// monitoring backend alerts
	MonitoringBackend *AlertConditionMonitoringBackend `protobuf:"bytes,11,opt,name=monitoringBackend,proto3,oneof"`
}

type AlertTypeDetails_PrometheusQuery added in v0.6.2

type AlertTypeDetails_PrometheusQuery struct {
	// no golden signal; custom
	PrometheusQuery *AlertConditionPrometheusQuery `protobuf:"bytes,9,opt,name=prometheusQuery,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 Authorization added in v0.8.2

type Authorization struct {
	Type            string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	CredentialsFile string `protobuf:"bytes,2,opt,name=credentialsFile,proto3" json:"credentialsFile,omitempty"`
	Credentials     string `protobuf:"bytes,3,opt,name=credentials,proto3" json:"credentials,omitempty"`
	// contains filtered or unexported fields
}

func (*Authorization) Descriptor deprecated added in v0.8.2

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

Deprecated: Use Authorization.ProtoReflect.Descriptor instead.

func (*Authorization) GetCredentials added in v0.8.2

func (x *Authorization) GetCredentials() string

func (*Authorization) GetCredentialsFile added in v0.8.2

func (x *Authorization) GetCredentialsFile() string

func (*Authorization) GetType added in v0.8.2

func (x *Authorization) GetType() string

func (*Authorization) ProtoMessage added in v0.8.2

func (*Authorization) ProtoMessage()

func (*Authorization) ProtoReflect added in v0.8.2

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

func (*Authorization) Reset added in v0.8.2

func (x *Authorization) Reset()

func (*Authorization) String added in v0.8.2

func (x *Authorization) String() string

type BasicAuth added in v0.8.2

type BasicAuth struct {
	Username     string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password     string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	PasswordFile string `protobuf:"bytes,3,opt,name=password_file,json=passwordFile,proto3" json:"password_file,omitempty"`
	// contains filtered or unexported fields
}

func (*BasicAuth) Descriptor deprecated added in v0.8.2

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

Deprecated: Use BasicAuth.ProtoReflect.Descriptor instead.

func (*BasicAuth) GetPassword added in v0.8.2

func (x *BasicAuth) GetPassword() string

func (*BasicAuth) GetPasswordFile added in v0.8.2

func (x *BasicAuth) GetPasswordFile() string

func (*BasicAuth) GetUsername added in v0.8.2

func (x *BasicAuth) GetUsername() string

func (*BasicAuth) ProtoMessage added in v0.8.2

func (*BasicAuth) ProtoMessage()

func (*BasicAuth) ProtoReflect added in v0.8.2

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

func (*BasicAuth) Reset added in v0.8.2

func (x *BasicAuth) Reset()

func (*BasicAuth) String added in v0.8.2

func (x *BasicAuth) String() string

type CachedState added in v0.8.2

type CachedState struct {
	Healthy   bool                   `protobuf:"varint,1,opt,name=healthy,proto3" json:"healthy,omitempty"`
	Firing    bool                   `protobuf:"varint,2,opt,name=firing,proto3" json:"firing,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func DefaultCachedState added in v0.8.2

func DefaultCachedState() *CachedState

if we can't read the last known state assume it is healthy and not firing, set last known state to now

func (*CachedState) Descriptor deprecated added in v0.8.2

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

Deprecated: Use CachedState.ProtoReflect.Descriptor instead.

func (*CachedState) GetFiring added in v0.8.2

func (x *CachedState) GetFiring() bool

func (*CachedState) GetHealthy added in v0.8.2

func (x *CachedState) GetHealthy() bool

func (*CachedState) GetTimestamp added in v0.8.2

func (x *CachedState) GetTimestamp() *timestamppb.Timestamp

func (*CachedState) IsEquivalent added in v0.8.2

func (c *CachedState) IsEquivalent(other *CachedState) bool

func (*CachedState) ProtoMessage added in v0.8.2

func (*CachedState) ProtoMessage()

func (*CachedState) ProtoReflect added in v0.8.2

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

func (*CachedState) RedactSecrets added in v0.8.2

func (c *CachedState) RedactSecrets()

noop

func (*CachedState) Reset added in v0.8.2

func (x *CachedState) Reset()

func (*CachedState) String added in v0.8.2

func (x *CachedState) String() string

type CapabilityState added in v0.8.0

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

func (*CapabilityState) Descriptor deprecated added in v0.8.0

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

Deprecated: Use CapabilityState.ProtoReflect.Descriptor instead.

func (*CapabilityState) GetStates added in v0.8.0

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

func (*CapabilityState) ProtoMessage added in v0.8.0

func (*CapabilityState) ProtoMessage()

func (*CapabilityState) ProtoReflect added in v0.8.0

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

func (*CapabilityState) Reset added in v0.8.0

func (x *CapabilityState) Reset()

func (*CapabilityState) String added in v0.8.0

func (x *CapabilityState) String() string

type CloneToRequest added in v0.8.0

type CloneToRequest struct {
	AlertCondition *AlertCondition `protobuf:"bytes,1,opt,name=alertCondition,proto3" json:"alertCondition,omitempty"`
	ToClusters     []string        `protobuf:"bytes,2,rep,name=toClusters,proto3" json:"toClusters,omitempty"`
	// contains filtered or unexported fields
}

func (*CloneToRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use CloneToRequest.ProtoReflect.Descriptor instead.

func (*CloneToRequest) GetAlertCondition added in v0.8.0

func (x *CloneToRequest) GetAlertCondition() *AlertCondition

func (*CloneToRequest) GetToClusters added in v0.8.0

func (x *CloneToRequest) GetToClusters() []string

func (*CloneToRequest) ProtoMessage added in v0.8.0

func (*CloneToRequest) ProtoMessage()

func (*CloneToRequest) ProtoReflect added in v0.8.0

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

func (*CloneToRequest) Reset added in v0.8.0

func (x *CloneToRequest) Reset()

func (*CloneToRequest) String added in v0.8.0

func (x *CloneToRequest) String() string

func (*CloneToRequest) Validate added in v0.8.0

func (c *CloneToRequest) 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 Cores added in v0.6.2

type Cores struct {
	Items []int64 `protobuf:"varint,1,rep,packed,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*Cores) Descriptor deprecated added in v0.6.2

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

Deprecated: Use Cores.ProtoReflect.Descriptor instead.

func (*Cores) GetItems added in v0.6.2

func (x *Cores) GetItems() []int64

func (*Cores) ProtoMessage added in v0.6.2

func (*Cores) ProtoMessage()

func (*Cores) ProtoReflect added in v0.6.2

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

func (*Cores) Reset added in v0.6.2

func (x *Cores) Reset()

func (*Cores) String added in v0.6.2

func (x *Cores) String() string

type CpuInfo added in v0.6.2

type CpuInfo struct {

	// cores
	CoreIds []int64 `protobuf:"varint,1,rep,packed,name=coreIds,proto3" json:"coreIds,omitempty"`
	// contains filtered or unexported fields
}

func (*CpuInfo) Descriptor deprecated added in v0.6.2

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

Deprecated: Use CpuInfo.ProtoReflect.Descriptor instead.

func (*CpuInfo) GetCoreIds added in v0.6.2

func (x *CpuInfo) GetCoreIds() []int64

func (*CpuInfo) ProtoMessage added in v0.6.2

func (*CpuInfo) ProtoMessage()

func (*CpuInfo) ProtoReflect added in v0.6.2

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

func (*CpuInfo) Reset added in v0.6.2

func (x *CpuInfo) Reset()

func (*CpuInfo) String added in v0.6.2

func (x *CpuInfo) String() string

type CpuNodeGroup added in v0.6.2

type CpuNodeGroup struct {
	Nodes map[string]*CpuInfo `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CpuNodeGroup) Descriptor deprecated added in v0.6.2

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

Deprecated: Use CpuNodeGroup.ProtoReflect.Descriptor instead.

func (*CpuNodeGroup) GetNodes added in v0.6.2

func (x *CpuNodeGroup) GetNodes() map[string]*CpuInfo

func (*CpuNodeGroup) ProtoMessage added in v0.6.2

func (*CpuNodeGroup) ProtoMessage()

func (*CpuNodeGroup) ProtoReflect added in v0.6.2

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

func (*CpuNodeGroup) Reset added in v0.6.2

func (x *CpuNodeGroup) Reset()

func (*CpuNodeGroup) String added in v0.6.2

func (x *CpuNodeGroup) String() string

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 FilesystemInfo added in v0.6.2

type FilesystemInfo struct {
	Mountpoints []string `protobuf:"bytes,1,rep,name=mountpoints,proto3" json:"mountpoints,omitempty"`
	Devices     []string `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

func (*FilesystemInfo) Descriptor deprecated added in v0.6.2

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

Deprecated: Use FilesystemInfo.ProtoReflect.Descriptor instead.

func (*FilesystemInfo) GetDevices added in v0.6.2

func (x *FilesystemInfo) GetDevices() []string

func (*FilesystemInfo) GetMountpoints added in v0.6.2

func (x *FilesystemInfo) GetMountpoints() []string

func (*FilesystemInfo) ProtoMessage added in v0.6.2

func (*FilesystemInfo) ProtoMessage()

func (*FilesystemInfo) ProtoReflect added in v0.6.2

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

func (*FilesystemInfo) Reset added in v0.6.2

func (x *FilesystemInfo) Reset()

func (*FilesystemInfo) String added in v0.6.2

func (x *FilesystemInfo) String() string

type FilesystemNodeGroup added in v0.6.2

type FilesystemNodeGroup struct {
	Nodes map[string]*FilesystemInfo `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FilesystemNodeGroup) Descriptor deprecated added in v0.6.2

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

Deprecated: Use FilesystemNodeGroup.ProtoReflect.Descriptor instead.

func (*FilesystemNodeGroup) GetNodes added in v0.6.2

func (x *FilesystemNodeGroup) GetNodes() map[string]*FilesystemInfo

func (*FilesystemNodeGroup) ProtoMessage added in v0.6.2

func (*FilesystemNodeGroup) ProtoMessage()

func (*FilesystemNodeGroup) ProtoReflect added in v0.6.2

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

func (*FilesystemNodeGroup) Reset added in v0.6.2

func (x *FilesystemNodeGroup) Reset()

func (*FilesystemNodeGroup) String added in v0.6.2

func (x *FilesystemNodeGroup) 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 GoldenSignal added in v0.8.2

type GoldenSignal int32
const (
	GoldenSignal_Custom     GoldenSignal = 0
	GoldenSignal_Errors     GoldenSignal = 1
	GoldenSignal_Saturation GoldenSignal = 2
	GoldenSignal_Traffic    GoldenSignal = 3
	GoldenSignal_Latency    GoldenSignal = 4
)

func (GoldenSignal) Descriptor added in v0.8.2

func (GoldenSignal) Enum added in v0.8.2

func (x GoldenSignal) Enum() *GoldenSignal

func (GoldenSignal) EnumDescriptor deprecated added in v0.8.2

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

Deprecated: Use GoldenSignal.Descriptor instead.

func (GoldenSignal) Number added in v0.8.2

func (GoldenSignal) String added in v0.8.2

func (x GoldenSignal) String() string

func (GoldenSignal) Type added in v0.8.2

type HTTPConfig added in v0.8.2

type HTTPConfig struct {
	BasicAuth       *BasicAuth     `protobuf:"bytes,1,opt,name=basicAuth,proto3" json:"basicAuth,omitempty"`
	Authorization   *Authorization `protobuf:"bytes,2,opt,name=authorization,proto3" json:"authorization,omitempty"`
	Oauth2          *OAuth2        `protobuf:"bytes,3,opt,name=oauth2,proto3" json:"oauth2,omitempty"`
	EnabledHttp2    bool           `protobuf:"varint,4,opt,name=enabled_http2,json=enabledHttp2,proto3" json:"enabled_http2,omitempty"`
	ProxyUrl        string         `protobuf:"bytes,5,opt,name=proxy_url,json=proxyUrl,proto3" json:"proxy_url,omitempty"`
	FollowRedirects bool           `protobuf:"varint,6,opt,name=follow_redirects,json=followRedirects,proto3" json:"follow_redirects,omitempty"`
	TlsConfig       *TLSConfig     `protobuf:"bytes,7,opt,name=tls_config,json=tlsConfig,proto3" json:"tls_config,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPConfig) Descriptor deprecated added in v0.8.2

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

Deprecated: Use HTTPConfig.ProtoReflect.Descriptor instead.

func (*HTTPConfig) GetAuthorization added in v0.8.2

func (x *HTTPConfig) GetAuthorization() *Authorization

func (*HTTPConfig) GetBasicAuth added in v0.8.2

func (x *HTTPConfig) GetBasicAuth() *BasicAuth

func (*HTTPConfig) GetEnabledHttp2 added in v0.8.2

func (x *HTTPConfig) GetEnabledHttp2() bool

func (*HTTPConfig) GetFollowRedirects added in v0.8.2

func (x *HTTPConfig) GetFollowRedirects() bool

func (*HTTPConfig) GetOauth2 added in v0.8.2

func (x *HTTPConfig) GetOauth2() *OAuth2

func (*HTTPConfig) GetProxyUrl added in v0.8.2

func (x *HTTPConfig) GetProxyUrl() string

func (*HTTPConfig) GetTlsConfig added in v0.8.2

func (x *HTTPConfig) GetTlsConfig() *TLSConfig

func (*HTTPConfig) ProtoMessage added in v0.8.2

func (*HTTPConfig) ProtoMessage()

func (*HTTPConfig) ProtoReflect added in v0.8.2

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

func (*HTTPConfig) Reset added in v0.8.2

func (x *HTTPConfig) Reset()

func (*HTTPConfig) String added in v0.8.2

func (x *HTTPConfig) String() string

type IncidentIntervals added in v0.8.2

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

func NewIncidentIntervals added in v0.8.2

func NewIncidentIntervals() *IncidentIntervals

func (*IncidentIntervals) Descriptor deprecated added in v0.8.2

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

Deprecated: Use IncidentIntervals.ProtoReflect.Descriptor instead.

func (*IncidentIntervals) GetItems added in v0.8.2

func (x *IncidentIntervals) GetItems() []*Interval

func (*IncidentIntervals) ProtoMessage added in v0.8.2

func (*IncidentIntervals) ProtoMessage()

func (*IncidentIntervals) ProtoReflect added in v0.8.2

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

func (*IncidentIntervals) Prune added in v0.8.2

func (i *IncidentIntervals) Prune(ttl time.Duration)

func (*IncidentIntervals) RedactSecrets added in v0.8.2

func (i *IncidentIntervals) RedactSecrets()

noop

func (*IncidentIntervals) Reset added in v0.8.2

func (x *IncidentIntervals) Reset()

func (*IncidentIntervals) String added in v0.8.2

func (x *IncidentIntervals) String() string

type IndexableMetric added in v0.6.2

type IndexableMetric interface {
	GoldenSignal() string
	AlertType() string
}

type Interval added in v0.8.2

type Interval 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"`
	Fingerprints []string               `protobuf:"bytes,3,rep,name=fingerprints,proto3" json:"fingerprints,omitempty"`
	// contains filtered or unexported fields
}

func (*Interval) Descriptor deprecated added in v0.8.2

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

Deprecated: Use Interval.ProtoReflect.Descriptor instead.

func (*Interval) GetEnd added in v0.8.2

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

func (*Interval) GetFingerprints added in v0.9.0

func (x *Interval) GetFingerprints() []string

func (*Interval) GetStart added in v0.8.2

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

func (*Interval) ProtoMessage added in v0.8.2

func (*Interval) ProtoMessage()

func (*Interval) ProtoReflect added in v0.8.2

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

func (*Interval) Reset added in v0.8.2

func (x *Interval) Reset()

func (*Interval) String added in v0.8.2

func (x *Interval) 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 ListAlarmMessageRequest added in v0.9.0

type ListAlarmMessageRequest struct {

	// defaults to 100 most severe (frequency + severity heuristic)
	ConditionId  string                 `protobuf:"bytes,1,opt,name=conditionId,proto3" json:"conditionId,omitempty"`
	Fingerprints []string               `protobuf:"bytes,2,rep,name=fingerprints,proto3" json:"fingerprints,omitempty"`
	Start        *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"`
	End          *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlarmMessageRequest) Descriptor deprecated added in v0.9.0

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

Deprecated: Use ListAlarmMessageRequest.ProtoReflect.Descriptor instead.

func (*ListAlarmMessageRequest) GetConditionId added in v0.9.0

func (x *ListAlarmMessageRequest) GetConditionId() string

func (*ListAlarmMessageRequest) GetEnd added in v0.9.0

func (*ListAlarmMessageRequest) GetFingerprints added in v0.9.0

func (x *ListAlarmMessageRequest) GetFingerprints() []string

func (*ListAlarmMessageRequest) GetStart added in v0.9.0

func (*ListAlarmMessageRequest) ProtoMessage added in v0.9.0

func (*ListAlarmMessageRequest) ProtoMessage()

func (*ListAlarmMessageRequest) ProtoReflect added in v0.9.0

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

func (*ListAlarmMessageRequest) Reset added in v0.9.0

func (x *ListAlarmMessageRequest) Reset()

func (*ListAlarmMessageRequest) Sanitize added in v0.9.0

func (l *ListAlarmMessageRequest) Sanitize()

func (*ListAlarmMessageRequest) String added in v0.9.0

func (x *ListAlarmMessageRequest) String() string

func (*ListAlarmMessageRequest) Validate added in v0.9.0

func (l *ListAlarmMessageRequest) Validate() error

type ListAlertConditionCPUSaturation added in v0.6.2

type ListAlertConditionCPUSaturation struct {

	// clusters -> node (empty selection defaults to all) -> (cpus, cpu_state)
	Clusters map[string]*CpuNodeGroup `` /* 157-byte string literal not displayed */
	// cpu state, one of :
	// "user": The time spent in userland
	// "system": The time spent in the kernel
	// "iowait": Time spent waiting for I/O
	// "idle": Time the CPU had nothing to do
	// "irq" : Time servicing interrupts
	// "softirq": Time servicing interrupts
	// "guest" : If you are running VMs, the CPU they use
	// "steal" : If you are a VM, time other VMs "stole" from your CPUs
	CpuStates []string `protobuf:"bytes,2,rep,name=cpuStates,proto3" json:"cpuStates,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertConditionCPUSaturation) Descriptor deprecated added in v0.6.2

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

Deprecated: Use ListAlertConditionCPUSaturation.ProtoReflect.Descriptor instead.

func (*ListAlertConditionCPUSaturation) GetClusters added in v0.6.2

func (x *ListAlertConditionCPUSaturation) GetClusters() map[string]*CpuNodeGroup

func (*ListAlertConditionCPUSaturation) GetCpuStates added in v0.6.2

func (x *ListAlertConditionCPUSaturation) GetCpuStates() []string

func (*ListAlertConditionCPUSaturation) ProtoMessage added in v0.6.2

func (*ListAlertConditionCPUSaturation) ProtoMessage()

func (*ListAlertConditionCPUSaturation) ProtoReflect added in v0.6.2

func (*ListAlertConditionCPUSaturation) Reset added in v0.6.2

func (*ListAlertConditionCPUSaturation) String added in v0.6.2

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 ListAlertConditionDownstreamCapability added in v0.8.0

type ListAlertConditionDownstreamCapability struct {
	Clusters map[string]*CapabilityState `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListAlertConditionDownstreamCapability) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ListAlertConditionDownstreamCapability.ProtoReflect.Descriptor instead.

func (*ListAlertConditionDownstreamCapability) GetClusters added in v0.8.0

func (*ListAlertConditionDownstreamCapability) ProtoMessage added in v0.8.0

func (*ListAlertConditionDownstreamCapability) ProtoReflect added in v0.8.0

func (*ListAlertConditionDownstreamCapability) Reset added in v0.8.0

func (*ListAlertConditionDownstreamCapability) String added in v0.8.0

type ListAlertConditionFilesystemSaturation added in v0.6.2

type ListAlertConditionFilesystemSaturation struct {
	Clusters map[string]*FilesystemNodeGroup `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListAlertConditionFilesystemSaturation) Descriptor deprecated added in v0.6.2

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

Deprecated: Use ListAlertConditionFilesystemSaturation.ProtoReflect.Descriptor instead.

func (*ListAlertConditionFilesystemSaturation) GetClusters added in v0.6.2

func (*ListAlertConditionFilesystemSaturation) ProtoMessage added in v0.6.2

func (*ListAlertConditionFilesystemSaturation) ProtoReflect added in v0.6.2

func (*ListAlertConditionFilesystemSaturation) Reset added in v0.6.2

func (*ListAlertConditionFilesystemSaturation) String added in v0.6.2

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 ListAlertConditionMemorySaturation added in v0.6.2

type ListAlertConditionMemorySaturation struct {
	Clusters   map[string]*MemoryNodeGroup `` /* 157-byte string literal not displayed */
	UsageTypes []string                    `protobuf:"bytes,2,rep,name=usageTypes,proto3" json:"usageTypes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertConditionMemorySaturation) Descriptor deprecated added in v0.6.2

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

Deprecated: Use ListAlertConditionMemorySaturation.ProtoReflect.Descriptor instead.

func (*ListAlertConditionMemorySaturation) GetClusters added in v0.6.2

func (*ListAlertConditionMemorySaturation) GetUsageTypes added in v0.6.2

func (x *ListAlertConditionMemorySaturation) GetUsageTypes() []string

func (*ListAlertConditionMemorySaturation) ProtoMessage added in v0.6.2

func (*ListAlertConditionMemorySaturation) ProtoMessage()

func (*ListAlertConditionMemorySaturation) ProtoReflect added in v0.6.2

func (*ListAlertConditionMemorySaturation) Reset added in v0.6.2

func (*ListAlertConditionMemorySaturation) String added in v0.6.2

type ListAlertConditionMonitoringBackend added in v0.8.0

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

func (*ListAlertConditionMonitoringBackend) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ListAlertConditionMonitoringBackend.ProtoReflect.Descriptor instead.

func (*ListAlertConditionMonitoringBackend) GetBackendComponents added in v0.8.0

func (x *ListAlertConditionMonitoringBackend) GetBackendComponents() []string

func (*ListAlertConditionMonitoringBackend) ProtoMessage added in v0.8.0

func (*ListAlertConditionMonitoringBackend) ProtoMessage()

func (*ListAlertConditionMonitoringBackend) ProtoReflect added in v0.8.0

func (*ListAlertConditionMonitoringBackend) Reset added in v0.8.0

func (*ListAlertConditionMonitoringBackend) String added in v0.8.0

type ListAlertConditionPrometheusQuery added in v0.7.0

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

func (*ListAlertConditionPrometheusQuery) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ListAlertConditionPrometheusQuery.ProtoReflect.Descriptor instead.

func (*ListAlertConditionPrometheusQuery) GetClusters added in v0.7.0

func (x *ListAlertConditionPrometheusQuery) GetClusters() []string

func (*ListAlertConditionPrometheusQuery) ProtoMessage added in v0.7.0

func (*ListAlertConditionPrometheusQuery) ProtoMessage()

func (*ListAlertConditionPrometheusQuery) ProtoReflect added in v0.7.0

func (*ListAlertConditionPrometheusQuery) Reset added in v0.7.0

func (*ListAlertConditionPrometheusQuery) String added in v0.7.0

type ListAlertConditionRequest

type ListAlertConditionRequest struct {
	Clusters   []string       `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	Severities []OpniSeverity `protobuf:"varint,2,rep,packed,name=severities,proto3,enum=alerting.OpniSeverity" json:"severities,omitempty"`
	Labels     []string       `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"`
	AlertTypes []AlertType    `protobuf:"varint,4,rep,packed,name=alertTypes,proto3,enum=alerting.AlertType" json:"alertTypes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertConditionRequest) Descriptor deprecated

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

Deprecated: Use ListAlertConditionRequest.ProtoReflect.Descriptor instead.

func (*ListAlertConditionRequest) FilterFunc added in v0.9.0

func (l *ListAlertConditionRequest) FilterFunc() func(*AlertCondition, int) bool

func (*ListAlertConditionRequest) GetAlertTypes added in v0.8.3

func (x *ListAlertConditionRequest) GetAlertTypes() []AlertType

func (*ListAlertConditionRequest) GetClusters added in v0.8.3

func (x *ListAlertConditionRequest) GetClusters() []string

func (*ListAlertConditionRequest) GetLabels added in v0.8.3

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

func (*ListAlertConditionRequest) GetSeverities added in v0.8.3

func (x *ListAlertConditionRequest) GetSeverities() []OpniSeverity

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 ListAlertTypeDetails

type ListAlertTypeDetails struct {

	// Types that are assignable to Type:
	//
	//	*ListAlertTypeDetails_System
	//	*ListAlertTypeDetails_KubeState
	//	*ListAlertTypeDetails_Composition
	//	*ListAlertTypeDetails_ControlFlow
	//	*ListAlertTypeDetails_Cpu
	//	*ListAlertTypeDetails_Memory
	//	*ListAlertTypeDetails_Fs
	//	*ListAlertTypeDetails_DownstreamCapability
	//	*ListAlertTypeDetails_PrometheusQuery
	//	*ListAlertTypeDetails_MonitoringBackend
	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) GetCpu added in v0.6.2

func (*ListAlertTypeDetails) GetDownstreamCapability added in v0.8.0

func (x *ListAlertTypeDetails) GetDownstreamCapability() *ListAlertConditionDownstreamCapability

func (*ListAlertTypeDetails) GetFs added in v0.6.2

func (*ListAlertTypeDetails) GetKubeState

func (*ListAlertTypeDetails) GetMemory added in v0.6.2

func (*ListAlertTypeDetails) GetMonitoringBackend added in v0.8.0

func (x *ListAlertTypeDetails) GetMonitoringBackend() *ListAlertConditionMonitoringBackend

func (*ListAlertTypeDetails) GetPrometheusQuery added in v0.7.0

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_Cpu added in v0.6.2

type ListAlertTypeDetails_Cpu struct {
	Cpu *ListAlertConditionCPUSaturation `protobuf:"bytes,5,opt,name=cpu,proto3,oneof"`
}

type ListAlertTypeDetails_DownstreamCapability added in v0.8.0

type ListAlertTypeDetails_DownstreamCapability struct {
	DownstreamCapability *ListAlertConditionDownstreamCapability `protobuf:"bytes,8,opt,name=downstreamCapability,proto3,oneof"`
}

type ListAlertTypeDetails_Fs added in v0.6.2

type ListAlertTypeDetails_Fs struct {
	Fs *ListAlertConditionFilesystemSaturation `protobuf:"bytes,7,opt,name=fs,proto3,oneof"`
}

type ListAlertTypeDetails_KubeState

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

type ListAlertTypeDetails_Memory added in v0.6.2

type ListAlertTypeDetails_Memory struct {
	Memory *ListAlertConditionMemorySaturation `protobuf:"bytes,6,opt,name=memory,proto3,oneof"`
}

type ListAlertTypeDetails_MonitoringBackend added in v0.8.0

type ListAlertTypeDetails_MonitoringBackend struct {
	MonitoringBackend *ListAlertConditionMonitoringBackend `protobuf:"bytes,10,opt,name=monitoringBackend,proto3,oneof"`
}

type ListAlertTypeDetails_PrometheusQuery added in v0.7.0

type ListAlertTypeDetails_PrometheusQuery struct {
	PrometheusQuery *ListAlertConditionPrometheusQuery `protobuf:"bytes,9,opt,name=prometheusQuery,proto3,oneof"`
}

type ListAlertTypeDetails_System

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

type ListMessageResponse added in v0.9.0

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

func (*ListMessageResponse) Descriptor deprecated added in v0.9.0

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

Deprecated: Use ListMessageResponse.ProtoReflect.Descriptor instead.

func (*ListMessageResponse) GetItems added in v0.9.0

func (x *ListMessageResponse) GetItems() []*MessageInstance

func (*ListMessageResponse) ProtoMessage added in v0.9.0

func (*ListMessageResponse) ProtoMessage()

func (*ListMessageResponse) ProtoReflect added in v0.9.0

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

func (*ListMessageResponse) Reset added in v0.9.0

func (x *ListMessageResponse) Reset()

func (*ListMessageResponse) String added in v0.9.0

func (x *ListMessageResponse) String() string

type ListNotificationRequest added in v0.9.0

type ListNotificationRequest struct {

	// defaults to 100 most severe (frequency + severity heuristic)
	Limit               *int32         `protobuf:"varint,1,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	SeverityFilters     []OpniSeverity `protobuf:"varint,2,rep,packed,name=severityFilters,proto3,enum=alerting.OpniSeverity" json:"severityFilters,omitempty"`
	GoldenSignalFilters []GoldenSignal `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListNotificationRequest) Descriptor deprecated added in v0.9.0

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

Deprecated: Use ListNotificationRequest.ProtoReflect.Descriptor instead.

func (*ListNotificationRequest) GetGoldenSignalFilters added in v0.9.0

func (x *ListNotificationRequest) GetGoldenSignalFilters() []GoldenSignal

func (*ListNotificationRequest) GetLimit added in v0.9.0

func (x *ListNotificationRequest) GetLimit() int32

func (*ListNotificationRequest) GetSeverityFilters added in v0.9.0

func (x *ListNotificationRequest) GetSeverityFilters() []OpniSeverity

func (*ListNotificationRequest) ProtoMessage added in v0.9.0

func (*ListNotificationRequest) ProtoMessage()

func (*ListNotificationRequest) ProtoReflect added in v0.9.0

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

func (*ListNotificationRequest) Reset added in v0.9.0

func (x *ListNotificationRequest) Reset()

func (*ListNotificationRequest) Sanitize added in v0.9.0

func (l *ListNotificationRequest) Sanitize()

func (*ListNotificationRequest) String added in v0.9.0

func (x *ListNotificationRequest) String() string

func (*ListNotificationRequest) Validate added in v0.9.0

func (l *ListNotificationRequest) Validate() error

type ListRoutingRelationshipsResponse added in v0.8.2

type ListRoutingRelationshipsResponse struct {
	RoutingRelationships map[string]*v1.ReferenceList `` /* 181-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListRoutingRelationshipsResponse) Descriptor deprecated added in v0.8.2

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

Deprecated: Use ListRoutingRelationshipsResponse.ProtoReflect.Descriptor instead.

func (*ListRoutingRelationshipsResponse) GetInvolvedConditions added in v0.8.2

func (r *ListRoutingRelationshipsResponse) GetInvolvedConditions(endpointId string) *InvolvedConditions

func (*ListRoutingRelationshipsResponse) GetRoutingRelationships added in v0.8.2

func (x *ListRoutingRelationshipsResponse) GetRoutingRelationships() map[string]*v1.ReferenceList

func (*ListRoutingRelationshipsResponse) ProtoMessage added in v0.8.2

func (*ListRoutingRelationshipsResponse) ProtoMessage()

func (*ListRoutingRelationshipsResponse) ProtoReflect added in v0.8.2

func (*ListRoutingRelationshipsResponse) Reset added in v0.8.2

func (*ListRoutingRelationshipsResponse) String added in v0.8.2

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 ListStatusRequest added in v0.8.3

type ListStatusRequest struct {
	ItemFilter *ListAlertConditionRequest `protobuf:"bytes,1,opt,name=itemFilter,proto3" json:"itemFilter,omitempty"`
	States     []AlertConditionState      `protobuf:"varint,2,rep,packed,name=states,proto3,enum=alerting.AlertConditionState" json:"states,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStatusRequest) Descriptor deprecated added in v0.8.3

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

Deprecated: Use ListStatusRequest.ProtoReflect.Descriptor instead.

func (*ListStatusRequest) GetItemFilter added in v0.8.3

func (x *ListStatusRequest) GetItemFilter() *ListAlertConditionRequest

func (*ListStatusRequest) GetStates added in v0.8.3

func (x *ListStatusRequest) GetStates() []AlertConditionState

func (*ListStatusRequest) ProtoMessage added in v0.8.3

func (*ListStatusRequest) ProtoMessage()

func (*ListStatusRequest) ProtoReflect added in v0.8.3

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

func (*ListStatusRequest) Reset added in v0.8.3

func (x *ListStatusRequest) Reset()

func (*ListStatusRequest) String added in v0.8.3

func (x *ListStatusRequest) String() string

type ListStatusResponse added in v0.8.3

type ListStatusResponse struct {
	AlertConditions map[string]*AlertConditionWithStatus `` /* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListStatusResponse) Descriptor deprecated added in v0.8.3

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

Deprecated: Use ListStatusResponse.ProtoReflect.Descriptor instead.

func (*ListStatusResponse) GetAlertConditions added in v0.8.3

func (x *ListStatusResponse) GetAlertConditions() map[string]*AlertConditionWithStatus

func (*ListStatusResponse) ProtoMessage added in v0.8.3

func (*ListStatusResponse) ProtoMessage()

func (*ListStatusResponse) ProtoReflect added in v0.8.3

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

func (*ListStatusResponse) Reset added in v0.8.3

func (x *ListStatusResponse) Reset()

func (*ListStatusResponse) String added in v0.8.3

func (x *ListStatusResponse) String() string

type MemoryInfo added in v0.6.2

type MemoryInfo struct {
	Devices []string `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryInfo) Descriptor deprecated added in v0.6.2

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

Deprecated: Use MemoryInfo.ProtoReflect.Descriptor instead.

func (*MemoryInfo) GetDevices added in v0.6.2

func (x *MemoryInfo) GetDevices() []string

func (*MemoryInfo) ProtoMessage added in v0.6.2

func (*MemoryInfo) ProtoMessage()

func (*MemoryInfo) ProtoReflect added in v0.6.2

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

func (*MemoryInfo) Reset added in v0.6.2

func (x *MemoryInfo) Reset()

func (*MemoryInfo) String added in v0.6.2

func (x *MemoryInfo) String() string

type MemoryNodeGroup added in v0.6.2

type MemoryNodeGroup struct {
	Nodes map[string]*MemoryInfo `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MemoryNodeGroup) Descriptor deprecated added in v0.6.2

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

Deprecated: Use MemoryNodeGroup.ProtoReflect.Descriptor instead.

func (*MemoryNodeGroup) GetNodes added in v0.6.2

func (x *MemoryNodeGroup) GetNodes() map[string]*MemoryInfo

func (*MemoryNodeGroup) ProtoMessage added in v0.6.2

func (*MemoryNodeGroup) ProtoMessage()

func (*MemoryNodeGroup) ProtoReflect added in v0.6.2

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

func (*MemoryNodeGroup) Reset added in v0.6.2

func (x *MemoryNodeGroup) Reset()

func (*MemoryNodeGroup) String added in v0.6.2

func (x *MemoryNodeGroup) String() string

type MessageInstance added in v0.9.0

type MessageInstance struct {
	ReceivedAt    *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=receivedAt,proto3" json:"receivedAt,omitempty"`
	LastUpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=lastUpdatedAt,proto3" json:"lastUpdatedAt,omitempty"`
	Notification  *Notification          `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty"`
	StartDetails  map[string]string      `` /* 165-byte string literal not displayed */
	LastDetails   map[string]string      `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MessageInstance) Descriptor deprecated added in v0.9.0

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

Deprecated: Use MessageInstance.ProtoReflect.Descriptor instead.

func (*MessageInstance) GetLastDetails added in v0.9.0

func (x *MessageInstance) GetLastDetails() map[string]string

func (*MessageInstance) GetLastUpdatedAt added in v0.9.0

func (x *MessageInstance) GetLastUpdatedAt() *timestamppb.Timestamp

func (*MessageInstance) GetNotification added in v0.9.0

func (x *MessageInstance) GetNotification() *Notification

func (*MessageInstance) GetReceivedAt added in v0.9.0

func (x *MessageInstance) GetReceivedAt() *timestamppb.Timestamp

func (*MessageInstance) GetStartDetails added in v0.9.0

func (x *MessageInstance) GetStartDetails() map[string]string

func (*MessageInstance) ProtoMessage added in v0.9.0

func (*MessageInstance) ProtoMessage()

func (*MessageInstance) ProtoReflect added in v0.9.0

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

func (*MessageInstance) Reset added in v0.9.0

func (x *MessageInstance) Reset()

func (*MessageInstance) String added in v0.9.0

func (x *MessageInstance) 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 Notification added in v0.8.3

type Notification struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Body  string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// sets notification properties, for example
	// severity, golden signal, dedupe keys, group keys etc...
	//
	// It is recommended to set severity, golden signal,
	// dedupe keys and group keys
	Properties map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Notification) Descriptor deprecated added in v0.8.3

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

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetBody added in v0.8.3

func (x *Notification) GetBody() string

func (*Notification) GetProperties added in v0.8.3

func (x *Notification) GetProperties() map[string]string

func (*Notification) GetRoutingAnnotations added in v0.8.3

func (n *Notification) GetRoutingAnnotations() map[string]string

func (*Notification) GetRoutingGoldenSignal added in v0.8.3

func (n *Notification) GetRoutingGoldenSignal() string

func (*Notification) GetRoutingLabels added in v0.8.3

func (n *Notification) GetRoutingLabels() map[string]string

func (*Notification) GetTitle added in v0.8.3

func (x *Notification) GetTitle() string

func (*Notification) Namespace added in v0.9.0

func (n *Notification) Namespace() string

func (*Notification) ProtoMessage added in v0.8.3

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect added in v0.8.3

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

func (*Notification) Reset added in v0.8.3

func (x *Notification) Reset()

func (*Notification) Sanitize added in v0.9.0

func (n *Notification) Sanitize()

func (*Notification) String added in v0.8.3

func (x *Notification) String() string

func (*Notification) Validate added in v0.8.3

func (n *Notification) Validate() error

type OAuth2 added in v0.8.2

type OAuth2 struct {
	ClientId         string            `protobuf:"bytes,1,opt,name=clientId,proto3" json:"clientId,omitempty"`
	ClientSecret     string            `protobuf:"bytes,2,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"`
	ClientSecretFile string            `protobuf:"bytes,3,opt,name=clientSecretFile,proto3" json:"clientSecretFile,omitempty"`
	Scopes           []string          `protobuf:"bytes,4,rep,name=scopes,proto3" json:"scopes,omitempty"`
	TokenUrl         string            `protobuf:"bytes,5,opt,name=tokenUrl,proto3" json:"tokenUrl,omitempty"`
	EndpointParams   map[string]string `` /* 169-byte string literal not displayed */
	ProxyUrl         string            `protobuf:"bytes,7,opt,name=proxyUrl,proto3" json:"proxyUrl,omitempty"`
	TlsConfig        *TLSConfig        `protobuf:"bytes,8,opt,name=tlsConfig,proto3" json:"tlsConfig,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuth2) Descriptor deprecated added in v0.8.2

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

Deprecated: Use OAuth2.ProtoReflect.Descriptor instead.

func (*OAuth2) GetClientId added in v0.8.2

func (x *OAuth2) GetClientId() string

func (*OAuth2) GetClientSecret added in v0.8.2

func (x *OAuth2) GetClientSecret() string

func (*OAuth2) GetClientSecretFile added in v0.8.2

func (x *OAuth2) GetClientSecretFile() string

func (*OAuth2) GetEndpointParams added in v0.8.2

func (x *OAuth2) GetEndpointParams() map[string]string

func (*OAuth2) GetProxyUrl added in v0.8.2

func (x *OAuth2) GetProxyUrl() string

func (*OAuth2) GetScopes added in v0.8.2

func (x *OAuth2) GetScopes() []string

func (*OAuth2) GetTlsConfig added in v0.8.2

func (x *OAuth2) GetTlsConfig() *TLSConfig

func (*OAuth2) GetTokenUrl added in v0.8.2

func (x *OAuth2) GetTokenUrl() string

func (*OAuth2) ProtoMessage added in v0.8.2

func (*OAuth2) ProtoMessage()

func (*OAuth2) ProtoReflect added in v0.8.2

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

func (*OAuth2) Reset added in v0.8.2

func (x *OAuth2) Reset()

func (*OAuth2) String added in v0.8.2

func (x *OAuth2) 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 OpniSeverity added in v0.8.2

type OpniSeverity int32
const (
	OpniSeverity_Info     OpniSeverity = 0
	OpniSeverity_Warning  OpniSeverity = 1
	OpniSeverity_Error    OpniSeverity = 2
	OpniSeverity_Critical OpniSeverity = 3
)

func (OpniSeverity) Descriptor added in v0.8.2

func (OpniSeverity) Enum added in v0.8.2

func (x OpniSeverity) Enum() *OpniSeverity

func (OpniSeverity) EnumDescriptor deprecated added in v0.8.2

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

Deprecated: Use OpniSeverity.Descriptor instead.

func (OpniSeverity) Number added in v0.8.2

func (OpniSeverity) String added in v0.8.2

func (x OpniSeverity) String() string

func (OpniSeverity) Type added in v0.8.2

type OpsClientOption added in v0.8.2

type OpsClientOption func(*OpsClientOptions)

func WithDialOptions added in v0.8.2

func WithDialOptions(options ...grpc.DialOption) OpsClientOption

func WithListenAddress added in v0.8.2

func WithListenAddress(addr string) OpsClientOption

type OpsClientOptions added in v0.8.2

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

type PagerDutyEndpoint added in v0.8.0

type PagerDutyEndpoint struct {

	// default global ruleset -> event rules screen
	IntegrationKey string `protobuf:"bytes,1,opt,name=integrationKey,proto3" json:"integrationKey,omitempty"`
	ServiceKey     string `protobuf:"bytes,2,opt,name=serviceKey,proto3" json:"serviceKey,omitempty"`
	// contains filtered or unexported fields
}

func (*PagerDutyEndpoint) Descriptor deprecated added in v0.8.0

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

Deprecated: Use PagerDutyEndpoint.ProtoReflect.Descriptor instead.

func (*PagerDutyEndpoint) GetIntegrationKey added in v0.8.0

func (x *PagerDutyEndpoint) GetIntegrationKey() string

func (*PagerDutyEndpoint) GetServiceKey added in v0.8.2

func (x *PagerDutyEndpoint) GetServiceKey() string

func (*PagerDutyEndpoint) ProtoMessage added in v0.8.0

func (*PagerDutyEndpoint) ProtoMessage()

func (*PagerDutyEndpoint) ProtoReflect added in v0.8.0

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

func (*PagerDutyEndpoint) Reset added in v0.8.0

func (x *PagerDutyEndpoint) Reset()

func (*PagerDutyEndpoint) String added in v0.8.0

func (x *PagerDutyEndpoint) String() string

func (*PagerDutyEndpoint) Validate added in v0.8.0

func (a *PagerDutyEndpoint) Validate() error

type PutConfigRequest added in v0.8.2

type PutConfigRequest struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // allows for having multiple configs
	Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*PutConfigRequest) Descriptor deprecated added in v0.8.2

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

Deprecated: Use PutConfigRequest.ProtoReflect.Descriptor instead.

func (*PutConfigRequest) GetConfig added in v0.8.2

func (x *PutConfigRequest) GetConfig() []byte

func (*PutConfigRequest) GetKey added in v0.8.2

func (x *PutConfigRequest) GetKey() string

func (*PutConfigRequest) ProtoMessage added in v0.8.2

func (*PutConfigRequest) ProtoMessage()

func (*PutConfigRequest) ProtoReflect added in v0.8.2

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

func (*PutConfigRequest) Reset added in v0.8.2

func (x *PutConfigRequest) Reset()

func (*PutConfigRequest) String added in v0.8.2

func (x *PutConfigRequest) String() string

type RateLimitingConfig added in v0.8.2

type RateLimitingConfig struct {

	// initial delay before firing the alert (optional) (default=10s)
	InitialDelay *durationpb.Duration `protobuf:"bytes,1,opt,name=initialDelay,proto3,oneof" json:"initialDelay,omitempty"`
	// how often to resend alert messages on active alerts (default =10m)
	RepeatInterval *durationpb.Duration `protobuf:"bytes,2,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,3,opt,name=throttlingDuration,proto3,oneof" json:"throttlingDuration,omitempty"`
	// contains filtered or unexported fields
}

func (*RateLimitingConfig) Default added in v0.8.2

func (r *RateLimitingConfig) Default() *RateLimitingConfig

func (*RateLimitingConfig) Descriptor deprecated added in v0.8.2

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

Deprecated: Use RateLimitingConfig.ProtoReflect.Descriptor instead.

func (*RateLimitingConfig) GetInitialDelay added in v0.8.2

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

func (*RateLimitingConfig) GetRepeatInterval added in v0.8.2

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

func (*RateLimitingConfig) GetThrottlingDuration added in v0.8.2

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

func (*RateLimitingConfig) ProtoMessage added in v0.8.2

func (*RateLimitingConfig) ProtoMessage()

func (*RateLimitingConfig) ProtoReflect added in v0.8.2

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

func (*RateLimitingConfig) Reset added in v0.8.2

func (x *RateLimitingConfig) Reset()

func (*RateLimitingConfig) String added in v0.8.2

func (x *RateLimitingConfig) String() string

type ResolveAlertsRequest added in v0.8.0

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

func (*ResolveAlertsRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ResolveAlertsRequest.ProtoReflect.Descriptor instead.

func (*ResolveAlertsRequest) GetAnnotations added in v0.8.0

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

func (*ResolveAlertsRequest) GetConditionId added in v0.8.0

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

func (*ResolveAlertsRequest) GetConditionName added in v0.8.2

func (x *ResolveAlertsRequest) GetConditionName() string

func (*ResolveAlertsRequest) GetLabels added in v0.8.2

func (x *ResolveAlertsRequest) GetLabels() map[string]string

func (*ResolveAlertsRequest) GetNamespace added in v0.8.2

func (x *ResolveAlertsRequest) GetNamespace() string

func (*ResolveAlertsRequest) ProtoMessage added in v0.8.0

func (*ResolveAlertsRequest) ProtoMessage()

func (*ResolveAlertsRequest) ProtoReflect added in v0.8.0

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

func (*ResolveAlertsRequest) Reset added in v0.8.0

func (x *ResolveAlertsRequest) Reset()

func (*ResolveAlertsRequest) String added in v0.8.0

func (x *ResolveAlertsRequest) String() string

func (*ResolveAlertsRequest) Validate added in v0.8.2

func (r *ResolveAlertsRequest) Validate() error

type ResolveAlertsResponse added in v0.8.0

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

func (*ResolveAlertsResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ResolveAlertsResponse.ProtoReflect.Descriptor instead.

func (*ResolveAlertsResponse) ProtoMessage added in v0.8.0

func (*ResolveAlertsResponse) ProtoMessage()

func (*ResolveAlertsResponse) ProtoReflect added in v0.8.0

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

func (*ResolveAlertsResponse) Reset added in v0.8.0

func (x *ResolveAlertsResponse) Reset()

func (*ResolveAlertsResponse) String added in v0.8.0

func (x *ResolveAlertsResponse) 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 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 StringArray added in v0.8.0

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

func (*StringArray) Descriptor deprecated added in v0.8.0

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

Deprecated: Use StringArray.ProtoReflect.Descriptor instead.

func (*StringArray) GetItems added in v0.8.0

func (x *StringArray) GetItems() []string

func (*StringArray) ProtoMessage added in v0.8.0

func (*StringArray) ProtoMessage()

func (*StringArray) ProtoReflect added in v0.8.0

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

func (*StringArray) Reset added in v0.8.0

func (x *StringArray) Reset()

func (*StringArray) String added in v0.8.0

func (x *StringArray) String() string

type SyncerClient added in v0.8.2

type SyncerClient interface {
	PutConfig(ctx context.Context, in *PutConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Ready(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Healthy(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Status(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SyncerStatus, error)
}

SyncerClient is the client API for Syncer 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 NewSyncerClient added in v0.8.2

func NewSyncerClient(cc grpc.ClientConnInterface) SyncerClient

type SyncerConfig added in v0.8.2

type SyncerConfig struct {
	GatewayJoinAddress     string `protobuf:"bytes,1,opt,name=gatewayJoinAddress,proto3" json:"gatewayJoinAddress,omitempty"`
	AlertmanagerConfigPath string `protobuf:"bytes,2,opt,name=alertmanagerConfigPath,proto3" json:"alertmanagerConfigPath,omitempty"`
	AlertmanagerAddress    string `protobuf:"bytes,3,opt,name=alertmanagerAddress,proto3" json:"alertmanagerAddress,omitempty"`
	ListenAddress          string `protobuf:"bytes,4,opt,name=listenAddress,proto3" json:"listenAddress,omitempty"`
	HookListenAddress      string `protobuf:"bytes,5,opt,name=hookListenAddress,proto3" json:"hookListenAddress,omitempty"`
	PprofPort              int64  `protobuf:"varint,6,opt,name=pprofPort,proto3" json:"pprofPort,omitempty"`
	ProfileBlockRate       int64  `protobuf:"varint,7,opt,name=profileBlockRate,proto3" json:"profileBlockRate,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncerConfig) Descriptor deprecated added in v0.8.2

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

Deprecated: Use SyncerConfig.ProtoReflect.Descriptor instead.

func (*SyncerConfig) GetAlertmanagerAddress added in v0.8.2

func (x *SyncerConfig) GetAlertmanagerAddress() string

func (*SyncerConfig) GetAlertmanagerConfigPath added in v0.8.2

func (x *SyncerConfig) GetAlertmanagerConfigPath() string

func (*SyncerConfig) GetGatewayJoinAddress added in v0.8.2

func (x *SyncerConfig) GetGatewayJoinAddress() string

func (*SyncerConfig) GetHookListenAddress added in v0.8.2

func (x *SyncerConfig) GetHookListenAddress() string

func (*SyncerConfig) GetListenAddress added in v0.8.2

func (x *SyncerConfig) GetListenAddress() string

func (*SyncerConfig) GetPprofPort added in v0.8.2

func (x *SyncerConfig) GetPprofPort() int64

func (*SyncerConfig) GetProfileBlockRate added in v0.8.2

func (x *SyncerConfig) GetProfileBlockRate() int64

func (*SyncerConfig) ProtoMessage added in v0.8.2

func (*SyncerConfig) ProtoMessage()

func (*SyncerConfig) ProtoReflect added in v0.8.2

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

func (*SyncerConfig) Reset added in v0.8.2

func (x *SyncerConfig) Reset()

func (*SyncerConfig) String added in v0.8.2

func (x *SyncerConfig) String() string

func (*SyncerConfig) Validate added in v0.8.2

func (s *SyncerConfig) Validate() error

type SyncerServer added in v0.8.2

type SyncerServer interface {
	PutConfig(context.Context, *PutConfigRequest) (*emptypb.Empty, error)
	Ready(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	Healthy(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	Status(context.Context, *emptypb.Empty) (*SyncerStatus, error)
	// contains filtered or unexported methods
}

SyncerServer is the server API for Syncer service. All implementations must embed UnimplementedSyncerServer for forward compatibility

type SyncerStatus added in v0.8.2

type SyncerStatus struct {
	Ready          bool                   `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	Healthy        bool                   `protobuf:"varint,2,opt,name=healthy,proto3" json:"healthy,omitempty"`
	SyncInProgress bool                   `protobuf:"varint,3,opt,name=syncInProgress,proto3" json:"syncInProgress,omitempty"`
	LastSynced     *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=lastSynced,proto3" json:"lastSynced,omitempty"`
	ServerConfig   *SyncerConfig          `protobuf:"bytes,5,opt,name=serverConfig,proto3" json:"serverConfig,omitempty"`
	Configs        map[string]string      `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SyncerStatus) Descriptor deprecated added in v0.8.2

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

Deprecated: Use SyncerStatus.ProtoReflect.Descriptor instead.

func (*SyncerStatus) GetConfigs added in v0.8.2

func (x *SyncerStatus) GetConfigs() map[string]string

func (*SyncerStatus) GetHealthy added in v0.8.2

func (x *SyncerStatus) GetHealthy() bool

func (*SyncerStatus) GetLastSynced added in v0.8.2

func (x *SyncerStatus) GetLastSynced() *timestamppb.Timestamp

func (*SyncerStatus) GetReady added in v0.8.2

func (x *SyncerStatus) GetReady() bool

func (*SyncerStatus) GetServerConfig added in v0.8.2

func (x *SyncerStatus) GetServerConfig() *SyncerConfig

func (*SyncerStatus) GetSyncInProgress added in v0.8.2

func (x *SyncerStatus) GetSyncInProgress() bool

func (*SyncerStatus) ProtoMessage added in v0.8.2

func (*SyncerStatus) ProtoMessage()

func (*SyncerStatus) ProtoReflect added in v0.8.2

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

func (*SyncerStatus) Reset added in v0.8.2

func (x *SyncerStatus) Reset()

func (*SyncerStatus) String added in v0.8.2

func (x *SyncerStatus) String() string

type TLSConfig added in v0.8.2

type TLSConfig struct {
	CaFile             string `protobuf:"bytes,1,opt,name=caFile,proto3" json:"caFile,omitempty"`
	CertFile           string `protobuf:"bytes,2,opt,name=certFile,proto3" json:"certFile,omitempty"`
	KeyFile            string `protobuf:"bytes,3,opt,name=keyFile,proto3" json:"keyFile,omitempty"`
	ServerName         string `protobuf:"bytes,4,opt,name=serverName,proto3" json:"serverName,omitempty"`
	InsecureSkipVerify bool   `protobuf:"varint,5,opt,name=insecureSkipVerify,proto3" json:"insecureSkipVerify,omitempty"`
	MinVersion         string `protobuf:"bytes,6,opt,name=minVersion,proto3" json:"minVersion,omitempty"`
	MaxVersion         string `protobuf:"bytes,7,opt,name=maxVersion,proto3" json:"maxVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*TLSConfig) Descriptor deprecated added in v0.8.2

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

Deprecated: Use TLSConfig.ProtoReflect.Descriptor instead.

func (*TLSConfig) GetCaFile added in v0.8.2

func (x *TLSConfig) GetCaFile() string

func (*TLSConfig) GetCertFile added in v0.8.2

func (x *TLSConfig) GetCertFile() string

func (*TLSConfig) GetInsecureSkipVerify added in v0.8.2

func (x *TLSConfig) GetInsecureSkipVerify() bool

func (*TLSConfig) GetKeyFile added in v0.8.2

func (x *TLSConfig) GetKeyFile() string

func (*TLSConfig) GetMaxVersion added in v0.8.2

func (x *TLSConfig) GetMaxVersion() string

func (*TLSConfig) GetMinVersion added in v0.8.2

func (x *TLSConfig) GetMinVersion() string

func (*TLSConfig) GetServerName added in v0.8.2

func (x *TLSConfig) GetServerName() string

func (*TLSConfig) ProtoMessage added in v0.8.2

func (*TLSConfig) ProtoMessage()

func (*TLSConfig) ProtoReflect added in v0.8.2

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

func (*TLSConfig) Reset added in v0.8.2

func (x *TLSConfig) Reset()

func (*TLSConfig) String added in v0.8.2

func (x *TLSConfig) String() 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"`
	Limit          int64                      `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Filters        *ListAlertConditionRequest `protobuf:"bytes,3,opt,name=filters,proto3" json:"filters,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) GetFilters added in v0.9.0

func (x *TimelineRequest) GetFilters() *ListAlertConditionRequest

func (*TimelineRequest) GetLimit added in v0.9.0

func (x *TimelineRequest) GetLimit() int64

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 ToggleRequest added in v0.8.3

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

func (*ToggleRequest) Descriptor deprecated added in v0.8.3

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

Deprecated: Use ToggleRequest.ProtoReflect.Descriptor instead.

func (*ToggleRequest) GetId added in v0.8.3

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

func (*ToggleRequest) ProtoMessage added in v0.8.3

func (*ToggleRequest) ProtoMessage()

func (*ToggleRequest) ProtoReflect added in v0.8.3

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

func (*ToggleRequest) Reset added in v0.8.3

func (x *ToggleRequest) Reset()

func (*ToggleRequest) String added in v0.8.3

func (x *ToggleRequest) String() string

func (*ToggleRequest) Validate added in v0.8.3

func (t *ToggleRequest) Validate() error

type TriggerAlertsRequest

type TriggerAlertsRequest struct {
	ConditionId   *v1.Reference     `protobuf:"bytes,1,opt,name=conditionId,proto3" json:"conditionId,omitempty"`
	Namespace     string            `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	ConditionName string            `protobuf:"bytes,3,opt,name=conditionName,proto3" json:"conditionName,omitempty"`
	Annotations   map[string]string `` /* 163-byte string literal not displayed */
	Labels        map[string]string `` /* 153-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) GetConditionName added in v0.8.2

func (x *TriggerAlertsRequest) GetConditionName() string

func (*TriggerAlertsRequest) GetLabels added in v0.8.2

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

func (*TriggerAlertsRequest) GetNamespace added in v0.8.2

func (x *TriggerAlertsRequest) GetNamespace() string

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

func (*TriggerAlertsRequest) Validate added in v0.8.2

func (t *TriggerAlertsRequest) Validate() error

type TriggerAlertsResponse

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

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 UnimplementedAlertConditionsServer added in v0.8.2

type UnimplementedAlertConditionsServer struct {
}

UnimplementedAlertConditionsServer must be embedded to have forward compatible implementations.

func (UnimplementedAlertConditionsServer) ActivateSilence added in v0.8.2

func (UnimplementedAlertConditionsServer) AlertConditionStatus added in v0.8.2

func (UnimplementedAlertConditionsServer) CloneTo added in v0.8.2

func (UnimplementedAlertConditionsServer) CreateAlertCondition added in v0.8.2

func (UnimplementedAlertConditionsServer) DeactivateSilence added in v0.8.2

func (UnimplementedAlertConditionsServer) DeleteAlertCondition added in v0.8.2

func (UnimplementedAlertConditionsServer) GetAlertCondition added in v0.8.2

func (UnimplementedAlertConditionsServer) ListAlertConditionChoices added in v0.8.2

func (UnimplementedAlertConditionsServer) ListAlertConditions added in v0.8.2

func (UnimplementedAlertConditionsServer) ListAlertConditionsWithStatus added in v0.8.3

func (UnimplementedAlertConditionsServer) Timeline added in v0.8.2

func (UnimplementedAlertConditionsServer) UpdateAlertCondition added in v0.8.2

type UnimplementedAlertEndpointsServer added in v0.8.2

type UnimplementedAlertEndpointsServer struct {
}

UnimplementedAlertEndpointsServer must be embedded to have forward compatible implementations.

func (UnimplementedAlertEndpointsServer) CreateAlertEndpoint added in v0.8.2

func (UnimplementedAlertEndpointsServer) DeleteAlertEndpoint added in v0.8.2

func (UnimplementedAlertEndpointsServer) GetAlertEndpoint added in v0.8.2

func (UnimplementedAlertEndpointsServer) ListAlertEndpoints added in v0.8.2

func (UnimplementedAlertEndpointsServer) TestAlertEndpoint added in v0.8.2

func (UnimplementedAlertEndpointsServer) ToggleNotifications added in v0.8.3

func (UnimplementedAlertEndpointsServer) UpdateAlertEndpoint added in v0.8.2

type UnimplementedAlertNotificationsServer added in v0.8.3

type UnimplementedAlertNotificationsServer struct {
}

UnimplementedAlertNotificationsServer must be embedded to have forward compatible implementations.

func (UnimplementedAlertNotificationsServer) ListAlarmMessages added in v0.9.0

func (UnimplementedAlertNotificationsServer) ListNotifications added in v0.9.0

func (UnimplementedAlertNotificationsServer) ListRoutingRelationships added in v0.8.3

func (UnimplementedAlertNotificationsServer) PushNotification added in v0.8.3

func (UnimplementedAlertNotificationsServer) ResolveAlerts added in v0.8.3

func (UnimplementedAlertNotificationsServer) TriggerAlerts added in v0.8.3

type UnimplementedSyncerServer added in v0.8.2

type UnimplementedSyncerServer struct {
}

UnimplementedSyncerServer must be embedded to have forward compatible implementations.

func (UnimplementedSyncerServer) Healthy added in v0.8.2

func (UnimplementedSyncerServer) PutConfig added in v0.8.2

func (UnimplementedSyncerServer) Ready added in v0.8.2

func (UnimplementedSyncerServer) Status added in v0.8.2

type UnsafeAlertConditionsServer added in v0.8.2

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

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

type UnsafeAlertEndpointsServer added in v0.8.2

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

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

type UnsafeAlertNotificationsServer added in v0.8.3

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

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

type UnsafeSyncerServer added in v0.8.2

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

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

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 WebhookEndpoint added in v0.8.2

type WebhookEndpoint struct {
	Url        string      `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	HttpConfig *HTTPConfig `protobuf:"bytes,2,opt,name=httpConfig,proto3" json:"httpConfig,omitempty"`
	MaxAlerts  int32       `protobuf:"varint,3,opt,name=maxAlerts,proto3" json:"maxAlerts,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookEndpoint) Descriptor deprecated added in v0.8.2

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

Deprecated: Use WebhookEndpoint.ProtoReflect.Descriptor instead.

func (*WebhookEndpoint) GetHttpConfig added in v0.8.2

func (x *WebhookEndpoint) GetHttpConfig() *HTTPConfig

func (*WebhookEndpoint) GetMaxAlerts added in v0.8.2

func (x *WebhookEndpoint) GetMaxAlerts() int32

func (*WebhookEndpoint) GetUrl added in v0.8.2

func (x *WebhookEndpoint) GetUrl() string

func (*WebhookEndpoint) ProtoMessage added in v0.8.2

func (*WebhookEndpoint) ProtoMessage()

func (*WebhookEndpoint) ProtoReflect added in v0.8.2

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

func (*WebhookEndpoint) Reset added in v0.8.2

func (x *WebhookEndpoint) Reset()

func (*WebhookEndpoint) String added in v0.8.2

func (x *WebhookEndpoint) String() string

func (*WebhookEndpoint) Validate added in v0.8.2

func (w *WebhookEndpoint) Validate() error

Jump to

Keyboard shortcuts

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