Documentation ¶
Overview ¶
Package v1alpha is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- 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
- type AlertConditionList
- func (*AlertConditionList) Descriptor() ([]byte, []int)deprecated
- func (x *AlertConditionList) GetItems() []*AlertCondition
- func (*AlertConditionList) ProtoMessage()
- func (x *AlertConditionList) ProtoReflect() protoreflect.Message
- func (x *AlertConditionList) Reset()
- func (x *AlertConditionList) String() string
- type AlertEndpoint
- type AlertEndpointList
- func (*AlertEndpointList) Descriptor() ([]byte, []int)deprecated
- func (x *AlertEndpointList) GetItems() []*AlertEndpoint
- func (*AlertEndpointList) ProtoMessage()
- func (x *AlertEndpointList) ProtoReflect() protoreflect.Message
- func (x *AlertEndpointList) Reset()
- func (x *AlertEndpointList) String() string
- type AlertingClient
- type AlertingServer
- type ListAlertConditionRequest
- type ListAlertEndpointsRequest
- type ListAlertLogRequest
- func (*ListAlertLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertLogRequest) GetEndTimestamp() uint64
- func (x *ListAlertLogRequest) GetLabels() []string
- func (x *ListAlertLogRequest) GetLimit() uint64
- func (x *ListAlertLogRequest) GetStartTimestamp() uint64
- func (*ListAlertLogRequest) ProtoMessage()
- func (x *ListAlertLogRequest) ProtoReflect() protoreflect.Message
- func (x *ListAlertLogRequest) Reset()
- func (x *ListAlertLogRequest) String() string
- 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 TestAlertEndpointRequest
- type TestAlertEndpointResponse
- type TriggerAlertsRequest
- func (*TriggerAlertsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerAlertsRequest) GetId() *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) CreateAlertCondition(context.Context, *AlertCondition) (*emptypb.Empty, error)
- func (UnimplementedAlertingServer) CreateAlertEndpoint(context.Context, *AlertEndpoint) (*emptypb.Empty, error)
- func (UnimplementedAlertingServer) CreateAlertLog(context.Context, *v1.AlertLog) (*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) DeleteAlertLog(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) GetAlertLog(context.Context, *v1.Reference) (*v1.AlertLog, error)
- func (UnimplementedAlertingServer) ListAlertConditions(context.Context, *ListAlertConditionRequest) (*AlertConditionList, error)
- func (UnimplementedAlertingServer) ListAlertEndpoints(context.Context, *ListAlertEndpointsRequest) (*AlertEndpointList, error)
- func (UnimplementedAlertingServer) ListAlertLogs(context.Context, *ListAlertLogRequest) (*v1.AlertLogList, 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) UpdateAlertLog(context.Context, *UpdateAlertLogRequest) (*emptypb.Empty, error)
- type UnsafeAlertingServer
- type UpdateAlertConditionRequest
- type UpdateAlertEndpointRequest
- 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
Constants ¶
This section is empty.
Variables ¶
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: "GetAlertLog", Handler: _Alerting_GetAlertLog_Handler, }, { MethodName: "ListAlertLogs", Handler: _Alerting_ListAlertLogs_Handler, }, { MethodName: "UpdateAlertLog", Handler: _Alerting_UpdateAlertLog_Handler, }, { MethodName: "DeleteAlertLog", Handler: _Alerting_DeleteAlertLog_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: "DeleteAlertCondition", Handler: _Alerting_DeleteAlertCondition_Handler, }, { MethodName: "PreviewAlertCondition", Handler: _Alerting_PreviewAlertCondition_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, }, }, 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 File_github_com_rancher_opni_pkg_alerting_v1alpha_alerting_proto protoreflect.FileDescriptor
Functions ¶
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 {
// contains filtered or unexported fields
}
func (*AlertCondition) Descriptor
deprecated
func (*AlertCondition) Descriptor() ([]byte, []int)
Deprecated: Use AlertCondition.ProtoReflect.Descriptor instead.
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
type AlertConditionList ¶
type AlertConditionList struct { Items []*AlertCondition `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() []*AlertCondition
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 AlertEndpoint ¶
type AlertEndpoint struct {
// contains filtered or unexported fields
}
func (*AlertEndpoint) Descriptor
deprecated
func (*AlertEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use AlertEndpoint.ProtoReflect.Descriptor instead.
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
type AlertEndpointList ¶
type AlertEndpointList struct { Items []*AlertEndpoint `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() []*AlertEndpoint
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 AlertingClient ¶
type AlertingClient interface { TriggerAlerts(ctx context.Context, in *TriggerAlertsRequest, opts ...grpc.CallOption) (*TriggerAlertsResponse, error) CreateAlertLog(ctx context.Context, in *v1.AlertLog, opts ...grpc.CallOption) (*emptypb.Empty, error) GetAlertLog(ctx context.Context, in *v1.Reference, opts ...grpc.CallOption) (*v1.AlertLog, error) ListAlertLogs(ctx context.Context, in *ListAlertLogRequest, opts ...grpc.CallOption) (*v1.AlertLogList, error) UpdateAlertLog(ctx context.Context, in *UpdateAlertLogRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteAlertLog(ctx context.Context, in *v1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateAlertCondition(ctx context.Context, in *AlertCondition, opts ...grpc.CallOption) (*emptypb.Empty, 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) DeleteAlertCondition(ctx context.Context, in *v1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error) PreviewAlertCondition(ctx context.Context, in *PreviewAlertConditionRequest, opts ...grpc.CallOption) (*PreviewAlertConditionResponse, 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) TestAlertEndpoint(ctx context.Context, in *TestAlertEndpointRequest, opts ...grpc.CallOption) (*TestAlertEndpointResponse, 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 { TriggerAlerts(context.Context, *TriggerAlertsRequest) (*TriggerAlertsResponse, error) CreateAlertLog(context.Context, *v1.AlertLog) (*emptypb.Empty, error) GetAlertLog(context.Context, *v1.Reference) (*v1.AlertLog, error) ListAlertLogs(context.Context, *ListAlertLogRequest) (*v1.AlertLogList, error) UpdateAlertLog(context.Context, *UpdateAlertLogRequest) (*emptypb.Empty, error) DeleteAlertLog(context.Context, *v1.Reference) (*emptypb.Empty, error) CreateAlertCondition(context.Context, *AlertCondition) (*emptypb.Empty, error) GetAlertCondition(context.Context, *v1.Reference) (*AlertCondition, error) ListAlertConditions(context.Context, *ListAlertConditionRequest) (*AlertConditionList, error) UpdateAlertCondition(context.Context, *UpdateAlertConditionRequest) (*emptypb.Empty, error) DeleteAlertCondition(context.Context, *v1.Reference) (*emptypb.Empty, error) PreviewAlertCondition(context.Context, *PreviewAlertConditionRequest) (*PreviewAlertConditionResponse, 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) TestAlertEndpoint(context.Context, *TestAlertEndpointRequest) (*TestAlertEndpointResponse, error) // contains filtered or unexported methods }
AlertingServer is the server API for Alerting service. All implementations must embed UnimplementedAlertingServer for forward compatibility
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
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
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 uint64 `protobuf:"varint,3,opt,name=startTimestamp,proto3" json:"startTimestamp,omitempty"` EndTimestamp uint64 `protobuf:"varint,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() uint64
func (*ListAlertLogRequest) GetLabels ¶
func (x *ListAlertLogRequest) GetLabels() []string
func (*ListAlertLogRequest) GetLimit ¶
func (x *ListAlertLogRequest) GetLimit() uint64
func (*ListAlertLogRequest) GetStartTimestamp ¶
func (x *ListAlertLogRequest) GetStartTimestamp() uint64
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 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 TestAlertEndpointRequest ¶
type TestAlertEndpointRequest struct {
// contains filtered or unexported fields
}
func (*TestAlertEndpointRequest) Descriptor
deprecated
func (*TestAlertEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestAlertEndpointRequest.ProtoReflect.Descriptor instead.
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
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 { Id *v1.Reference `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // TODO // contains filtered or unexported fields }
func (*TriggerAlertsRequest) Descriptor
deprecated
func (*TriggerAlertsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerAlertsRequest.ProtoReflect.Descriptor instead.
func (*TriggerAlertsRequest) GetId ¶
func (x *TriggerAlertsRequest) GetId() *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) CreateAlertCondition ¶
func (UnimplementedAlertingServer) CreateAlertCondition(context.Context, *AlertCondition) (*emptypb.Empty, error)
func (UnimplementedAlertingServer) CreateAlertEndpoint ¶
func (UnimplementedAlertingServer) CreateAlertEndpoint(context.Context, *AlertEndpoint) (*emptypb.Empty, error)
func (UnimplementedAlertingServer) CreateAlertLog ¶
func (UnimplementedAlertingServer) DeleteAlertCondition ¶
func (UnimplementedAlertingServer) DeleteAlertEndpoint ¶
func (UnimplementedAlertingServer) DeleteAlertLog ¶
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) GetAlertLog ¶
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) (*v1.AlertLogList, 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) UpdateAlertLog ¶
func (UnimplementedAlertingServer) UpdateAlertLog(context.Context, *UpdateAlertLogRequest) (*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 {
// contains filtered or unexported fields
}
func (*UpdateAlertConditionRequest) Descriptor
deprecated
func (*UpdateAlertConditionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAlertConditionRequest.ProtoReflect.Descriptor instead.
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
type UpdateAlertEndpointRequest ¶
type UpdateAlertEndpointRequest struct {
// contains filtered or unexported fields
}
func (*UpdateAlertEndpointRequest) Descriptor
deprecated
func (*UpdateAlertEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAlertEndpointRequest.ProtoReflect.Descriptor instead.
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
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