Versions in this module Expand all Collapse all v1 v1.0.9 Nov 18, 2020 Changes in this version type Alert + Owner string + func (x *Alert) GetOwner() string v1.0.8 Oct 28, 2020 v1.0.7 Oct 28, 2020 v1.0.6 Oct 28, 2020 v1.0.5 Oct 28, 2020 v1.0.4 Oct 28, 2020 Changes in this version type Alert_AlertSeverity + const Alert_UNSPECIFIED v1.0.3 Oct 27, 2020 Changes in this version type Alert_AlertSeverity + const Alert_CRITICAL + const Alert_FAKE + const Alert_HIGH + const Alert_LOW + const Alert_MEDIUM v1.0.2 Oct 27, 2020 Changes in this version type Alert + Metadata map[string]string + func (x *Alert) GetMetadata() map[string]string type Alert_AlertSeverity + const Alert_high v1.0.1 Oct 27, 2020 v1.0.0 Oct 15, 2020 Changes in this version + var Alert_AlertSeverity_name = map[int32]string + var Alert_AlertSeverity_value = map[string]int32 + var File_input_api_proto protoreflect.FileDescriptor + func RegisterAlertServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterAlertServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AlertServiceClient) error + func RegisterAlertServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterAlertServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AlertServiceServer) error + func RegisterAlertServiceServer(s *grpc.Server, srv AlertServiceServer) + type Alert struct + AffectedSystem string + CreatedAt *timestamp.Timestamp + Id int64 + Message string + Name string + Severity Alert_AlertSeverity + SourceSystem string + SourceSystemIP string + State string + Trigger string + func (*Alert) Descriptor() ([]byte, []int) + func (*Alert) ProtoMessage() + func (x *Alert) GetAffectedSystem() string + func (x *Alert) GetCreatedAt() *timestamp.Timestamp + func (x *Alert) GetId() int64 + func (x *Alert) GetMessage() string + func (x *Alert) GetName() string + func (x *Alert) GetSeverity() Alert_AlertSeverity + func (x *Alert) GetSourceSystem() string + func (x *Alert) GetSourceSystemIP() string + func (x *Alert) GetState() string + func (x *Alert) GetTrigger() string + func (x *Alert) ProtoReflect() protoreflect.Message + func (x *Alert) Reset() + func (x *Alert) String() string + type AlertServiceClient interface + GetAlertByID func(ctx context.Context, in *ID, opts ...grpc.CallOption) (*Alert, error) + GetAllAlerts func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Alerts, error) + SendAlert func(ctx context.Context, in *Alert, opts ...grpc.CallOption) (*Alert, error) + func NewAlertServiceClient(cc grpc.ClientConnInterface) AlertServiceClient + type AlertServiceServer interface + GetAlertByID func(context.Context, *ID) (*Alert, error) + GetAllAlerts func(context.Context, *Empty) (*Alerts, error) + SendAlert func(context.Context, *Alert) (*Alert, error) + type Alert_AlertSeverity int32 + const Alert_critical + const Alert_error + const Alert_fatal + const Alert_low + const Alert_medium + const Alert_warning + func (Alert_AlertSeverity) Descriptor() protoreflect.EnumDescriptor + func (Alert_AlertSeverity) EnumDescriptor() ([]byte, []int) + func (Alert_AlertSeverity) Type() protoreflect.EnumType + func (x Alert_AlertSeverity) Enum() *Alert_AlertSeverity + func (x Alert_AlertSeverity) Number() protoreflect.EnumNumber + func (x Alert_AlertSeverity) String() string + type Alerts struct + Alert []*Alert + func (*Alerts) Descriptor() ([]byte, []int) + func (*Alerts) ProtoMessage() + func (x *Alerts) GetAlert() []*Alert + func (x *Alerts) ProtoReflect() protoreflect.Message + func (x *Alerts) Reset() + func (x *Alerts) String() string + type Empty struct + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (x *Empty) ProtoReflect() protoreflect.Message + func (x *Empty) Reset() + func (x *Empty) String() string + type ID struct + Id int64 + func (*ID) Descriptor() ([]byte, []int) + func (*ID) ProtoMessage() + func (x *ID) GetId() int64 + func (x *ID) ProtoReflect() protoreflect.Message + func (x *ID) Reset() + func (x *ID) String() string + type UnimplementedAlertServiceServer struct + func (*UnimplementedAlertServiceServer) GetAlertByID(context.Context, *ID) (*Alert, error) + func (*UnimplementedAlertServiceServer) GetAllAlerts(context.Context, *Empty) (*Alerts, error) + func (*UnimplementedAlertServiceServer) SendAlert(context.Context, *Alert) (*Alert, error) + type UpdateAlert struct + Id int64 + Value int32 + func (*UpdateAlert) Descriptor() ([]byte, []int) + func (*UpdateAlert) ProtoMessage() + func (x *UpdateAlert) GetId() int64 + func (x *UpdateAlert) GetValue() int32 + func (x *UpdateAlert) ProtoReflect() protoreflect.Message + func (x *UpdateAlert) Reset() + func (x *UpdateAlert) String() string