Documentation ¶
Overview ¶
Package v1alpha is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func DetailsHasImplementation(a *AlertTypeDetails) error
- func EnumHasImplementation(a AlertType) error
- func RegisterAlertingHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAlertingHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AlertingClient) error
- func RegisterAlertingHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAlertingHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AlertingServer) error
- func RegisterAlertingServer(s grpc.ServiceRegistrar, srv AlertingServer)
- type AlertCondition
- func (*AlertCondition) Descriptor() ([]byte, []int)deprecated
- func (x *AlertCondition) GetAlertType() *AlertTypeDetails
- func (x *AlertCondition) GetDescription() string
- func (x *AlertCondition) GetDetails() *EndpointImplementation
- func (x *AlertCondition) GetLabels() []string
- func (x *AlertCondition) GetName() string
- func (x *AlertCondition) GetNotificationId() string
- func (x *AlertCondition) GetSeverity() Severity
- func (x *AlertCondition) GetSilence() *SilenceInfo
- func (*AlertCondition) ProtoMessage()
- func (x *AlertCondition) ProtoReflect() protoreflect.Message
- func (x *AlertCondition) Reset()
- func (x *AlertCondition) String() string
- func (a *AlertCondition) Validate() error
- type AlertConditionComposition
- func (*AlertConditionComposition) Descriptor() ([]byte, []int)deprecated
- func (x *AlertConditionComposition) GetAction() CompositionAction
- func (x *AlertConditionComposition) GetX() *v1.Reference
- func (x *AlertConditionComposition) GetY() *v1.Reference
- func (a *AlertConditionComposition) ListTemplates() []string
- func (*AlertConditionComposition) ProtoMessage()
- func (x *AlertConditionComposition) ProtoReflect() protoreflect.Message
- func (x *AlertConditionComposition) Reset()
- func (x *AlertConditionComposition) String() string
- func (c *AlertConditionComposition) Validate() error
- type AlertConditionControlFlow
- func (*AlertConditionControlFlow) Descriptor() ([]byte, []int)deprecated
- func (x *AlertConditionControlFlow) GetAction() ControlFlowAction
- func (x *AlertConditionControlFlow) GetFor() *durationpb.Duration
- func (x *AlertConditionControlFlow) GetX() *v1.Reference
- func (x *AlertConditionControlFlow) GetY() *v1.Reference
- func (a *AlertConditionControlFlow) ListTemplates() []string
- func (*AlertConditionControlFlow) ProtoMessage()
- func (x *AlertConditionControlFlow) ProtoReflect() protoreflect.Message
- func (x *AlertConditionControlFlow) Reset()
- func (x *AlertConditionControlFlow) String() string
- func (c *AlertConditionControlFlow) Validate() error
- type AlertConditionKubeState
- func (*AlertConditionKubeState) Descriptor() ([]byte, []int)deprecated
- func (x *AlertConditionKubeState) GetClusterId() string
- func (x *AlertConditionKubeState) GetFor() *durationpb.Duration
- func (x *AlertConditionKubeState) GetNamespace() string
- func (x *AlertConditionKubeState) GetObjectName() string
- func (x *AlertConditionKubeState) GetObjectType() string
- func (x *AlertConditionKubeState) GetState() string
- func (a *AlertConditionKubeState) ListTemplates() []string
- func (*AlertConditionKubeState) ProtoMessage()
- func (x *AlertConditionKubeState) ProtoReflect() protoreflect.Message
- func (x *AlertConditionKubeState) Reset()
- func (x *AlertConditionKubeState) String() string
- func (k *AlertConditionKubeState) Validate() error
- type AlertConditionList
- func (*AlertConditionList) Descriptor() ([]byte, []int)deprecated
- func (x *AlertConditionList) GetItems() []*AlertConditionWithId
- func (*AlertConditionList) ProtoMessage()
- func (x *AlertConditionList) ProtoReflect() protoreflect.Message
- func (x *AlertConditionList) Reset()
- func (x *AlertConditionList) String() string
- type AlertConditionState
- func (AlertConditionState) Descriptor() protoreflect.EnumDescriptor
- func (x AlertConditionState) Enum() *AlertConditionState
- func (AlertConditionState) EnumDescriptor() ([]byte, []int)deprecated
- func (x AlertConditionState) Number() protoreflect.EnumNumber
- func (x AlertConditionState) String() string
- func (AlertConditionState) Type() protoreflect.EnumType
- type AlertConditionSystem
- func (*AlertConditionSystem) Descriptor() ([]byte, []int)deprecated
- func (a *AlertConditionSystem) ListTemplates() []string
- func (*AlertConditionSystem) ProtoMessage()
- func (x *AlertConditionSystem) ProtoReflect() protoreflect.Message
- func (x *AlertConditionSystem) Reset()
- func (x *AlertConditionSystem) String() string
- func (s *AlertConditionSystem) Validate() error
- type AlertConditionWithId
- func (*AlertConditionWithId) Descriptor() ([]byte, []int)deprecated
- func (x *AlertConditionWithId) GetAlertCondition() *AlertCondition
- func (x *AlertConditionWithId) GetId() *v1.Reference
- func (*AlertConditionWithId) ProtoMessage()
- func (x *AlertConditionWithId) ProtoReflect() protoreflect.Message
- func (x *AlertConditionWithId) Reset()
- func (x *AlertConditionWithId) String() string
- type AlertDetailChoicesRequest
- func (*AlertDetailChoicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AlertDetailChoicesRequest) GetAlertType() AlertType
- func (*AlertDetailChoicesRequest) ProtoMessage()
- func (x *AlertDetailChoicesRequest) ProtoReflect() protoreflect.Message
- func (x *AlertDetailChoicesRequest) Reset()
- func (x *AlertDetailChoicesRequest) String() string
- func (a *AlertDetailChoicesRequest) Validate() error
- type AlertDetailChoicesResponse
- func (*AlertDetailChoicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AlertDetailChoicesResponse) GetChoices() []*AlertTypeDetails
- func (*AlertDetailChoicesResponse) ProtoMessage()
- func (x *AlertDetailChoicesResponse) ProtoReflect() protoreflect.Message
- func (x *AlertDetailChoicesResponse) Reset()
- func (x *AlertDetailChoicesResponse) String() string
- type AlertEndpoint
- func (*AlertEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *AlertEndpoint) GetDescription() string
- func (x *AlertEndpoint) GetEmail() *EmailEndpoint
- func (m *AlertEndpoint) GetEndpoint() isAlertEndpoint_Endpoint
- func (x *AlertEndpoint) GetMsteams() *TeamsEndpoint
- func (x *AlertEndpoint) GetName() string
- func (x *AlertEndpoint) GetSlack() *SlackEndpoint
- func (x *AlertEndpoint) GetWebhook() *WebhookEndpoint
- func (*AlertEndpoint) ProtoMessage()
- func (x *AlertEndpoint) ProtoReflect() protoreflect.Message
- func (x *AlertEndpoint) Reset()
- func (x *AlertEndpoint) String() string
- func (a *AlertEndpoint) Validate() error
- type AlertEndpointList
- func (*AlertEndpointList) Descriptor() ([]byte, []int)deprecated
- func (x *AlertEndpointList) GetItems() []*AlertEndpointWithId
- func (*AlertEndpointList) ProtoMessage()
- func (x *AlertEndpointList) ProtoReflect() protoreflect.Message
- func (x *AlertEndpointList) Reset()
- func (x *AlertEndpointList) String() string
- type AlertEndpointWithId
- func (*AlertEndpointWithId) Descriptor() ([]byte, []int)deprecated
- func (x *AlertEndpointWithId) GetEndpoint() *AlertEndpoint
- func (x *AlertEndpointWithId) GetId() *v1.Reference
- func (*AlertEndpointWithId) ProtoMessage()
- func (x *AlertEndpointWithId) ProtoReflect() protoreflect.Message
- func (x *AlertEndpointWithId) Reset()
- func (x *AlertEndpointWithId) String() string
- type AlertEndpoint_Email
- type AlertEndpoint_Msteams
- type AlertEndpoint_Slack
- type AlertEndpoint_Webhook
- type AlertForest
- type AlertStatusResponse
- func (*AlertStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AlertStatusResponse) GetState() AlertConditionState
- func (*AlertStatusResponse) ProtoMessage()
- func (x *AlertStatusResponse) ProtoReflect() protoreflect.Message
- func (x *AlertStatusResponse) Reset()
- func (x *AlertStatusResponse) String() string
- type AlertTree
- type AlertTreeNode
- func (*AlertTreeNode) Descriptor() ([]byte, []int)deprecated
- func (m *AlertTreeNode) GetCondtion() isAlertTreeNode_Condtion
- func (x *AlertTreeNode) GetItem() *AlertConditionWithId
- func (x *AlertTreeNode) GetLeft() *AlertTreeNode
- func (x *AlertTreeNode) GetRight() *AlertTreeNode
- func (*AlertTreeNode) ProtoMessage()
- func (x *AlertTreeNode) ProtoReflect() protoreflect.Message
- func (x *AlertTreeNode) Reset()
- func (x *AlertTreeNode) String() string
- type AlertTreeNode_Item
- type AlertType
- type AlertTypeDetails
- func (*AlertTypeDetails) Descriptor() ([]byte, []int)deprecated
- func (x *AlertTypeDetails) GetComposition() *AlertConditionComposition
- func (x *AlertTypeDetails) GetControlFlow() *AlertConditionControlFlow
- func (x *AlertTypeDetails) GetKubeState() *AlertConditionKubeState
- func (x *AlertTypeDetails) GetSystem() *AlertConditionSystem
- func (m *AlertTypeDetails) GetType() isAlertTypeDetails_Type
- func (a *AlertTypeDetails) ListTemplates() []string
- func (*AlertTypeDetails) ProtoMessage()
- func (x *AlertTypeDetails) ProtoReflect() protoreflect.Message
- func (x *AlertTypeDetails) Reset()
- func (x *AlertTypeDetails) String() string
- func (d *AlertTypeDetails) Validate() error
- type AlertTypeDetails_Composition
- type AlertTypeDetails_ControlFlow
- type AlertTypeDetails_KubeState
- type AlertTypeDetails_System
- type AlertingClient
- type AlertingServer
- type CompositionAction
- func (CompositionAction) Descriptor() protoreflect.EnumDescriptor
- func (x CompositionAction) Enum() *CompositionAction
- func (CompositionAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompositionAction) Number() protoreflect.EnumNumber
- func (x CompositionAction) String() string
- func (CompositionAction) Type() protoreflect.EnumType
- type ControlFlowAction
- func (ControlFlowAction) Descriptor() protoreflect.EnumDescriptor
- func (x ControlFlowAction) Enum() *ControlFlowAction
- func (ControlFlowAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x ControlFlowAction) Number() protoreflect.EnumNumber
- func (x ControlFlowAction) String() string
- func (ControlFlowAction) Type() protoreflect.EnumType
- type CreateImplementation
- func (*CreateImplementation) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImplementation) GetConditionId() *v1.Reference
- func (x *CreateImplementation) GetEndpointId() *v1.Reference
- func (x *CreateImplementation) GetImplementation() *EndpointImplementation
- func (*CreateImplementation) ProtoMessage()
- func (x *CreateImplementation) ProtoReflect() protoreflect.Message
- func (x *CreateImplementation) Reset()
- func (x *CreateImplementation) String() string
- func (c *CreateImplementation) Validate() error
- type EmailEndpoint
- func (*EmailEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *EmailEndpoint) GetSmtpAuthIdentity() string
- func (x *EmailEndpoint) GetSmtpAuthPassword() string
- func (x *EmailEndpoint) GetSmtpAuthUsername() string
- func (x *EmailEndpoint) GetSmtpFrom() string
- func (x *EmailEndpoint) GetSmtpRequireTLS() bool
- func (x *EmailEndpoint) GetSmtpSmartHost() string
- func (x *EmailEndpoint) GetTo() string
- func (*EmailEndpoint) ProtoMessage()
- func (x *EmailEndpoint) ProtoReflect() protoreflect.Message
- func (x *EmailEndpoint) Reset()
- func (x *EmailEndpoint) String() string
- func (e *EmailEndpoint) Validate() error
- type EndpointImplementation
- func (*EndpointImplementation) Descriptor() ([]byte, []int)deprecated
- func (x *EndpointImplementation) GetBody() string
- func (x *EndpointImplementation) GetInitialDelay() *durationpb.Duration
- func (x *EndpointImplementation) GetRepeatInterval() *durationpb.Duration
- func (x *EndpointImplementation) GetSendResolved() bool
- func (x *EndpointImplementation) GetThrottlingDuration() *durationpb.Duration
- func (x *EndpointImplementation) GetTitle() string
- func (*EndpointImplementation) ProtoMessage()
- func (x *EndpointImplementation) ProtoReflect() protoreflect.Message
- func (x *EndpointImplementation) Reset()
- func (x *EndpointImplementation) String() string
- func (e *EndpointImplementation) Validate() error
- type InformativeAlertLog
- func (*InformativeAlertLog) Descriptor() ([]byte, []int)deprecated
- func (x *InformativeAlertLog) GetCondition() *AlertCondition
- func (x *InformativeAlertLog) GetConditionId() *v1.Reference
- func (x *InformativeAlertLog) GetLog() *v1.AlertLog
- func (*InformativeAlertLog) ProtoMessage()
- func (x *InformativeAlertLog) ProtoReflect() protoreflect.Message
- func (x *InformativeAlertLog) Reset()
- func (x *InformativeAlertLog) String() string
- type InformativeAlertLogList
- func (*InformativeAlertLogList) Descriptor() ([]byte, []int)deprecated
- func (x *InformativeAlertLogList) GetItems() []*InformativeAlertLog
- func (*InformativeAlertLogList) ProtoMessage()
- func (x *InformativeAlertLogList) ProtoReflect() protoreflect.Message
- func (x *InformativeAlertLogList) Reset()
- func (x *InformativeAlertLogList) String() string
- type KubeObjectGroups
- func (*KubeObjectGroups) Descriptor() ([]byte, []int)deprecated
- func (x *KubeObjectGroups) GetObjectTypeToNamespaces() map[string]*NamespaceObjects
- func (*KubeObjectGroups) ProtoMessage()
- func (x *KubeObjectGroups) ProtoReflect() protoreflect.Message
- func (x *KubeObjectGroups) Reset()
- func (x *KubeObjectGroups) String() string
- type ListAlertConditionComposition
- func (*ListAlertConditionComposition) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertConditionComposition) GetX() []*v1.Reference
- func (x *ListAlertConditionComposition) GetY() []*v1.Reference
- func (*ListAlertConditionComposition) ProtoMessage()
- func (x *ListAlertConditionComposition) ProtoReflect() protoreflect.Message
- func (x *ListAlertConditionComposition) Reset()
- func (x *ListAlertConditionComposition) String() string
- type ListAlertConditionControlFlow
- func (*ListAlertConditionControlFlow) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertConditionControlFlow) GetFors() []*durationpb.Duration
- func (x *ListAlertConditionControlFlow) GetX() []*v1.Reference
- func (x *ListAlertConditionControlFlow) GetY() []*v1.Reference
- func (*ListAlertConditionControlFlow) ProtoMessage()
- func (x *ListAlertConditionControlFlow) ProtoReflect() protoreflect.Message
- func (x *ListAlertConditionControlFlow) Reset()
- func (x *ListAlertConditionControlFlow) String() string
- type ListAlertConditionKubeState
- func (*ListAlertConditionKubeState) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertConditionKubeState) GetClusterToObjects() map[string]*KubeObjectGroups
- func (x *ListAlertConditionKubeState) GetFors() []*durationpb.Duration
- func (x *ListAlertConditionKubeState) GetStates() []string
- func (*ListAlertConditionKubeState) ProtoMessage()
- func (x *ListAlertConditionKubeState) ProtoReflect() protoreflect.Message
- func (x *ListAlertConditionKubeState) Reset()
- func (x *ListAlertConditionKubeState) String() string
- type ListAlertConditionRequest
- func (*ListAlertConditionRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListAlertConditionRequest) ProtoMessage()
- func (x *ListAlertConditionRequest) ProtoReflect() protoreflect.Message
- func (x *ListAlertConditionRequest) Reset()
- func (x *ListAlertConditionRequest) String() string
- func (l *ListAlertConditionRequest) Validate() error
- type ListAlertConditionSystem
- type ListAlertEndpointsRequest
- func (*ListAlertEndpointsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListAlertEndpointsRequest) ProtoMessage()
- func (x *ListAlertEndpointsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAlertEndpointsRequest) Reset()
- func (x *ListAlertEndpointsRequest) String() string
- func (l *ListAlertEndpointsRequest) Validate() error
- type ListAlertLogRequest
- func (*ListAlertLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertLogRequest) GetEndTimestamp() *timestamppb.Timestamp
- func (x *ListAlertLogRequest) GetLabels() []string
- func (x *ListAlertLogRequest) GetLimit() uint64
- func (x *ListAlertLogRequest) GetStartTimestamp() *timestamppb.Timestamp
- func (*ListAlertLogRequest) ProtoMessage()
- func (x *ListAlertLogRequest) ProtoReflect() protoreflect.Message
- func (x *ListAlertLogRequest) Reset()
- func (x *ListAlertLogRequest) String() string
- type ListAlertTypeDetails
- func (*ListAlertTypeDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertTypeDetails) GetComposition() *ListAlertConditionComposition
- func (x *ListAlertTypeDetails) GetControlFlow() *ListAlertConditionControlFlow
- func (x *ListAlertTypeDetails) GetKubeState() *ListAlertConditionKubeState
- func (x *ListAlertTypeDetails) GetSystem() *ListAlertConditionSystem
- func (m *ListAlertTypeDetails) GetType() isListAlertTypeDetails_Type
- func (*ListAlertTypeDetails) ProtoMessage()
- func (x *ListAlertTypeDetails) ProtoReflect() protoreflect.Message
- func (x *ListAlertTypeDetails) Reset()
- func (x *ListAlertTypeDetails) String() string
- type ListAlertTypeDetails_Composition
- type ListAlertTypeDetails_ControlFlow
- type ListAlertTypeDetails_KubeState
- type ListAlertTypeDetails_System
- type ListSelectAlertInfo
- func (*ListSelectAlertInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ListSelectAlertInfo) GetAlertType() AlertType
- func (*ListSelectAlertInfo) ProtoMessage()
- func (x *ListSelectAlertInfo) ProtoReflect() protoreflect.Message
- func (x *ListSelectAlertInfo) Reset()
- func (x *ListSelectAlertInfo) String() string
- type NamespaceObjects
- func (*NamespaceObjects) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceObjects) GetNamespaceToObjectList() map[string]*ObjectList
- func (*NamespaceObjects) ProtoMessage()
- func (x *NamespaceObjects) ProtoReflect() protoreflect.Message
- func (x *NamespaceObjects) Reset()
- func (x *NamespaceObjects) String() string
- type ObjectList
- type PreviewAlertConditionRequest
- func (*PreviewAlertConditionRequest) Descriptor() ([]byte, []int)deprecated
- func (*PreviewAlertConditionRequest) ProtoMessage()
- func (x *PreviewAlertConditionRequest) ProtoReflect() protoreflect.Message
- func (x *PreviewAlertConditionRequest) Reset()
- func (x *PreviewAlertConditionRequest) String() string
- type PreviewAlertConditionResponse
- func (*PreviewAlertConditionResponse) Descriptor() ([]byte, []int)deprecated
- func (*PreviewAlertConditionResponse) ProtoMessage()
- func (x *PreviewAlertConditionResponse) ProtoReflect() protoreflect.Message
- func (x *PreviewAlertConditionResponse) Reset()
- func (x *PreviewAlertConditionResponse) String() string
- type Severity
- type SilenceInfo
- func (*SilenceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SilenceInfo) GetEndsAt() *timestamppb.Timestamp
- func (x *SilenceInfo) GetSilenceId() string
- func (x *SilenceInfo) GetStartsAt() *timestamppb.Timestamp
- func (*SilenceInfo) ProtoMessage()
- func (x *SilenceInfo) ProtoReflect() protoreflect.Message
- func (x *SilenceInfo) Reset()
- func (x *SilenceInfo) String() string
- type SilenceRequest
- func (*SilenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SilenceRequest) GetConditionId() *v1.Reference
- func (x *SilenceRequest) GetDuration() *durationpb.Duration
- func (*SilenceRequest) ProtoMessage()
- func (x *SilenceRequest) ProtoReflect() protoreflect.Message
- func (x *SilenceRequest) Reset()
- func (x *SilenceRequest) String() string
- func (s *SilenceRequest) Validate() error
- type SlackEndpoint
- func (*SlackEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *SlackEndpoint) GetChannel() string
- func (x *SlackEndpoint) GetWebhookUrl() string
- func (*SlackEndpoint) ProtoMessage()
- func (x *SlackEndpoint) ProtoReflect() protoreflect.Message
- func (x *SlackEndpoint) Reset()
- func (x *SlackEndpoint) String() string
- func (s *SlackEndpoint) Validate() error
- type TeamsEndpoint
- type Templateable
- type TemplatesResponse
- func (*TemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TemplatesResponse) GetTemplate() []string
- func (*TemplatesResponse) ProtoMessage()
- func (x *TemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *TemplatesResponse) Reset()
- func (x *TemplatesResponse) String() string
- type TestAlertEndpointRequest
- func (*TestAlertEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestAlertEndpointRequest) GetEndpointInfo() *AlertEndpoint
- func (x *TestAlertEndpointRequest) GetImpl() *EndpointImplementation
- func (*TestAlertEndpointRequest) ProtoMessage()
- func (x *TestAlertEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *TestAlertEndpointRequest) Reset()
- func (x *TestAlertEndpointRequest) String() string
- func (t *TestAlertEndpointRequest) Validate() error
- type TestAlertEndpointResponse
- type TriggerAlertsRequest
- func (*TriggerAlertsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerAlertsRequest) GetAnnotations() map[string]string
- func (x *TriggerAlertsRequest) GetConditionId() *v1.Reference
- func (*TriggerAlertsRequest) ProtoMessage()
- func (x *TriggerAlertsRequest) ProtoReflect() protoreflect.Message
- func (x *TriggerAlertsRequest) Reset()
- func (x *TriggerAlertsRequest) String() string
- type TriggerAlertsResponse
- type UnimplementedAlertingServer
- func (UnimplementedAlertingServer) ActivateSilence(context.Context, *SilenceRequest) (*emptypb.Empty, error)
- func (UnimplementedAlertingServer) AlertConditionStatus(context.Context, *v1.Reference) (*AlertStatusResponse, error)
- func (UnimplementedAlertingServer) CreateAlertCondition(context.Context, *AlertCondition) (*v1.Reference, error)
- func (UnimplementedAlertingServer) CreateAlertEndpoint(context.Context, *AlertEndpoint) (*emptypb.Empty, error)
- func (UnimplementedAlertingServer) CreateAlertLog(context.Context, *v1.AlertLog) (*emptypb.Empty, error)
- func (UnimplementedAlertingServer) CreateEndpointImplementation(context.Context, *CreateImplementation) (*emptypb.Empty, error)
- func (UnimplementedAlertingServer) DeactivateSilence(context.Context, *v1.Reference) (*emptypb.Empty, error)
- func (UnimplementedAlertingServer) DeleteAlertCondition(context.Context, *v1.Reference) (*emptypb.Empty, error)
- func (UnimplementedAlertingServer) DeleteAlertEndpoint(context.Context, *v1.Reference) (*emptypb.Empty, error)
- func (UnimplementedAlertingServer) DeleteEndpointImplementation(context.Context, *v1.Reference) (*emptypb.Empty, error)
- func (UnimplementedAlertingServer) GetAlertCondition(context.Context, *v1.Reference) (*AlertCondition, error)
- func (UnimplementedAlertingServer) GetAlertEndpoint(context.Context, *v1.Reference) (*AlertEndpoint, error)
- func (UnimplementedAlertingServer) ListAlertConditionChoices(context.Context, *AlertDetailChoicesRequest) (*ListAlertTypeDetails, error)
- func (UnimplementedAlertingServer) ListAlertConditions(context.Context, *ListAlertConditionRequest) (*AlertConditionList, error)
- func (UnimplementedAlertingServer) ListAlertEndpoints(context.Context, *ListAlertEndpointsRequest) (*AlertEndpointList, error)
- func (UnimplementedAlertingServer) ListAlertLogs(context.Context, *ListAlertLogRequest) (*InformativeAlertLogList, error)
- func (UnimplementedAlertingServer) ListAvailableTemplatesForType(context.Context, *AlertDetailChoicesRequest) (*TemplatesResponse, error)
- func (UnimplementedAlertingServer) PreviewAlertCondition(context.Context, *PreviewAlertConditionRequest) (*PreviewAlertConditionResponse, error)
- func (UnimplementedAlertingServer) TestAlertEndpoint(context.Context, *TestAlertEndpointRequest) (*TestAlertEndpointResponse, error)
- func (UnimplementedAlertingServer) TriggerAlerts(context.Context, *TriggerAlertsRequest) (*TriggerAlertsResponse, error)
- func (UnimplementedAlertingServer) UpdateAlertCondition(context.Context, *UpdateAlertConditionRequest) (*emptypb.Empty, error)
- func (UnimplementedAlertingServer) UpdateAlertEndpoint(context.Context, *UpdateAlertEndpointRequest) (*emptypb.Empty, error)
- func (UnimplementedAlertingServer) UpdateEndpointImplementation(context.Context, *CreateImplementation) (*emptypb.Empty, error)
- type UnsafeAlertingServer
- type UpdateAlertConditionRequest
- func (*UpdateAlertConditionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAlertConditionRequest) GetId() *v1.Reference
- func (x *UpdateAlertConditionRequest) GetUpdateAlert() *AlertCondition
- func (*UpdateAlertConditionRequest) ProtoMessage()
- func (x *UpdateAlertConditionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAlertConditionRequest) Reset()
- func (x *UpdateAlertConditionRequest) String() string
- func (u *UpdateAlertConditionRequest) Validate() error
- type UpdateAlertEndpointRequest
- func (*UpdateAlertEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAlertEndpointRequest) GetId() *v1.Reference
- func (x *UpdateAlertEndpointRequest) GetUpdateAlert() *AlertEndpoint
- func (*UpdateAlertEndpointRequest) ProtoMessage()
- func (x *UpdateAlertEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAlertEndpointRequest) Reset()
- func (x *UpdateAlertEndpointRequest) String() string
- func (u *UpdateAlertEndpointRequest) Validate() error
- type UpdateAlertLogRequest
- func (*UpdateAlertLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAlertLogRequest) GetId() string
- func (x *UpdateAlertLogRequest) GetUpdateAlert() *v1.AlertLog
- func (*UpdateAlertLogRequest) ProtoMessage()
- func (x *UpdateAlertLogRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAlertLogRequest) Reset()
- func (x *UpdateAlertLogRequest) String() string
- type WebhookEndpoint
Constants ¶
This section is empty.
Variables ¶
var ( AlertConditionState_name = map[int32]string{ 0: "UNSPECIFIED", 1: "OK", 2: "FIRING", 3: "SILENCED", } AlertConditionState_value = map[string]int32{ "UNSPECIFIED": 0, "OK": 1, "FIRING": 2, "SILENCED": 3, } )
Enum value maps for AlertConditionState.
var ( Severity_name = map[int32]string{ 0: "INFO", 1: "WARNING", 2: "ERROR", 3: "CRITICAL", } Severity_value = map[string]int32{ "INFO": 0, "WARNING": 1, "ERROR": 2, "CRITICAL": 3, } )
Enum value maps for Severity.
var ( AlertType_name = map[int32]string{ 0: "SYSTEM", 1: "KUBE_STATE", 2: "COMPOSITION", 3: "CONTROL_FLOW", } AlertType_value = map[string]int32{ "SYSTEM": 0, "KUBE_STATE": 1, "COMPOSITION": 2, "CONTROL_FLOW": 3, } )
Enum value maps for AlertType.
var ( CompositionAction_name = map[int32]string{ 0: "AND", 1: "OR", } CompositionAction_value = map[string]int32{ "AND": 0, "OR": 1, } )
Enum value maps for CompositionAction.
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.
var Alerting_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Alerting", HandlerType: (*AlertingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "TriggerAlerts", Handler: _Alerting_TriggerAlerts_Handler, }, { MethodName: "CreateAlertLog", Handler: _Alerting_CreateAlertLog_Handler, }, { MethodName: "ListAlertLogs", Handler: _Alerting_ListAlertLogs_Handler, }, { MethodName: "CreateAlertCondition", Handler: _Alerting_CreateAlertCondition_Handler, }, { MethodName: "GetAlertCondition", Handler: _Alerting_GetAlertCondition_Handler, }, { MethodName: "ListAlertConditions", Handler: _Alerting_ListAlertConditions_Handler, }, { MethodName: "UpdateAlertCondition", Handler: _Alerting_UpdateAlertCondition_Handler, }, { MethodName: "ListAlertConditionChoices", Handler: _Alerting_ListAlertConditionChoices_Handler, }, { MethodName: "DeleteAlertCondition", Handler: _Alerting_DeleteAlertCondition_Handler, }, { MethodName: "ListAvailableTemplatesForType", Handler: _Alerting_ListAvailableTemplatesForType_Handler, }, { MethodName: "AlertConditionStatus", Handler: _Alerting_AlertConditionStatus_Handler, }, { MethodName: "PreviewAlertCondition", Handler: _Alerting_PreviewAlertCondition_Handler, }, { MethodName: "ActivateSilence", Handler: _Alerting_ActivateSilence_Handler, }, { MethodName: "DeactivateSilence", Handler: _Alerting_DeactivateSilence_Handler, }, { MethodName: "CreateAlertEndpoint", Handler: _Alerting_CreateAlertEndpoint_Handler, }, { MethodName: "GetAlertEndpoint", Handler: _Alerting_GetAlertEndpoint_Handler, }, { MethodName: "ListAlertEndpoints", Handler: _Alerting_ListAlertEndpoints_Handler, }, { MethodName: "UpdateAlertEndpoint", Handler: _Alerting_UpdateAlertEndpoint_Handler, }, { MethodName: "DeleteAlertEndpoint", Handler: _Alerting_DeleteAlertEndpoint_Handler, }, { MethodName: "TestAlertEndpoint", Handler: _Alerting_TestAlertEndpoint_Handler, }, { MethodName: "CreateEndpointImplementation", Handler: _Alerting_CreateEndpointImplementation_Handler, }, { MethodName: "UpdateEndpointImplementation", Handler: _Alerting_UpdateEndpointImplementation_Handler, }, { MethodName: "DeleteEndpointImplementation", Handler: _Alerting_DeleteEndpointImplementation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/rancher/opni/pkg/alerting/v1alpha/alerting.proto", }
Alerting_ServiceDesc is the grpc.ServiceDesc for Alerting service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EnumConditionToDatasource = make(map[AlertType]*string)
EnumConditionToDatasource
nil values indicate they are composition alerts we need this since each alert tree must only have one datasource atm
var EnumConditionToImplementation = make(map[AlertType]AlertTypeDetails)
var File_github_com_rancher_opni_pkg_alerting_v1alpha_alerting_proto protoreflect.FileDescriptor
Functions ¶
func DetailsHasImplementation ¶ added in v0.6.0
func DetailsHasImplementation(a *AlertTypeDetails) error
func EnumHasImplementation ¶ added in v0.6.0
func RegisterAlertingHandler ¶
func RegisterAlertingHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAlertingHandler registers the http handlers for service Alerting to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAlertingHandlerClient ¶
func RegisterAlertingHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AlertingClient) error
RegisterAlertingHandlerClient registers the http handlers for service Alerting to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AlertingClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AlertingClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AlertingClient" to call the correct interceptors.
func RegisterAlertingHandlerFromEndpoint ¶
func RegisterAlertingHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAlertingHandlerFromEndpoint is same as RegisterAlertingHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAlertingHandlerServer ¶
func RegisterAlertingHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AlertingServer) error
RegisterAlertingHandlerServer registers the http handlers for service Alerting to "mux". UnaryRPC :call AlertingServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAlertingHandlerFromEndpoint instead.
func RegisterAlertingServer ¶
func RegisterAlertingServer(s grpc.ServiceRegistrar, srv AlertingServer)
Types ¶
type AlertCondition ¶
type AlertCondition struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"` Severity Severity `protobuf:"varint,4,opt,name=severity,proto3,enum=Severity" json:"severity,omitempty"` AlertType *AlertTypeDetails `protobuf:"bytes,5,opt,name=alertType,proto3" json:"alertType,omitempty"` NotificationId *string `protobuf:"bytes,6,opt,name=notificationId,proto3,oneof" json:"notificationId,omitempty"` Details *EndpointImplementation `protobuf:"bytes,7,opt,name=details,proto3" json:"details,omitempty"` // Set & Unset via the silence API Silence *SilenceInfo `protobuf:"bytes,8,opt,name=silence,proto3" json:"silence,omitempty"` // contains filtered or unexported fields }
func (*AlertCondition) Descriptor
deprecated
func (*AlertCondition) Descriptor() ([]byte, []int)
Deprecated: Use AlertCondition.ProtoReflect.Descriptor instead.
func (*AlertCondition) GetAlertType ¶ added in v0.6.0
func (x *AlertCondition) GetAlertType() *AlertTypeDetails
func (*AlertCondition) GetDescription ¶ added in v0.6.0
func (x *AlertCondition) GetDescription() string
func (*AlertCondition) GetDetails ¶ added in v0.6.0
func (x *AlertCondition) GetDetails() *EndpointImplementation
func (*AlertCondition) GetLabels ¶ added in v0.6.0
func (x *AlertCondition) GetLabels() []string
func (*AlertCondition) GetName ¶ added in v0.6.0
func (x *AlertCondition) GetName() string
func (*AlertCondition) GetNotificationId ¶ added in v0.6.0
func (x *AlertCondition) GetNotificationId() string
func (*AlertCondition) GetSeverity ¶ added in v0.6.0
func (x *AlertCondition) GetSeverity() Severity
func (*AlertCondition) GetSilence ¶ added in v0.6.0
func (x *AlertCondition) GetSilence() *SilenceInfo
func (*AlertCondition) ProtoMessage ¶
func (*AlertCondition) ProtoMessage()
func (*AlertCondition) ProtoReflect ¶
func (x *AlertCondition) ProtoReflect() protoreflect.Message
func (*AlertCondition) Reset ¶
func (x *AlertCondition) Reset()
func (*AlertCondition) String ¶
func (x *AlertCondition) String() string
func (*AlertCondition) Validate ¶ added in v0.6.0
func (a *AlertCondition) Validate() error
type AlertConditionComposition ¶ added in v0.6.0
type AlertConditionComposition struct { Action CompositionAction `protobuf:"varint,1,opt,name=action,proto3,enum=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
added in
v0.6.0
func (*AlertConditionComposition) Descriptor() ([]byte, []int)
Deprecated: Use AlertConditionComposition.ProtoReflect.Descriptor instead.
func (*AlertConditionComposition) GetAction ¶ added in v0.6.0
func (x *AlertConditionComposition) GetAction() CompositionAction
func (*AlertConditionComposition) GetX ¶ added in v0.6.0
func (x *AlertConditionComposition) GetX() *v1.Reference
func (*AlertConditionComposition) GetY ¶ added in v0.6.0
func (x *AlertConditionComposition) GetY() *v1.Reference
func (*AlertConditionComposition) ListTemplates ¶ added in v0.6.0
func (a *AlertConditionComposition) ListTemplates() []string
func (*AlertConditionComposition) ProtoMessage ¶ added in v0.6.0
func (*AlertConditionComposition) ProtoMessage()
func (*AlertConditionComposition) ProtoReflect ¶ added in v0.6.0
func (x *AlertConditionComposition) ProtoReflect() protoreflect.Message
func (*AlertConditionComposition) Reset ¶ added in v0.6.0
func (x *AlertConditionComposition) Reset()
func (*AlertConditionComposition) String ¶ added in v0.6.0
func (x *AlertConditionComposition) String() string
func (*AlertConditionComposition) Validate ¶ added in v0.6.0
func (c *AlertConditionComposition) Validate() error
type AlertConditionControlFlow ¶ added in v0.6.0
type AlertConditionControlFlow struct { Action ControlFlowAction `protobuf:"varint,1,opt,name=action,proto3,enum=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
added in
v0.6.0
func (*AlertConditionControlFlow) Descriptor() ([]byte, []int)
Deprecated: Use AlertConditionControlFlow.ProtoReflect.Descriptor instead.
func (*AlertConditionControlFlow) GetAction ¶ added in v0.6.0
func (x *AlertConditionControlFlow) GetAction() ControlFlowAction
func (*AlertConditionControlFlow) GetFor ¶ added in v0.6.0
func (x *AlertConditionControlFlow) GetFor() *durationpb.Duration
func (*AlertConditionControlFlow) GetX ¶ added in v0.6.0
func (x *AlertConditionControlFlow) GetX() *v1.Reference
func (*AlertConditionControlFlow) GetY ¶ added in v0.6.0
func (x *AlertConditionControlFlow) GetY() *v1.Reference
func (*AlertConditionControlFlow) ListTemplates ¶ added in v0.6.0
func (a *AlertConditionControlFlow) ListTemplates() []string
func (*AlertConditionControlFlow) ProtoMessage ¶ added in v0.6.0
func (*AlertConditionControlFlow) ProtoMessage()
func (*AlertConditionControlFlow) ProtoReflect ¶ added in v0.6.0
func (x *AlertConditionControlFlow) ProtoReflect() protoreflect.Message
func (*AlertConditionControlFlow) Reset ¶ added in v0.6.0
func (x *AlertConditionControlFlow) Reset()
func (*AlertConditionControlFlow) String ¶ added in v0.6.0
func (x *AlertConditionControlFlow) String() string
func (*AlertConditionControlFlow) Validate ¶ added in v0.6.0
func (c *AlertConditionControlFlow) Validate() error
type AlertConditionKubeState ¶ added in v0.6.0
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 }
func (*AlertConditionKubeState) Descriptor
deprecated
added in
v0.6.0
func (*AlertConditionKubeState) Descriptor() ([]byte, []int)
Deprecated: Use AlertConditionKubeState.ProtoReflect.Descriptor instead.
func (*AlertConditionKubeState) GetClusterId ¶ added in v0.6.0
func (x *AlertConditionKubeState) GetClusterId() string
func (*AlertConditionKubeState) GetFor ¶ added in v0.6.0
func (x *AlertConditionKubeState) GetFor() *durationpb.Duration
func (*AlertConditionKubeState) GetNamespace ¶ added in v0.6.0
func (x *AlertConditionKubeState) GetNamespace() string
func (*AlertConditionKubeState) GetObjectName ¶ added in v0.6.0
func (x *AlertConditionKubeState) GetObjectName() string
func (*AlertConditionKubeState) GetObjectType ¶ added in v0.6.0
func (x *AlertConditionKubeState) GetObjectType() string
func (*AlertConditionKubeState) GetState ¶ added in v0.6.0
func (x *AlertConditionKubeState) GetState() string
func (*AlertConditionKubeState) ListTemplates ¶ added in v0.6.0
func (a *AlertConditionKubeState) ListTemplates() []string
func (*AlertConditionKubeState) ProtoMessage ¶ added in v0.6.0
func (*AlertConditionKubeState) ProtoMessage()
func (*AlertConditionKubeState) ProtoReflect ¶ added in v0.6.0
func (x *AlertConditionKubeState) ProtoReflect() protoreflect.Message
func (*AlertConditionKubeState) Reset ¶ added in v0.6.0
func (x *AlertConditionKubeState) Reset()
func (*AlertConditionKubeState) String ¶ added in v0.6.0
func (x *AlertConditionKubeState) String() string
func (*AlertConditionKubeState) Validate ¶ added in v0.6.0
func (k *AlertConditionKubeState) Validate() error
type AlertConditionList ¶
type AlertConditionList struct { Items []*AlertConditionWithId `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AlertConditionList) Descriptor
deprecated
func (*AlertConditionList) Descriptor() ([]byte, []int)
Deprecated: Use AlertConditionList.ProtoReflect.Descriptor instead.
func (*AlertConditionList) GetItems ¶
func (x *AlertConditionList) GetItems() []*AlertConditionWithId
func (*AlertConditionList) ProtoMessage ¶
func (*AlertConditionList) ProtoMessage()
func (*AlertConditionList) ProtoReflect ¶
func (x *AlertConditionList) ProtoReflect() protoreflect.Message
func (*AlertConditionList) Reset ¶
func (x *AlertConditionList) Reset()
func (*AlertConditionList) String ¶
func (x *AlertConditionList) String() string
type AlertConditionState ¶ added in v0.6.0
type AlertConditionState int32
const ( AlertConditionState_UNSPECIFIED AlertConditionState = 0 AlertConditionState_OK AlertConditionState = 1 AlertConditionState_FIRING AlertConditionState = 2 AlertConditionState_SILENCED AlertConditionState = 3 )
func (AlertConditionState) Descriptor ¶ added in v0.6.0
func (AlertConditionState) Descriptor() protoreflect.EnumDescriptor
func (AlertConditionState) Enum ¶ added in v0.6.0
func (x AlertConditionState) Enum() *AlertConditionState
func (AlertConditionState) EnumDescriptor
deprecated
added in
v0.6.0
func (AlertConditionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use AlertConditionState.Descriptor instead.
func (AlertConditionState) Number ¶ added in v0.6.0
func (x AlertConditionState) Number() protoreflect.EnumNumber
func (AlertConditionState) String ¶ added in v0.6.0
func (x AlertConditionState) String() string
func (AlertConditionState) Type ¶ added in v0.6.0
func (AlertConditionState) Type() protoreflect.EnumType
type AlertConditionSystem ¶ added in v0.6.0
type AlertConditionSystem struct {
// contains filtered or unexported fields
}
func (*AlertConditionSystem) Descriptor
deprecated
added in
v0.6.0
func (*AlertConditionSystem) Descriptor() ([]byte, []int)
Deprecated: Use AlertConditionSystem.ProtoReflect.Descriptor instead.
func (*AlertConditionSystem) ListTemplates ¶ added in v0.6.0
func (a *AlertConditionSystem) ListTemplates() []string
func (*AlertConditionSystem) ProtoMessage ¶ added in v0.6.0
func (*AlertConditionSystem) ProtoMessage()
func (*AlertConditionSystem) ProtoReflect ¶ added in v0.6.0
func (x *AlertConditionSystem) ProtoReflect() protoreflect.Message
func (*AlertConditionSystem) Reset ¶ added in v0.6.0
func (x *AlertConditionSystem) Reset()
func (*AlertConditionSystem) String ¶ added in v0.6.0
func (x *AlertConditionSystem) String() string
func (*AlertConditionSystem) Validate ¶ added in v0.6.0
func (s *AlertConditionSystem) Validate() error
type AlertConditionWithId ¶ added in v0.6.0
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
added in
v0.6.0
func (*AlertConditionWithId) Descriptor() ([]byte, []int)
Deprecated: Use AlertConditionWithId.ProtoReflect.Descriptor instead.
func (*AlertConditionWithId) GetAlertCondition ¶ added in v0.6.0
func (x *AlertConditionWithId) GetAlertCondition() *AlertCondition
func (*AlertConditionWithId) GetId ¶ added in v0.6.0
func (x *AlertConditionWithId) GetId() *v1.Reference
func (*AlertConditionWithId) ProtoMessage ¶ added in v0.6.0
func (*AlertConditionWithId) ProtoMessage()
func (*AlertConditionWithId) ProtoReflect ¶ added in v0.6.0
func (x *AlertConditionWithId) ProtoReflect() protoreflect.Message
func (*AlertConditionWithId) Reset ¶ added in v0.6.0
func (x *AlertConditionWithId) Reset()
func (*AlertConditionWithId) String ¶ added in v0.6.0
func (x *AlertConditionWithId) String() string
type AlertDetailChoicesRequest ¶ added in v0.6.0
type AlertDetailChoicesRequest struct { AlertType AlertType `protobuf:"varint,1,opt,name=alertType,proto3,enum=AlertType" json:"alertType,omitempty"` // contains filtered or unexported fields }
func (*AlertDetailChoicesRequest) Descriptor
deprecated
added in
v0.6.0
func (*AlertDetailChoicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AlertDetailChoicesRequest.ProtoReflect.Descriptor instead.
func (*AlertDetailChoicesRequest) GetAlertType ¶ added in v0.6.0
func (x *AlertDetailChoicesRequest) GetAlertType() AlertType
func (*AlertDetailChoicesRequest) ProtoMessage ¶ added in v0.6.0
func (*AlertDetailChoicesRequest) ProtoMessage()
func (*AlertDetailChoicesRequest) ProtoReflect ¶ added in v0.6.0
func (x *AlertDetailChoicesRequest) ProtoReflect() protoreflect.Message
func (*AlertDetailChoicesRequest) Reset ¶ added in v0.6.0
func (x *AlertDetailChoicesRequest) Reset()
func (*AlertDetailChoicesRequest) String ¶ added in v0.6.0
func (x *AlertDetailChoicesRequest) String() string
func (*AlertDetailChoicesRequest) Validate ¶ added in v0.6.0
func (a *AlertDetailChoicesRequest) Validate() error
type AlertDetailChoicesResponse ¶ added in v0.6.0
type AlertDetailChoicesResponse struct { Choices []*AlertTypeDetails `protobuf:"bytes,1,rep,name=choices,proto3" json:"choices,omitempty"` // contains filtered or unexported fields }
func (*AlertDetailChoicesResponse) Descriptor
deprecated
added in
v0.6.0
func (*AlertDetailChoicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AlertDetailChoicesResponse.ProtoReflect.Descriptor instead.
func (*AlertDetailChoicesResponse) GetChoices ¶ added in v0.6.0
func (x *AlertDetailChoicesResponse) GetChoices() []*AlertTypeDetails
func (*AlertDetailChoicesResponse) ProtoMessage ¶ added in v0.6.0
func (*AlertDetailChoicesResponse) ProtoMessage()
func (*AlertDetailChoicesResponse) ProtoReflect ¶ added in v0.6.0
func (x *AlertDetailChoicesResponse) ProtoReflect() protoreflect.Message
func (*AlertDetailChoicesResponse) Reset ¶ added in v0.6.0
func (x *AlertDetailChoicesResponse) Reset()
func (*AlertDetailChoicesResponse) String ¶ added in v0.6.0
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_Msteams // *AlertEndpoint_Webhook Endpoint isAlertEndpoint_Endpoint `protobuf_oneof:"endpoint"` // contains filtered or unexported fields }
func (*AlertEndpoint) Descriptor
deprecated
func (*AlertEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use AlertEndpoint.ProtoReflect.Descriptor instead.
func (*AlertEndpoint) GetDescription ¶ added in v0.6.0
func (x *AlertEndpoint) GetDescription() string
func (*AlertEndpoint) GetEmail ¶ added in v0.6.0
func (x *AlertEndpoint) GetEmail() *EmailEndpoint
func (*AlertEndpoint) GetEndpoint ¶ added in v0.6.0
func (m *AlertEndpoint) GetEndpoint() isAlertEndpoint_Endpoint
func (*AlertEndpoint) GetMsteams ¶ added in v0.6.0
func (x *AlertEndpoint) GetMsteams() *TeamsEndpoint
func (*AlertEndpoint) GetName ¶ added in v0.6.0
func (x *AlertEndpoint) GetName() string
func (*AlertEndpoint) GetSlack ¶ added in v0.6.0
func (x *AlertEndpoint) GetSlack() *SlackEndpoint
func (*AlertEndpoint) GetWebhook ¶ added in v0.6.0
func (x *AlertEndpoint) GetWebhook() *WebhookEndpoint
func (*AlertEndpoint) ProtoMessage ¶
func (*AlertEndpoint) ProtoMessage()
func (*AlertEndpoint) ProtoReflect ¶
func (x *AlertEndpoint) ProtoReflect() protoreflect.Message
func (*AlertEndpoint) Reset ¶
func (x *AlertEndpoint) Reset()
func (*AlertEndpoint) String ¶
func (x *AlertEndpoint) String() string
func (*AlertEndpoint) Validate ¶ added in v0.6.0
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 ¶ added in v0.6.0
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
added in
v0.6.0
func (*AlertEndpointWithId) Descriptor() ([]byte, []int)
Deprecated: Use AlertEndpointWithId.ProtoReflect.Descriptor instead.
func (*AlertEndpointWithId) GetEndpoint ¶ added in v0.6.0
func (x *AlertEndpointWithId) GetEndpoint() *AlertEndpoint
func (*AlertEndpointWithId) GetId ¶ added in v0.6.0
func (x *AlertEndpointWithId) GetId() *v1.Reference
func (*AlertEndpointWithId) ProtoMessage ¶ added in v0.6.0
func (*AlertEndpointWithId) ProtoMessage()
func (*AlertEndpointWithId) ProtoReflect ¶ added in v0.6.0
func (x *AlertEndpointWithId) ProtoReflect() protoreflect.Message
func (*AlertEndpointWithId) Reset ¶ added in v0.6.0
func (x *AlertEndpointWithId) Reset()
func (*AlertEndpointWithId) String ¶ added in v0.6.0
func (x *AlertEndpointWithId) String() string
type AlertEndpoint_Email ¶ added in v0.6.0
type AlertEndpoint_Email struct {
Email *EmailEndpoint `protobuf:"bytes,5,opt,name=email,proto3,oneof"`
}
type AlertEndpoint_Msteams ¶ added in v0.6.0
type AlertEndpoint_Msteams struct {
Msteams *TeamsEndpoint `protobuf:"bytes,6,opt,name=msteams,proto3,oneof"`
}
type AlertEndpoint_Slack ¶ added in v0.6.0
type AlertEndpoint_Slack struct {
Slack *SlackEndpoint `protobuf:"bytes,4,opt,name=slack,proto3,oneof"`
}
type AlertEndpoint_Webhook ¶ added in v0.6.0
type AlertEndpoint_Webhook struct {
Webhook *WebhookEndpoint `protobuf:"bytes,7,opt,name=webhook,proto3,oneof"`
}
type AlertForest ¶ added in v0.6.0
type AlertForest struct { Action ControlFlowAction `protobuf:"varint,1,opt,name=action,proto3,enum=ControlFlowAction" json:"action,omitempty"` // contains filtered or unexported fields }
func (*AlertForest) Descriptor
deprecated
added in
v0.6.0
func (*AlertForest) Descriptor() ([]byte, []int)
Deprecated: Use AlertForest.ProtoReflect.Descriptor instead.
func (*AlertForest) GetAction ¶ added in v0.6.0
func (x *AlertForest) GetAction() ControlFlowAction
func (*AlertForest) ProtoMessage ¶ added in v0.6.0
func (*AlertForest) ProtoMessage()
func (*AlertForest) ProtoReflect ¶ added in v0.6.0
func (x *AlertForest) ProtoReflect() protoreflect.Message
func (*AlertForest) Reset ¶ added in v0.6.0
func (x *AlertForest) Reset()
func (*AlertForest) String ¶ added in v0.6.0
func (x *AlertForest) String() string
type AlertStatusResponse ¶ added in v0.6.0
type AlertStatusResponse struct { State AlertConditionState `protobuf:"varint,1,opt,name=state,proto3,enum=AlertConditionState" json:"state,omitempty"` // contains filtered or unexported fields }
func (*AlertStatusResponse) Descriptor
deprecated
added in
v0.6.0
func (*AlertStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use AlertStatusResponse.ProtoReflect.Descriptor instead.
func (*AlertStatusResponse) GetState ¶ added in v0.6.0
func (x *AlertStatusResponse) GetState() AlertConditionState
func (*AlertStatusResponse) ProtoMessage ¶ added in v0.6.0
func (*AlertStatusResponse) ProtoMessage()
func (*AlertStatusResponse) ProtoReflect ¶ added in v0.6.0
func (x *AlertStatusResponse) ProtoReflect() protoreflect.Message
func (*AlertStatusResponse) Reset ¶ added in v0.6.0
func (x *AlertStatusResponse) Reset()
func (*AlertStatusResponse) String ¶ added in v0.6.0
func (x *AlertStatusResponse) String() string
type AlertTree ¶ added in v0.6.0
type AlertTree struct { Root *AlertTreeNode `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
func (*AlertTree) Descriptor
deprecated
added in
v0.6.0
func (*AlertTree) GetRoot ¶ added in v0.6.0
func (x *AlertTree) GetRoot() *AlertTreeNode
func (*AlertTree) ProtoMessage ¶ added in v0.6.0
func (*AlertTree) ProtoMessage()
func (*AlertTree) ProtoReflect ¶ added in v0.6.0
func (x *AlertTree) ProtoReflect() protoreflect.Message
type AlertTreeNode ¶ added in v0.6.0
type AlertTreeNode struct { // Types that are assignable to Condtion: // // *AlertTreeNode_Item Condtion isAlertTreeNode_Condtion `protobuf_oneof:"condtion"` Left *AlertTreeNode `protobuf:"bytes,2,opt,name=left,proto3" json:"left,omitempty"` Right *AlertTreeNode `protobuf:"bytes,3,opt,name=right,proto3" json:"right,omitempty"` // contains filtered or unexported fields }
func (*AlertTreeNode) Descriptor
deprecated
added in
v0.6.0
func (*AlertTreeNode) Descriptor() ([]byte, []int)
Deprecated: Use AlertTreeNode.ProtoReflect.Descriptor instead.
func (*AlertTreeNode) GetCondtion ¶ added in v0.6.0
func (m *AlertTreeNode) GetCondtion() isAlertTreeNode_Condtion
func (*AlertTreeNode) GetItem ¶ added in v0.6.0
func (x *AlertTreeNode) GetItem() *AlertConditionWithId
func (*AlertTreeNode) GetLeft ¶ added in v0.6.0
func (x *AlertTreeNode) GetLeft() *AlertTreeNode
func (*AlertTreeNode) GetRight ¶ added in v0.6.0
func (x *AlertTreeNode) GetRight() *AlertTreeNode
func (*AlertTreeNode) ProtoMessage ¶ added in v0.6.0
func (*AlertTreeNode) ProtoMessage()
func (*AlertTreeNode) ProtoReflect ¶ added in v0.6.0
func (x *AlertTreeNode) ProtoReflect() protoreflect.Message
func (*AlertTreeNode) Reset ¶ added in v0.6.0
func (x *AlertTreeNode) Reset()
func (*AlertTreeNode) String ¶ added in v0.6.0
func (x *AlertTreeNode) String() string
type AlertTreeNode_Item ¶ added in v0.6.0
type AlertTreeNode_Item struct {
Item *AlertConditionWithId `protobuf:"bytes,1,opt,name=item,proto3,oneof"`
}
type AlertType ¶ added in v0.6.0
type AlertType int32
func (AlertType) Descriptor ¶ added in v0.6.0
func (AlertType) Descriptor() protoreflect.EnumDescriptor
func (AlertType) EnumDescriptor
deprecated
added in
v0.6.0
func (AlertType) Number ¶ added in v0.6.0
func (x AlertType) Number() protoreflect.EnumNumber
func (AlertType) Type ¶ added in v0.6.0
func (AlertType) Type() protoreflect.EnumType
type AlertTypeDetails ¶ added in v0.6.0
type AlertTypeDetails struct { // Types that are assignable to Type: // // *AlertTypeDetails_System // *AlertTypeDetails_KubeState // *AlertTypeDetails_Composition // *AlertTypeDetails_ControlFlow Type isAlertTypeDetails_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*AlertTypeDetails) Descriptor
deprecated
added in
v0.6.0
func (*AlertTypeDetails) Descriptor() ([]byte, []int)
Deprecated: Use AlertTypeDetails.ProtoReflect.Descriptor instead.
func (*AlertTypeDetails) GetComposition ¶ added in v0.6.0
func (x *AlertTypeDetails) GetComposition() *AlertConditionComposition
func (*AlertTypeDetails) GetControlFlow ¶ added in v0.6.0
func (x *AlertTypeDetails) GetControlFlow() *AlertConditionControlFlow
func (*AlertTypeDetails) GetKubeState ¶ added in v0.6.0
func (x *AlertTypeDetails) GetKubeState() *AlertConditionKubeState
func (*AlertTypeDetails) GetSystem ¶ added in v0.6.0
func (x *AlertTypeDetails) GetSystem() *AlertConditionSystem
func (*AlertTypeDetails) GetType ¶ added in v0.6.0
func (m *AlertTypeDetails) GetType() isAlertTypeDetails_Type
func (*AlertTypeDetails) ListTemplates ¶ added in v0.6.0
func (a *AlertTypeDetails) ListTemplates() []string
func (*AlertTypeDetails) ProtoMessage ¶ added in v0.6.0
func (*AlertTypeDetails) ProtoMessage()
func (*AlertTypeDetails) ProtoReflect ¶ added in v0.6.0
func (x *AlertTypeDetails) ProtoReflect() protoreflect.Message
func (*AlertTypeDetails) Reset ¶ added in v0.6.0
func (x *AlertTypeDetails) Reset()
func (*AlertTypeDetails) String ¶ added in v0.6.0
func (x *AlertTypeDetails) String() string
func (*AlertTypeDetails) Validate ¶ added in v0.6.0
func (d *AlertTypeDetails) Validate() error
type AlertTypeDetails_Composition ¶ added in v0.6.0
type AlertTypeDetails_Composition struct {
Composition *AlertConditionComposition `protobuf:"bytes,3,opt,name=composition,proto3,oneof"`
}
type AlertTypeDetails_ControlFlow ¶ added in v0.6.0
type AlertTypeDetails_ControlFlow struct {
ControlFlow *AlertConditionControlFlow `protobuf:"bytes,4,opt,name=controlFlow,proto3,oneof"`
}
type AlertTypeDetails_KubeState ¶ added in v0.6.0
type AlertTypeDetails_KubeState struct {
KubeState *AlertConditionKubeState `protobuf:"bytes,2,opt,name=kubeState,proto3,oneof"`
}
type AlertTypeDetails_System ¶ added in v0.6.0
type AlertTypeDetails_System struct {
System *AlertConditionSystem `protobuf:"bytes,1,opt,name=system,proto3,oneof"`
}
type AlertingClient ¶
type AlertingClient interface { // opni internal use TriggerAlerts(ctx context.Context, in *TriggerAlertsRequest, opts ...grpc.CallOption) (*TriggerAlertsResponse, error) // alerting internal use only CreateAlertLog(ctx context.Context, in *v1.AlertLog, opts ...grpc.CallOption) (*emptypb.Empty, error) ListAlertLogs(ctx context.Context, in *ListAlertLogRequest, opts ...grpc.CallOption) (*InformativeAlertLogList, error) 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) ListAvailableTemplatesForType(ctx context.Context, in *AlertDetailChoicesRequest, opts ...grpc.CallOption) (*TemplatesResponse, error) AlertConditionStatus(ctx context.Context, in *v1.Reference, opts ...grpc.CallOption) (*AlertStatusResponse, error) // unimplemented PreviewAlertCondition(ctx context.Context, in *PreviewAlertConditionRequest, opts ...grpc.CallOption) (*PreviewAlertConditionResponse, error) 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) CreateAlertEndpoint(ctx context.Context, in *AlertEndpoint, opts ...grpc.CallOption) (*emptypb.Empty, error) GetAlertEndpoint(ctx context.Context, in *v1.Reference, opts ...grpc.CallOption) (*AlertEndpoint, error) ListAlertEndpoints(ctx context.Context, in *ListAlertEndpointsRequest, opts ...grpc.CallOption) (*AlertEndpointList, error) UpdateAlertEndpoint(ctx context.Context, in *UpdateAlertEndpointRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteAlertEndpoint(ctx context.Context, in *v1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error) // unimplemented TestAlertEndpoint(ctx context.Context, in *TestAlertEndpointRequest, opts ...grpc.CallOption) (*TestAlertEndpointResponse, error) // alerting internal use only CreateEndpointImplementation(ctx context.Context, in *CreateImplementation, opts ...grpc.CallOption) (*emptypb.Empty, error) // alerting internal use only UpdateEndpointImplementation(ctx context.Context, in *CreateImplementation, opts ...grpc.CallOption) (*emptypb.Empty, error) // alerting internal use only // conditionMustBePassed in here DeleteEndpointImplementation(ctx context.Context, in *v1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AlertingClient is the client API for Alerting 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 NewAlertingClient ¶
func NewAlertingClient(cc grpc.ClientConnInterface) AlertingClient
type AlertingServer ¶
type AlertingServer interface { // opni internal use TriggerAlerts(context.Context, *TriggerAlertsRequest) (*TriggerAlertsResponse, error) // alerting internal use only CreateAlertLog(context.Context, *v1.AlertLog) (*emptypb.Empty, error) ListAlertLogs(context.Context, *ListAlertLogRequest) (*InformativeAlertLogList, error) 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) ListAvailableTemplatesForType(context.Context, *AlertDetailChoicesRequest) (*TemplatesResponse, error) AlertConditionStatus(context.Context, *v1.Reference) (*AlertStatusResponse, error) // unimplemented PreviewAlertCondition(context.Context, *PreviewAlertConditionRequest) (*PreviewAlertConditionResponse, error) ActivateSilence(context.Context, *SilenceRequest) (*emptypb.Empty, error) // id corresponds to conditionId DeactivateSilence(context.Context, *v1.Reference) (*emptypb.Empty, error) CreateAlertEndpoint(context.Context, *AlertEndpoint) (*emptypb.Empty, error) GetAlertEndpoint(context.Context, *v1.Reference) (*AlertEndpoint, error) ListAlertEndpoints(context.Context, *ListAlertEndpointsRequest) (*AlertEndpointList, error) UpdateAlertEndpoint(context.Context, *UpdateAlertEndpointRequest) (*emptypb.Empty, error) DeleteAlertEndpoint(context.Context, *v1.Reference) (*emptypb.Empty, error) // unimplemented TestAlertEndpoint(context.Context, *TestAlertEndpointRequest) (*TestAlertEndpointResponse, error) // alerting internal use only CreateEndpointImplementation(context.Context, *CreateImplementation) (*emptypb.Empty, error) // alerting internal use only UpdateEndpointImplementation(context.Context, *CreateImplementation) (*emptypb.Empty, error) // alerting internal use only // conditionMustBePassed in here DeleteEndpointImplementation(context.Context, *v1.Reference) (*emptypb.Empty, error) // contains filtered or unexported methods }
AlertingServer is the server API for Alerting service. All implementations must embed UnimplementedAlertingServer for forward compatibility
type CompositionAction ¶ added in v0.6.0
type CompositionAction int32
const ( CompositionAction_AND CompositionAction = 0 CompositionAction_OR CompositionAction = 1 )
func (CompositionAction) Descriptor ¶ added in v0.6.0
func (CompositionAction) Descriptor() protoreflect.EnumDescriptor
func (CompositionAction) Enum ¶ added in v0.6.0
func (x CompositionAction) Enum() *CompositionAction
func (CompositionAction) EnumDescriptor
deprecated
added in
v0.6.0
func (CompositionAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompositionAction.Descriptor instead.
func (CompositionAction) Number ¶ added in v0.6.0
func (x CompositionAction) Number() protoreflect.EnumNumber
func (CompositionAction) String ¶ added in v0.6.0
func (x CompositionAction) String() string
func (CompositionAction) Type ¶ added in v0.6.0
func (CompositionAction) Type() protoreflect.EnumType
type ControlFlowAction ¶ added in v0.6.0
type ControlFlowAction int32
const ( ControlFlowAction_IF_THEN ControlFlowAction = 0 ControlFlowAction_IF_NOT_THEN ControlFlowAction = 1 )
func (ControlFlowAction) Descriptor ¶ added in v0.6.0
func (ControlFlowAction) Descriptor() protoreflect.EnumDescriptor
func (ControlFlowAction) Enum ¶ added in v0.6.0
func (x ControlFlowAction) Enum() *ControlFlowAction
func (ControlFlowAction) EnumDescriptor
deprecated
added in
v0.6.0
func (ControlFlowAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use ControlFlowAction.Descriptor instead.
func (ControlFlowAction) Number ¶ added in v0.6.0
func (x ControlFlowAction) Number() protoreflect.EnumNumber
func (ControlFlowAction) String ¶ added in v0.6.0
func (x ControlFlowAction) String() string
func (ControlFlowAction) Type ¶ added in v0.6.0
func (ControlFlowAction) Type() protoreflect.EnumType
type CreateImplementation ¶ added in v0.6.0
type CreateImplementation struct { EndpointId *v1.Reference `protobuf:"bytes,1,opt,name=endpointId,proto3" json:"endpointId,omitempty"` ConditionId *v1.Reference `protobuf:"bytes,2,opt,name=conditionId,proto3" json:"conditionId,omitempty"` Implementation *EndpointImplementation `protobuf:"bytes,3,opt,name=implementation,proto3" json:"implementation,omitempty"` // contains filtered or unexported fields }
TODO: include general configs such as repeat interval, throttling via group_wait, group_interval, etc
func (*CreateImplementation) Descriptor
deprecated
added in
v0.6.0
func (*CreateImplementation) Descriptor() ([]byte, []int)
Deprecated: Use CreateImplementation.ProtoReflect.Descriptor instead.
func (*CreateImplementation) GetConditionId ¶ added in v0.6.0
func (x *CreateImplementation) GetConditionId() *v1.Reference
func (*CreateImplementation) GetEndpointId ¶ added in v0.6.0
func (x *CreateImplementation) GetEndpointId() *v1.Reference
func (*CreateImplementation) GetImplementation ¶ added in v0.6.0
func (x *CreateImplementation) GetImplementation() *EndpointImplementation
func (*CreateImplementation) ProtoMessage ¶ added in v0.6.0
func (*CreateImplementation) ProtoMessage()
func (*CreateImplementation) ProtoReflect ¶ added in v0.6.0
func (x *CreateImplementation) ProtoReflect() protoreflect.Message
func (*CreateImplementation) Reset ¶ added in v0.6.0
func (x *CreateImplementation) Reset()
func (*CreateImplementation) String ¶ added in v0.6.0
func (x *CreateImplementation) String() string
func (*CreateImplementation) Validate ¶ added in v0.6.0
func (c *CreateImplementation) Validate() error
type EmailEndpoint ¶ added in v0.6.0
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
added in
v0.6.0
func (*EmailEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use EmailEndpoint.ProtoReflect.Descriptor instead.
func (*EmailEndpoint) GetSmtpAuthIdentity ¶ added in v0.6.0
func (x *EmailEndpoint) GetSmtpAuthIdentity() string
func (*EmailEndpoint) GetSmtpAuthPassword ¶ added in v0.6.0
func (x *EmailEndpoint) GetSmtpAuthPassword() string
func (*EmailEndpoint) GetSmtpAuthUsername ¶ added in v0.6.0
func (x *EmailEndpoint) GetSmtpAuthUsername() string
func (*EmailEndpoint) GetSmtpFrom ¶ added in v0.6.0
func (x *EmailEndpoint) GetSmtpFrom() string
func (*EmailEndpoint) GetSmtpRequireTLS ¶ added in v0.6.0
func (x *EmailEndpoint) GetSmtpRequireTLS() bool
func (*EmailEndpoint) GetSmtpSmartHost ¶ added in v0.6.0
func (x *EmailEndpoint) GetSmtpSmartHost() string
func (*EmailEndpoint) GetTo ¶ added in v0.6.0
func (x *EmailEndpoint) GetTo() string
func (*EmailEndpoint) ProtoMessage ¶ added in v0.6.0
func (*EmailEndpoint) ProtoMessage()
func (*EmailEndpoint) ProtoReflect ¶ added in v0.6.0
func (x *EmailEndpoint) ProtoReflect() protoreflect.Message
func (*EmailEndpoint) Reset ¶ added in v0.6.0
func (x *EmailEndpoint) Reset()
func (*EmailEndpoint) String ¶ added in v0.6.0
func (x *EmailEndpoint) String() string
func (*EmailEndpoint) Validate ¶ added in v0.6.0
func (e *EmailEndpoint) Validate() error
type EndpointImplementation ¶ added in v0.6.0
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"` // initial delay before firing the alert (optional) (default=10s) InitialDelay *durationpb.Duration `protobuf:"bytes,3,opt,name=initialDelay,proto3,oneof" json:"initialDelay,omitempty"` // how often to resend alert messages on active alerts (default =10s) RepeatInterval *durationpb.Duration `protobuf:"bytes,4,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,5,opt,name=throttlingDuration,proto3,oneof" json:"throttlingDuration,omitempty"` // send a notification when the alert is no longer firing? yes/no (default = no) SendResolved *bool `protobuf:"varint,6,opt,name=sendResolved,proto3,oneof" json:"sendResolved,omitempty"` // contains filtered or unexported fields }
func (*EndpointImplementation) Descriptor
deprecated
added in
v0.6.0
func (*EndpointImplementation) Descriptor() ([]byte, []int)
Deprecated: Use EndpointImplementation.ProtoReflect.Descriptor instead.
func (*EndpointImplementation) GetBody ¶ added in v0.6.0
func (x *EndpointImplementation) GetBody() string
func (*EndpointImplementation) GetInitialDelay ¶ added in v0.6.0
func (x *EndpointImplementation) GetInitialDelay() *durationpb.Duration
func (*EndpointImplementation) GetRepeatInterval ¶ added in v0.6.0
func (x *EndpointImplementation) GetRepeatInterval() *durationpb.Duration
func (*EndpointImplementation) GetSendResolved ¶ added in v0.6.0
func (x *EndpointImplementation) GetSendResolved() bool
func (*EndpointImplementation) GetThrottlingDuration ¶ added in v0.6.0
func (x *EndpointImplementation) GetThrottlingDuration() *durationpb.Duration
func (*EndpointImplementation) GetTitle ¶ added in v0.6.0
func (x *EndpointImplementation) GetTitle() string
func (*EndpointImplementation) ProtoMessage ¶ added in v0.6.0
func (*EndpointImplementation) ProtoMessage()
func (*EndpointImplementation) ProtoReflect ¶ added in v0.6.0
func (x *EndpointImplementation) ProtoReflect() protoreflect.Message
func (*EndpointImplementation) Reset ¶ added in v0.6.0
func (x *EndpointImplementation) Reset()
func (*EndpointImplementation) String ¶ added in v0.6.0
func (x *EndpointImplementation) String() string
func (*EndpointImplementation) Validate ¶ added in v0.6.0
func (e *EndpointImplementation) Validate() error
type InformativeAlertLog ¶ added in v0.6.0
type InformativeAlertLog struct { ConditionId *v1.Reference `protobuf:"bytes,1,opt,name=conditionId,proto3" json:"conditionId,omitempty"` Condition *AlertCondition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"` Log *v1.AlertLog `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*InformativeAlertLog) Descriptor
deprecated
added in
v0.6.0
func (*InformativeAlertLog) Descriptor() ([]byte, []int)
Deprecated: Use InformativeAlertLog.ProtoReflect.Descriptor instead.
func (*InformativeAlertLog) GetCondition ¶ added in v0.6.0
func (x *InformativeAlertLog) GetCondition() *AlertCondition
func (*InformativeAlertLog) GetConditionId ¶ added in v0.6.0
func (x *InformativeAlertLog) GetConditionId() *v1.Reference
func (*InformativeAlertLog) GetLog ¶ added in v0.6.0
func (x *InformativeAlertLog) GetLog() *v1.AlertLog
func (*InformativeAlertLog) ProtoMessage ¶ added in v0.6.0
func (*InformativeAlertLog) ProtoMessage()
func (*InformativeAlertLog) ProtoReflect ¶ added in v0.6.0
func (x *InformativeAlertLog) ProtoReflect() protoreflect.Message
func (*InformativeAlertLog) Reset ¶ added in v0.6.0
func (x *InformativeAlertLog) Reset()
func (*InformativeAlertLog) String ¶ added in v0.6.0
func (x *InformativeAlertLog) String() string
type InformativeAlertLogList ¶ added in v0.6.0
type InformativeAlertLogList struct { Items []*InformativeAlertLog `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*InformativeAlertLogList) Descriptor
deprecated
added in
v0.6.0
func (*InformativeAlertLogList) Descriptor() ([]byte, []int)
Deprecated: Use InformativeAlertLogList.ProtoReflect.Descriptor instead.
func (*InformativeAlertLogList) GetItems ¶ added in v0.6.0
func (x *InformativeAlertLogList) GetItems() []*InformativeAlertLog
func (*InformativeAlertLogList) ProtoMessage ¶ added in v0.6.0
func (*InformativeAlertLogList) ProtoMessage()
func (*InformativeAlertLogList) ProtoReflect ¶ added in v0.6.0
func (x *InformativeAlertLogList) ProtoReflect() protoreflect.Message
func (*InformativeAlertLogList) Reset ¶ added in v0.6.0
func (x *InformativeAlertLogList) Reset()
func (*InformativeAlertLogList) String ¶ added in v0.6.0
func (x *InformativeAlertLogList) String() string
type KubeObjectGroups ¶ added in v0.6.0
type KubeObjectGroups struct { ObjectTypeToNamespaces map[string]*NamespaceObjects `` /* 185-byte string literal not displayed */ // contains filtered or unexported fields }
func (*KubeObjectGroups) Descriptor
deprecated
added in
v0.6.0
func (*KubeObjectGroups) Descriptor() ([]byte, []int)
Deprecated: Use KubeObjectGroups.ProtoReflect.Descriptor instead.
func (*KubeObjectGroups) GetObjectTypeToNamespaces ¶ added in v0.6.0
func (x *KubeObjectGroups) GetObjectTypeToNamespaces() map[string]*NamespaceObjects
func (*KubeObjectGroups) ProtoMessage ¶ added in v0.6.0
func (*KubeObjectGroups) ProtoMessage()
func (*KubeObjectGroups) ProtoReflect ¶ added in v0.6.0
func (x *KubeObjectGroups) ProtoReflect() protoreflect.Message
func (*KubeObjectGroups) Reset ¶ added in v0.6.0
func (x *KubeObjectGroups) Reset()
func (*KubeObjectGroups) String ¶ added in v0.6.0
func (x *KubeObjectGroups) String() string
type ListAlertConditionComposition ¶ added in v0.6.0
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
added in
v0.6.0
func (*ListAlertConditionComposition) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertConditionComposition.ProtoReflect.Descriptor instead.
func (*ListAlertConditionComposition) GetX ¶ added in v0.6.0
func (x *ListAlertConditionComposition) GetX() []*v1.Reference
func (*ListAlertConditionComposition) GetY ¶ added in v0.6.0
func (x *ListAlertConditionComposition) GetY() []*v1.Reference
func (*ListAlertConditionComposition) ProtoMessage ¶ added in v0.6.0
func (*ListAlertConditionComposition) ProtoMessage()
func (*ListAlertConditionComposition) ProtoReflect ¶ added in v0.6.0
func (x *ListAlertConditionComposition) ProtoReflect() protoreflect.Message
func (*ListAlertConditionComposition) Reset ¶ added in v0.6.0
func (x *ListAlertConditionComposition) Reset()
func (*ListAlertConditionComposition) String ¶ added in v0.6.0
func (x *ListAlertConditionComposition) String() string
type ListAlertConditionControlFlow ¶ added in v0.6.0
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
added in
v0.6.0
func (*ListAlertConditionControlFlow) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertConditionControlFlow.ProtoReflect.Descriptor instead.
func (*ListAlertConditionControlFlow) GetFors ¶ added in v0.6.0
func (x *ListAlertConditionControlFlow) GetFors() []*durationpb.Duration
func (*ListAlertConditionControlFlow) GetX ¶ added in v0.6.0
func (x *ListAlertConditionControlFlow) GetX() []*v1.Reference
func (*ListAlertConditionControlFlow) GetY ¶ added in v0.6.0
func (x *ListAlertConditionControlFlow) GetY() []*v1.Reference
func (*ListAlertConditionControlFlow) ProtoMessage ¶ added in v0.6.0
func (*ListAlertConditionControlFlow) ProtoMessage()
func (*ListAlertConditionControlFlow) ProtoReflect ¶ added in v0.6.0
func (x *ListAlertConditionControlFlow) ProtoReflect() protoreflect.Message
func (*ListAlertConditionControlFlow) Reset ¶ added in v0.6.0
func (x *ListAlertConditionControlFlow) Reset()
func (*ListAlertConditionControlFlow) String ¶ added in v0.6.0
func (x *ListAlertConditionControlFlow) String() string
type ListAlertConditionKubeState ¶ added in v0.6.0
type ListAlertConditionKubeState struct { ClusterToObjects map[string]*KubeObjectGroups `` /* 173-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 }
func (*ListAlertConditionKubeState) Descriptor
deprecated
added in
v0.6.0
func (*ListAlertConditionKubeState) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertConditionKubeState.ProtoReflect.Descriptor instead.
func (*ListAlertConditionKubeState) GetClusterToObjects ¶ added in v0.6.0
func (x *ListAlertConditionKubeState) GetClusterToObjects() map[string]*KubeObjectGroups
func (*ListAlertConditionKubeState) GetFors ¶ added in v0.6.0
func (x *ListAlertConditionKubeState) GetFors() []*durationpb.Duration
func (*ListAlertConditionKubeState) GetStates ¶ added in v0.6.0
func (x *ListAlertConditionKubeState) GetStates() []string
func (*ListAlertConditionKubeState) ProtoMessage ¶ added in v0.6.0
func (*ListAlertConditionKubeState) ProtoMessage()
func (*ListAlertConditionKubeState) ProtoReflect ¶ added in v0.6.0
func (x *ListAlertConditionKubeState) ProtoReflect() protoreflect.Message
func (*ListAlertConditionKubeState) Reset ¶ added in v0.6.0
func (x *ListAlertConditionKubeState) Reset()
func (*ListAlertConditionKubeState) String ¶ added in v0.6.0
func (x *ListAlertConditionKubeState) String() string
type ListAlertConditionRequest ¶
type ListAlertConditionRequest struct {
// contains filtered or unexported fields
}
func (*ListAlertConditionRequest) Descriptor
deprecated
func (*ListAlertConditionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertConditionRequest.ProtoReflect.Descriptor instead.
func (*ListAlertConditionRequest) ProtoMessage ¶
func (*ListAlertConditionRequest) ProtoMessage()
func (*ListAlertConditionRequest) ProtoReflect ¶
func (x *ListAlertConditionRequest) ProtoReflect() protoreflect.Message
func (*ListAlertConditionRequest) Reset ¶
func (x *ListAlertConditionRequest) Reset()
func (*ListAlertConditionRequest) String ¶
func (x *ListAlertConditionRequest) String() string
func (*ListAlertConditionRequest) Validate ¶ added in v0.6.0
func (l *ListAlertConditionRequest) Validate() error
type ListAlertConditionSystem ¶ added in v0.6.0
type ListAlertConditionSystem struct {
// contains filtered or unexported fields
}
func (*ListAlertConditionSystem) Descriptor
deprecated
added in
v0.6.0
func (*ListAlertConditionSystem) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertConditionSystem.ProtoReflect.Descriptor instead.
func (*ListAlertConditionSystem) ProtoMessage ¶ added in v0.6.0
func (*ListAlertConditionSystem) ProtoMessage()
func (*ListAlertConditionSystem) ProtoReflect ¶ added in v0.6.0
func (x *ListAlertConditionSystem) ProtoReflect() protoreflect.Message
func (*ListAlertConditionSystem) Reset ¶ added in v0.6.0
func (x *ListAlertConditionSystem) Reset()
func (*ListAlertConditionSystem) String ¶ added in v0.6.0
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 (x *ListAlertEndpointsRequest) ProtoReflect() protoreflect.Message
func (*ListAlertEndpointsRequest) Reset ¶
func (x *ListAlertEndpointsRequest) Reset()
func (*ListAlertEndpointsRequest) String ¶
func (x *ListAlertEndpointsRequest) String() string
func (*ListAlertEndpointsRequest) Validate ¶ added in v0.6.0
func (l *ListAlertEndpointsRequest) Validate() error
type ListAlertLogRequest ¶
type ListAlertLogRequest struct { Labels []string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` StartTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=startTimestamp,proto3" json:"startTimestamp,omitempty"` EndTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=endTimestamp,proto3" json:"endTimestamp,omitempty"` // contains filtered or unexported fields }
func (*ListAlertLogRequest) Descriptor
deprecated
func (*ListAlertLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertLogRequest.ProtoReflect.Descriptor instead.
func (*ListAlertLogRequest) GetEndTimestamp ¶
func (x *ListAlertLogRequest) GetEndTimestamp() *timestamppb.Timestamp
func (*ListAlertLogRequest) GetLabels ¶
func (x *ListAlertLogRequest) GetLabels() []string
func (*ListAlertLogRequest) GetLimit ¶
func (x *ListAlertLogRequest) GetLimit() uint64
func (*ListAlertLogRequest) GetStartTimestamp ¶
func (x *ListAlertLogRequest) GetStartTimestamp() *timestamppb.Timestamp
func (*ListAlertLogRequest) ProtoMessage ¶
func (*ListAlertLogRequest) ProtoMessage()
func (*ListAlertLogRequest) ProtoReflect ¶
func (x *ListAlertLogRequest) ProtoReflect() protoreflect.Message
func (*ListAlertLogRequest) Reset ¶
func (x *ListAlertLogRequest) Reset()
func (*ListAlertLogRequest) String ¶
func (x *ListAlertLogRequest) String() string
type ListAlertTypeDetails ¶ added in v0.6.0
type ListAlertTypeDetails struct { // Types that are assignable to Type: // // *ListAlertTypeDetails_System // *ListAlertTypeDetails_KubeState // *ListAlertTypeDetails_Composition // *ListAlertTypeDetails_ControlFlow Type isListAlertTypeDetails_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*ListAlertTypeDetails) Descriptor
deprecated
added in
v0.6.0
func (*ListAlertTypeDetails) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertTypeDetails.ProtoReflect.Descriptor instead.
func (*ListAlertTypeDetails) GetComposition ¶ added in v0.6.0
func (x *ListAlertTypeDetails) GetComposition() *ListAlertConditionComposition
func (*ListAlertTypeDetails) GetControlFlow ¶ added in v0.6.0
func (x *ListAlertTypeDetails) GetControlFlow() *ListAlertConditionControlFlow
func (*ListAlertTypeDetails) GetKubeState ¶ added in v0.6.0
func (x *ListAlertTypeDetails) GetKubeState() *ListAlertConditionKubeState
func (*ListAlertTypeDetails) GetSystem ¶ added in v0.6.0
func (x *ListAlertTypeDetails) GetSystem() *ListAlertConditionSystem
func (*ListAlertTypeDetails) GetType ¶ added in v0.6.0
func (m *ListAlertTypeDetails) GetType() isListAlertTypeDetails_Type
func (*ListAlertTypeDetails) ProtoMessage ¶ added in v0.6.0
func (*ListAlertTypeDetails) ProtoMessage()
func (*ListAlertTypeDetails) ProtoReflect ¶ added in v0.6.0
func (x *ListAlertTypeDetails) ProtoReflect() protoreflect.Message
func (*ListAlertTypeDetails) Reset ¶ added in v0.6.0
func (x *ListAlertTypeDetails) Reset()
func (*ListAlertTypeDetails) String ¶ added in v0.6.0
func (x *ListAlertTypeDetails) String() string
type ListAlertTypeDetails_Composition ¶ added in v0.6.0
type ListAlertTypeDetails_Composition struct {
Composition *ListAlertConditionComposition `protobuf:"bytes,3,opt,name=composition,proto3,oneof"`
}
type ListAlertTypeDetails_ControlFlow ¶ added in v0.6.0
type ListAlertTypeDetails_ControlFlow struct {
ControlFlow *ListAlertConditionControlFlow `protobuf:"bytes,4,opt,name=controlFlow,proto3,oneof"`
}
type ListAlertTypeDetails_KubeState ¶ added in v0.6.0
type ListAlertTypeDetails_KubeState struct {
KubeState *ListAlertConditionKubeState `protobuf:"bytes,2,opt,name=kubeState,proto3,oneof"`
}
type ListAlertTypeDetails_System ¶ added in v0.6.0
type ListAlertTypeDetails_System struct {
System *ListAlertConditionSystem `protobuf:"bytes,1,opt,name=system,proto3,oneof"`
}
type ListSelectAlertInfo ¶ added in v0.6.0
type ListSelectAlertInfo struct { AlertType AlertType `protobuf:"varint,1,opt,name=alertType,proto3,enum=AlertType" json:"alertType,omitempty"` // contains filtered or unexported fields }
func (*ListSelectAlertInfo) Descriptor
deprecated
added in
v0.6.0
func (*ListSelectAlertInfo) Descriptor() ([]byte, []int)
Deprecated: Use ListSelectAlertInfo.ProtoReflect.Descriptor instead.
func (*ListSelectAlertInfo) GetAlertType ¶ added in v0.6.0
func (x *ListSelectAlertInfo) GetAlertType() AlertType
func (*ListSelectAlertInfo) ProtoMessage ¶ added in v0.6.0
func (*ListSelectAlertInfo) ProtoMessage()
func (*ListSelectAlertInfo) ProtoReflect ¶ added in v0.6.0
func (x *ListSelectAlertInfo) ProtoReflect() protoreflect.Message
func (*ListSelectAlertInfo) Reset ¶ added in v0.6.0
func (x *ListSelectAlertInfo) Reset()
func (*ListSelectAlertInfo) String ¶ added in v0.6.0
func (x *ListSelectAlertInfo) String() string
type NamespaceObjects ¶ added in v0.6.0
type NamespaceObjects struct { NamespaceToObjectList map[string]*ObjectList `` /* 183-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NamespaceObjects) Descriptor
deprecated
added in
v0.6.0
func (*NamespaceObjects) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceObjects.ProtoReflect.Descriptor instead.
func (*NamespaceObjects) GetNamespaceToObjectList ¶ added in v0.6.0
func (x *NamespaceObjects) GetNamespaceToObjectList() map[string]*ObjectList
func (*NamespaceObjects) ProtoMessage ¶ added in v0.6.0
func (*NamespaceObjects) ProtoMessage()
func (*NamespaceObjects) ProtoReflect ¶ added in v0.6.0
func (x *NamespaceObjects) ProtoReflect() protoreflect.Message
func (*NamespaceObjects) Reset ¶ added in v0.6.0
func (x *NamespaceObjects) Reset()
func (*NamespaceObjects) String ¶ added in v0.6.0
func (x *NamespaceObjects) String() string
type ObjectList ¶ added in v0.6.0
type ObjectList struct { Objects []string `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*ObjectList) Descriptor
deprecated
added in
v0.6.0
func (*ObjectList) Descriptor() ([]byte, []int)
Deprecated: Use ObjectList.ProtoReflect.Descriptor instead.
func (*ObjectList) GetObjects ¶ added in v0.6.0
func (x *ObjectList) GetObjects() []string
func (*ObjectList) ProtoMessage ¶ added in v0.6.0
func (*ObjectList) ProtoMessage()
func (*ObjectList) ProtoReflect ¶ added in v0.6.0
func (x *ObjectList) ProtoReflect() protoreflect.Message
func (*ObjectList) Reset ¶ added in v0.6.0
func (x *ObjectList) Reset()
func (*ObjectList) String ¶ added in v0.6.0
func (x *ObjectList) String() string
type PreviewAlertConditionRequest ¶
type PreviewAlertConditionRequest struct {
// contains filtered or unexported fields
}
func (*PreviewAlertConditionRequest) Descriptor
deprecated
func (*PreviewAlertConditionRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreviewAlertConditionRequest.ProtoReflect.Descriptor instead.
func (*PreviewAlertConditionRequest) ProtoMessage ¶
func (*PreviewAlertConditionRequest) ProtoMessage()
func (*PreviewAlertConditionRequest) ProtoReflect ¶
func (x *PreviewAlertConditionRequest) ProtoReflect() protoreflect.Message
func (*PreviewAlertConditionRequest) Reset ¶
func (x *PreviewAlertConditionRequest) Reset()
func (*PreviewAlertConditionRequest) String ¶
func (x *PreviewAlertConditionRequest) String() string
type PreviewAlertConditionResponse ¶
type PreviewAlertConditionResponse struct {
// contains filtered or unexported fields
}
func (*PreviewAlertConditionResponse) Descriptor
deprecated
func (*PreviewAlertConditionResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreviewAlertConditionResponse.ProtoReflect.Descriptor instead.
func (*PreviewAlertConditionResponse) ProtoMessage ¶
func (*PreviewAlertConditionResponse) ProtoMessage()
func (*PreviewAlertConditionResponse) ProtoReflect ¶
func (x *PreviewAlertConditionResponse) ProtoReflect() protoreflect.Message
func (*PreviewAlertConditionResponse) Reset ¶
func (x *PreviewAlertConditionResponse) Reset()
func (*PreviewAlertConditionResponse) String ¶
func (x *PreviewAlertConditionResponse) String() string
type Severity ¶ added in v0.6.0
type Severity int32
func (Severity) Descriptor ¶ added in v0.6.0
func (Severity) Descriptor() protoreflect.EnumDescriptor
func (Severity) EnumDescriptor
deprecated
added in
v0.6.0
func (Severity) Number ¶ added in v0.6.0
func (x Severity) Number() protoreflect.EnumNumber
func (Severity) Type ¶ added in v0.6.0
func (Severity) Type() protoreflect.EnumType
type SilenceInfo ¶ added in v0.6.0
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
added in
v0.6.0
func (*SilenceInfo) Descriptor() ([]byte, []int)
Deprecated: Use SilenceInfo.ProtoReflect.Descriptor instead.
func (*SilenceInfo) GetEndsAt ¶ added in v0.6.0
func (x *SilenceInfo) GetEndsAt() *timestamppb.Timestamp
func (*SilenceInfo) GetSilenceId ¶ added in v0.6.0
func (x *SilenceInfo) GetSilenceId() string
func (*SilenceInfo) GetStartsAt ¶ added in v0.6.0
func (x *SilenceInfo) GetStartsAt() *timestamppb.Timestamp
func (*SilenceInfo) ProtoMessage ¶ added in v0.6.0
func (*SilenceInfo) ProtoMessage()
func (*SilenceInfo) ProtoReflect ¶ added in v0.6.0
func (x *SilenceInfo) ProtoReflect() protoreflect.Message
func (*SilenceInfo) Reset ¶ added in v0.6.0
func (x *SilenceInfo) Reset()
func (*SilenceInfo) String ¶ added in v0.6.0
func (x *SilenceInfo) String() string
type SilenceRequest ¶ added in v0.6.0
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
added in
v0.6.0
func (*SilenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SilenceRequest.ProtoReflect.Descriptor instead.
func (*SilenceRequest) GetConditionId ¶ added in v0.6.0
func (x *SilenceRequest) GetConditionId() *v1.Reference
func (*SilenceRequest) GetDuration ¶ added in v0.6.0
func (x *SilenceRequest) GetDuration() *durationpb.Duration
func (*SilenceRequest) ProtoMessage ¶ added in v0.6.0
func (*SilenceRequest) ProtoMessage()
func (*SilenceRequest) ProtoReflect ¶ added in v0.6.0
func (x *SilenceRequest) ProtoReflect() protoreflect.Message
func (*SilenceRequest) Reset ¶ added in v0.6.0
func (x *SilenceRequest) Reset()
func (*SilenceRequest) String ¶ added in v0.6.0
func (x *SilenceRequest) String() string
func (*SilenceRequest) Validate ¶ added in v0.6.0
func (s *SilenceRequest) Validate() error
type SlackEndpoint ¶ added in v0.6.0
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
added in
v0.6.0
func (*SlackEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use SlackEndpoint.ProtoReflect.Descriptor instead.
func (*SlackEndpoint) GetChannel ¶ added in v0.6.0
func (x *SlackEndpoint) GetChannel() string
func (*SlackEndpoint) GetWebhookUrl ¶ added in v0.6.0
func (x *SlackEndpoint) GetWebhookUrl() string
func (*SlackEndpoint) ProtoMessage ¶ added in v0.6.0
func (*SlackEndpoint) ProtoMessage()
func (*SlackEndpoint) ProtoReflect ¶ added in v0.6.0
func (x *SlackEndpoint) ProtoReflect() protoreflect.Message
func (*SlackEndpoint) Reset ¶ added in v0.6.0
func (x *SlackEndpoint) Reset()
func (*SlackEndpoint) String ¶ added in v0.6.0
func (x *SlackEndpoint) String() string
func (*SlackEndpoint) Validate ¶ added in v0.6.0
func (s *SlackEndpoint) Validate() error
type TeamsEndpoint ¶ added in v0.6.0
type TeamsEndpoint struct { WebhookUrl string `protobuf:"bytes,1,opt,name=webhookUrl,proto3" json:"webhookUrl,omitempty"` // contains filtered or unexported fields }
func (*TeamsEndpoint) Descriptor
deprecated
added in
v0.6.0
func (*TeamsEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use TeamsEndpoint.ProtoReflect.Descriptor instead.
func (*TeamsEndpoint) GetWebhookUrl ¶ added in v0.6.0
func (x *TeamsEndpoint) GetWebhookUrl() string
func (*TeamsEndpoint) ProtoMessage ¶ added in v0.6.0
func (*TeamsEndpoint) ProtoMessage()
func (*TeamsEndpoint) ProtoReflect ¶ added in v0.6.0
func (x *TeamsEndpoint) ProtoReflect() protoreflect.Message
func (*TeamsEndpoint) Reset ¶ added in v0.6.0
func (x *TeamsEndpoint) Reset()
func (*TeamsEndpoint) String ¶ added in v0.6.0
func (x *TeamsEndpoint) String() string
type Templateable ¶ added in v0.6.0
type Templateable interface {
ListTemplates() []string
}
type TemplatesResponse ¶ added in v0.6.0
type TemplatesResponse struct { Template []string `protobuf:"bytes,1,rep,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*TemplatesResponse) Descriptor
deprecated
added in
v0.6.0
func (*TemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use TemplatesResponse.ProtoReflect.Descriptor instead.
func (*TemplatesResponse) GetTemplate ¶ added in v0.6.0
func (x *TemplatesResponse) GetTemplate() []string
func (*TemplatesResponse) ProtoMessage ¶ added in v0.6.0
func (*TemplatesResponse) ProtoMessage()
func (*TemplatesResponse) ProtoReflect ¶ added in v0.6.0
func (x *TemplatesResponse) ProtoReflect() protoreflect.Message
func (*TemplatesResponse) Reset ¶ added in v0.6.0
func (x *TemplatesResponse) Reset()
func (*TemplatesResponse) String ¶ added in v0.6.0
func (x *TemplatesResponse) String() string
type TestAlertEndpointRequest ¶
type TestAlertEndpointRequest struct { EndpointInfo *AlertEndpoint `protobuf:"bytes,1,opt,name=endpointInfo,proto3" json:"endpointInfo,omitempty"` Impl *EndpointImplementation `protobuf:"bytes,2,opt,name=impl,proto3" json:"impl,omitempty"` // contains filtered or unexported fields }
func (*TestAlertEndpointRequest) Descriptor
deprecated
func (*TestAlertEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestAlertEndpointRequest.ProtoReflect.Descriptor instead.
func (*TestAlertEndpointRequest) GetEndpointInfo ¶ added in v0.6.0
func (x *TestAlertEndpointRequest) GetEndpointInfo() *AlertEndpoint
func (*TestAlertEndpointRequest) GetImpl ¶ added in v0.6.0
func (x *TestAlertEndpointRequest) GetImpl() *EndpointImplementation
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 ¶ added in v0.6.0
func (t *TestAlertEndpointRequest) Validate() error
type TestAlertEndpointResponse ¶
type TestAlertEndpointResponse struct {
// contains filtered or unexported fields
}
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 (x *TestAlertEndpointResponse) ProtoReflect() protoreflect.Message
func (*TestAlertEndpointResponse) Reset ¶
func (x *TestAlertEndpointResponse) Reset()
func (*TestAlertEndpointResponse) String ¶
func (x *TestAlertEndpointResponse) String() string
type TriggerAlertsRequest ¶
type TriggerAlertsRequest struct { ConditionId *v1.Reference `protobuf:"bytes,1,opt,name=conditionId,proto3" json:"conditionId,omitempty"` Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TriggerAlertsRequest) Descriptor
deprecated
func (*TriggerAlertsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerAlertsRequest.ProtoReflect.Descriptor instead.
func (*TriggerAlertsRequest) GetAnnotations ¶ added in v0.6.0
func (x *TriggerAlertsRequest) GetAnnotations() map[string]string
func (*TriggerAlertsRequest) GetConditionId ¶ added in v0.6.0
func (x *TriggerAlertsRequest) GetConditionId() *v1.Reference
func (*TriggerAlertsRequest) ProtoMessage ¶
func (*TriggerAlertsRequest) ProtoMessage()
func (*TriggerAlertsRequest) ProtoReflect ¶
func (x *TriggerAlertsRequest) ProtoReflect() protoreflect.Message
func (*TriggerAlertsRequest) Reset ¶
func (x *TriggerAlertsRequest) Reset()
func (*TriggerAlertsRequest) String ¶
func (x *TriggerAlertsRequest) String() string
type TriggerAlertsResponse ¶
type TriggerAlertsResponse struct {
// contains filtered or unexported fields
}
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 UnimplementedAlertingServer ¶
type UnimplementedAlertingServer struct { }
UnimplementedAlertingServer must be embedded to have forward compatible implementations.
func (UnimplementedAlertingServer) ActivateSilence ¶ added in v0.6.0
func (UnimplementedAlertingServer) ActivateSilence(context.Context, *SilenceRequest) (*emptypb.Empty, error)
func (UnimplementedAlertingServer) AlertConditionStatus ¶ added in v0.6.0
func (UnimplementedAlertingServer) AlertConditionStatus(context.Context, *v1.Reference) (*AlertStatusResponse, error)
func (UnimplementedAlertingServer) CreateAlertCondition ¶
func (UnimplementedAlertingServer) CreateAlertCondition(context.Context, *AlertCondition) (*v1.Reference, error)
func (UnimplementedAlertingServer) CreateAlertEndpoint ¶
func (UnimplementedAlertingServer) CreateAlertEndpoint(context.Context, *AlertEndpoint) (*emptypb.Empty, error)
func (UnimplementedAlertingServer) CreateAlertLog ¶
func (UnimplementedAlertingServer) CreateEndpointImplementation ¶ added in v0.6.0
func (UnimplementedAlertingServer) CreateEndpointImplementation(context.Context, *CreateImplementation) (*emptypb.Empty, error)
func (UnimplementedAlertingServer) DeactivateSilence ¶ added in v0.6.0
func (UnimplementedAlertingServer) DeleteAlertCondition ¶
func (UnimplementedAlertingServer) DeleteAlertEndpoint ¶
func (UnimplementedAlertingServer) DeleteEndpointImplementation ¶ added in v0.6.0
func (UnimplementedAlertingServer) GetAlertCondition ¶
func (UnimplementedAlertingServer) GetAlertCondition(context.Context, *v1.Reference) (*AlertCondition, error)
func (UnimplementedAlertingServer) GetAlertEndpoint ¶
func (UnimplementedAlertingServer) GetAlertEndpoint(context.Context, *v1.Reference) (*AlertEndpoint, error)
func (UnimplementedAlertingServer) ListAlertConditionChoices ¶ added in v0.6.0
func (UnimplementedAlertingServer) ListAlertConditionChoices(context.Context, *AlertDetailChoicesRequest) (*ListAlertTypeDetails, error)
func (UnimplementedAlertingServer) ListAlertConditions ¶
func (UnimplementedAlertingServer) ListAlertConditions(context.Context, *ListAlertConditionRequest) (*AlertConditionList, error)
func (UnimplementedAlertingServer) ListAlertEndpoints ¶
func (UnimplementedAlertingServer) ListAlertEndpoints(context.Context, *ListAlertEndpointsRequest) (*AlertEndpointList, error)
func (UnimplementedAlertingServer) ListAlertLogs ¶
func (UnimplementedAlertingServer) ListAlertLogs(context.Context, *ListAlertLogRequest) (*InformativeAlertLogList, error)
func (UnimplementedAlertingServer) ListAvailableTemplatesForType ¶ added in v0.6.0
func (UnimplementedAlertingServer) ListAvailableTemplatesForType(context.Context, *AlertDetailChoicesRequest) (*TemplatesResponse, error)
func (UnimplementedAlertingServer) PreviewAlertCondition ¶
func (UnimplementedAlertingServer) PreviewAlertCondition(context.Context, *PreviewAlertConditionRequest) (*PreviewAlertConditionResponse, error)
func (UnimplementedAlertingServer) TestAlertEndpoint ¶
func (UnimplementedAlertingServer) TestAlertEndpoint(context.Context, *TestAlertEndpointRequest) (*TestAlertEndpointResponse, error)
func (UnimplementedAlertingServer) TriggerAlerts ¶
func (UnimplementedAlertingServer) TriggerAlerts(context.Context, *TriggerAlertsRequest) (*TriggerAlertsResponse, error)
func (UnimplementedAlertingServer) UpdateAlertCondition ¶
func (UnimplementedAlertingServer) UpdateAlertCondition(context.Context, *UpdateAlertConditionRequest) (*emptypb.Empty, error)
func (UnimplementedAlertingServer) UpdateAlertEndpoint ¶
func (UnimplementedAlertingServer) UpdateAlertEndpoint(context.Context, *UpdateAlertEndpointRequest) (*emptypb.Empty, error)
func (UnimplementedAlertingServer) UpdateEndpointImplementation ¶ added in v0.6.0
func (UnimplementedAlertingServer) UpdateEndpointImplementation(context.Context, *CreateImplementation) (*emptypb.Empty, error)
type UnsafeAlertingServer ¶
type UnsafeAlertingServer interface {
// contains filtered or unexported methods
}
UnsafeAlertingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AlertingServer 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 ¶ added in v0.6.0
func (x *UpdateAlertConditionRequest) GetId() *v1.Reference
func (*UpdateAlertConditionRequest) GetUpdateAlert ¶ added in v0.6.0
func (x *UpdateAlertConditionRequest) GetUpdateAlert() *AlertCondition
func (*UpdateAlertConditionRequest) ProtoMessage ¶
func (*UpdateAlertConditionRequest) ProtoMessage()
func (*UpdateAlertConditionRequest) ProtoReflect ¶
func (x *UpdateAlertConditionRequest) ProtoReflect() protoreflect.Message
func (*UpdateAlertConditionRequest) Reset ¶
func (x *UpdateAlertConditionRequest) Reset()
func (*UpdateAlertConditionRequest) String ¶
func (x *UpdateAlertConditionRequest) String() string
func (*UpdateAlertConditionRequest) Validate ¶ added in v0.6.0
func (u *UpdateAlertConditionRequest) Validate() error
type UpdateAlertEndpointRequest ¶
type UpdateAlertEndpointRequest struct { Id *v1.Reference `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UpdateAlert *AlertEndpoint `protobuf:"bytes,2,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) GetId ¶ added in v0.6.0
func (x *UpdateAlertEndpointRequest) GetId() *v1.Reference
func (*UpdateAlertEndpointRequest) GetUpdateAlert ¶ added in v0.6.0
func (x *UpdateAlertEndpointRequest) GetUpdateAlert() *AlertEndpoint
func (*UpdateAlertEndpointRequest) ProtoMessage ¶
func (*UpdateAlertEndpointRequest) ProtoMessage()
func (*UpdateAlertEndpointRequest) ProtoReflect ¶
func (x *UpdateAlertEndpointRequest) ProtoReflect() protoreflect.Message
func (*UpdateAlertEndpointRequest) Reset ¶
func (x *UpdateAlertEndpointRequest) Reset()
func (*UpdateAlertEndpointRequest) String ¶
func (x *UpdateAlertEndpointRequest) String() string
func (*UpdateAlertEndpointRequest) Validate ¶ added in v0.6.0
func (u *UpdateAlertEndpointRequest) Validate() error
type UpdateAlertLogRequest ¶
type UpdateAlertLogRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UpdateAlert *v1.AlertLog `protobuf:"bytes,2,opt,name=UpdateAlert,proto3" json:"UpdateAlert,omitempty"` // contains filtered or unexported fields }
func (*UpdateAlertLogRequest) Descriptor
deprecated
func (*UpdateAlertLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAlertLogRequest.ProtoReflect.Descriptor instead.
func (*UpdateAlertLogRequest) GetId ¶
func (x *UpdateAlertLogRequest) GetId() string
func (*UpdateAlertLogRequest) GetUpdateAlert ¶
func (x *UpdateAlertLogRequest) GetUpdateAlert() *v1.AlertLog
func (*UpdateAlertLogRequest) ProtoMessage ¶
func (*UpdateAlertLogRequest) ProtoMessage()
func (*UpdateAlertLogRequest) ProtoReflect ¶
func (x *UpdateAlertLogRequest) ProtoReflect() protoreflect.Message
func (*UpdateAlertLogRequest) Reset ¶
func (x *UpdateAlertLogRequest) Reset()
func (*UpdateAlertLogRequest) String ¶
func (x *UpdateAlertLogRequest) String() string
type WebhookEndpoint ¶ added in v0.6.0
type WebhookEndpoint struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*WebhookEndpoint) Descriptor
deprecated
added in
v0.6.0
func (*WebhookEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use WebhookEndpoint.ProtoReflect.Descriptor instead.
func (*WebhookEndpoint) GetUrl ¶ added in v0.6.0
func (x *WebhookEndpoint) GetUrl() string
func (*WebhookEndpoint) ProtoMessage ¶ added in v0.6.0
func (*WebhookEndpoint) ProtoMessage()
func (*WebhookEndpoint) ProtoReflect ¶ added in v0.6.0
func (x *WebhookEndpoint) ProtoReflect() protoreflect.Message
func (*WebhookEndpoint) Reset ¶ added in v0.6.0
func (x *WebhookEndpoint) Reset()
func (*WebhookEndpoint) String ¶ added in v0.6.0
func (x *WebhookEndpoint) String() string