Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- 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.ServiceRegistrar, srv AlertServiceServer)
- type AlertResponse
- type AlertServiceClient
- type AlertServiceServer
- type CreateAlertRequest
- func (*CreateAlertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAlertRequest) GetAlert() *v1alpha1.Alert
- func (*CreateAlertRequest) ProtoMessage()
- func (x *CreateAlertRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAlertRequest) Reset()
- func (x *CreateAlertRequest) String() string
- type CreateAlertResponse
- type DeleteAlertRequest
- func (*DeleteAlertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAlertRequest) GetName() string
- func (x *DeleteAlertRequest) GetNamespace() string
- func (*DeleteAlertRequest) ProtoMessage()
- func (x *DeleteAlertRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAlertRequest) Reset()
- func (x *DeleteAlertRequest) String() string
- type DeleteAlertResponse
- type GetAlertNamespacesRequest
- func (*GetAlertNamespacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlertNamespacesRequest) GetName() string
- func (x *GetAlertNamespacesRequest) GetNamespace() string
- func (*GetAlertNamespacesRequest) ProtoMessage()
- func (x *GetAlertNamespacesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAlertNamespacesRequest) Reset()
- func (x *GetAlertNamespacesRequest) String() string
- type GetAlertNamespacesResponse
- func (*GetAlertNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlertNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo
- func (*GetAlertNamespacesResponse) ProtoMessage()
- func (x *GetAlertNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAlertNamespacesResponse) Reset()
- func (x *GetAlertNamespacesResponse) String() string
- type GetAlertRequest
- func (*GetAlertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlertRequest) GetName() string
- func (x *GetAlertRequest) GetNamespace() string
- func (*GetAlertRequest) ProtoMessage()
- func (x *GetAlertRequest) ProtoReflect() protoreflect.Message
- func (x *GetAlertRequest) Reset()
- func (x *GetAlertRequest) String() string
- type GetAlertResponse
- func (*GetAlertResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlertResponse) GetAlert() *v1alpha1.Alert
- func (x *GetAlertResponse) GetYaml() string
- func (*GetAlertResponse) ProtoMessage()
- func (x *GetAlertResponse) ProtoReflect() protoreflect.Message
- func (x *GetAlertResponse) Reset()
- func (x *GetAlertResponse) String() string
- type ListAlertsRequest
- func (*ListAlertsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertsRequest) GetLabels() map[string]string
- func (x *ListAlertsRequest) GetNamespace() string
- func (x *ListAlertsRequest) GetOrderBy() string
- func (x *ListAlertsRequest) GetPageSize() int32
- func (x *ListAlertsRequest) GetPageToken() string
- func (*ListAlertsRequest) ProtoMessage()
- func (x *ListAlertsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAlertsRequest) Reset()
- func (x *ListAlertsRequest) String() string
- type ListAlertsResponse
- func (*ListAlertsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertsResponse) GetAlerts() *v1alpha1.AlertList
- func (x *ListAlertsResponse) GetNextPageToken() string
- func (*ListAlertsResponse) ProtoMessage()
- func (x *ListAlertsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAlertsResponse) Reset()
- func (x *ListAlertsResponse) String() string
- type UnimplementedAlertServiceServer
- func (UnimplementedAlertServiceServer) CreateAlert(context.Context, *CreateAlertRequest) (*CreateAlertResponse, error)
- func (UnimplementedAlertServiceServer) DeleteAlert(context.Context, *DeleteAlertRequest) (*DeleteAlertResponse, error)
- func (UnimplementedAlertServiceServer) GetAlert(context.Context, *GetAlertRequest) (*GetAlertResponse, error)
- func (UnimplementedAlertServiceServer) ListAlerts(context.Context, *ListAlertsRequest) (*ListAlertsResponse, error)
- func (UnimplementedAlertServiceServer) UpdateAlert(context.Context, *UpdateAlertRequest) (*UpdateAlertResponse, error)
- type UnsafeAlertServiceServer
- type UpdateAlertRequest
- func (*UpdateAlertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAlertRequest) GetAlert() *v1alpha1.Alert
- func (x *UpdateAlertRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateAlertRequest) ProtoMessage()
- func (x *UpdateAlertRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAlertRequest) Reset()
- func (x *UpdateAlertRequest) String() string
- type UpdateAlertResponse
Constants ¶
This section is empty.
Variables ¶
var AlertService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "github.com.metaprov.modelaapi.services.alert.v1.AlertService", HandlerType: (*AlertServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListAlerts", Handler: _AlertService_ListAlerts_Handler, }, { MethodName: "CreateAlert", Handler: _AlertService_CreateAlert_Handler, }, { MethodName: "GetAlert", Handler: _AlertService_GetAlert_Handler, }, { MethodName: "UpdateAlert", Handler: _AlertService_UpdateAlert_Handler, }, { MethodName: "DeleteAlert", Handler: _AlertService_DeleteAlert_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/metaprov/modelaapi/services/alert/v1/alert.proto", }
AlertService_ServiceDesc is the grpc.ServiceDesc for AlertService 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_metaprov_modelaapi_services_alert_v1_alert_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAlertServiceHandler ¶ added in v0.4.687
func RegisterAlertServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAlertServiceHandler registers the http handlers for service AlertService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAlertServiceHandlerClient ¶ added in v0.4.687
func RegisterAlertServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AlertServiceClient) error
RegisterAlertServiceHandlerClient registers the http handlers for service AlertService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AlertServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AlertServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AlertServiceClient" to call the correct interceptors.
func RegisterAlertServiceHandlerFromEndpoint ¶ added in v0.4.687
func RegisterAlertServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAlertServiceHandlerFromEndpoint is same as RegisterAlertServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAlertServiceHandlerServer ¶ added in v0.4.687
func RegisterAlertServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AlertServiceServer) error
RegisterAlertServiceHandlerServer registers the http handlers for service AlertService to "mux". UnaryRPC :call AlertServiceServer 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 RegisterAlertServiceHandlerFromEndpoint instead.
func RegisterAlertServiceServer ¶
func RegisterAlertServiceServer(s grpc.ServiceRegistrar, srv AlertServiceServer)
Types ¶
type AlertResponse ¶
type AlertResponse struct {
// contains filtered or unexported fields
}
func (*AlertResponse) Descriptor
deprecated
func (*AlertResponse) Descriptor() ([]byte, []int)
Deprecated: Use AlertResponse.ProtoReflect.Descriptor instead.
func (*AlertResponse) ProtoMessage ¶
func (*AlertResponse) ProtoMessage()
func (*AlertResponse) ProtoReflect ¶
func (x *AlertResponse) ProtoReflect() protoreflect.Message
func (*AlertResponse) Reset ¶
func (x *AlertResponse) Reset()
func (*AlertResponse) String ¶
func (x *AlertResponse) String() string
type AlertServiceClient ¶
type AlertServiceClient interface { ListAlerts(ctx context.Context, in *ListAlertsRequest, opts ...grpc.CallOption) (*ListAlertsResponse, error) CreateAlert(ctx context.Context, in *CreateAlertRequest, opts ...grpc.CallOption) (*CreateAlertResponse, error) GetAlert(ctx context.Context, in *GetAlertRequest, opts ...grpc.CallOption) (*GetAlertResponse, error) UpdateAlert(ctx context.Context, in *UpdateAlertRequest, opts ...grpc.CallOption) (*UpdateAlertResponse, error) DeleteAlert(ctx context.Context, in *DeleteAlertRequest, opts ...grpc.CallOption) (*DeleteAlertResponse, error) }
AlertServiceClient is the client API for AlertService 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 NewAlertServiceClient ¶
func NewAlertServiceClient(cc grpc.ClientConnInterface) AlertServiceClient
type AlertServiceServer ¶
type AlertServiceServer interface { ListAlerts(context.Context, *ListAlertsRequest) (*ListAlertsResponse, error) CreateAlert(context.Context, *CreateAlertRequest) (*CreateAlertResponse, error) GetAlert(context.Context, *GetAlertRequest) (*GetAlertResponse, error) UpdateAlert(context.Context, *UpdateAlertRequest) (*UpdateAlertResponse, error) DeleteAlert(context.Context, *DeleteAlertRequest) (*DeleteAlertResponse, error) // contains filtered or unexported methods }
AlertServiceServer is the server API for AlertService service. All implementations must embed UnimplementedAlertServiceServer for forward compatibility
type CreateAlertRequest ¶
type CreateAlertRequest struct { Alert *v1alpha1.Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"` // contains filtered or unexported fields }
func (*CreateAlertRequest) Descriptor
deprecated
func (*CreateAlertRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAlertRequest.ProtoReflect.Descriptor instead.
func (*CreateAlertRequest) GetAlert ¶ added in v0.4.475
func (x *CreateAlertRequest) GetAlert() *v1alpha1.Alert
func (*CreateAlertRequest) ProtoMessage ¶
func (*CreateAlertRequest) ProtoMessage()
func (*CreateAlertRequest) ProtoReflect ¶
func (x *CreateAlertRequest) ProtoReflect() protoreflect.Message
func (*CreateAlertRequest) Reset ¶
func (x *CreateAlertRequest) Reset()
func (*CreateAlertRequest) String ¶
func (x *CreateAlertRequest) String() string
type CreateAlertResponse ¶
type CreateAlertResponse struct {
// contains filtered or unexported fields
}
func (*CreateAlertResponse) Descriptor
deprecated
func (*CreateAlertResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAlertResponse.ProtoReflect.Descriptor instead.
func (*CreateAlertResponse) ProtoMessage ¶
func (*CreateAlertResponse) ProtoMessage()
func (*CreateAlertResponse) ProtoReflect ¶
func (x *CreateAlertResponse) ProtoReflect() protoreflect.Message
func (*CreateAlertResponse) Reset ¶
func (x *CreateAlertResponse) Reset()
func (*CreateAlertResponse) String ¶
func (x *CreateAlertResponse) String() string
type DeleteAlertRequest ¶
type DeleteAlertRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteAlertRequest) Descriptor
deprecated
func (*DeleteAlertRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAlertRequest.ProtoReflect.Descriptor instead.
func (*DeleteAlertRequest) GetName ¶
func (x *DeleteAlertRequest) GetName() string
func (*DeleteAlertRequest) GetNamespace ¶
func (x *DeleteAlertRequest) GetNamespace() string
func (*DeleteAlertRequest) ProtoMessage ¶
func (*DeleteAlertRequest) ProtoMessage()
func (*DeleteAlertRequest) ProtoReflect ¶
func (x *DeleteAlertRequest) ProtoReflect() protoreflect.Message
func (*DeleteAlertRequest) Reset ¶
func (x *DeleteAlertRequest) Reset()
func (*DeleteAlertRequest) String ¶
func (x *DeleteAlertRequest) String() string
type DeleteAlertResponse ¶
type DeleteAlertResponse struct {
// contains filtered or unexported fields
}
func (*DeleteAlertResponse) Descriptor
deprecated
func (*DeleteAlertResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAlertResponse.ProtoReflect.Descriptor instead.
func (*DeleteAlertResponse) ProtoMessage ¶
func (*DeleteAlertResponse) ProtoMessage()
func (*DeleteAlertResponse) ProtoReflect ¶
func (x *DeleteAlertResponse) ProtoReflect() protoreflect.Message
func (*DeleteAlertResponse) Reset ¶
func (x *DeleteAlertResponse) Reset()
func (*DeleteAlertResponse) String ¶
func (x *DeleteAlertResponse) String() string
type GetAlertNamespacesRequest ¶
type GetAlertNamespacesRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetAlertNamespacesRequest) Descriptor
deprecated
func (*GetAlertNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAlertNamespacesRequest.ProtoReflect.Descriptor instead.
func (*GetAlertNamespacesRequest) GetName ¶
func (x *GetAlertNamespacesRequest) GetName() string
func (*GetAlertNamespacesRequest) GetNamespace ¶
func (x *GetAlertNamespacesRequest) GetNamespace() string
func (*GetAlertNamespacesRequest) ProtoMessage ¶
func (*GetAlertNamespacesRequest) ProtoMessage()
func (*GetAlertNamespacesRequest) ProtoReflect ¶
func (x *GetAlertNamespacesRequest) ProtoReflect() protoreflect.Message
func (*GetAlertNamespacesRequest) Reset ¶
func (x *GetAlertNamespacesRequest) Reset()
func (*GetAlertNamespacesRequest) String ¶
func (x *GetAlertNamespacesRequest) String() string
type GetAlertNamespacesResponse ¶
type GetAlertNamespacesResponse struct { Namespaces []*v1.NamespaceInfo `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*GetAlertNamespacesResponse) Descriptor
deprecated
func (*GetAlertNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAlertNamespacesResponse.ProtoReflect.Descriptor instead.
func (*GetAlertNamespacesResponse) GetNamespaces ¶
func (x *GetAlertNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo
func (*GetAlertNamespacesResponse) ProtoMessage ¶
func (*GetAlertNamespacesResponse) ProtoMessage()
func (*GetAlertNamespacesResponse) ProtoReflect ¶
func (x *GetAlertNamespacesResponse) ProtoReflect() protoreflect.Message
func (*GetAlertNamespacesResponse) Reset ¶
func (x *GetAlertNamespacesResponse) Reset()
func (*GetAlertNamespacesResponse) String ¶
func (x *GetAlertNamespacesResponse) String() string
type GetAlertRequest ¶
type GetAlertRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetAlertRequest) Descriptor
deprecated
func (*GetAlertRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAlertRequest.ProtoReflect.Descriptor instead.
func (*GetAlertRequest) GetName ¶
func (x *GetAlertRequest) GetName() string
func (*GetAlertRequest) GetNamespace ¶
func (x *GetAlertRequest) GetNamespace() string
func (*GetAlertRequest) ProtoMessage ¶
func (*GetAlertRequest) ProtoMessage()
func (*GetAlertRequest) ProtoReflect ¶
func (x *GetAlertRequest) ProtoReflect() protoreflect.Message
func (*GetAlertRequest) Reset ¶
func (x *GetAlertRequest) Reset()
func (*GetAlertRequest) String ¶
func (x *GetAlertRequest) String() string
type GetAlertResponse ¶
type GetAlertResponse struct { Alert *v1alpha1.Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*GetAlertResponse) Descriptor
deprecated
func (*GetAlertResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAlertResponse.ProtoReflect.Descriptor instead.
func (*GetAlertResponse) GetAlert ¶ added in v0.4.475
func (x *GetAlertResponse) GetAlert() *v1alpha1.Alert
func (*GetAlertResponse) GetYaml ¶
func (x *GetAlertResponse) GetYaml() string
func (*GetAlertResponse) ProtoMessage ¶
func (*GetAlertResponse) ProtoMessage()
func (*GetAlertResponse) ProtoReflect ¶
func (x *GetAlertResponse) ProtoReflect() protoreflect.Message
func (*GetAlertResponse) Reset ¶
func (x *GetAlertResponse) Reset()
func (*GetAlertResponse) String ¶
func (x *GetAlertResponse) String() string
type ListAlertsRequest ¶
type ListAlertsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListAlertsRequest) Descriptor
deprecated
func (*ListAlertsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertsRequest.ProtoReflect.Descriptor instead.
func (*ListAlertsRequest) GetLabels ¶
func (x *ListAlertsRequest) GetLabels() map[string]string
func (*ListAlertsRequest) GetNamespace ¶
func (x *ListAlertsRequest) GetNamespace() string
func (*ListAlertsRequest) GetOrderBy ¶ added in v0.4.414
func (x *ListAlertsRequest) GetOrderBy() string
func (*ListAlertsRequest) GetPageSize ¶ added in v0.4.414
func (x *ListAlertsRequest) GetPageSize() int32
func (*ListAlertsRequest) GetPageToken ¶ added in v0.4.414
func (x *ListAlertsRequest) GetPageToken() string
func (*ListAlertsRequest) ProtoMessage ¶
func (*ListAlertsRequest) ProtoMessage()
func (*ListAlertsRequest) ProtoReflect ¶
func (x *ListAlertsRequest) ProtoReflect() protoreflect.Message
func (*ListAlertsRequest) Reset ¶
func (x *ListAlertsRequest) Reset()
func (*ListAlertsRequest) String ¶
func (x *ListAlertsRequest) String() string
type ListAlertsResponse ¶
type ListAlertsResponse struct { Alerts *v1alpha1.AlertList `protobuf:"bytes,1,opt,name=alerts,proto3" json:"alerts,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAlertsResponse) Descriptor
deprecated
func (*ListAlertsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertsResponse.ProtoReflect.Descriptor instead.
func (*ListAlertsResponse) GetAlerts ¶ added in v0.4.471
func (x *ListAlertsResponse) GetAlerts() *v1alpha1.AlertList
func (*ListAlertsResponse) GetNextPageToken ¶ added in v0.4.471
func (x *ListAlertsResponse) GetNextPageToken() string
func (*ListAlertsResponse) ProtoMessage ¶
func (*ListAlertsResponse) ProtoMessage()
func (*ListAlertsResponse) ProtoReflect ¶
func (x *ListAlertsResponse) ProtoReflect() protoreflect.Message
func (*ListAlertsResponse) Reset ¶
func (x *ListAlertsResponse) Reset()
func (*ListAlertsResponse) String ¶
func (x *ListAlertsResponse) String() string
type UnimplementedAlertServiceServer ¶
type UnimplementedAlertServiceServer struct { }
UnimplementedAlertServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAlertServiceServer) CreateAlert ¶
func (UnimplementedAlertServiceServer) CreateAlert(context.Context, *CreateAlertRequest) (*CreateAlertResponse, error)
func (UnimplementedAlertServiceServer) DeleteAlert ¶
func (UnimplementedAlertServiceServer) DeleteAlert(context.Context, *DeleteAlertRequest) (*DeleteAlertResponse, error)
func (UnimplementedAlertServiceServer) GetAlert ¶
func (UnimplementedAlertServiceServer) GetAlert(context.Context, *GetAlertRequest) (*GetAlertResponse, error)
func (UnimplementedAlertServiceServer) ListAlerts ¶
func (UnimplementedAlertServiceServer) ListAlerts(context.Context, *ListAlertsRequest) (*ListAlertsResponse, error)
func (UnimplementedAlertServiceServer) UpdateAlert ¶
func (UnimplementedAlertServiceServer) UpdateAlert(context.Context, *UpdateAlertRequest) (*UpdateAlertResponse, error)
type UnsafeAlertServiceServer ¶ added in v0.4.687
type UnsafeAlertServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAlertServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AlertServiceServer will result in compilation errors.
type UpdateAlertRequest ¶
type UpdateAlertRequest struct { Alert *v1alpha1.Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"` UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateAlertRequest) Descriptor
deprecated
func (*UpdateAlertRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAlertRequest.ProtoReflect.Descriptor instead.
func (*UpdateAlertRequest) GetAlert ¶ added in v0.4.475
func (x *UpdateAlertRequest) GetAlert() *v1alpha1.Alert
func (*UpdateAlertRequest) GetUpdateMask ¶ added in v0.4.475
func (x *UpdateAlertRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateAlertRequest) ProtoMessage ¶
func (*UpdateAlertRequest) ProtoMessage()
func (*UpdateAlertRequest) ProtoReflect ¶
func (x *UpdateAlertRequest) ProtoReflect() protoreflect.Message
func (*UpdateAlertRequest) Reset ¶
func (x *UpdateAlertRequest) Reset()
func (*UpdateAlertRequest) String ¶
func (x *UpdateAlertRequest) String() string
type UpdateAlertResponse ¶
type UpdateAlertResponse struct {
// contains filtered or unexported fields
}
func (*UpdateAlertResponse) Descriptor
deprecated
func (*UpdateAlertResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAlertResponse.ProtoReflect.Descriptor instead.
func (*UpdateAlertResponse) ProtoMessage ¶
func (*UpdateAlertResponse) ProtoMessage()
func (*UpdateAlertResponse) ProtoReflect ¶
func (x *UpdateAlertResponse) ProtoReflect() protoreflect.Message
func (*UpdateAlertResponse) Reset ¶
func (x *UpdateAlertResponse) Reset()
func (*UpdateAlertResponse) String ¶
func (x *UpdateAlertResponse) String() string