Documentation ¶
Overview ¶
Package sirenv1beta1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterSirenServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSirenServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SirenServiceClient) error
- func RegisterSirenServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSirenServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SirenServiceServer) error
- func RegisterSirenServiceServer(s grpc.ServiceRegistrar, srv SirenServiceServer)
- type Alert
- func (*Alert) Descriptor() ([]byte, []int)deprecated
- func (x *Alert) GetId() uint64
- func (x *Alert) GetMetricName() string
- func (x *Alert) GetMetricValue() string
- func (x *Alert) GetProviderId() uint64
- func (x *Alert) GetResourceName() string
- func (x *Alert) GetRule() string
- func (x *Alert) GetSeverity() string
- func (x *Alert) GetTriggeredAt() *timestamppb.Timestamp
- func (*Alert) ProtoMessage()
- func (x *Alert) ProtoReflect() protoreflect.Message
- func (x *Alert) Reset()
- func (x *Alert) String() string
- func (m *Alert) Validate() error
- func (m *Alert) ValidateAll() error
- type AlertMultiError
- type AlertValidationError
- type Alerts
- func (*Alerts) Descriptor() ([]byte, []int)deprecated
- func (x *Alerts) GetAlerts() []*Alert
- func (*Alerts) ProtoMessage()
- func (x *Alerts) ProtoReflect() protoreflect.Message
- func (x *Alerts) Reset()
- func (x *Alerts) String() string
- func (m *Alerts) Validate() error
- func (m *Alerts) ValidateAll() error
- type AlertsMultiError
- type AlertsValidationError
- type Annotations
- func (*Annotations) Descriptor() ([]byte, []int)deprecated
- func (x *Annotations) GetMetricName() string
- func (x *Annotations) GetMetricValue() string
- func (x *Annotations) GetResource() string
- func (x *Annotations) GetTemplate() string
- func (*Annotations) ProtoMessage()
- func (x *Annotations) ProtoReflect() protoreflect.Message
- func (x *Annotations) Reset()
- func (x *Annotations) String() string
- func (m *Annotations) Validate() error
- func (m *Annotations) ValidateAll() error
- type AnnotationsMultiError
- type AnnotationsValidationError
- func (e AnnotationsValidationError) Cause() error
- func (e AnnotationsValidationError) Error() string
- func (e AnnotationsValidationError) ErrorName() string
- func (e AnnotationsValidationError) Field() string
- func (e AnnotationsValidationError) Key() bool
- func (e AnnotationsValidationError) Reason() string
- type CortexAlert
- func (*CortexAlert) Descriptor() ([]byte, []int)deprecated
- func (x *CortexAlert) GetAnnotations() *Annotations
- func (x *CortexAlert) GetLabels() *Labels
- func (x *CortexAlert) GetStartsAt() *timestamppb.Timestamp
- func (x *CortexAlert) GetStatus() string
- func (*CortexAlert) ProtoMessage()
- func (x *CortexAlert) ProtoReflect() protoreflect.Message
- func (x *CortexAlert) Reset()
- func (x *CortexAlert) String() string
- func (m *CortexAlert) Validate() error
- func (m *CortexAlert) ValidateAll() error
- type CortexAlertMultiError
- type CortexAlertValidationError
- func (e CortexAlertValidationError) Cause() error
- func (e CortexAlertValidationError) Error() string
- func (e CortexAlertValidationError) ErrorName() string
- func (e CortexAlertValidationError) Field() string
- func (e CortexAlertValidationError) Key() bool
- func (e CortexAlertValidationError) Reason() string
- type CreateCortexAlertsRequest
- func (*CreateCortexAlertsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCortexAlertsRequest) GetAlerts() []*CortexAlert
- func (x *CreateCortexAlertsRequest) GetProviderId() uint64
- func (*CreateCortexAlertsRequest) ProtoMessage()
- func (x *CreateCortexAlertsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCortexAlertsRequest) Reset()
- func (x *CreateCortexAlertsRequest) String() string
- func (m *CreateCortexAlertsRequest) Validate() error
- func (m *CreateCortexAlertsRequest) ValidateAll() error
- type CreateCortexAlertsRequestMultiError
- type CreateCortexAlertsRequestValidationError
- func (e CreateCortexAlertsRequestValidationError) Cause() error
- func (e CreateCortexAlertsRequestValidationError) Error() string
- func (e CreateCortexAlertsRequestValidationError) ErrorName() string
- func (e CreateCortexAlertsRequestValidationError) Field() string
- func (e CreateCortexAlertsRequestValidationError) Key() bool
- func (e CreateCortexAlertsRequestValidationError) Reason() string
- type CreateNamespaceRequest
- func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNamespaceRequest) GetCreatedAt() *timestamppb.Timestamp
- func (x *CreateNamespaceRequest) GetCredentials() *structpb.Struct
- func (x *CreateNamespaceRequest) GetLabels() map[string]string
- func (x *CreateNamespaceRequest) GetName() string
- func (x *CreateNamespaceRequest) GetProvider() uint64
- func (x *CreateNamespaceRequest) GetUpdatedAt() *timestamppb.Timestamp
- func (x *CreateNamespaceRequest) GetUrn() string
- func (*CreateNamespaceRequest) ProtoMessage()
- func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNamespaceRequest) Reset()
- func (x *CreateNamespaceRequest) String() string
- func (m *CreateNamespaceRequest) Validate() error
- func (m *CreateNamespaceRequest) ValidateAll() error
- type CreateNamespaceRequestMultiError
- type CreateNamespaceRequestValidationError
- func (e CreateNamespaceRequestValidationError) Cause() error
- func (e CreateNamespaceRequestValidationError) Error() string
- func (e CreateNamespaceRequestValidationError) ErrorName() string
- func (e CreateNamespaceRequestValidationError) Field() string
- func (e CreateNamespaceRequestValidationError) Key() bool
- func (e CreateNamespaceRequestValidationError) Reason() string
- type CreateProviderRequest
- func (*CreateProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProviderRequest) GetCredentials() *structpb.Struct
- func (x *CreateProviderRequest) GetHost() string
- func (x *CreateProviderRequest) GetLabels() map[string]string
- func (x *CreateProviderRequest) GetName() string
- func (x *CreateProviderRequest) GetType() string
- func (x *CreateProviderRequest) GetUrn() string
- func (*CreateProviderRequest) ProtoMessage()
- func (x *CreateProviderRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProviderRequest) Reset()
- func (x *CreateProviderRequest) String() string
- func (m *CreateProviderRequest) Validate() error
- func (m *CreateProviderRequest) ValidateAll() error
- type CreateProviderRequestMultiError
- type CreateProviderRequestValidationError
- func (e CreateProviderRequestValidationError) Cause() error
- func (e CreateProviderRequestValidationError) Error() string
- func (e CreateProviderRequestValidationError) ErrorName() string
- func (e CreateProviderRequestValidationError) Field() string
- func (e CreateProviderRequestValidationError) Key() bool
- func (e CreateProviderRequestValidationError) Reason() string
- type CreateReceiverRequest
- func (*CreateReceiverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReceiverRequest) GetConfigurations() *structpb.Struct
- func (x *CreateReceiverRequest) GetLabels() map[string]string
- func (x *CreateReceiverRequest) GetName() string
- func (x *CreateReceiverRequest) GetType() string
- func (*CreateReceiverRequest) ProtoMessage()
- func (x *CreateReceiverRequest) ProtoReflect() protoreflect.Message
- func (x *CreateReceiverRequest) Reset()
- func (x *CreateReceiverRequest) String() string
- func (m *CreateReceiverRequest) Validate() error
- func (m *CreateReceiverRequest) ValidateAll() error
- type CreateReceiverRequestMultiError
- type CreateReceiverRequestValidationError
- func (e CreateReceiverRequestValidationError) Cause() error
- func (e CreateReceiverRequestValidationError) Error() string
- func (e CreateReceiverRequestValidationError) ErrorName() string
- func (e CreateReceiverRequestValidationError) Field() string
- func (e CreateReceiverRequestValidationError) Key() bool
- func (e CreateReceiverRequestValidationError) Reason() string
- type CreateSubscriptionRequest
- func (*CreateSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSubscriptionRequest) GetMatch() map[string]string
- func (x *CreateSubscriptionRequest) GetNamespace() uint64
- func (x *CreateSubscriptionRequest) GetReceivers() []*ReceiverMetadata
- func (x *CreateSubscriptionRequest) GetUrn() string
- func (*CreateSubscriptionRequest) ProtoMessage()
- func (x *CreateSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSubscriptionRequest) Reset()
- func (x *CreateSubscriptionRequest) String() string
- func (m *CreateSubscriptionRequest) Validate() error
- func (m *CreateSubscriptionRequest) ValidateAll() error
- type CreateSubscriptionRequestMultiError
- type CreateSubscriptionRequestValidationError
- func (e CreateSubscriptionRequestValidationError) Cause() error
- func (e CreateSubscriptionRequestValidationError) Error() string
- func (e CreateSubscriptionRequestValidationError) ErrorName() string
- func (e CreateSubscriptionRequestValidationError) Field() string
- func (e CreateSubscriptionRequestValidationError) Key() bool
- func (e CreateSubscriptionRequestValidationError) Reason() string
- type DeleteNamespaceRequest
- func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNamespaceRequest) GetId() uint64
- func (*DeleteNamespaceRequest) ProtoMessage()
- func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNamespaceRequest) Reset()
- func (x *DeleteNamespaceRequest) String() string
- func (m *DeleteNamespaceRequest) Validate() error
- func (m *DeleteNamespaceRequest) ValidateAll() error
- type DeleteNamespaceRequestMultiError
- type DeleteNamespaceRequestValidationError
- func (e DeleteNamespaceRequestValidationError) Cause() error
- func (e DeleteNamespaceRequestValidationError) Error() string
- func (e DeleteNamespaceRequestValidationError) ErrorName() string
- func (e DeleteNamespaceRequestValidationError) Field() string
- func (e DeleteNamespaceRequestValidationError) Key() bool
- func (e DeleteNamespaceRequestValidationError) Reason() string
- type DeleteProviderRequest
- func (*DeleteProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProviderRequest) GetId() uint64
- func (*DeleteProviderRequest) ProtoMessage()
- func (x *DeleteProviderRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProviderRequest) Reset()
- func (x *DeleteProviderRequest) String() string
- func (m *DeleteProviderRequest) Validate() error
- func (m *DeleteProviderRequest) ValidateAll() error
- type DeleteProviderRequestMultiError
- type DeleteProviderRequestValidationError
- func (e DeleteProviderRequestValidationError) Cause() error
- func (e DeleteProviderRequestValidationError) Error() string
- func (e DeleteProviderRequestValidationError) ErrorName() string
- func (e DeleteProviderRequestValidationError) Field() string
- func (e DeleteProviderRequestValidationError) Key() bool
- func (e DeleteProviderRequestValidationError) Reason() string
- type DeleteReceiverRequest
- func (*DeleteReceiverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteReceiverRequest) GetId() uint64
- func (*DeleteReceiverRequest) ProtoMessage()
- func (x *DeleteReceiverRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteReceiverRequest) Reset()
- func (x *DeleteReceiverRequest) String() string
- func (m *DeleteReceiverRequest) Validate() error
- func (m *DeleteReceiverRequest) ValidateAll() error
- type DeleteReceiverRequestMultiError
- type DeleteReceiverRequestValidationError
- func (e DeleteReceiverRequestValidationError) Cause() error
- func (e DeleteReceiverRequestValidationError) Error() string
- func (e DeleteReceiverRequestValidationError) ErrorName() string
- func (e DeleteReceiverRequestValidationError) Field() string
- func (e DeleteReceiverRequestValidationError) Key() bool
- func (e DeleteReceiverRequestValidationError) Reason() string
- type DeleteSubscriptionRequest
- func (*DeleteSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSubscriptionRequest) GetId() uint64
- func (*DeleteSubscriptionRequest) ProtoMessage()
- func (x *DeleteSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSubscriptionRequest) Reset()
- func (x *DeleteSubscriptionRequest) String() string
- func (m *DeleteSubscriptionRequest) Validate() error
- func (m *DeleteSubscriptionRequest) ValidateAll() error
- type DeleteSubscriptionRequestMultiError
- type DeleteSubscriptionRequestValidationError
- func (e DeleteSubscriptionRequestValidationError) Cause() error
- func (e DeleteSubscriptionRequestValidationError) Error() string
- func (e DeleteSubscriptionRequestValidationError) ErrorName() string
- func (e DeleteSubscriptionRequestValidationError) Field() string
- func (e DeleteSubscriptionRequestValidationError) Key() bool
- func (e DeleteSubscriptionRequestValidationError) Reason() string
- type DeleteTemplateRequest
- func (*DeleteTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTemplateRequest) GetName() string
- func (*DeleteTemplateRequest) ProtoMessage()
- func (x *DeleteTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTemplateRequest) Reset()
- func (x *DeleteTemplateRequest) String() string
- func (m *DeleteTemplateRequest) Validate() error
- func (m *DeleteTemplateRequest) ValidateAll() error
- type DeleteTemplateRequestMultiError
- type DeleteTemplateRequestValidationError
- func (e DeleteTemplateRequestValidationError) Cause() error
- func (e DeleteTemplateRequestValidationError) Error() string
- func (e DeleteTemplateRequestValidationError) ErrorName() string
- func (e DeleteTemplateRequestValidationError) Field() string
- func (e DeleteTemplateRequestValidationError) Key() bool
- func (e DeleteTemplateRequestValidationError) Reason() string
- type DeleteTemplateResponse
- func (*DeleteTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteTemplateResponse) ProtoMessage()
- func (x *DeleteTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteTemplateResponse) Reset()
- func (x *DeleteTemplateResponse) String() string
- func (m *DeleteTemplateResponse) Validate() error
- func (m *DeleteTemplateResponse) ValidateAll() error
- type DeleteTemplateResponseMultiError
- type DeleteTemplateResponseValidationError
- func (e DeleteTemplateResponseValidationError) Cause() error
- func (e DeleteTemplateResponseValidationError) Error() string
- func (e DeleteTemplateResponseValidationError) ErrorName() string
- func (e DeleteTemplateResponseValidationError) Field() string
- func (e DeleteTemplateResponseValidationError) Key() bool
- func (e DeleteTemplateResponseValidationError) Reason() string
- type GetNamespaceRequest
- func (*GetNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespaceRequest) GetId() uint64
- func (*GetNamespaceRequest) ProtoMessage()
- func (x *GetNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *GetNamespaceRequest) Reset()
- func (x *GetNamespaceRequest) String() string
- func (m *GetNamespaceRequest) Validate() error
- func (m *GetNamespaceRequest) ValidateAll() error
- type GetNamespaceRequestMultiError
- type GetNamespaceRequestValidationError
- func (e GetNamespaceRequestValidationError) Cause() error
- func (e GetNamespaceRequestValidationError) Error() string
- func (e GetNamespaceRequestValidationError) ErrorName() string
- func (e GetNamespaceRequestValidationError) Field() string
- func (e GetNamespaceRequestValidationError) Key() bool
- func (e GetNamespaceRequestValidationError) Reason() string
- type GetProviderRequest
- func (*GetProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProviderRequest) GetId() uint64
- func (*GetProviderRequest) ProtoMessage()
- func (x *GetProviderRequest) ProtoReflect() protoreflect.Message
- func (x *GetProviderRequest) Reset()
- func (x *GetProviderRequest) String() string
- func (m *GetProviderRequest) Validate() error
- func (m *GetProviderRequest) ValidateAll() error
- type GetProviderRequestMultiError
- type GetProviderRequestValidationError
- func (e GetProviderRequestValidationError) Cause() error
- func (e GetProviderRequestValidationError) Error() string
- func (e GetProviderRequestValidationError) ErrorName() string
- func (e GetProviderRequestValidationError) Field() string
- func (e GetProviderRequestValidationError) Key() bool
- func (e GetProviderRequestValidationError) Reason() string
- type GetReceiverRequest
- func (*GetReceiverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReceiverRequest) GetId() uint64
- func (*GetReceiverRequest) ProtoMessage()
- func (x *GetReceiverRequest) ProtoReflect() protoreflect.Message
- func (x *GetReceiverRequest) Reset()
- func (x *GetReceiverRequest) String() string
- func (m *GetReceiverRequest) Validate() error
- func (m *GetReceiverRequest) ValidateAll() error
- type GetReceiverRequestMultiError
- type GetReceiverRequestValidationError
- func (e GetReceiverRequestValidationError) Cause() error
- func (e GetReceiverRequestValidationError) Error() string
- func (e GetReceiverRequestValidationError) ErrorName() string
- func (e GetReceiverRequestValidationError) Field() string
- func (e GetReceiverRequestValidationError) Key() bool
- func (e GetReceiverRequestValidationError) Reason() string
- type GetSubscriptionRequest
- func (*GetSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscriptionRequest) GetId() uint64
- func (*GetSubscriptionRequest) ProtoMessage()
- func (x *GetSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubscriptionRequest) Reset()
- func (x *GetSubscriptionRequest) String() string
- func (m *GetSubscriptionRequest) Validate() error
- func (m *GetSubscriptionRequest) ValidateAll() error
- type GetSubscriptionRequestMultiError
- type GetSubscriptionRequestValidationError
- func (e GetSubscriptionRequestValidationError) Cause() error
- func (e GetSubscriptionRequestValidationError) Error() string
- func (e GetSubscriptionRequestValidationError) ErrorName() string
- func (e GetSubscriptionRequestValidationError) Field() string
- func (e GetSubscriptionRequestValidationError) Key() bool
- func (e GetSubscriptionRequestValidationError) Reason() string
- type GetTemplateByNameRequest
- func (*GetTemplateByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplateByNameRequest) GetName() string
- func (*GetTemplateByNameRequest) ProtoMessage()
- func (x *GetTemplateByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetTemplateByNameRequest) Reset()
- func (x *GetTemplateByNameRequest) String() string
- func (m *GetTemplateByNameRequest) Validate() error
- func (m *GetTemplateByNameRequest) ValidateAll() error
- type GetTemplateByNameRequestMultiError
- type GetTemplateByNameRequestValidationError
- func (e GetTemplateByNameRequestValidationError) Cause() error
- func (e GetTemplateByNameRequestValidationError) Error() string
- func (e GetTemplateByNameRequestValidationError) ErrorName() string
- func (e GetTemplateByNameRequestValidationError) Field() string
- func (e GetTemplateByNameRequestValidationError) Key() bool
- func (e GetTemplateByNameRequestValidationError) Reason() string
- type Labels
- func (*Labels) Descriptor() ([]byte, []int)deprecated
- func (x *Labels) GetSeverity() string
- func (*Labels) ProtoMessage()
- func (x *Labels) ProtoReflect() protoreflect.Message
- func (x *Labels) Reset()
- func (x *Labels) String() string
- func (m *Labels) Validate() error
- func (m *Labels) ValidateAll() error
- type LabelsMultiError
- type LabelsValidationError
- type ListAlertsRequest
- func (*ListAlertsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertsRequest) GetEndTime() uint64
- func (x *ListAlertsRequest) GetProviderId() uint64
- func (x *ListAlertsRequest) GetProviderName() string
- func (x *ListAlertsRequest) GetResourceName() string
- func (x *ListAlertsRequest) GetStartTime() uint64
- func (*ListAlertsRequest) ProtoMessage()
- func (x *ListAlertsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAlertsRequest) Reset()
- func (x *ListAlertsRequest) String() string
- func (m *ListAlertsRequest) Validate() error
- func (m *ListAlertsRequest) ValidateAll() error
- type ListAlertsRequestMultiError
- type ListAlertsRequestValidationError
- func (e ListAlertsRequestValidationError) Cause() error
- func (e ListAlertsRequestValidationError) Error() string
- func (e ListAlertsRequestValidationError) ErrorName() string
- func (e ListAlertsRequestValidationError) Field() string
- func (e ListAlertsRequestValidationError) Key() bool
- func (e ListAlertsRequestValidationError) Reason() string
- type ListNamespacesResponse
- func (*ListNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
- func (*ListNamespacesResponse) ProtoMessage()
- func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *ListNamespacesResponse) Reset()
- func (x *ListNamespacesResponse) String() string
- func (m *ListNamespacesResponse) Validate() error
- func (m *ListNamespacesResponse) ValidateAll() error
- type ListNamespacesResponseMultiError
- type ListNamespacesResponseValidationError
- func (e ListNamespacesResponseValidationError) Cause() error
- func (e ListNamespacesResponseValidationError) Error() string
- func (e ListNamespacesResponseValidationError) ErrorName() string
- func (e ListNamespacesResponseValidationError) Field() string
- func (e ListNamespacesResponseValidationError) Key() bool
- func (e ListNamespacesResponseValidationError) Reason() string
- type ListProvidersRequest
- func (*ListProvidersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProvidersRequest) GetType() string
- func (x *ListProvidersRequest) GetUrn() string
- func (*ListProvidersRequest) ProtoMessage()
- func (x *ListProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *ListProvidersRequest) Reset()
- func (x *ListProvidersRequest) String() string
- func (m *ListProvidersRequest) Validate() error
- func (m *ListProvidersRequest) ValidateAll() error
- type ListProvidersRequestMultiError
- type ListProvidersRequestValidationError
- func (e ListProvidersRequestValidationError) Cause() error
- func (e ListProvidersRequestValidationError) Error() string
- func (e ListProvidersRequestValidationError) ErrorName() string
- func (e ListProvidersRequestValidationError) Field() string
- func (e ListProvidersRequestValidationError) Key() bool
- func (e ListProvidersRequestValidationError) Reason() string
- type ListProvidersResponse
- func (*ListProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProvidersResponse) GetProviders() []*Provider
- func (*ListProvidersResponse) ProtoMessage()
- func (x *ListProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *ListProvidersResponse) Reset()
- func (x *ListProvidersResponse) String() string
- func (m *ListProvidersResponse) Validate() error
- func (m *ListProvidersResponse) ValidateAll() error
- type ListProvidersResponseMultiError
- type ListProvidersResponseValidationError
- func (e ListProvidersResponseValidationError) Cause() error
- func (e ListProvidersResponseValidationError) Error() string
- func (e ListProvidersResponseValidationError) ErrorName() string
- func (e ListProvidersResponseValidationError) Field() string
- func (e ListProvidersResponseValidationError) Key() bool
- func (e ListProvidersResponseValidationError) Reason() string
- type ListReceiversResponse
- func (*ListReceiversResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListReceiversResponse) GetReceivers() []*Receiver
- func (*ListReceiversResponse) ProtoMessage()
- func (x *ListReceiversResponse) ProtoReflect() protoreflect.Message
- func (x *ListReceiversResponse) Reset()
- func (x *ListReceiversResponse) String() string
- func (m *ListReceiversResponse) Validate() error
- func (m *ListReceiversResponse) ValidateAll() error
- type ListReceiversResponseMultiError
- type ListReceiversResponseValidationError
- func (e ListReceiversResponseValidationError) Cause() error
- func (e ListReceiversResponseValidationError) Error() string
- func (e ListReceiversResponseValidationError) ErrorName() string
- func (e ListReceiversResponseValidationError) Field() string
- func (e ListReceiversResponseValidationError) Key() bool
- func (e ListReceiversResponseValidationError) Reason() string
- type ListRulesRequest
- func (*ListRulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRulesRequest) GetGroupName() string
- func (x *ListRulesRequest) GetName() string
- func (x *ListRulesRequest) GetNamespace() string
- func (x *ListRulesRequest) GetProviderNamespace() uint64
- func (x *ListRulesRequest) GetTemplate() string
- func (*ListRulesRequest) ProtoMessage()
- func (x *ListRulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRulesRequest) Reset()
- func (x *ListRulesRequest) String() string
- func (m *ListRulesRequest) Validate() error
- func (m *ListRulesRequest) ValidateAll() error
- type ListRulesRequestMultiError
- type ListRulesRequestValidationError
- func (e ListRulesRequestValidationError) Cause() error
- func (e ListRulesRequestValidationError) Error() string
- func (e ListRulesRequestValidationError) ErrorName() string
- func (e ListRulesRequestValidationError) Field() string
- func (e ListRulesRequestValidationError) Key() bool
- func (e ListRulesRequestValidationError) Reason() string
- type ListRulesResponse
- func (*ListRulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRulesResponse) GetRules() []*Rule
- func (*ListRulesResponse) ProtoMessage()
- func (x *ListRulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRulesResponse) Reset()
- func (x *ListRulesResponse) String() string
- func (m *ListRulesResponse) Validate() error
- func (m *ListRulesResponse) ValidateAll() error
- type ListRulesResponseMultiError
- type ListRulesResponseValidationError
- func (e ListRulesResponseValidationError) Cause() error
- func (e ListRulesResponseValidationError) Error() string
- func (e ListRulesResponseValidationError) ErrorName() string
- func (e ListRulesResponseValidationError) Field() string
- func (e ListRulesResponseValidationError) Key() bool
- func (e ListRulesResponseValidationError) Reason() string
- type ListSubscriptionsResponse
- func (*ListSubscriptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSubscriptionsResponse) GetSubscriptions() []*Subscription
- func (*ListSubscriptionsResponse) ProtoMessage()
- func (x *ListSubscriptionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSubscriptionsResponse) Reset()
- func (x *ListSubscriptionsResponse) String() string
- func (m *ListSubscriptionsResponse) Validate() error
- func (m *ListSubscriptionsResponse) ValidateAll() error
- type ListSubscriptionsResponseMultiError
- type ListSubscriptionsResponseValidationError
- func (e ListSubscriptionsResponseValidationError) Cause() error
- func (e ListSubscriptionsResponseValidationError) Error() string
- func (e ListSubscriptionsResponseValidationError) ErrorName() string
- func (e ListSubscriptionsResponseValidationError) Field() string
- func (e ListSubscriptionsResponseValidationError) Key() bool
- func (e ListSubscriptionsResponseValidationError) Reason() string
- type ListTemplatesRequest
- func (*ListTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatesRequest) GetTag() string
- func (*ListTemplatesRequest) ProtoMessage()
- func (x *ListTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListTemplatesRequest) Reset()
- func (x *ListTemplatesRequest) String() string
- func (m *ListTemplatesRequest) Validate() error
- func (m *ListTemplatesRequest) ValidateAll() error
- type ListTemplatesRequestMultiError
- type ListTemplatesRequestValidationError
- func (e ListTemplatesRequestValidationError) Cause() error
- func (e ListTemplatesRequestValidationError) Error() string
- func (e ListTemplatesRequestValidationError) ErrorName() string
- func (e ListTemplatesRequestValidationError) Field() string
- func (e ListTemplatesRequestValidationError) Key() bool
- func (e ListTemplatesRequestValidationError) Reason() string
- type ListTemplatesResponse
- func (*ListTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatesResponse) GetTemplates() []*Template
- func (*ListTemplatesResponse) ProtoMessage()
- func (x *ListTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListTemplatesResponse) Reset()
- func (x *ListTemplatesResponse) String() string
- func (m *ListTemplatesResponse) Validate() error
- func (m *ListTemplatesResponse) ValidateAll() error
- type ListTemplatesResponseMultiError
- type ListTemplatesResponseValidationError
- func (e ListTemplatesResponseValidationError) Cause() error
- func (e ListTemplatesResponseValidationError) Error() string
- func (e ListTemplatesResponseValidationError) ErrorName() string
- func (e ListTemplatesResponseValidationError) Field() string
- func (e ListTemplatesResponseValidationError) Key() bool
- func (e ListTemplatesResponseValidationError) Reason() string
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetCreatedAt() *timestamppb.Timestamp
- func (x *Namespace) GetCredentials() *structpb.Struct
- func (x *Namespace) GetId() uint64
- func (x *Namespace) GetLabels() map[string]string
- func (x *Namespace) GetName() string
- func (x *Namespace) GetProvider() uint64
- func (x *Namespace) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Namespace) GetUrn() string
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- func (m *Namespace) Validate() error
- func (m *Namespace) ValidateAll() error
- type NamespaceMultiError
- type NamespaceValidationError
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)deprecated
- func (*PingRequest) ProtoMessage()
- func (x *PingRequest) ProtoReflect() protoreflect.Message
- func (x *PingRequest) Reset()
- func (x *PingRequest) String() string
- func (m *PingRequest) Validate() error
- func (m *PingRequest) ValidateAll() error
- type PingRequestMultiError
- type PingRequestValidationError
- func (e PingRequestValidationError) Cause() error
- func (e PingRequestValidationError) Error() string
- func (e PingRequestValidationError) ErrorName() string
- func (e PingRequestValidationError) Field() string
- func (e PingRequestValidationError) Key() bool
- func (e PingRequestValidationError) Reason() string
- type PingResponse
- func (*PingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PingResponse) GetMessage() string
- func (*PingResponse) ProtoMessage()
- func (x *PingResponse) ProtoReflect() protoreflect.Message
- func (x *PingResponse) Reset()
- func (x *PingResponse) String() string
- func (m *PingResponse) Validate() error
- func (m *PingResponse) ValidateAll() error
- type PingResponseMultiError
- type PingResponseValidationError
- func (e PingResponseValidationError) Cause() error
- func (e PingResponseValidationError) Error() string
- func (e PingResponseValidationError) ErrorName() string
- func (e PingResponseValidationError) Field() string
- func (e PingResponseValidationError) Key() bool
- func (e PingResponseValidationError) Reason() string
- type Provider
- func (*Provider) Descriptor() ([]byte, []int)deprecated
- func (x *Provider) GetCreatedAt() *timestamppb.Timestamp
- func (x *Provider) GetCredentials() *structpb.Struct
- func (x *Provider) GetHost() string
- func (x *Provider) GetId() uint64
- func (x *Provider) GetLabels() map[string]string
- func (x *Provider) GetName() string
- func (x *Provider) GetType() string
- func (x *Provider) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Provider) GetUrn() string
- func (*Provider) ProtoMessage()
- func (x *Provider) ProtoReflect() protoreflect.Message
- func (x *Provider) Reset()
- func (x *Provider) String() string
- func (m *Provider) Validate() error
- func (m *Provider) ValidateAll() error
- type ProviderMultiError
- type ProviderValidationError
- type Receiver
- func (*Receiver) Descriptor() ([]byte, []int)deprecated
- func (x *Receiver) GetConfigurations() *structpb.Struct
- func (x *Receiver) GetCreatedAt() *timestamppb.Timestamp
- func (x *Receiver) GetData() *structpb.Struct
- func (x *Receiver) GetId() uint64
- func (x *Receiver) GetLabels() map[string]string
- func (x *Receiver) GetName() string
- func (x *Receiver) GetType() string
- func (x *Receiver) GetUpdatedAt() *timestamppb.Timestamp
- func (*Receiver) ProtoMessage()
- func (x *Receiver) ProtoReflect() protoreflect.Message
- func (x *Receiver) Reset()
- func (x *Receiver) String() string
- func (m *Receiver) Validate() error
- func (m *Receiver) ValidateAll() error
- type ReceiverMetadata
- func (*ReceiverMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiverMetadata) GetConfiguration() map[string]string
- func (x *ReceiverMetadata) GetId() uint64
- func (*ReceiverMetadata) ProtoMessage()
- func (x *ReceiverMetadata) ProtoReflect() protoreflect.Message
- func (x *ReceiverMetadata) Reset()
- func (x *ReceiverMetadata) String() string
- func (m *ReceiverMetadata) Validate() error
- func (m *ReceiverMetadata) ValidateAll() error
- type ReceiverMetadataMultiError
- type ReceiverMetadataValidationError
- func (e ReceiverMetadataValidationError) Cause() error
- func (e ReceiverMetadataValidationError) Error() string
- func (e ReceiverMetadataValidationError) ErrorName() string
- func (e ReceiverMetadataValidationError) Field() string
- func (e ReceiverMetadataValidationError) Key() bool
- func (e ReceiverMetadataValidationError) Reason() string
- type ReceiverMultiError
- type ReceiverValidationError
- type RenderTemplateRequest
- func (*RenderTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenderTemplateRequest) GetName() string
- func (x *RenderTemplateRequest) GetVariables() map[string]string
- func (*RenderTemplateRequest) ProtoMessage()
- func (x *RenderTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *RenderTemplateRequest) Reset()
- func (x *RenderTemplateRequest) String() string
- func (m *RenderTemplateRequest) Validate() error
- func (m *RenderTemplateRequest) ValidateAll() error
- type RenderTemplateRequestMultiError
- type RenderTemplateRequestValidationError
- func (e RenderTemplateRequestValidationError) Cause() error
- func (e RenderTemplateRequestValidationError) Error() string
- func (e RenderTemplateRequestValidationError) ErrorName() string
- func (e RenderTemplateRequestValidationError) Field() string
- func (e RenderTemplateRequestValidationError) Key() bool
- func (e RenderTemplateRequestValidationError) Reason() string
- type RenderTemplateResponse
- func (*RenderTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenderTemplateResponse) GetBody() string
- func (*RenderTemplateResponse) ProtoMessage()
- func (x *RenderTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *RenderTemplateResponse) Reset()
- func (x *RenderTemplateResponse) String() string
- func (m *RenderTemplateResponse) Validate() error
- func (m *RenderTemplateResponse) ValidateAll() error
- type RenderTemplateResponseMultiError
- type RenderTemplateResponseValidationError
- func (e RenderTemplateResponseValidationError) Cause() error
- func (e RenderTemplateResponseValidationError) Error() string
- func (e RenderTemplateResponseValidationError) ErrorName() string
- func (e RenderTemplateResponseValidationError) Field() string
- func (e RenderTemplateResponseValidationError) Key() bool
- func (e RenderTemplateResponseValidationError) Reason() string
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule) GetCreatedAt() *timestamppb.Timestamp
- func (x *Rule) GetEnabled() bool
- func (x *Rule) GetGroupName() string
- func (x *Rule) GetId() uint64
- func (x *Rule) GetName() string
- func (x *Rule) GetNamespace() string
- func (x *Rule) GetProviderNamespace() uint64
- func (x *Rule) GetTemplate() string
- func (x *Rule) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Rule) GetVariables() []*Variables
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (x *Rule) String() string
- func (m *Rule) Validate() error
- func (m *Rule) ValidateAll() error
- type RuleMultiError
- type RuleValidationError
- type SendReceiverNotificationRequest
- func (*SendReceiverNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (m *SendReceiverNotificationRequest) GetData() isSendReceiverNotificationRequest_Data
- func (x *SendReceiverNotificationRequest) GetId() uint64
- func (x *SendReceiverNotificationRequest) GetSlack() *SendReceiverNotificationRequest_SlackPayload
- func (*SendReceiverNotificationRequest) ProtoMessage()
- func (x *SendReceiverNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *SendReceiverNotificationRequest) Reset()
- func (x *SendReceiverNotificationRequest) String() string
- func (m *SendReceiverNotificationRequest) Validate() error
- func (m *SendReceiverNotificationRequest) ValidateAll() error
- type SendReceiverNotificationRequestMultiError
- type SendReceiverNotificationRequestValidationError
- func (e SendReceiverNotificationRequestValidationError) Cause() error
- func (e SendReceiverNotificationRequestValidationError) Error() string
- func (e SendReceiverNotificationRequestValidationError) ErrorName() string
- func (e SendReceiverNotificationRequestValidationError) Field() string
- func (e SendReceiverNotificationRequestValidationError) Key() bool
- func (e SendReceiverNotificationRequestValidationError) Reason() string
- type SendReceiverNotificationRequest_Slack
- type SendReceiverNotificationRequest_SlackPayload
- func (*SendReceiverNotificationRequest_SlackPayload) Descriptor() ([]byte, []int)deprecated
- func (x *SendReceiverNotificationRequest_SlackPayload) GetBlocks() []*structpb.Struct
- func (x *SendReceiverNotificationRequest_SlackPayload) GetMessage() string
- func (x *SendReceiverNotificationRequest_SlackPayload) GetReceiverName() string
- func (x *SendReceiverNotificationRequest_SlackPayload) GetReceiverType() string
- func (*SendReceiverNotificationRequest_SlackPayload) ProtoMessage()
- func (x *SendReceiverNotificationRequest_SlackPayload) ProtoReflect() protoreflect.Message
- func (x *SendReceiverNotificationRequest_SlackPayload) Reset()
- func (x *SendReceiverNotificationRequest_SlackPayload) String() string
- func (m *SendReceiverNotificationRequest_SlackPayload) Validate() error
- func (m *SendReceiverNotificationRequest_SlackPayload) ValidateAll() error
- type SendReceiverNotificationRequest_SlackPayloadMultiError
- type SendReceiverNotificationRequest_SlackPayloadValidationError
- func (e SendReceiverNotificationRequest_SlackPayloadValidationError) Cause() error
- func (e SendReceiverNotificationRequest_SlackPayloadValidationError) Error() string
- func (e SendReceiverNotificationRequest_SlackPayloadValidationError) ErrorName() string
- func (e SendReceiverNotificationRequest_SlackPayloadValidationError) Field() string
- func (e SendReceiverNotificationRequest_SlackPayloadValidationError) Key() bool
- func (e SendReceiverNotificationRequest_SlackPayloadValidationError) Reason() string
- type SendReceiverNotificationResponse
- func (*SendReceiverNotificationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendReceiverNotificationResponse) GetOk() bool
- func (*SendReceiverNotificationResponse) ProtoMessage()
- func (x *SendReceiverNotificationResponse) ProtoReflect() protoreflect.Message
- func (x *SendReceiverNotificationResponse) Reset()
- func (x *SendReceiverNotificationResponse) String() string
- func (m *SendReceiverNotificationResponse) Validate() error
- func (m *SendReceiverNotificationResponse) ValidateAll() error
- type SendReceiverNotificationResponseMultiError
- type SendReceiverNotificationResponseValidationError
- func (e SendReceiverNotificationResponseValidationError) Cause() error
- func (e SendReceiverNotificationResponseValidationError) Error() string
- func (e SendReceiverNotificationResponseValidationError) ErrorName() string
- func (e SendReceiverNotificationResponseValidationError) Field() string
- func (e SendReceiverNotificationResponseValidationError) Key() bool
- func (e SendReceiverNotificationResponseValidationError) Reason() string
- type SirenServiceClient
- type SirenServiceServer
- type Subscription
- func (*Subscription) Descriptor() ([]byte, []int)deprecated
- func (x *Subscription) GetCreatedAt() *timestamppb.Timestamp
- func (x *Subscription) GetId() uint64
- func (x *Subscription) GetMatch() map[string]string
- func (x *Subscription) GetNamespace() uint64
- func (x *Subscription) GetReceivers() []*ReceiverMetadata
- func (x *Subscription) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Subscription) GetUrn() string
- func (*Subscription) ProtoMessage()
- func (x *Subscription) ProtoReflect() protoreflect.Message
- func (x *Subscription) Reset()
- func (x *Subscription) String() string
- func (m *Subscription) Validate() error
- func (m *Subscription) ValidateAll() error
- type SubscriptionMultiError
- type SubscriptionValidationError
- func (e SubscriptionValidationError) Cause() error
- func (e SubscriptionValidationError) Error() string
- func (e SubscriptionValidationError) ErrorName() string
- func (e SubscriptionValidationError) Field() string
- func (e SubscriptionValidationError) Key() bool
- func (e SubscriptionValidationError) Reason() string
- type Template
- func (*Template) Descriptor() ([]byte, []int)deprecated
- func (x *Template) GetBody() string
- func (x *Template) GetCreatedAt() *timestamppb.Timestamp
- func (x *Template) GetId() uint64
- func (x *Template) GetName() string
- func (x *Template) GetTags() []string
- func (x *Template) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Template) GetVariables() []*TemplateVariables
- func (*Template) ProtoMessage()
- func (x *Template) ProtoReflect() protoreflect.Message
- func (x *Template) Reset()
- func (x *Template) String() string
- func (m *Template) Validate() error
- func (m *Template) ValidateAll() error
- type TemplateMultiError
- type TemplateResponse
- func (*TemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateResponse) GetTemplate() *Template
- func (*TemplateResponse) ProtoMessage()
- func (x *TemplateResponse) ProtoReflect() protoreflect.Message
- func (x *TemplateResponse) Reset()
- func (x *TemplateResponse) String() string
- func (m *TemplateResponse) Validate() error
- func (m *TemplateResponse) ValidateAll() error
- type TemplateResponseMultiError
- type TemplateResponseValidationError
- func (e TemplateResponseValidationError) Cause() error
- func (e TemplateResponseValidationError) Error() string
- func (e TemplateResponseValidationError) ErrorName() string
- func (e TemplateResponseValidationError) Field() string
- func (e TemplateResponseValidationError) Key() bool
- func (e TemplateResponseValidationError) Reason() string
- type TemplateValidationError
- type TemplateVariables
- func (*TemplateVariables) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateVariables) GetDefault() string
- func (x *TemplateVariables) GetDescription() string
- func (x *TemplateVariables) GetName() string
- func (x *TemplateVariables) GetType() string
- func (*TemplateVariables) ProtoMessage()
- func (x *TemplateVariables) ProtoReflect() protoreflect.Message
- func (x *TemplateVariables) Reset()
- func (x *TemplateVariables) String() string
- func (m *TemplateVariables) Validate() error
- func (m *TemplateVariables) ValidateAll() error
- type TemplateVariablesMultiError
- type TemplateVariablesValidationError
- func (e TemplateVariablesValidationError) Cause() error
- func (e TemplateVariablesValidationError) Error() string
- func (e TemplateVariablesValidationError) ErrorName() string
- func (e TemplateVariablesValidationError) Field() string
- func (e TemplateVariablesValidationError) Key() bool
- func (e TemplateVariablesValidationError) Reason() string
- type Types
- type UnimplementedSirenServiceServer
- func (UnimplementedSirenServiceServer) CreateCortexAlerts(context.Context, *CreateCortexAlertsRequest) (*Alerts, error)
- func (UnimplementedSirenServiceServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error)
- func (UnimplementedSirenServiceServer) CreateProvider(context.Context, *CreateProviderRequest) (*Provider, error)
- func (UnimplementedSirenServiceServer) CreateReceiver(context.Context, *CreateReceiverRequest) (*Receiver, error)
- func (UnimplementedSirenServiceServer) CreateSubscription(context.Context, *CreateSubscriptionRequest) (*Subscription, error)
- func (UnimplementedSirenServiceServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error)
- func (UnimplementedSirenServiceServer) DeleteProvider(context.Context, *DeleteProviderRequest) (*emptypb.Empty, error)
- func (UnimplementedSirenServiceServer) DeleteReceiver(context.Context, *DeleteReceiverRequest) (*emptypb.Empty, error)
- func (UnimplementedSirenServiceServer) DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*emptypb.Empty, error)
- func (UnimplementedSirenServiceServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
- func (UnimplementedSirenServiceServer) GetNamespace(context.Context, *GetNamespaceRequest) (*Namespace, error)
- func (UnimplementedSirenServiceServer) GetProvider(context.Context, *GetProviderRequest) (*Provider, error)
- func (UnimplementedSirenServiceServer) GetReceiver(context.Context, *GetReceiverRequest) (*Receiver, error)
- func (UnimplementedSirenServiceServer) GetSubscription(context.Context, *GetSubscriptionRequest) (*Subscription, error)
- func (UnimplementedSirenServiceServer) GetTemplateByName(context.Context, *GetTemplateByNameRequest) (*TemplateResponse, error)
- func (UnimplementedSirenServiceServer) ListAlerts(context.Context, *ListAlertsRequest) (*Alerts, error)
- func (UnimplementedSirenServiceServer) ListNamespaces(context.Context, *emptypb.Empty) (*ListNamespacesResponse, error)
- func (UnimplementedSirenServiceServer) ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error)
- func (UnimplementedSirenServiceServer) ListReceivers(context.Context, *emptypb.Empty) (*ListReceiversResponse, error)
- func (UnimplementedSirenServiceServer) ListRules(context.Context, *ListRulesRequest) (*ListRulesResponse, error)
- func (UnimplementedSirenServiceServer) ListSubscriptions(context.Context, *emptypb.Empty) (*ListSubscriptionsResponse, error)
- func (UnimplementedSirenServiceServer) ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error)
- func (UnimplementedSirenServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedSirenServiceServer) RenderTemplate(context.Context, *RenderTemplateRequest) (*RenderTemplateResponse, error)
- func (UnimplementedSirenServiceServer) SendReceiverNotification(context.Context, *SendReceiverNotificationRequest) (*SendReceiverNotificationResponse, error)
- func (UnimplementedSirenServiceServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error)
- func (UnimplementedSirenServiceServer) UpdateProvider(context.Context, *UpdateProviderRequest) (*Provider, error)
- func (UnimplementedSirenServiceServer) UpdateReceiver(context.Context, *UpdateReceiverRequest) (*Receiver, error)
- func (UnimplementedSirenServiceServer) UpdateRule(context.Context, *UpdateRuleRequest) (*UpdateRuleResponse, error)
- func (UnimplementedSirenServiceServer) UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*Subscription, error)
- func (UnimplementedSirenServiceServer) UpsertTemplate(context.Context, *UpsertTemplateRequest) (*TemplateResponse, error)
- type UnsafeSirenServiceServer
- type UpdateNamespaceRequest
- func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNamespaceRequest) GetCredentials() *structpb.Struct
- func (x *UpdateNamespaceRequest) GetId() uint64
- func (x *UpdateNamespaceRequest) GetLabels() map[string]string
- func (x *UpdateNamespaceRequest) GetName() string
- func (x *UpdateNamespaceRequest) GetProvider() uint64
- func (*UpdateNamespaceRequest) ProtoMessage()
- func (x *UpdateNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNamespaceRequest) Reset()
- func (x *UpdateNamespaceRequest) String() string
- func (m *UpdateNamespaceRequest) Validate() error
- func (m *UpdateNamespaceRequest) ValidateAll() error
- type UpdateNamespaceRequestMultiError
- type UpdateNamespaceRequestValidationError
- func (e UpdateNamespaceRequestValidationError) Cause() error
- func (e UpdateNamespaceRequestValidationError) Error() string
- func (e UpdateNamespaceRequestValidationError) ErrorName() string
- func (e UpdateNamespaceRequestValidationError) Field() string
- func (e UpdateNamespaceRequestValidationError) Key() bool
- func (e UpdateNamespaceRequestValidationError) Reason() string
- type UpdateProviderRequest
- func (*UpdateProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProviderRequest) GetCredentials() *structpb.Struct
- func (x *UpdateProviderRequest) GetHost() string
- func (x *UpdateProviderRequest) GetId() uint64
- func (x *UpdateProviderRequest) GetLabels() map[string]string
- func (x *UpdateProviderRequest) GetName() string
- func (x *UpdateProviderRequest) GetType() string
- func (*UpdateProviderRequest) ProtoMessage()
- func (x *UpdateProviderRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProviderRequest) Reset()
- func (x *UpdateProviderRequest) String() string
- func (m *UpdateProviderRequest) Validate() error
- func (m *UpdateProviderRequest) ValidateAll() error
- type UpdateProviderRequestMultiError
- type UpdateProviderRequestValidationError
- func (e UpdateProviderRequestValidationError) Cause() error
- func (e UpdateProviderRequestValidationError) Error() string
- func (e UpdateProviderRequestValidationError) ErrorName() string
- func (e UpdateProviderRequestValidationError) Field() string
- func (e UpdateProviderRequestValidationError) Key() bool
- func (e UpdateProviderRequestValidationError) Reason() string
- type UpdateReceiverRequest
- func (*UpdateReceiverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateReceiverRequest) GetConfigurations() *structpb.Struct
- func (x *UpdateReceiverRequest) GetId() uint64
- func (x *UpdateReceiverRequest) GetLabels() map[string]string
- func (x *UpdateReceiverRequest) GetName() string
- func (x *UpdateReceiverRequest) GetType() string
- func (*UpdateReceiverRequest) ProtoMessage()
- func (x *UpdateReceiverRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateReceiverRequest) Reset()
- func (x *UpdateReceiverRequest) String() string
- func (m *UpdateReceiverRequest) Validate() error
- func (m *UpdateReceiverRequest) ValidateAll() error
- type UpdateReceiverRequestMultiError
- type UpdateReceiverRequestValidationError
- func (e UpdateReceiverRequestValidationError) Cause() error
- func (e UpdateReceiverRequestValidationError) Error() string
- func (e UpdateReceiverRequestValidationError) ErrorName() string
- func (e UpdateReceiverRequestValidationError) Field() string
- func (e UpdateReceiverRequestValidationError) Key() bool
- func (e UpdateReceiverRequestValidationError) Reason() string
- type UpdateRuleRequest
- func (*UpdateRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRuleRequest) GetEnabled() bool
- func (x *UpdateRuleRequest) GetGroupName() string
- func (x *UpdateRuleRequest) GetNamespace() string
- func (x *UpdateRuleRequest) GetProviderNamespace() uint64
- func (x *UpdateRuleRequest) GetTemplate() string
- func (x *UpdateRuleRequest) GetVariables() []*Variables
- func (*UpdateRuleRequest) ProtoMessage()
- func (x *UpdateRuleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRuleRequest) Reset()
- func (x *UpdateRuleRequest) String() string
- func (m *UpdateRuleRequest) Validate() error
- func (m *UpdateRuleRequest) ValidateAll() error
- type UpdateRuleRequestMultiError
- type UpdateRuleRequestValidationError
- func (e UpdateRuleRequestValidationError) Cause() error
- func (e UpdateRuleRequestValidationError) Error() string
- func (e UpdateRuleRequestValidationError) ErrorName() string
- func (e UpdateRuleRequestValidationError) Field() string
- func (e UpdateRuleRequestValidationError) Key() bool
- func (e UpdateRuleRequestValidationError) Reason() string
- type UpdateRuleResponse
- func (*UpdateRuleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRuleResponse) GetRule() *Rule
- func (*UpdateRuleResponse) ProtoMessage()
- func (x *UpdateRuleResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRuleResponse) Reset()
- func (x *UpdateRuleResponse) String() string
- func (m *UpdateRuleResponse) Validate() error
- func (m *UpdateRuleResponse) ValidateAll() error
- type UpdateRuleResponseMultiError
- type UpdateRuleResponseValidationError
- func (e UpdateRuleResponseValidationError) Cause() error
- func (e UpdateRuleResponseValidationError) Error() string
- func (e UpdateRuleResponseValidationError) ErrorName() string
- func (e UpdateRuleResponseValidationError) Field() string
- func (e UpdateRuleResponseValidationError) Key() bool
- func (e UpdateRuleResponseValidationError) Reason() string
- type UpdateSubscriptionRequest
- func (*UpdateSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubscriptionRequest) GetId() uint64
- func (x *UpdateSubscriptionRequest) GetMatch() map[string]string
- func (x *UpdateSubscriptionRequest) GetNamespace() uint64
- func (x *UpdateSubscriptionRequest) GetReceivers() []*ReceiverMetadata
- func (x *UpdateSubscriptionRequest) GetUrn() string
- func (*UpdateSubscriptionRequest) ProtoMessage()
- func (x *UpdateSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSubscriptionRequest) Reset()
- func (x *UpdateSubscriptionRequest) String() string
- func (m *UpdateSubscriptionRequest) Validate() error
- func (m *UpdateSubscriptionRequest) ValidateAll() error
- type UpdateSubscriptionRequestMultiError
- type UpdateSubscriptionRequestValidationError
- func (e UpdateSubscriptionRequestValidationError) Cause() error
- func (e UpdateSubscriptionRequestValidationError) Error() string
- func (e UpdateSubscriptionRequestValidationError) ErrorName() string
- func (e UpdateSubscriptionRequestValidationError) Field() string
- func (e UpdateSubscriptionRequestValidationError) Key() bool
- func (e UpdateSubscriptionRequestValidationError) Reason() string
- type UpsertTemplateRequest
- func (*UpsertTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertTemplateRequest) GetBody() string
- func (x *UpsertTemplateRequest) GetId() uint64
- func (x *UpsertTemplateRequest) GetName() string
- func (x *UpsertTemplateRequest) GetTags() []string
- func (x *UpsertTemplateRequest) GetVariables() []*TemplateVariables
- func (*UpsertTemplateRequest) ProtoMessage()
- func (x *UpsertTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertTemplateRequest) Reset()
- func (x *UpsertTemplateRequest) String() string
- func (m *UpsertTemplateRequest) Validate() error
- func (m *UpsertTemplateRequest) ValidateAll() error
- type UpsertTemplateRequestMultiError
- type UpsertTemplateRequestValidationError
- func (e UpsertTemplateRequestValidationError) Cause() error
- func (e UpsertTemplateRequestValidationError) Error() string
- func (e UpsertTemplateRequestValidationError) ErrorName() string
- func (e UpsertTemplateRequestValidationError) Field() string
- func (e UpsertTemplateRequestValidationError) Key() bool
- func (e UpsertTemplateRequestValidationError) Reason() string
- type Variables
- func (*Variables) Descriptor() ([]byte, []int)deprecated
- func (x *Variables) GetDescription() string
- func (x *Variables) GetName() string
- func (x *Variables) GetType() string
- func (x *Variables) GetValue() string
- func (*Variables) ProtoMessage()
- func (x *Variables) ProtoReflect() protoreflect.Message
- func (x *Variables) Reset()
- func (x *Variables) String() string
- func (m *Variables) Validate() error
- func (m *Variables) ValidateAll() error
- type VariablesMultiError
- type VariablesValidationError
Constants ¶
This section is empty.
Variables ¶
var ( Types_name = map[int32]string{ 0: "CORTEX", } Types_value = map[string]int32{ "CORTEX": 0, } )
Enum value maps for Types.
var File_odpf_siren_v1beta1_siren_proto protoreflect.FileDescriptor
var SirenService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "odpf.siren.v1beta1.SirenService", HandlerType: (*SirenServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _SirenService_Ping_Handler, }, { MethodName: "ListProviders", Handler: _SirenService_ListProviders_Handler, }, { MethodName: "CreateProvider", Handler: _SirenService_CreateProvider_Handler, }, { MethodName: "GetProvider", Handler: _SirenService_GetProvider_Handler, }, { MethodName: "UpdateProvider", Handler: _SirenService_UpdateProvider_Handler, }, { MethodName: "DeleteProvider", Handler: _SirenService_DeleteProvider_Handler, }, { MethodName: "SendReceiverNotification", Handler: _SirenService_SendReceiverNotification_Handler, }, { MethodName: "ListNamespaces", Handler: _SirenService_ListNamespaces_Handler, }, { MethodName: "CreateNamespace", Handler: _SirenService_CreateNamespace_Handler, }, { MethodName: "GetNamespace", Handler: _SirenService_GetNamespace_Handler, }, { MethodName: "UpdateNamespace", Handler: _SirenService_UpdateNamespace_Handler, }, { MethodName: "DeleteNamespace", Handler: _SirenService_DeleteNamespace_Handler, }, { MethodName: "ListSubscriptions", Handler: _SirenService_ListSubscriptions_Handler, }, { MethodName: "CreateSubscription", Handler: _SirenService_CreateSubscription_Handler, }, { MethodName: "GetSubscription", Handler: _SirenService_GetSubscription_Handler, }, { MethodName: "UpdateSubscription", Handler: _SirenService_UpdateSubscription_Handler, }, { MethodName: "DeleteSubscription", Handler: _SirenService_DeleteSubscription_Handler, }, { MethodName: "ListReceivers", Handler: _SirenService_ListReceivers_Handler, }, { MethodName: "CreateReceiver", Handler: _SirenService_CreateReceiver_Handler, }, { MethodName: "GetReceiver", Handler: _SirenService_GetReceiver_Handler, }, { MethodName: "UpdateReceiver", Handler: _SirenService_UpdateReceiver_Handler, }, { MethodName: "DeleteReceiver", Handler: _SirenService_DeleteReceiver_Handler, }, { MethodName: "ListAlerts", Handler: _SirenService_ListAlerts_Handler, }, { MethodName: "CreateCortexAlerts", Handler: _SirenService_CreateCortexAlerts_Handler, }, { MethodName: "ListRules", Handler: _SirenService_ListRules_Handler, }, { MethodName: "UpdateRule", Handler: _SirenService_UpdateRule_Handler, }, { MethodName: "ListTemplates", Handler: _SirenService_ListTemplates_Handler, }, { MethodName: "GetTemplateByName", Handler: _SirenService_GetTemplateByName_Handler, }, { MethodName: "UpsertTemplate", Handler: _SirenService_UpsertTemplate_Handler, }, { MethodName: "DeleteTemplate", Handler: _SirenService_DeleteTemplate_Handler, }, { MethodName: "RenderTemplate", Handler: _SirenService_RenderTemplate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "odpf/siren/v1beta1/siren.proto", }
SirenService_ServiceDesc is the grpc.ServiceDesc for SirenService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSirenServiceHandler ¶
func RegisterSirenServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSirenServiceHandler registers the http handlers for service SirenService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSirenServiceHandlerClient ¶
func RegisterSirenServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SirenServiceClient) error
RegisterSirenServiceHandlerClient registers the http handlers for service SirenService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SirenServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SirenServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SirenServiceClient" to call the correct interceptors.
func RegisterSirenServiceHandlerFromEndpoint ¶
func RegisterSirenServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSirenServiceHandlerFromEndpoint is same as RegisterSirenServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSirenServiceHandlerServer ¶
func RegisterSirenServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SirenServiceServer) error
RegisterSirenServiceHandlerServer registers the http handlers for service SirenService to "mux". UnaryRPC :call SirenServiceServer 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 RegisterSirenServiceHandlerFromEndpoint instead.
func RegisterSirenServiceServer ¶
func RegisterSirenServiceServer(s grpc.ServiceRegistrar, srv SirenServiceServer)
Types ¶
type Alert ¶
type Alert struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ProviderId uint64 `protobuf:"varint,2,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"` ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` MetricName string `protobuf:"bytes,4,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` MetricValue string `protobuf:"bytes,5,opt,name=metric_value,json=metricValue,proto3" json:"metric_value,omitempty"` Severity string `protobuf:"bytes,6,opt,name=severity,proto3" json:"severity,omitempty"` Rule string `protobuf:"bytes,7,opt,name=rule,proto3" json:"rule,omitempty"` TriggeredAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=triggered_at,json=triggeredAt,proto3" json:"triggered_at,omitempty"` // contains filtered or unexported fields }
func (*Alert) Descriptor
deprecated
func (*Alert) GetMetricName ¶
func (*Alert) GetMetricValue ¶
func (*Alert) GetProviderId ¶
func (*Alert) GetResourceName ¶
func (*Alert) GetSeverity ¶
func (*Alert) GetTriggeredAt ¶
func (x *Alert) GetTriggeredAt() *timestamppb.Timestamp
func (*Alert) ProtoMessage ¶
func (*Alert) ProtoMessage()
func (*Alert) ProtoReflect ¶
func (x *Alert) ProtoReflect() protoreflect.Message
func (*Alert) Validate ¶
Validate checks the field values on Alert with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Alert) ValidateAll ¶ added in v0.3.1
ValidateAll checks the field values on Alert with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AlertMultiError, or nil if none found.
type AlertMultiError ¶ added in v0.3.1
type AlertMultiError []error
AlertMultiError is an error wrapping multiple validation errors returned by Alert.ValidateAll() if the designated constraints aren't met.
func (AlertMultiError) AllErrors ¶ added in v0.3.1
func (m AlertMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AlertMultiError) Error ¶ added in v0.3.1
func (m AlertMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AlertValidationError ¶
type AlertValidationError struct {
// contains filtered or unexported fields
}
AlertValidationError is the validation error returned by Alert.Validate if the designated constraints aren't met.
func (AlertValidationError) Cause ¶
func (e AlertValidationError) Cause() error
Cause function returns cause value.
func (AlertValidationError) Error ¶
func (e AlertValidationError) Error() string
Error satisfies the builtin error interface
func (AlertValidationError) ErrorName ¶
func (e AlertValidationError) ErrorName() string
ErrorName returns error name.
func (AlertValidationError) Field ¶
func (e AlertValidationError) Field() string
Field function returns field value.
func (AlertValidationError) Key ¶
func (e AlertValidationError) Key() bool
Key function returns key value.
func (AlertValidationError) Reason ¶
func (e AlertValidationError) Reason() string
Reason function returns reason value.
type Alerts ¶
type Alerts struct { Alerts []*Alert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty"` // contains filtered or unexported fields }
func (*Alerts) Descriptor
deprecated
func (*Alerts) ProtoMessage ¶
func (*Alerts) ProtoMessage()
func (*Alerts) ProtoReflect ¶
func (x *Alerts) ProtoReflect() protoreflect.Message
func (*Alerts) Validate ¶
Validate checks the field values on Alerts with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Alerts) ValidateAll ¶ added in v0.3.1
ValidateAll checks the field values on Alerts with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AlertsMultiError, or nil if none found.
type AlertsMultiError ¶ added in v0.3.1
type AlertsMultiError []error
AlertsMultiError is an error wrapping multiple validation errors returned by Alerts.ValidateAll() if the designated constraints aren't met.
func (AlertsMultiError) AllErrors ¶ added in v0.3.1
func (m AlertsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AlertsMultiError) Error ¶ added in v0.3.1
func (m AlertsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AlertsValidationError ¶
type AlertsValidationError struct {
// contains filtered or unexported fields
}
AlertsValidationError is the validation error returned by Alerts.Validate if the designated constraints aren't met.
func (AlertsValidationError) Cause ¶
func (e AlertsValidationError) Cause() error
Cause function returns cause value.
func (AlertsValidationError) Error ¶
func (e AlertsValidationError) Error() string
Error satisfies the builtin error interface
func (AlertsValidationError) ErrorName ¶
func (e AlertsValidationError) ErrorName() string
ErrorName returns error name.
func (AlertsValidationError) Field ¶
func (e AlertsValidationError) Field() string
Field function returns field value.
func (AlertsValidationError) Key ¶
func (e AlertsValidationError) Key() bool
Key function returns key value.
func (AlertsValidationError) Reason ¶
func (e AlertsValidationError) Reason() string
Reason function returns reason value.
type Annotations ¶
type Annotations struct { MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` MetricValue string `protobuf:"bytes,2,opt,name=metric_value,json=metricValue,proto3" json:"metric_value,omitempty"` Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*Annotations) Descriptor
deprecated
func (*Annotations) Descriptor() ([]byte, []int)
Deprecated: Use Annotations.ProtoReflect.Descriptor instead.
func (*Annotations) GetMetricName ¶
func (x *Annotations) GetMetricName() string
func (*Annotations) GetMetricValue ¶
func (x *Annotations) GetMetricValue() string
func (*Annotations) GetResource ¶
func (x *Annotations) GetResource() string
func (*Annotations) GetTemplate ¶
func (x *Annotations) GetTemplate() string
func (*Annotations) ProtoMessage ¶
func (*Annotations) ProtoMessage()
func (*Annotations) ProtoReflect ¶
func (x *Annotations) ProtoReflect() protoreflect.Message
func (*Annotations) Reset ¶
func (x *Annotations) Reset()
func (*Annotations) String ¶
func (x *Annotations) String() string
func (*Annotations) Validate ¶
func (m *Annotations) Validate() error
Validate checks the field values on Annotations with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Annotations) ValidateAll ¶ added in v0.3.1
func (m *Annotations) ValidateAll() error
ValidateAll checks the field values on Annotations with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnotationsMultiError, or nil if none found.
type AnnotationsMultiError ¶ added in v0.3.1
type AnnotationsMultiError []error
AnnotationsMultiError is an error wrapping multiple validation errors returned by Annotations.ValidateAll() if the designated constraints aren't met.
func (AnnotationsMultiError) AllErrors ¶ added in v0.3.1
func (m AnnotationsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnotationsMultiError) Error ¶ added in v0.3.1
func (m AnnotationsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnotationsValidationError ¶
type AnnotationsValidationError struct {
// contains filtered or unexported fields
}
AnnotationsValidationError is the validation error returned by Annotations.Validate if the designated constraints aren't met.
func (AnnotationsValidationError) Cause ¶
func (e AnnotationsValidationError) Cause() error
Cause function returns cause value.
func (AnnotationsValidationError) Error ¶
func (e AnnotationsValidationError) Error() string
Error satisfies the builtin error interface
func (AnnotationsValidationError) ErrorName ¶
func (e AnnotationsValidationError) ErrorName() string
ErrorName returns error name.
func (AnnotationsValidationError) Field ¶
func (e AnnotationsValidationError) Field() string
Field function returns field value.
func (AnnotationsValidationError) Key ¶
func (e AnnotationsValidationError) Key() bool
Key function returns key value.
func (AnnotationsValidationError) Reason ¶
func (e AnnotationsValidationError) Reason() string
Reason function returns reason value.
type CortexAlert ¶
type CortexAlert struct { Annotations *Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations,omitempty"` Labels *Labels `protobuf:"bytes,2,opt,name=labels,proto3" json:"labels,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` StartsAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=starts_at,json=startsAt,proto3" json:"starts_at,omitempty"` // contains filtered or unexported fields }
func (*CortexAlert) Descriptor
deprecated
func (*CortexAlert) Descriptor() ([]byte, []int)
Deprecated: Use CortexAlert.ProtoReflect.Descriptor instead.
func (*CortexAlert) GetAnnotations ¶
func (x *CortexAlert) GetAnnotations() *Annotations
func (*CortexAlert) GetLabels ¶
func (x *CortexAlert) GetLabels() *Labels
func (*CortexAlert) GetStartsAt ¶
func (x *CortexAlert) GetStartsAt() *timestamppb.Timestamp
func (*CortexAlert) GetStatus ¶
func (x *CortexAlert) GetStatus() string
func (*CortexAlert) ProtoMessage ¶
func (*CortexAlert) ProtoMessage()
func (*CortexAlert) ProtoReflect ¶
func (x *CortexAlert) ProtoReflect() protoreflect.Message
func (*CortexAlert) Reset ¶
func (x *CortexAlert) Reset()
func (*CortexAlert) String ¶
func (x *CortexAlert) String() string
func (*CortexAlert) Validate ¶
func (m *CortexAlert) Validate() error
Validate checks the field values on CortexAlert with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CortexAlert) ValidateAll ¶ added in v0.3.1
func (m *CortexAlert) ValidateAll() error
ValidateAll checks the field values on CortexAlert with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CortexAlertMultiError, or nil if none found.
type CortexAlertMultiError ¶ added in v0.3.1
type CortexAlertMultiError []error
CortexAlertMultiError is an error wrapping multiple validation errors returned by CortexAlert.ValidateAll() if the designated constraints aren't met.
func (CortexAlertMultiError) AllErrors ¶ added in v0.3.1
func (m CortexAlertMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CortexAlertMultiError) Error ¶ added in v0.3.1
func (m CortexAlertMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CortexAlertValidationError ¶
type CortexAlertValidationError struct {
// contains filtered or unexported fields
}
CortexAlertValidationError is the validation error returned by CortexAlert.Validate if the designated constraints aren't met.
func (CortexAlertValidationError) Cause ¶
func (e CortexAlertValidationError) Cause() error
Cause function returns cause value.
func (CortexAlertValidationError) Error ¶
func (e CortexAlertValidationError) Error() string
Error satisfies the builtin error interface
func (CortexAlertValidationError) ErrorName ¶
func (e CortexAlertValidationError) ErrorName() string
ErrorName returns error name.
func (CortexAlertValidationError) Field ¶
func (e CortexAlertValidationError) Field() string
Field function returns field value.
func (CortexAlertValidationError) Key ¶
func (e CortexAlertValidationError) Key() bool
Key function returns key value.
func (CortexAlertValidationError) Reason ¶
func (e CortexAlertValidationError) Reason() string
Reason function returns reason value.
type CreateCortexAlertsRequest ¶
type CreateCortexAlertsRequest struct { ProviderId uint64 `protobuf:"varint,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"` Alerts []*CortexAlert `protobuf:"bytes,2,rep,name=alerts,proto3" json:"alerts,omitempty"` // contains filtered or unexported fields }
func (*CreateCortexAlertsRequest) Descriptor
deprecated
func (*CreateCortexAlertsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCortexAlertsRequest.ProtoReflect.Descriptor instead.
func (*CreateCortexAlertsRequest) GetAlerts ¶
func (x *CreateCortexAlertsRequest) GetAlerts() []*CortexAlert
func (*CreateCortexAlertsRequest) GetProviderId ¶
func (x *CreateCortexAlertsRequest) GetProviderId() uint64
func (*CreateCortexAlertsRequest) ProtoMessage ¶
func (*CreateCortexAlertsRequest) ProtoMessage()
func (*CreateCortexAlertsRequest) ProtoReflect ¶
func (x *CreateCortexAlertsRequest) ProtoReflect() protoreflect.Message
func (*CreateCortexAlertsRequest) Reset ¶
func (x *CreateCortexAlertsRequest) Reset()
func (*CreateCortexAlertsRequest) String ¶
func (x *CreateCortexAlertsRequest) String() string
func (*CreateCortexAlertsRequest) Validate ¶
func (m *CreateCortexAlertsRequest) Validate() error
Validate checks the field values on CreateCortexAlertsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateCortexAlertsRequest) ValidateAll ¶ added in v0.3.1
func (m *CreateCortexAlertsRequest) ValidateAll() error
ValidateAll checks the field values on CreateCortexAlertsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateCortexAlertsRequestMultiError, or nil if none found.
type CreateCortexAlertsRequestMultiError ¶ added in v0.3.1
type CreateCortexAlertsRequestMultiError []error
CreateCortexAlertsRequestMultiError is an error wrapping multiple validation errors returned by CreateCortexAlertsRequest.ValidateAll() if the designated constraints aren't met.
func (CreateCortexAlertsRequestMultiError) AllErrors ¶ added in v0.3.1
func (m CreateCortexAlertsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateCortexAlertsRequestMultiError) Error ¶ added in v0.3.1
func (m CreateCortexAlertsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateCortexAlertsRequestValidationError ¶
type CreateCortexAlertsRequestValidationError struct {
// contains filtered or unexported fields
}
CreateCortexAlertsRequestValidationError is the validation error returned by CreateCortexAlertsRequest.Validate if the designated constraints aren't met.
func (CreateCortexAlertsRequestValidationError) Cause ¶
func (e CreateCortexAlertsRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateCortexAlertsRequestValidationError) Error ¶
func (e CreateCortexAlertsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateCortexAlertsRequestValidationError) ErrorName ¶
func (e CreateCortexAlertsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateCortexAlertsRequestValidationError) Field ¶
func (e CreateCortexAlertsRequestValidationError) Field() string
Field function returns field value.
func (CreateCortexAlertsRequestValidationError) Key ¶
func (e CreateCortexAlertsRequestValidationError) Key() bool
Key function returns key value.
func (CreateCortexAlertsRequestValidationError) Reason ¶
func (e CreateCortexAlertsRequestValidationError) Reason() string
Reason function returns reason value.
type CreateNamespaceRequest ¶
type CreateNamespaceRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` Provider uint64 `protobuf:"varint,3,opt,name=provider,proto3" json:"provider,omitempty"` Credentials *structpb.Struct `protobuf:"bytes,4,opt,name=credentials,proto3" json:"credentials,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*CreateNamespaceRequest) Descriptor
deprecated
func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.
func (*CreateNamespaceRequest) GetCreatedAt ¶
func (x *CreateNamespaceRequest) GetCreatedAt() *timestamppb.Timestamp
func (*CreateNamespaceRequest) GetCredentials ¶
func (x *CreateNamespaceRequest) GetCredentials() *structpb.Struct
func (*CreateNamespaceRequest) GetLabels ¶
func (x *CreateNamespaceRequest) GetLabels() map[string]string
func (*CreateNamespaceRequest) GetName ¶
func (x *CreateNamespaceRequest) GetName() string
func (*CreateNamespaceRequest) GetProvider ¶
func (x *CreateNamespaceRequest) GetProvider() uint64
func (*CreateNamespaceRequest) GetUpdatedAt ¶
func (x *CreateNamespaceRequest) GetUpdatedAt() *timestamppb.Timestamp
func (*CreateNamespaceRequest) GetUrn ¶
func (x *CreateNamespaceRequest) GetUrn() string
func (*CreateNamespaceRequest) ProtoMessage ¶
func (*CreateNamespaceRequest) ProtoMessage()
func (*CreateNamespaceRequest) ProtoReflect ¶
func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
func (*CreateNamespaceRequest) Reset ¶
func (x *CreateNamespaceRequest) Reset()
func (*CreateNamespaceRequest) String ¶
func (x *CreateNamespaceRequest) String() string
func (*CreateNamespaceRequest) Validate ¶
func (m *CreateNamespaceRequest) Validate() error
Validate checks the field values on CreateNamespaceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateNamespaceRequest) ValidateAll ¶ added in v0.3.1
func (m *CreateNamespaceRequest) ValidateAll() error
ValidateAll checks the field values on CreateNamespaceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateNamespaceRequestMultiError, or nil if none found.
type CreateNamespaceRequestMultiError ¶ added in v0.3.1
type CreateNamespaceRequestMultiError []error
CreateNamespaceRequestMultiError is an error wrapping multiple validation errors returned by CreateNamespaceRequest.ValidateAll() if the designated constraints aren't met.
func (CreateNamespaceRequestMultiError) AllErrors ¶ added in v0.3.1
func (m CreateNamespaceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateNamespaceRequestMultiError) Error ¶ added in v0.3.1
func (m CreateNamespaceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateNamespaceRequestValidationError ¶
type CreateNamespaceRequestValidationError struct {
// contains filtered or unexported fields
}
CreateNamespaceRequestValidationError is the validation error returned by CreateNamespaceRequest.Validate if the designated constraints aren't met.
func (CreateNamespaceRequestValidationError) Cause ¶
func (e CreateNamespaceRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateNamespaceRequestValidationError) Error ¶
func (e CreateNamespaceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateNamespaceRequestValidationError) ErrorName ¶
func (e CreateNamespaceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateNamespaceRequestValidationError) Field ¶
func (e CreateNamespaceRequestValidationError) Field() string
Field function returns field value.
func (CreateNamespaceRequestValidationError) Key ¶
func (e CreateNamespaceRequestValidationError) Key() bool
Key function returns key value.
func (CreateNamespaceRequestValidationError) Reason ¶
func (e CreateNamespaceRequestValidationError) Reason() string
Reason function returns reason value.
type CreateProviderRequest ¶
type CreateProviderRequest struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Credentials *structpb.Struct `protobuf:"bytes,5,opt,name=credentials,proto3" json:"credentials,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateProviderRequest) Descriptor
deprecated
func (*CreateProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProviderRequest.ProtoReflect.Descriptor instead.
func (*CreateProviderRequest) GetCredentials ¶
func (x *CreateProviderRequest) GetCredentials() *structpb.Struct
func (*CreateProviderRequest) GetHost ¶
func (x *CreateProviderRequest) GetHost() string
func (*CreateProviderRequest) GetLabels ¶
func (x *CreateProviderRequest) GetLabels() map[string]string
func (*CreateProviderRequest) GetName ¶
func (x *CreateProviderRequest) GetName() string
func (*CreateProviderRequest) GetType ¶
func (x *CreateProviderRequest) GetType() string
func (*CreateProviderRequest) GetUrn ¶
func (x *CreateProviderRequest) GetUrn() string
func (*CreateProviderRequest) ProtoMessage ¶
func (*CreateProviderRequest) ProtoMessage()
func (*CreateProviderRequest) ProtoReflect ¶
func (x *CreateProviderRequest) ProtoReflect() protoreflect.Message
func (*CreateProviderRequest) Reset ¶
func (x *CreateProviderRequest) Reset()
func (*CreateProviderRequest) String ¶
func (x *CreateProviderRequest) String() string
func (*CreateProviderRequest) Validate ¶
func (m *CreateProviderRequest) Validate() error
Validate checks the field values on CreateProviderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateProviderRequest) ValidateAll ¶ added in v0.3.1
func (m *CreateProviderRequest) ValidateAll() error
ValidateAll checks the field values on CreateProviderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateProviderRequestMultiError, or nil if none found.
type CreateProviderRequestMultiError ¶ added in v0.3.1
type CreateProviderRequestMultiError []error
CreateProviderRequestMultiError is an error wrapping multiple validation errors returned by CreateProviderRequest.ValidateAll() if the designated constraints aren't met.
func (CreateProviderRequestMultiError) AllErrors ¶ added in v0.3.1
func (m CreateProviderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateProviderRequestMultiError) Error ¶ added in v0.3.1
func (m CreateProviderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateProviderRequestValidationError ¶
type CreateProviderRequestValidationError struct {
// contains filtered or unexported fields
}
CreateProviderRequestValidationError is the validation error returned by CreateProviderRequest.Validate if the designated constraints aren't met.
func (CreateProviderRequestValidationError) Cause ¶
func (e CreateProviderRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateProviderRequestValidationError) Error ¶
func (e CreateProviderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProviderRequestValidationError) ErrorName ¶
func (e CreateProviderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProviderRequestValidationError) Field ¶
func (e CreateProviderRequestValidationError) Field() string
Field function returns field value.
func (CreateProviderRequestValidationError) Key ¶
func (e CreateProviderRequestValidationError) Key() bool
Key function returns key value.
func (CreateProviderRequestValidationError) Reason ¶
func (e CreateProviderRequestValidationError) Reason() string
Reason function returns reason value.
type CreateReceiverRequest ¶
type CreateReceiverRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ Configurations *structpb.Struct `protobuf:"bytes,4,opt,name=configurations,proto3" json:"configurations,omitempty"` // contains filtered or unexported fields }
func (*CreateReceiverRequest) Descriptor
deprecated
func (*CreateReceiverRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateReceiverRequest.ProtoReflect.Descriptor instead.
func (*CreateReceiverRequest) GetConfigurations ¶
func (x *CreateReceiverRequest) GetConfigurations() *structpb.Struct
func (*CreateReceiverRequest) GetLabels ¶
func (x *CreateReceiverRequest) GetLabels() map[string]string
func (*CreateReceiverRequest) GetName ¶
func (x *CreateReceiverRequest) GetName() string
func (*CreateReceiverRequest) GetType ¶
func (x *CreateReceiverRequest) GetType() string
func (*CreateReceiverRequest) ProtoMessage ¶
func (*CreateReceiverRequest) ProtoMessage()
func (*CreateReceiverRequest) ProtoReflect ¶
func (x *CreateReceiverRequest) ProtoReflect() protoreflect.Message
func (*CreateReceiverRequest) Reset ¶
func (x *CreateReceiverRequest) Reset()
func (*CreateReceiverRequest) String ¶
func (x *CreateReceiverRequest) String() string
func (*CreateReceiverRequest) Validate ¶
func (m *CreateReceiverRequest) Validate() error
Validate checks the field values on CreateReceiverRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateReceiverRequest) ValidateAll ¶ added in v0.3.1
func (m *CreateReceiverRequest) ValidateAll() error
ValidateAll checks the field values on CreateReceiverRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateReceiverRequestMultiError, or nil if none found.
type CreateReceiverRequestMultiError ¶ added in v0.3.1
type CreateReceiverRequestMultiError []error
CreateReceiverRequestMultiError is an error wrapping multiple validation errors returned by CreateReceiverRequest.ValidateAll() if the designated constraints aren't met.
func (CreateReceiverRequestMultiError) AllErrors ¶ added in v0.3.1
func (m CreateReceiverRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateReceiverRequestMultiError) Error ¶ added in v0.3.1
func (m CreateReceiverRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateReceiverRequestValidationError ¶
type CreateReceiverRequestValidationError struct {
// contains filtered or unexported fields
}
CreateReceiverRequestValidationError is the validation error returned by CreateReceiverRequest.Validate if the designated constraints aren't met.
func (CreateReceiverRequestValidationError) Cause ¶
func (e CreateReceiverRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateReceiverRequestValidationError) Error ¶
func (e CreateReceiverRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateReceiverRequestValidationError) ErrorName ¶
func (e CreateReceiverRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateReceiverRequestValidationError) Field ¶
func (e CreateReceiverRequestValidationError) Field() string
Field function returns field value.
func (CreateReceiverRequestValidationError) Key ¶
func (e CreateReceiverRequestValidationError) Key() bool
Key function returns key value.
func (CreateReceiverRequestValidationError) Reason ¶
func (e CreateReceiverRequestValidationError) Reason() string
Reason function returns reason value.
type CreateSubscriptionRequest ¶
type CreateSubscriptionRequest struct { Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` Namespace uint64 `protobuf:"varint,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Receivers []*ReceiverMetadata `protobuf:"bytes,3,rep,name=receivers,proto3" json:"receivers,omitempty"` Match map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateSubscriptionRequest) Descriptor
deprecated
func (*CreateSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*CreateSubscriptionRequest) GetMatch ¶
func (x *CreateSubscriptionRequest) GetMatch() map[string]string
func (*CreateSubscriptionRequest) GetNamespace ¶
func (x *CreateSubscriptionRequest) GetNamespace() uint64
func (*CreateSubscriptionRequest) GetReceivers ¶
func (x *CreateSubscriptionRequest) GetReceivers() []*ReceiverMetadata
func (*CreateSubscriptionRequest) GetUrn ¶
func (x *CreateSubscriptionRequest) GetUrn() string
func (*CreateSubscriptionRequest) ProtoMessage ¶
func (*CreateSubscriptionRequest) ProtoMessage()
func (*CreateSubscriptionRequest) ProtoReflect ¶
func (x *CreateSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*CreateSubscriptionRequest) Reset ¶
func (x *CreateSubscriptionRequest) Reset()
func (*CreateSubscriptionRequest) String ¶
func (x *CreateSubscriptionRequest) String() string
func (*CreateSubscriptionRequest) Validate ¶
func (m *CreateSubscriptionRequest) Validate() error
Validate checks the field values on CreateSubscriptionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateSubscriptionRequest) ValidateAll ¶ added in v0.3.1
func (m *CreateSubscriptionRequest) ValidateAll() error
ValidateAll checks the field values on CreateSubscriptionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateSubscriptionRequestMultiError, or nil if none found.
type CreateSubscriptionRequestMultiError ¶ added in v0.3.1
type CreateSubscriptionRequestMultiError []error
CreateSubscriptionRequestMultiError is an error wrapping multiple validation errors returned by CreateSubscriptionRequest.ValidateAll() if the designated constraints aren't met.
func (CreateSubscriptionRequestMultiError) AllErrors ¶ added in v0.3.1
func (m CreateSubscriptionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateSubscriptionRequestMultiError) Error ¶ added in v0.3.1
func (m CreateSubscriptionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateSubscriptionRequestValidationError ¶
type CreateSubscriptionRequestValidationError struct {
// contains filtered or unexported fields
}
CreateSubscriptionRequestValidationError is the validation error returned by CreateSubscriptionRequest.Validate if the designated constraints aren't met.
func (CreateSubscriptionRequestValidationError) Cause ¶
func (e CreateSubscriptionRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateSubscriptionRequestValidationError) Error ¶
func (e CreateSubscriptionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateSubscriptionRequestValidationError) ErrorName ¶
func (e CreateSubscriptionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateSubscriptionRequestValidationError) Field ¶
func (e CreateSubscriptionRequestValidationError) Field() string
Field function returns field value.
func (CreateSubscriptionRequestValidationError) Key ¶
func (e CreateSubscriptionRequestValidationError) Key() bool
Key function returns key value.
func (CreateSubscriptionRequestValidationError) Reason ¶
func (e CreateSubscriptionRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteNamespaceRequest ¶
type DeleteNamespaceRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteNamespaceRequest) Descriptor
deprecated
func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceRequest) GetId ¶
func (x *DeleteNamespaceRequest) GetId() uint64
func (*DeleteNamespaceRequest) ProtoMessage ¶
func (*DeleteNamespaceRequest) ProtoMessage()
func (*DeleteNamespaceRequest) ProtoReflect ¶
func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceRequest) Reset ¶
func (x *DeleteNamespaceRequest) Reset()
func (*DeleteNamespaceRequest) String ¶
func (x *DeleteNamespaceRequest) String() string
func (*DeleteNamespaceRequest) Validate ¶
func (m *DeleteNamespaceRequest) Validate() error
Validate checks the field values on DeleteNamespaceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteNamespaceRequest) ValidateAll ¶ added in v0.3.1
func (m *DeleteNamespaceRequest) ValidateAll() error
ValidateAll checks the field values on DeleteNamespaceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteNamespaceRequestMultiError, or nil if none found.
type DeleteNamespaceRequestMultiError ¶ added in v0.3.1
type DeleteNamespaceRequestMultiError []error
DeleteNamespaceRequestMultiError is an error wrapping multiple validation errors returned by DeleteNamespaceRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteNamespaceRequestMultiError) AllErrors ¶ added in v0.3.1
func (m DeleteNamespaceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteNamespaceRequestMultiError) Error ¶ added in v0.3.1
func (m DeleteNamespaceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteNamespaceRequestValidationError ¶
type DeleteNamespaceRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteNamespaceRequestValidationError is the validation error returned by DeleteNamespaceRequest.Validate if the designated constraints aren't met.
func (DeleteNamespaceRequestValidationError) Cause ¶
func (e DeleteNamespaceRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteNamespaceRequestValidationError) Error ¶
func (e DeleteNamespaceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteNamespaceRequestValidationError) ErrorName ¶
func (e DeleteNamespaceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteNamespaceRequestValidationError) Field ¶
func (e DeleteNamespaceRequestValidationError) Field() string
Field function returns field value.
func (DeleteNamespaceRequestValidationError) Key ¶
func (e DeleteNamespaceRequestValidationError) Key() bool
Key function returns key value.
func (DeleteNamespaceRequestValidationError) Reason ¶
func (e DeleteNamespaceRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteProviderRequest ¶
type DeleteProviderRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteProviderRequest) Descriptor
deprecated
func (*DeleteProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProviderRequest.ProtoReflect.Descriptor instead.
func (*DeleteProviderRequest) GetId ¶
func (x *DeleteProviderRequest) GetId() uint64
func (*DeleteProviderRequest) ProtoMessage ¶
func (*DeleteProviderRequest) ProtoMessage()
func (*DeleteProviderRequest) ProtoReflect ¶
func (x *DeleteProviderRequest) ProtoReflect() protoreflect.Message
func (*DeleteProviderRequest) Reset ¶
func (x *DeleteProviderRequest) Reset()
func (*DeleteProviderRequest) String ¶
func (x *DeleteProviderRequest) String() string
func (*DeleteProviderRequest) Validate ¶
func (m *DeleteProviderRequest) Validate() error
Validate checks the field values on DeleteProviderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteProviderRequest) ValidateAll ¶ added in v0.3.1
func (m *DeleteProviderRequest) ValidateAll() error
ValidateAll checks the field values on DeleteProviderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteProviderRequestMultiError, or nil if none found.
type DeleteProviderRequestMultiError ¶ added in v0.3.1
type DeleteProviderRequestMultiError []error
DeleteProviderRequestMultiError is an error wrapping multiple validation errors returned by DeleteProviderRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteProviderRequestMultiError) AllErrors ¶ added in v0.3.1
func (m DeleteProviderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteProviderRequestMultiError) Error ¶ added in v0.3.1
func (m DeleteProviderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteProviderRequestValidationError ¶
type DeleteProviderRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteProviderRequestValidationError is the validation error returned by DeleteProviderRequest.Validate if the designated constraints aren't met.
func (DeleteProviderRequestValidationError) Cause ¶
func (e DeleteProviderRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteProviderRequestValidationError) Error ¶
func (e DeleteProviderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProviderRequestValidationError) ErrorName ¶
func (e DeleteProviderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteProviderRequestValidationError) Field ¶
func (e DeleteProviderRequestValidationError) Field() string
Field function returns field value.
func (DeleteProviderRequestValidationError) Key ¶
func (e DeleteProviderRequestValidationError) Key() bool
Key function returns key value.
func (DeleteProviderRequestValidationError) Reason ¶
func (e DeleteProviderRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteReceiverRequest ¶
type DeleteReceiverRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteReceiverRequest) Descriptor
deprecated
func (*DeleteReceiverRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteReceiverRequest.ProtoReflect.Descriptor instead.
func (*DeleteReceiverRequest) GetId ¶
func (x *DeleteReceiverRequest) GetId() uint64
func (*DeleteReceiverRequest) ProtoMessage ¶
func (*DeleteReceiverRequest) ProtoMessage()
func (*DeleteReceiverRequest) ProtoReflect ¶
func (x *DeleteReceiverRequest) ProtoReflect() protoreflect.Message
func (*DeleteReceiverRequest) Reset ¶
func (x *DeleteReceiverRequest) Reset()
func (*DeleteReceiverRequest) String ¶
func (x *DeleteReceiverRequest) String() string
func (*DeleteReceiverRequest) Validate ¶
func (m *DeleteReceiverRequest) Validate() error
Validate checks the field values on DeleteReceiverRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteReceiverRequest) ValidateAll ¶ added in v0.3.1
func (m *DeleteReceiverRequest) ValidateAll() error
ValidateAll checks the field values on DeleteReceiverRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteReceiverRequestMultiError, or nil if none found.
type DeleteReceiverRequestMultiError ¶ added in v0.3.1
type DeleteReceiverRequestMultiError []error
DeleteReceiverRequestMultiError is an error wrapping multiple validation errors returned by DeleteReceiverRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteReceiverRequestMultiError) AllErrors ¶ added in v0.3.1
func (m DeleteReceiverRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteReceiverRequestMultiError) Error ¶ added in v0.3.1
func (m DeleteReceiverRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteReceiverRequestValidationError ¶
type DeleteReceiverRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteReceiverRequestValidationError is the validation error returned by DeleteReceiverRequest.Validate if the designated constraints aren't met.
func (DeleteReceiverRequestValidationError) Cause ¶
func (e DeleteReceiverRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteReceiverRequestValidationError) Error ¶
func (e DeleteReceiverRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteReceiverRequestValidationError) ErrorName ¶
func (e DeleteReceiverRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteReceiverRequestValidationError) Field ¶
func (e DeleteReceiverRequestValidationError) Field() string
Field function returns field value.
func (DeleteReceiverRequestValidationError) Key ¶
func (e DeleteReceiverRequestValidationError) Key() bool
Key function returns key value.
func (DeleteReceiverRequestValidationError) Reason ¶
func (e DeleteReceiverRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteSubscriptionRequest ¶
type DeleteSubscriptionRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSubscriptionRequest) Descriptor
deprecated
func (*DeleteSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*DeleteSubscriptionRequest) GetId ¶
func (x *DeleteSubscriptionRequest) GetId() uint64
func (*DeleteSubscriptionRequest) ProtoMessage ¶
func (*DeleteSubscriptionRequest) ProtoMessage()
func (*DeleteSubscriptionRequest) ProtoReflect ¶
func (x *DeleteSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*DeleteSubscriptionRequest) Reset ¶
func (x *DeleteSubscriptionRequest) Reset()
func (*DeleteSubscriptionRequest) String ¶
func (x *DeleteSubscriptionRequest) String() string
func (*DeleteSubscriptionRequest) Validate ¶
func (m *DeleteSubscriptionRequest) Validate() error
Validate checks the field values on DeleteSubscriptionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteSubscriptionRequest) ValidateAll ¶ added in v0.3.1
func (m *DeleteSubscriptionRequest) ValidateAll() error
ValidateAll checks the field values on DeleteSubscriptionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteSubscriptionRequestMultiError, or nil if none found.
type DeleteSubscriptionRequestMultiError ¶ added in v0.3.1
type DeleteSubscriptionRequestMultiError []error
DeleteSubscriptionRequestMultiError is an error wrapping multiple validation errors returned by DeleteSubscriptionRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteSubscriptionRequestMultiError) AllErrors ¶ added in v0.3.1
func (m DeleteSubscriptionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteSubscriptionRequestMultiError) Error ¶ added in v0.3.1
func (m DeleteSubscriptionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteSubscriptionRequestValidationError ¶
type DeleteSubscriptionRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteSubscriptionRequestValidationError is the validation error returned by DeleteSubscriptionRequest.Validate if the designated constraints aren't met.
func (DeleteSubscriptionRequestValidationError) Cause ¶
func (e DeleteSubscriptionRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteSubscriptionRequestValidationError) Error ¶
func (e DeleteSubscriptionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteSubscriptionRequestValidationError) ErrorName ¶
func (e DeleteSubscriptionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteSubscriptionRequestValidationError) Field ¶
func (e DeleteSubscriptionRequestValidationError) Field() string
Field function returns field value.
func (DeleteSubscriptionRequestValidationError) Key ¶
func (e DeleteSubscriptionRequestValidationError) Key() bool
Key function returns key value.
func (DeleteSubscriptionRequestValidationError) Reason ¶
func (e DeleteSubscriptionRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTemplateRequest ¶
type DeleteTemplateRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteTemplateRequest) Descriptor
deprecated
func (*DeleteTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteTemplateRequest) GetName ¶
func (x *DeleteTemplateRequest) GetName() string
func (*DeleteTemplateRequest) ProtoMessage ¶
func (*DeleteTemplateRequest) ProtoMessage()
func (*DeleteTemplateRequest) ProtoReflect ¶
func (x *DeleteTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteTemplateRequest) Reset ¶
func (x *DeleteTemplateRequest) Reset()
func (*DeleteTemplateRequest) String ¶
func (x *DeleteTemplateRequest) String() string
func (*DeleteTemplateRequest) Validate ¶
func (m *DeleteTemplateRequest) Validate() error
Validate checks the field values on DeleteTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTemplateRequest) ValidateAll ¶ added in v0.3.1
func (m *DeleteTemplateRequest) ValidateAll() error
ValidateAll checks the field values on DeleteTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTemplateRequestMultiError, or nil if none found.
type DeleteTemplateRequestMultiError ¶ added in v0.3.1
type DeleteTemplateRequestMultiError []error
DeleteTemplateRequestMultiError is an error wrapping multiple validation errors returned by DeleteTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteTemplateRequestMultiError) AllErrors ¶ added in v0.3.1
func (m DeleteTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTemplateRequestMultiError) Error ¶ added in v0.3.1
func (m DeleteTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTemplateRequestValidationError ¶
type DeleteTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTemplateRequestValidationError is the validation error returned by DeleteTemplateRequest.Validate if the designated constraints aren't met.
func (DeleteTemplateRequestValidationError) Cause ¶
func (e DeleteTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTemplateRequestValidationError) Error ¶
func (e DeleteTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTemplateRequestValidationError) ErrorName ¶
func (e DeleteTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTemplateRequestValidationError) Field ¶
func (e DeleteTemplateRequestValidationError) Field() string
Field function returns field value.
func (DeleteTemplateRequestValidationError) Key ¶
func (e DeleteTemplateRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTemplateRequestValidationError) Reason ¶
func (e DeleteTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTemplateResponse ¶
type DeleteTemplateResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTemplateResponse) Descriptor
deprecated
func (*DeleteTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTemplateResponse.ProtoReflect.Descriptor instead.
func (*DeleteTemplateResponse) ProtoMessage ¶
func (*DeleteTemplateResponse) ProtoMessage()
func (*DeleteTemplateResponse) ProtoReflect ¶
func (x *DeleteTemplateResponse) ProtoReflect() protoreflect.Message
func (*DeleteTemplateResponse) Reset ¶
func (x *DeleteTemplateResponse) Reset()
func (*DeleteTemplateResponse) String ¶
func (x *DeleteTemplateResponse) String() string
func (*DeleteTemplateResponse) Validate ¶
func (m *DeleteTemplateResponse) Validate() error
Validate checks the field values on DeleteTemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTemplateResponse) ValidateAll ¶ added in v0.3.1
func (m *DeleteTemplateResponse) ValidateAll() error
ValidateAll checks the field values on DeleteTemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTemplateResponseMultiError, or nil if none found.
type DeleteTemplateResponseMultiError ¶ added in v0.3.1
type DeleteTemplateResponseMultiError []error
DeleteTemplateResponseMultiError is an error wrapping multiple validation errors returned by DeleteTemplateResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteTemplateResponseMultiError) AllErrors ¶ added in v0.3.1
func (m DeleteTemplateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTemplateResponseMultiError) Error ¶ added in v0.3.1
func (m DeleteTemplateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTemplateResponseValidationError ¶
type DeleteTemplateResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteTemplateResponseValidationError is the validation error returned by DeleteTemplateResponse.Validate if the designated constraints aren't met.
func (DeleteTemplateResponseValidationError) Cause ¶
func (e DeleteTemplateResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteTemplateResponseValidationError) Error ¶
func (e DeleteTemplateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTemplateResponseValidationError) ErrorName ¶
func (e DeleteTemplateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTemplateResponseValidationError) Field ¶
func (e DeleteTemplateResponseValidationError) Field() string
Field function returns field value.
func (DeleteTemplateResponseValidationError) Key ¶
func (e DeleteTemplateResponseValidationError) Key() bool
Key function returns key value.
func (DeleteTemplateResponseValidationError) Reason ¶
func (e DeleteTemplateResponseValidationError) Reason() string
Reason function returns reason value.
type GetNamespaceRequest ¶
type GetNamespaceRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetNamespaceRequest) Descriptor
deprecated
func (*GetNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespaceRequest.ProtoReflect.Descriptor instead.
func (*GetNamespaceRequest) GetId ¶
func (x *GetNamespaceRequest) GetId() uint64
func (*GetNamespaceRequest) ProtoMessage ¶
func (*GetNamespaceRequest) ProtoMessage()
func (*GetNamespaceRequest) ProtoReflect ¶
func (x *GetNamespaceRequest) ProtoReflect() protoreflect.Message
func (*GetNamespaceRequest) Reset ¶
func (x *GetNamespaceRequest) Reset()
func (*GetNamespaceRequest) String ¶
func (x *GetNamespaceRequest) String() string
func (*GetNamespaceRequest) Validate ¶
func (m *GetNamespaceRequest) Validate() error
Validate checks the field values on GetNamespaceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetNamespaceRequest) ValidateAll ¶ added in v0.3.1
func (m *GetNamespaceRequest) ValidateAll() error
ValidateAll checks the field values on GetNamespaceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetNamespaceRequestMultiError, or nil if none found.
type GetNamespaceRequestMultiError ¶ added in v0.3.1
type GetNamespaceRequestMultiError []error
GetNamespaceRequestMultiError is an error wrapping multiple validation errors returned by GetNamespaceRequest.ValidateAll() if the designated constraints aren't met.
func (GetNamespaceRequestMultiError) AllErrors ¶ added in v0.3.1
func (m GetNamespaceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNamespaceRequestMultiError) Error ¶ added in v0.3.1
func (m GetNamespaceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNamespaceRequestValidationError ¶
type GetNamespaceRequestValidationError struct {
// contains filtered or unexported fields
}
GetNamespaceRequestValidationError is the validation error returned by GetNamespaceRequest.Validate if the designated constraints aren't met.
func (GetNamespaceRequestValidationError) Cause ¶
func (e GetNamespaceRequestValidationError) Cause() error
Cause function returns cause value.
func (GetNamespaceRequestValidationError) Error ¶
func (e GetNamespaceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetNamespaceRequestValidationError) ErrorName ¶
func (e GetNamespaceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetNamespaceRequestValidationError) Field ¶
func (e GetNamespaceRequestValidationError) Field() string
Field function returns field value.
func (GetNamespaceRequestValidationError) Key ¶
func (e GetNamespaceRequestValidationError) Key() bool
Key function returns key value.
func (GetNamespaceRequestValidationError) Reason ¶
func (e GetNamespaceRequestValidationError) Reason() string
Reason function returns reason value.
type GetProviderRequest ¶
type GetProviderRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetProviderRequest) Descriptor
deprecated
func (*GetProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProviderRequest.ProtoReflect.Descriptor instead.
func (*GetProviderRequest) GetId ¶
func (x *GetProviderRequest) GetId() uint64
func (*GetProviderRequest) ProtoMessage ¶
func (*GetProviderRequest) ProtoMessage()
func (*GetProviderRequest) ProtoReflect ¶
func (x *GetProviderRequest) ProtoReflect() protoreflect.Message
func (*GetProviderRequest) Reset ¶
func (x *GetProviderRequest) Reset()
func (*GetProviderRequest) String ¶
func (x *GetProviderRequest) String() string
func (*GetProviderRequest) Validate ¶
func (m *GetProviderRequest) Validate() error
Validate checks the field values on GetProviderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetProviderRequest) ValidateAll ¶ added in v0.3.1
func (m *GetProviderRequest) ValidateAll() error
ValidateAll checks the field values on GetProviderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProviderRequestMultiError, or nil if none found.
type GetProviderRequestMultiError ¶ added in v0.3.1
type GetProviderRequestMultiError []error
GetProviderRequestMultiError is an error wrapping multiple validation errors returned by GetProviderRequest.ValidateAll() if the designated constraints aren't met.
func (GetProviderRequestMultiError) AllErrors ¶ added in v0.3.1
func (m GetProviderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProviderRequestMultiError) Error ¶ added in v0.3.1
func (m GetProviderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProviderRequestValidationError ¶
type GetProviderRequestValidationError struct {
// contains filtered or unexported fields
}
GetProviderRequestValidationError is the validation error returned by GetProviderRequest.Validate if the designated constraints aren't met.
func (GetProviderRequestValidationError) Cause ¶
func (e GetProviderRequestValidationError) Cause() error
Cause function returns cause value.
func (GetProviderRequestValidationError) Error ¶
func (e GetProviderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetProviderRequestValidationError) ErrorName ¶
func (e GetProviderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetProviderRequestValidationError) Field ¶
func (e GetProviderRequestValidationError) Field() string
Field function returns field value.
func (GetProviderRequestValidationError) Key ¶
func (e GetProviderRequestValidationError) Key() bool
Key function returns key value.
func (GetProviderRequestValidationError) Reason ¶
func (e GetProviderRequestValidationError) Reason() string
Reason function returns reason value.
type GetReceiverRequest ¶
type GetReceiverRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetReceiverRequest) Descriptor
deprecated
func (*GetReceiverRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReceiverRequest.ProtoReflect.Descriptor instead.
func (*GetReceiverRequest) GetId ¶
func (x *GetReceiverRequest) GetId() uint64
func (*GetReceiverRequest) ProtoMessage ¶
func (*GetReceiverRequest) ProtoMessage()
func (*GetReceiverRequest) ProtoReflect ¶
func (x *GetReceiverRequest) ProtoReflect() protoreflect.Message
func (*GetReceiverRequest) Reset ¶
func (x *GetReceiverRequest) Reset()
func (*GetReceiverRequest) String ¶
func (x *GetReceiverRequest) String() string
func (*GetReceiverRequest) Validate ¶
func (m *GetReceiverRequest) Validate() error
Validate checks the field values on GetReceiverRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetReceiverRequest) ValidateAll ¶ added in v0.3.1
func (m *GetReceiverRequest) ValidateAll() error
ValidateAll checks the field values on GetReceiverRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetReceiverRequestMultiError, or nil if none found.
type GetReceiverRequestMultiError ¶ added in v0.3.1
type GetReceiverRequestMultiError []error
GetReceiverRequestMultiError is an error wrapping multiple validation errors returned by GetReceiverRequest.ValidateAll() if the designated constraints aren't met.
func (GetReceiverRequestMultiError) AllErrors ¶ added in v0.3.1
func (m GetReceiverRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetReceiverRequestMultiError) Error ¶ added in v0.3.1
func (m GetReceiverRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetReceiverRequestValidationError ¶
type GetReceiverRequestValidationError struct {
// contains filtered or unexported fields
}
GetReceiverRequestValidationError is the validation error returned by GetReceiverRequest.Validate if the designated constraints aren't met.
func (GetReceiverRequestValidationError) Cause ¶
func (e GetReceiverRequestValidationError) Cause() error
Cause function returns cause value.
func (GetReceiverRequestValidationError) Error ¶
func (e GetReceiverRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetReceiverRequestValidationError) ErrorName ¶
func (e GetReceiverRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetReceiverRequestValidationError) Field ¶
func (e GetReceiverRequestValidationError) Field() string
Field function returns field value.
func (GetReceiverRequestValidationError) Key ¶
func (e GetReceiverRequestValidationError) Key() bool
Key function returns key value.
func (GetReceiverRequestValidationError) Reason ¶
func (e GetReceiverRequestValidationError) Reason() string
Reason function returns reason value.
type GetSubscriptionRequest ¶
type GetSubscriptionRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetSubscriptionRequest) Descriptor
deprecated
func (*GetSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*GetSubscriptionRequest) GetId ¶
func (x *GetSubscriptionRequest) GetId() uint64
func (*GetSubscriptionRequest) ProtoMessage ¶
func (*GetSubscriptionRequest) ProtoMessage()
func (*GetSubscriptionRequest) ProtoReflect ¶
func (x *GetSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*GetSubscriptionRequest) Reset ¶
func (x *GetSubscriptionRequest) Reset()
func (*GetSubscriptionRequest) String ¶
func (x *GetSubscriptionRequest) String() string
func (*GetSubscriptionRequest) Validate ¶
func (m *GetSubscriptionRequest) Validate() error
Validate checks the field values on GetSubscriptionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetSubscriptionRequest) ValidateAll ¶ added in v0.3.1
func (m *GetSubscriptionRequest) ValidateAll() error
ValidateAll checks the field values on GetSubscriptionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSubscriptionRequestMultiError, or nil if none found.
type GetSubscriptionRequestMultiError ¶ added in v0.3.1
type GetSubscriptionRequestMultiError []error
GetSubscriptionRequestMultiError is an error wrapping multiple validation errors returned by GetSubscriptionRequest.ValidateAll() if the designated constraints aren't met.
func (GetSubscriptionRequestMultiError) AllErrors ¶ added in v0.3.1
func (m GetSubscriptionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSubscriptionRequestMultiError) Error ¶ added in v0.3.1
func (m GetSubscriptionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSubscriptionRequestValidationError ¶
type GetSubscriptionRequestValidationError struct {
// contains filtered or unexported fields
}
GetSubscriptionRequestValidationError is the validation error returned by GetSubscriptionRequest.Validate if the designated constraints aren't met.
func (GetSubscriptionRequestValidationError) Cause ¶
func (e GetSubscriptionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSubscriptionRequestValidationError) Error ¶
func (e GetSubscriptionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSubscriptionRequestValidationError) ErrorName ¶
func (e GetSubscriptionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSubscriptionRequestValidationError) Field ¶
func (e GetSubscriptionRequestValidationError) Field() string
Field function returns field value.
func (GetSubscriptionRequestValidationError) Key ¶
func (e GetSubscriptionRequestValidationError) Key() bool
Key function returns key value.
func (GetSubscriptionRequestValidationError) Reason ¶
func (e GetSubscriptionRequestValidationError) Reason() string
Reason function returns reason value.
type GetTemplateByNameRequest ¶
type GetTemplateByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetTemplateByNameRequest) Descriptor
deprecated
func (*GetTemplateByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateByNameRequest.ProtoReflect.Descriptor instead.
func (*GetTemplateByNameRequest) GetName ¶
func (x *GetTemplateByNameRequest) GetName() string
func (*GetTemplateByNameRequest) ProtoMessage ¶
func (*GetTemplateByNameRequest) ProtoMessage()
func (*GetTemplateByNameRequest) ProtoReflect ¶
func (x *GetTemplateByNameRequest) ProtoReflect() protoreflect.Message
func (*GetTemplateByNameRequest) Reset ¶
func (x *GetTemplateByNameRequest) Reset()
func (*GetTemplateByNameRequest) String ¶
func (x *GetTemplateByNameRequest) String() string
func (*GetTemplateByNameRequest) Validate ¶
func (m *GetTemplateByNameRequest) Validate() error
Validate checks the field values on GetTemplateByNameRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTemplateByNameRequest) ValidateAll ¶ added in v0.3.1
func (m *GetTemplateByNameRequest) ValidateAll() error
ValidateAll checks the field values on GetTemplateByNameRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTemplateByNameRequestMultiError, or nil if none found.
type GetTemplateByNameRequestMultiError ¶ added in v0.3.1
type GetTemplateByNameRequestMultiError []error
GetTemplateByNameRequestMultiError is an error wrapping multiple validation errors returned by GetTemplateByNameRequest.ValidateAll() if the designated constraints aren't met.
func (GetTemplateByNameRequestMultiError) AllErrors ¶ added in v0.3.1
func (m GetTemplateByNameRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTemplateByNameRequestMultiError) Error ¶ added in v0.3.1
func (m GetTemplateByNameRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTemplateByNameRequestValidationError ¶
type GetTemplateByNameRequestValidationError struct {
// contains filtered or unexported fields
}
GetTemplateByNameRequestValidationError is the validation error returned by GetTemplateByNameRequest.Validate if the designated constraints aren't met.
func (GetTemplateByNameRequestValidationError) Cause ¶
func (e GetTemplateByNameRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTemplateByNameRequestValidationError) Error ¶
func (e GetTemplateByNameRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTemplateByNameRequestValidationError) ErrorName ¶
func (e GetTemplateByNameRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTemplateByNameRequestValidationError) Field ¶
func (e GetTemplateByNameRequestValidationError) Field() string
Field function returns field value.
func (GetTemplateByNameRequestValidationError) Key ¶
func (e GetTemplateByNameRequestValidationError) Key() bool
Key function returns key value.
func (GetTemplateByNameRequestValidationError) Reason ¶
func (e GetTemplateByNameRequestValidationError) Reason() string
Reason function returns reason value.
type Labels ¶
type Labels struct { Severity string `protobuf:"bytes,1,opt,name=severity,proto3" json:"severity,omitempty"` // contains filtered or unexported fields }
func (*Labels) Descriptor
deprecated
func (*Labels) GetSeverity ¶
func (*Labels) ProtoMessage ¶
func (*Labels) ProtoMessage()
func (*Labels) ProtoReflect ¶
func (x *Labels) ProtoReflect() protoreflect.Message
func (*Labels) Validate ¶
Validate checks the field values on Labels with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Labels) ValidateAll ¶ added in v0.3.1
ValidateAll checks the field values on Labels with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LabelsMultiError, or nil if none found.
type LabelsMultiError ¶ added in v0.3.1
type LabelsMultiError []error
LabelsMultiError is an error wrapping multiple validation errors returned by Labels.ValidateAll() if the designated constraints aren't met.
func (LabelsMultiError) AllErrors ¶ added in v0.3.1
func (m LabelsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LabelsMultiError) Error ¶ added in v0.3.1
func (m LabelsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LabelsValidationError ¶
type LabelsValidationError struct {
// contains filtered or unexported fields
}
LabelsValidationError is the validation error returned by Labels.Validate if the designated constraints aren't met.
func (LabelsValidationError) Cause ¶
func (e LabelsValidationError) Cause() error
Cause function returns cause value.
func (LabelsValidationError) Error ¶
func (e LabelsValidationError) Error() string
Error satisfies the builtin error interface
func (LabelsValidationError) ErrorName ¶
func (e LabelsValidationError) ErrorName() string
ErrorName returns error name.
func (LabelsValidationError) Field ¶
func (e LabelsValidationError) Field() string
Field function returns field value.
func (LabelsValidationError) Key ¶
func (e LabelsValidationError) Key() bool
Key function returns key value.
func (LabelsValidationError) Reason ¶
func (e LabelsValidationError) Reason() string
Reason function returns reason value.
type ListAlertsRequest ¶
type ListAlertsRequest struct { ProviderName string `protobuf:"bytes,1,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"` ProviderId uint64 `protobuf:"varint,2,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"` ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` StartTime uint64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime uint64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*ListAlertsRequest) Descriptor
deprecated
func (*ListAlertsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertsRequest.ProtoReflect.Descriptor instead.
func (*ListAlertsRequest) GetEndTime ¶
func (x *ListAlertsRequest) GetEndTime() uint64
func (*ListAlertsRequest) GetProviderId ¶
func (x *ListAlertsRequest) GetProviderId() uint64
func (*ListAlertsRequest) GetProviderName ¶
func (x *ListAlertsRequest) GetProviderName() string
func (*ListAlertsRequest) GetResourceName ¶
func (x *ListAlertsRequest) GetResourceName() string
func (*ListAlertsRequest) GetStartTime ¶
func (x *ListAlertsRequest) GetStartTime() uint64
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
func (*ListAlertsRequest) Validate ¶
func (m *ListAlertsRequest) Validate() error
Validate checks the field values on ListAlertsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListAlertsRequest) ValidateAll ¶ added in v0.3.1
func (m *ListAlertsRequest) ValidateAll() error
ValidateAll checks the field values on ListAlertsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListAlertsRequestMultiError, or nil if none found.
type ListAlertsRequestMultiError ¶ added in v0.3.1
type ListAlertsRequestMultiError []error
ListAlertsRequestMultiError is an error wrapping multiple validation errors returned by ListAlertsRequest.ValidateAll() if the designated constraints aren't met.
func (ListAlertsRequestMultiError) AllErrors ¶ added in v0.3.1
func (m ListAlertsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAlertsRequestMultiError) Error ¶ added in v0.3.1
func (m ListAlertsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAlertsRequestValidationError ¶
type ListAlertsRequestValidationError struct {
// contains filtered or unexported fields
}
ListAlertsRequestValidationError is the validation error returned by ListAlertsRequest.Validate if the designated constraints aren't met.
func (ListAlertsRequestValidationError) Cause ¶
func (e ListAlertsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListAlertsRequestValidationError) Error ¶
func (e ListAlertsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListAlertsRequestValidationError) ErrorName ¶
func (e ListAlertsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListAlertsRequestValidationError) Field ¶
func (e ListAlertsRequestValidationError) Field() string
Field function returns field value.
func (ListAlertsRequestValidationError) Key ¶
func (e ListAlertsRequestValidationError) Key() bool
Key function returns key value.
func (ListAlertsRequestValidationError) Reason ¶
func (e ListAlertsRequestValidationError) Reason() string
Reason function returns reason value.
type ListNamespacesResponse ¶
type ListNamespacesResponse struct { Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*ListNamespacesResponse) Descriptor
deprecated
func (*ListNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.
func (*ListNamespacesResponse) GetNamespaces ¶
func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
func (*ListNamespacesResponse) ProtoMessage ¶
func (*ListNamespacesResponse) ProtoMessage()
func (*ListNamespacesResponse) ProtoReflect ¶
func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
func (*ListNamespacesResponse) Reset ¶
func (x *ListNamespacesResponse) Reset()
func (*ListNamespacesResponse) String ¶
func (x *ListNamespacesResponse) String() string
func (*ListNamespacesResponse) Validate ¶
func (m *ListNamespacesResponse) Validate() error
Validate checks the field values on ListNamespacesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListNamespacesResponse) ValidateAll ¶ added in v0.3.1
func (m *ListNamespacesResponse) ValidateAll() error
ValidateAll checks the field values on ListNamespacesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListNamespacesResponseMultiError, or nil if none found.
type ListNamespacesResponseMultiError ¶ added in v0.3.1
type ListNamespacesResponseMultiError []error
ListNamespacesResponseMultiError is an error wrapping multiple validation errors returned by ListNamespacesResponse.ValidateAll() if the designated constraints aren't met.
func (ListNamespacesResponseMultiError) AllErrors ¶ added in v0.3.1
func (m ListNamespacesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListNamespacesResponseMultiError) Error ¶ added in v0.3.1
func (m ListNamespacesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListNamespacesResponseValidationError ¶
type ListNamespacesResponseValidationError struct {
// contains filtered or unexported fields
}
ListNamespacesResponseValidationError is the validation error returned by ListNamespacesResponse.Validate if the designated constraints aren't met.
func (ListNamespacesResponseValidationError) Cause ¶
func (e ListNamespacesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListNamespacesResponseValidationError) Error ¶
func (e ListNamespacesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListNamespacesResponseValidationError) ErrorName ¶
func (e ListNamespacesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListNamespacesResponseValidationError) Field ¶
func (e ListNamespacesResponseValidationError) Field() string
Field function returns field value.
func (ListNamespacesResponseValidationError) Key ¶
func (e ListNamespacesResponseValidationError) Key() bool
Key function returns key value.
func (ListNamespacesResponseValidationError) Reason ¶
func (e ListNamespacesResponseValidationError) Reason() string
Reason function returns reason value.
type ListProvidersRequest ¶
type ListProvidersRequest struct { Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*ListProvidersRequest) Descriptor
deprecated
func (*ListProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProvidersRequest.ProtoReflect.Descriptor instead.
func (*ListProvidersRequest) GetType ¶
func (x *ListProvidersRequest) GetType() string
func (*ListProvidersRequest) GetUrn ¶
func (x *ListProvidersRequest) GetUrn() string
func (*ListProvidersRequest) ProtoMessage ¶
func (*ListProvidersRequest) ProtoMessage()
func (*ListProvidersRequest) ProtoReflect ¶
func (x *ListProvidersRequest) ProtoReflect() protoreflect.Message
func (*ListProvidersRequest) Reset ¶
func (x *ListProvidersRequest) Reset()
func (*ListProvidersRequest) String ¶
func (x *ListProvidersRequest) String() string
func (*ListProvidersRequest) Validate ¶
func (m *ListProvidersRequest) Validate() error
Validate checks the field values on ListProvidersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListProvidersRequest) ValidateAll ¶ added in v0.3.1
func (m *ListProvidersRequest) ValidateAll() error
ValidateAll checks the field values on ListProvidersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProvidersRequestMultiError, or nil if none found.
type ListProvidersRequestMultiError ¶ added in v0.3.1
type ListProvidersRequestMultiError []error
ListProvidersRequestMultiError is an error wrapping multiple validation errors returned by ListProvidersRequest.ValidateAll() if the designated constraints aren't met.
func (ListProvidersRequestMultiError) AllErrors ¶ added in v0.3.1
func (m ListProvidersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProvidersRequestMultiError) Error ¶ added in v0.3.1
func (m ListProvidersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProvidersRequestValidationError ¶
type ListProvidersRequestValidationError struct {
// contains filtered or unexported fields
}
ListProvidersRequestValidationError is the validation error returned by ListProvidersRequest.Validate if the designated constraints aren't met.
func (ListProvidersRequestValidationError) Cause ¶
func (e ListProvidersRequestValidationError) Cause() error
Cause function returns cause value.
func (ListProvidersRequestValidationError) Error ¶
func (e ListProvidersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListProvidersRequestValidationError) ErrorName ¶
func (e ListProvidersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListProvidersRequestValidationError) Field ¶
func (e ListProvidersRequestValidationError) Field() string
Field function returns field value.
func (ListProvidersRequestValidationError) Key ¶
func (e ListProvidersRequestValidationError) Key() bool
Key function returns key value.
func (ListProvidersRequestValidationError) Reason ¶
func (e ListProvidersRequestValidationError) Reason() string
Reason function returns reason value.
type ListProvidersResponse ¶
type ListProvidersResponse struct { Providers []*Provider `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"` // contains filtered or unexported fields }
func (*ListProvidersResponse) Descriptor
deprecated
func (*ListProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProvidersResponse.ProtoReflect.Descriptor instead.
func (*ListProvidersResponse) GetProviders ¶
func (x *ListProvidersResponse) GetProviders() []*Provider
func (*ListProvidersResponse) ProtoMessage ¶
func (*ListProvidersResponse) ProtoMessage()
func (*ListProvidersResponse) ProtoReflect ¶
func (x *ListProvidersResponse) ProtoReflect() protoreflect.Message
func (*ListProvidersResponse) Reset ¶
func (x *ListProvidersResponse) Reset()
func (*ListProvidersResponse) String ¶
func (x *ListProvidersResponse) String() string
func (*ListProvidersResponse) Validate ¶
func (m *ListProvidersResponse) Validate() error
Validate checks the field values on ListProvidersResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListProvidersResponse) ValidateAll ¶ added in v0.3.1
func (m *ListProvidersResponse) ValidateAll() error
ValidateAll checks the field values on ListProvidersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProvidersResponseMultiError, or nil if none found.
type ListProvidersResponseMultiError ¶ added in v0.3.1
type ListProvidersResponseMultiError []error
ListProvidersResponseMultiError is an error wrapping multiple validation errors returned by ListProvidersResponse.ValidateAll() if the designated constraints aren't met.
func (ListProvidersResponseMultiError) AllErrors ¶ added in v0.3.1
func (m ListProvidersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProvidersResponseMultiError) Error ¶ added in v0.3.1
func (m ListProvidersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProvidersResponseValidationError ¶
type ListProvidersResponseValidationError struct {
// contains filtered or unexported fields
}
ListProvidersResponseValidationError is the validation error returned by ListProvidersResponse.Validate if the designated constraints aren't met.
func (ListProvidersResponseValidationError) Cause ¶
func (e ListProvidersResponseValidationError) Cause() error
Cause function returns cause value.
func (ListProvidersResponseValidationError) Error ¶
func (e ListProvidersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListProvidersResponseValidationError) ErrorName ¶
func (e ListProvidersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListProvidersResponseValidationError) Field ¶
func (e ListProvidersResponseValidationError) Field() string
Field function returns field value.
func (ListProvidersResponseValidationError) Key ¶
func (e ListProvidersResponseValidationError) Key() bool
Key function returns key value.
func (ListProvidersResponseValidationError) Reason ¶
func (e ListProvidersResponseValidationError) Reason() string
Reason function returns reason value.
type ListReceiversResponse ¶
type ListReceiversResponse struct { Receivers []*Receiver `protobuf:"bytes,1,rep,name=receivers,proto3" json:"receivers,omitempty"` // contains filtered or unexported fields }
func (*ListReceiversResponse) Descriptor
deprecated
func (*ListReceiversResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListReceiversResponse.ProtoReflect.Descriptor instead.
func (*ListReceiversResponse) GetReceivers ¶
func (x *ListReceiversResponse) GetReceivers() []*Receiver
func (*ListReceiversResponse) ProtoMessage ¶
func (*ListReceiversResponse) ProtoMessage()
func (*ListReceiversResponse) ProtoReflect ¶
func (x *ListReceiversResponse) ProtoReflect() protoreflect.Message
func (*ListReceiversResponse) Reset ¶
func (x *ListReceiversResponse) Reset()
func (*ListReceiversResponse) String ¶
func (x *ListReceiversResponse) String() string
func (*ListReceiversResponse) Validate ¶
func (m *ListReceiversResponse) Validate() error
Validate checks the field values on ListReceiversResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListReceiversResponse) ValidateAll ¶ added in v0.3.1
func (m *ListReceiversResponse) ValidateAll() error
ValidateAll checks the field values on ListReceiversResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListReceiversResponseMultiError, or nil if none found.
type ListReceiversResponseMultiError ¶ added in v0.3.1
type ListReceiversResponseMultiError []error
ListReceiversResponseMultiError is an error wrapping multiple validation errors returned by ListReceiversResponse.ValidateAll() if the designated constraints aren't met.
func (ListReceiversResponseMultiError) AllErrors ¶ added in v0.3.1
func (m ListReceiversResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListReceiversResponseMultiError) Error ¶ added in v0.3.1
func (m ListReceiversResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListReceiversResponseValidationError ¶
type ListReceiversResponseValidationError struct {
// contains filtered or unexported fields
}
ListReceiversResponseValidationError is the validation error returned by ListReceiversResponse.Validate if the designated constraints aren't met.
func (ListReceiversResponseValidationError) Cause ¶
func (e ListReceiversResponseValidationError) Cause() error
Cause function returns cause value.
func (ListReceiversResponseValidationError) Error ¶
func (e ListReceiversResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListReceiversResponseValidationError) ErrorName ¶
func (e ListReceiversResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListReceiversResponseValidationError) Field ¶
func (e ListReceiversResponseValidationError) Field() string
Field function returns field value.
func (ListReceiversResponseValidationError) Key ¶
func (e ListReceiversResponseValidationError) Key() bool
Key function returns key value.
func (ListReceiversResponseValidationError) Reason ¶
func (e ListReceiversResponseValidationError) Reason() string
Reason function returns reason value.
type ListRulesRequest ¶
type ListRulesRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"` ProviderNamespace uint64 `protobuf:"varint,5,opt,name=provider_namespace,json=providerNamespace,proto3" json:"provider_namespace,omitempty"` // contains filtered or unexported fields }
func (*ListRulesRequest) Descriptor
deprecated
func (*ListRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRulesRequest.ProtoReflect.Descriptor instead.
func (*ListRulesRequest) GetGroupName ¶
func (x *ListRulesRequest) GetGroupName() string
func (*ListRulesRequest) GetName ¶
func (x *ListRulesRequest) GetName() string
func (*ListRulesRequest) GetNamespace ¶
func (x *ListRulesRequest) GetNamespace() string
func (*ListRulesRequest) GetProviderNamespace ¶
func (x *ListRulesRequest) GetProviderNamespace() uint64
func (*ListRulesRequest) GetTemplate ¶
func (x *ListRulesRequest) GetTemplate() string
func (*ListRulesRequest) ProtoMessage ¶
func (*ListRulesRequest) ProtoMessage()
func (*ListRulesRequest) ProtoReflect ¶
func (x *ListRulesRequest) ProtoReflect() protoreflect.Message
func (*ListRulesRequest) Reset ¶
func (x *ListRulesRequest) Reset()
func (*ListRulesRequest) String ¶
func (x *ListRulesRequest) String() string
func (*ListRulesRequest) Validate ¶
func (m *ListRulesRequest) Validate() error
Validate checks the field values on ListRulesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListRulesRequest) ValidateAll ¶ added in v0.3.1
func (m *ListRulesRequest) ValidateAll() error
ValidateAll checks the field values on ListRulesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListRulesRequestMultiError, or nil if none found.
type ListRulesRequestMultiError ¶ added in v0.3.1
type ListRulesRequestMultiError []error
ListRulesRequestMultiError is an error wrapping multiple validation errors returned by ListRulesRequest.ValidateAll() if the designated constraints aren't met.
func (ListRulesRequestMultiError) AllErrors ¶ added in v0.3.1
func (m ListRulesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRulesRequestMultiError) Error ¶ added in v0.3.1
func (m ListRulesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRulesRequestValidationError ¶
type ListRulesRequestValidationError struct {
// contains filtered or unexported fields
}
ListRulesRequestValidationError is the validation error returned by ListRulesRequest.Validate if the designated constraints aren't met.
func (ListRulesRequestValidationError) Cause ¶
func (e ListRulesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListRulesRequestValidationError) Error ¶
func (e ListRulesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListRulesRequestValidationError) ErrorName ¶
func (e ListRulesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListRulesRequestValidationError) Field ¶
func (e ListRulesRequestValidationError) Field() string
Field function returns field value.
func (ListRulesRequestValidationError) Key ¶
func (e ListRulesRequestValidationError) Key() bool
Key function returns key value.
func (ListRulesRequestValidationError) Reason ¶
func (e ListRulesRequestValidationError) Reason() string
Reason function returns reason value.
type ListRulesResponse ¶
type ListRulesResponse struct { Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
func (*ListRulesResponse) Descriptor
deprecated
func (*ListRulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRulesResponse.ProtoReflect.Descriptor instead.
func (*ListRulesResponse) GetRules ¶
func (x *ListRulesResponse) GetRules() []*Rule
func (*ListRulesResponse) ProtoMessage ¶
func (*ListRulesResponse) ProtoMessage()
func (*ListRulesResponse) ProtoReflect ¶
func (x *ListRulesResponse) ProtoReflect() protoreflect.Message
func (*ListRulesResponse) Reset ¶
func (x *ListRulesResponse) Reset()
func (*ListRulesResponse) String ¶
func (x *ListRulesResponse) String() string
func (*ListRulesResponse) Validate ¶
func (m *ListRulesResponse) Validate() error
Validate checks the field values on ListRulesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListRulesResponse) ValidateAll ¶ added in v0.3.1
func (m *ListRulesResponse) ValidateAll() error
ValidateAll checks the field values on ListRulesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListRulesResponseMultiError, or nil if none found.
type ListRulesResponseMultiError ¶ added in v0.3.1
type ListRulesResponseMultiError []error
ListRulesResponseMultiError is an error wrapping multiple validation errors returned by ListRulesResponse.ValidateAll() if the designated constraints aren't met.
func (ListRulesResponseMultiError) AllErrors ¶ added in v0.3.1
func (m ListRulesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRulesResponseMultiError) Error ¶ added in v0.3.1
func (m ListRulesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRulesResponseValidationError ¶
type ListRulesResponseValidationError struct {
// contains filtered or unexported fields
}
ListRulesResponseValidationError is the validation error returned by ListRulesResponse.Validate if the designated constraints aren't met.
func (ListRulesResponseValidationError) Cause ¶
func (e ListRulesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListRulesResponseValidationError) Error ¶
func (e ListRulesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListRulesResponseValidationError) ErrorName ¶
func (e ListRulesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListRulesResponseValidationError) Field ¶
func (e ListRulesResponseValidationError) Field() string
Field function returns field value.
func (ListRulesResponseValidationError) Key ¶
func (e ListRulesResponseValidationError) Key() bool
Key function returns key value.
func (ListRulesResponseValidationError) Reason ¶
func (e ListRulesResponseValidationError) Reason() string
Reason function returns reason value.
type ListSubscriptionsResponse ¶
type ListSubscriptionsResponse struct { Subscriptions []*Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` // contains filtered or unexported fields }
func (*ListSubscriptionsResponse) Descriptor
deprecated
func (*ListSubscriptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSubscriptionsResponse.ProtoReflect.Descriptor instead.
func (*ListSubscriptionsResponse) GetSubscriptions ¶
func (x *ListSubscriptionsResponse) GetSubscriptions() []*Subscription
func (*ListSubscriptionsResponse) ProtoMessage ¶
func (*ListSubscriptionsResponse) ProtoMessage()
func (*ListSubscriptionsResponse) ProtoReflect ¶
func (x *ListSubscriptionsResponse) ProtoReflect() protoreflect.Message
func (*ListSubscriptionsResponse) Reset ¶
func (x *ListSubscriptionsResponse) Reset()
func (*ListSubscriptionsResponse) String ¶
func (x *ListSubscriptionsResponse) String() string
func (*ListSubscriptionsResponse) Validate ¶
func (m *ListSubscriptionsResponse) Validate() error
Validate checks the field values on ListSubscriptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListSubscriptionsResponse) ValidateAll ¶ added in v0.3.1
func (m *ListSubscriptionsResponse) ValidateAll() error
ValidateAll checks the field values on ListSubscriptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListSubscriptionsResponseMultiError, or nil if none found.
type ListSubscriptionsResponseMultiError ¶ added in v0.3.1
type ListSubscriptionsResponseMultiError []error
ListSubscriptionsResponseMultiError is an error wrapping multiple validation errors returned by ListSubscriptionsResponse.ValidateAll() if the designated constraints aren't met.
func (ListSubscriptionsResponseMultiError) AllErrors ¶ added in v0.3.1
func (m ListSubscriptionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListSubscriptionsResponseMultiError) Error ¶ added in v0.3.1
func (m ListSubscriptionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListSubscriptionsResponseValidationError ¶
type ListSubscriptionsResponseValidationError struct {
// contains filtered or unexported fields
}
ListSubscriptionsResponseValidationError is the validation error returned by ListSubscriptionsResponse.Validate if the designated constraints aren't met.
func (ListSubscriptionsResponseValidationError) Cause ¶
func (e ListSubscriptionsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListSubscriptionsResponseValidationError) Error ¶
func (e ListSubscriptionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListSubscriptionsResponseValidationError) ErrorName ¶
func (e ListSubscriptionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListSubscriptionsResponseValidationError) Field ¶
func (e ListSubscriptionsResponseValidationError) Field() string
Field function returns field value.
func (ListSubscriptionsResponseValidationError) Key ¶
func (e ListSubscriptionsResponseValidationError) Key() bool
Key function returns key value.
func (ListSubscriptionsResponseValidationError) Reason ¶
func (e ListSubscriptionsResponseValidationError) Reason() string
Reason function returns reason value.
type ListTemplatesRequest ¶
type ListTemplatesRequest struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*ListTemplatesRequest) Descriptor
deprecated
func (*ListTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListTemplatesRequest) GetTag ¶
func (x *ListTemplatesRequest) GetTag() string
func (*ListTemplatesRequest) ProtoMessage ¶
func (*ListTemplatesRequest) ProtoMessage()
func (*ListTemplatesRequest) ProtoReflect ¶
func (x *ListTemplatesRequest) ProtoReflect() protoreflect.Message
func (*ListTemplatesRequest) Reset ¶
func (x *ListTemplatesRequest) Reset()
func (*ListTemplatesRequest) String ¶
func (x *ListTemplatesRequest) String() string
func (*ListTemplatesRequest) Validate ¶
func (m *ListTemplatesRequest) Validate() error
Validate checks the field values on ListTemplatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTemplatesRequest) ValidateAll ¶ added in v0.3.1
func (m *ListTemplatesRequest) ValidateAll() error
ValidateAll checks the field values on ListTemplatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTemplatesRequestMultiError, or nil if none found.
type ListTemplatesRequestMultiError ¶ added in v0.3.1
type ListTemplatesRequestMultiError []error
ListTemplatesRequestMultiError is an error wrapping multiple validation errors returned by ListTemplatesRequest.ValidateAll() if the designated constraints aren't met.
func (ListTemplatesRequestMultiError) AllErrors ¶ added in v0.3.1
func (m ListTemplatesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTemplatesRequestMultiError) Error ¶ added in v0.3.1
func (m ListTemplatesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTemplatesRequestValidationError ¶
type ListTemplatesRequestValidationError struct {
// contains filtered or unexported fields
}
ListTemplatesRequestValidationError is the validation error returned by ListTemplatesRequest.Validate if the designated constraints aren't met.
func (ListTemplatesRequestValidationError) Cause ¶
func (e ListTemplatesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTemplatesRequestValidationError) Error ¶
func (e ListTemplatesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTemplatesRequestValidationError) ErrorName ¶
func (e ListTemplatesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTemplatesRequestValidationError) Field ¶
func (e ListTemplatesRequestValidationError) Field() string
Field function returns field value.
func (ListTemplatesRequestValidationError) Key ¶
func (e ListTemplatesRequestValidationError) Key() bool
Key function returns key value.
func (ListTemplatesRequestValidationError) Reason ¶
func (e ListTemplatesRequestValidationError) Reason() string
Reason function returns reason value.
type ListTemplatesResponse ¶
type ListTemplatesResponse struct { Templates []*Template `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"` // contains filtered or unexported fields }
func (*ListTemplatesResponse) Descriptor
deprecated
func (*ListTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListTemplatesResponse) GetTemplates ¶
func (x *ListTemplatesResponse) GetTemplates() []*Template
func (*ListTemplatesResponse) ProtoMessage ¶
func (*ListTemplatesResponse) ProtoMessage()
func (*ListTemplatesResponse) ProtoReflect ¶
func (x *ListTemplatesResponse) ProtoReflect() protoreflect.Message
func (*ListTemplatesResponse) Reset ¶
func (x *ListTemplatesResponse) Reset()
func (*ListTemplatesResponse) String ¶
func (x *ListTemplatesResponse) String() string
func (*ListTemplatesResponse) Validate ¶
func (m *ListTemplatesResponse) Validate() error
Validate checks the field values on ListTemplatesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTemplatesResponse) ValidateAll ¶ added in v0.3.1
func (m *ListTemplatesResponse) ValidateAll() error
ValidateAll checks the field values on ListTemplatesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTemplatesResponseMultiError, or nil if none found.
type ListTemplatesResponseMultiError ¶ added in v0.3.1
type ListTemplatesResponseMultiError []error
ListTemplatesResponseMultiError is an error wrapping multiple validation errors returned by ListTemplatesResponse.ValidateAll() if the designated constraints aren't met.
func (ListTemplatesResponseMultiError) AllErrors ¶ added in v0.3.1
func (m ListTemplatesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTemplatesResponseMultiError) Error ¶ added in v0.3.1
func (m ListTemplatesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTemplatesResponseValidationError ¶
type ListTemplatesResponseValidationError struct {
// contains filtered or unexported fields
}
ListTemplatesResponseValidationError is the validation error returned by ListTemplatesResponse.Validate if the designated constraints aren't met.
func (ListTemplatesResponseValidationError) Cause ¶
func (e ListTemplatesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListTemplatesResponseValidationError) Error ¶
func (e ListTemplatesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListTemplatesResponseValidationError) ErrorName ¶
func (e ListTemplatesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListTemplatesResponseValidationError) Field ¶
func (e ListTemplatesResponseValidationError) Field() string
Field function returns field value.
func (ListTemplatesResponseValidationError) Key ¶
func (e ListTemplatesResponseValidationError) Key() bool
Key function returns key value.
func (ListTemplatesResponseValidationError) Reason ¶
func (e ListTemplatesResponseValidationError) Reason() string
Reason function returns reason value.
type Namespace ¶
type Namespace struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Provider uint64 `protobuf:"varint,4,opt,name=provider,proto3" json:"provider,omitempty"` Credentials *structpb.Struct `protobuf:"bytes,5,opt,name=credentials,proto3" json:"credentials,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Namespace) Descriptor
deprecated
func (*Namespace) GetCreatedAt ¶
func (x *Namespace) GetCreatedAt() *timestamppb.Timestamp
func (*Namespace) GetCredentials ¶
func (*Namespace) GetProvider ¶
func (*Namespace) GetUpdatedAt ¶
func (x *Namespace) GetUpdatedAt() *timestamppb.Timestamp
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
func (*Namespace) Validate ¶
Validate checks the field values on Namespace with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Namespace) ValidateAll ¶ added in v0.3.1
ValidateAll checks the field values on Namespace with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NamespaceMultiError, or nil if none found.
type NamespaceMultiError ¶ added in v0.3.1
type NamespaceMultiError []error
NamespaceMultiError is an error wrapping multiple validation errors returned by Namespace.ValidateAll() if the designated constraints aren't met.
func (NamespaceMultiError) AllErrors ¶ added in v0.3.1
func (m NamespaceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceMultiError) Error ¶ added in v0.3.1
func (m NamespaceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceValidationError ¶
type NamespaceValidationError struct {
// contains filtered or unexported fields
}
NamespaceValidationError is the validation error returned by Namespace.Validate if the designated constraints aren't met.
func (NamespaceValidationError) Cause ¶
func (e NamespaceValidationError) Cause() error
Cause function returns cause value.
func (NamespaceValidationError) Error ¶
func (e NamespaceValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceValidationError) ErrorName ¶
func (e NamespaceValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceValidationError) Field ¶
func (e NamespaceValidationError) Field() string
Field function returns field value.
func (NamespaceValidationError) Key ¶
func (e NamespaceValidationError) Key() bool
Key function returns key value.
func (NamespaceValidationError) Reason ¶
func (e NamespaceValidationError) Reason() string
Reason function returns reason value.
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
func (*PingRequest) Validate ¶
func (m *PingRequest) Validate() error
Validate checks the field values on PingRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PingRequest) ValidateAll ¶ added in v0.3.1
func (m *PingRequest) ValidateAll() error
ValidateAll checks the field values on PingRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PingRequestMultiError, or nil if none found.
type PingRequestMultiError ¶ added in v0.3.1
type PingRequestMultiError []error
PingRequestMultiError is an error wrapping multiple validation errors returned by PingRequest.ValidateAll() if the designated constraints aren't met.
func (PingRequestMultiError) AllErrors ¶ added in v0.3.1
func (m PingRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PingRequestMultiError) Error ¶ added in v0.3.1
func (m PingRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PingRequestValidationError ¶
type PingRequestValidationError struct {
// contains filtered or unexported fields
}
PingRequestValidationError is the validation error returned by PingRequest.Validate if the designated constraints aren't met.
func (PingRequestValidationError) Cause ¶
func (e PingRequestValidationError) Cause() error
Cause function returns cause value.
func (PingRequestValidationError) Error ¶
func (e PingRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PingRequestValidationError) ErrorName ¶
func (e PingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PingRequestValidationError) Field ¶
func (e PingRequestValidationError) Field() string
Field function returns field value.
func (PingRequestValidationError) Key ¶
func (e PingRequestValidationError) Key() bool
Key function returns key value.
func (PingRequestValidationError) Reason ¶
func (e PingRequestValidationError) Reason() string
Reason function returns reason value.
type PingResponse ¶
type PingResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetMessage ¶
func (x *PingResponse) GetMessage() string
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
func (*PingResponse) Validate ¶
func (m *PingResponse) Validate() error
Validate checks the field values on PingResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PingResponse) ValidateAll ¶ added in v0.3.1
func (m *PingResponse) ValidateAll() error
ValidateAll checks the field values on PingResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PingResponseMultiError, or nil if none found.
type PingResponseMultiError ¶ added in v0.3.1
type PingResponseMultiError []error
PingResponseMultiError is an error wrapping multiple validation errors returned by PingResponse.ValidateAll() if the designated constraints aren't met.
func (PingResponseMultiError) AllErrors ¶ added in v0.3.1
func (m PingResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PingResponseMultiError) Error ¶ added in v0.3.1
func (m PingResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PingResponseValidationError ¶
type PingResponseValidationError struct {
// contains filtered or unexported fields
}
PingResponseValidationError is the validation error returned by PingResponse.Validate if the designated constraints aren't met.
func (PingResponseValidationError) Cause ¶
func (e PingResponseValidationError) Cause() error
Cause function returns cause value.
func (PingResponseValidationError) Error ¶
func (e PingResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PingResponseValidationError) ErrorName ¶
func (e PingResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PingResponseValidationError) Field ¶
func (e PingResponseValidationError) Field() string
Field function returns field value.
func (PingResponseValidationError) Key ¶
func (e PingResponseValidationError) Key() bool
Key function returns key value.
func (PingResponseValidationError) Reason ¶
func (e PingResponseValidationError) Reason() string
Reason function returns reason value.
type Provider ¶
type Provider struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Urn string `protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` Credentials *structpb.Struct `protobuf:"bytes,6,opt,name=credentials,proto3" json:"credentials,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Provider) Descriptor
deprecated
func (*Provider) GetCreatedAt ¶
func (x *Provider) GetCreatedAt() *timestamppb.Timestamp
func (*Provider) GetCredentials ¶
func (*Provider) GetUpdatedAt ¶
func (x *Provider) GetUpdatedAt() *timestamppb.Timestamp
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) ProtoReflect ¶
func (x *Provider) ProtoReflect() protoreflect.Message
func (*Provider) Validate ¶
Validate checks the field values on Provider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Provider) ValidateAll ¶ added in v0.3.1
ValidateAll checks the field values on Provider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProviderMultiError, or nil if none found.
type ProviderMultiError ¶ added in v0.3.1
type ProviderMultiError []error
ProviderMultiError is an error wrapping multiple validation errors returned by Provider.ValidateAll() if the designated constraints aren't met.
func (ProviderMultiError) AllErrors ¶ added in v0.3.1
func (m ProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProviderMultiError) Error ¶ added in v0.3.1
func (m ProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProviderValidationError ¶
type ProviderValidationError struct {
// contains filtered or unexported fields
}
ProviderValidationError is the validation error returned by Provider.Validate if the designated constraints aren't met.
func (ProviderValidationError) Cause ¶
func (e ProviderValidationError) Cause() error
Cause function returns cause value.
func (ProviderValidationError) Error ¶
func (e ProviderValidationError) Error() string
Error satisfies the builtin error interface
func (ProviderValidationError) ErrorName ¶
func (e ProviderValidationError) ErrorName() string
ErrorName returns error name.
func (ProviderValidationError) Field ¶
func (e ProviderValidationError) Field() string
Field function returns field value.
func (ProviderValidationError) Key ¶
func (e ProviderValidationError) Key() bool
Key function returns key value.
func (ProviderValidationError) Reason ¶
func (e ProviderValidationError) Reason() string
Reason function returns reason value.
type Receiver ¶
type Receiver struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ Configurations *structpb.Struct `protobuf:"bytes,5,opt,name=configurations,proto3" json:"configurations,omitempty"` Data *structpb.Struct `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Receiver) Descriptor
deprecated
func (*Receiver) GetConfigurations ¶
func (*Receiver) GetCreatedAt ¶
func (x *Receiver) GetCreatedAt() *timestamppb.Timestamp
func (*Receiver) GetUpdatedAt ¶
func (x *Receiver) GetUpdatedAt() *timestamppb.Timestamp
func (*Receiver) ProtoMessage ¶
func (*Receiver) ProtoMessage()
func (*Receiver) ProtoReflect ¶
func (x *Receiver) ProtoReflect() protoreflect.Message
func (*Receiver) Validate ¶
Validate checks the field values on Receiver with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Receiver) ValidateAll ¶ added in v0.3.1
ValidateAll checks the field values on Receiver with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReceiverMultiError, or nil if none found.
type ReceiverMetadata ¶
type ReceiverMetadata struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Configuration map[string]string `` /* 167-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ReceiverMetadata) Descriptor
deprecated
func (*ReceiverMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ReceiverMetadata.ProtoReflect.Descriptor instead.
func (*ReceiverMetadata) GetConfiguration ¶
func (x *ReceiverMetadata) GetConfiguration() map[string]string
func (*ReceiverMetadata) GetId ¶
func (x *ReceiverMetadata) GetId() uint64
func (*ReceiverMetadata) ProtoMessage ¶
func (*ReceiverMetadata) ProtoMessage()
func (*ReceiverMetadata) ProtoReflect ¶
func (x *ReceiverMetadata) ProtoReflect() protoreflect.Message
func (*ReceiverMetadata) Reset ¶
func (x *ReceiverMetadata) Reset()
func (*ReceiverMetadata) String ¶
func (x *ReceiverMetadata) String() string
func (*ReceiverMetadata) Validate ¶
func (m *ReceiverMetadata) Validate() error
Validate checks the field values on ReceiverMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReceiverMetadata) ValidateAll ¶ added in v0.3.1
func (m *ReceiverMetadata) ValidateAll() error
ValidateAll checks the field values on ReceiverMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReceiverMetadataMultiError, or nil if none found.
type ReceiverMetadataMultiError ¶ added in v0.3.1
type ReceiverMetadataMultiError []error
ReceiverMetadataMultiError is an error wrapping multiple validation errors returned by ReceiverMetadata.ValidateAll() if the designated constraints aren't met.
func (ReceiverMetadataMultiError) AllErrors ¶ added in v0.3.1
func (m ReceiverMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReceiverMetadataMultiError) Error ¶ added in v0.3.1
func (m ReceiverMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReceiverMetadataValidationError ¶
type ReceiverMetadataValidationError struct {
// contains filtered or unexported fields
}
ReceiverMetadataValidationError is the validation error returned by ReceiverMetadata.Validate if the designated constraints aren't met.
func (ReceiverMetadataValidationError) Cause ¶
func (e ReceiverMetadataValidationError) Cause() error
Cause function returns cause value.
func (ReceiverMetadataValidationError) Error ¶
func (e ReceiverMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (ReceiverMetadataValidationError) ErrorName ¶
func (e ReceiverMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (ReceiverMetadataValidationError) Field ¶
func (e ReceiverMetadataValidationError) Field() string
Field function returns field value.
func (ReceiverMetadataValidationError) Key ¶
func (e ReceiverMetadataValidationError) Key() bool
Key function returns key value.
func (ReceiverMetadataValidationError) Reason ¶
func (e ReceiverMetadataValidationError) Reason() string
Reason function returns reason value.
type ReceiverMultiError ¶ added in v0.3.1
type ReceiverMultiError []error
ReceiverMultiError is an error wrapping multiple validation errors returned by Receiver.ValidateAll() if the designated constraints aren't met.
func (ReceiverMultiError) AllErrors ¶ added in v0.3.1
func (m ReceiverMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReceiverMultiError) Error ¶ added in v0.3.1
func (m ReceiverMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReceiverValidationError ¶
type ReceiverValidationError struct {
// contains filtered or unexported fields
}
ReceiverValidationError is the validation error returned by Receiver.Validate if the designated constraints aren't met.
func (ReceiverValidationError) Cause ¶
func (e ReceiverValidationError) Cause() error
Cause function returns cause value.
func (ReceiverValidationError) Error ¶
func (e ReceiverValidationError) Error() string
Error satisfies the builtin error interface
func (ReceiverValidationError) ErrorName ¶
func (e ReceiverValidationError) ErrorName() string
ErrorName returns error name.
func (ReceiverValidationError) Field ¶
func (e ReceiverValidationError) Field() string
Field function returns field value.
func (ReceiverValidationError) Key ¶
func (e ReceiverValidationError) Key() bool
Key function returns key value.
func (ReceiverValidationError) Reason ¶
func (e ReceiverValidationError) Reason() string
Reason function returns reason value.
type RenderTemplateRequest ¶
type RenderTemplateRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Variables map[string]string `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RenderTemplateRequest) Descriptor
deprecated
func (*RenderTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenderTemplateRequest.ProtoReflect.Descriptor instead.
func (*RenderTemplateRequest) GetName ¶
func (x *RenderTemplateRequest) GetName() string
func (*RenderTemplateRequest) GetVariables ¶
func (x *RenderTemplateRequest) GetVariables() map[string]string
func (*RenderTemplateRequest) ProtoMessage ¶
func (*RenderTemplateRequest) ProtoMessage()
func (*RenderTemplateRequest) ProtoReflect ¶
func (x *RenderTemplateRequest) ProtoReflect() protoreflect.Message
func (*RenderTemplateRequest) Reset ¶
func (x *RenderTemplateRequest) Reset()
func (*RenderTemplateRequest) String ¶
func (x *RenderTemplateRequest) String() string
func (*RenderTemplateRequest) Validate ¶
func (m *RenderTemplateRequest) Validate() error
Validate checks the field values on RenderTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RenderTemplateRequest) ValidateAll ¶ added in v0.3.1
func (m *RenderTemplateRequest) ValidateAll() error
ValidateAll checks the field values on RenderTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RenderTemplateRequestMultiError, or nil if none found.
type RenderTemplateRequestMultiError ¶ added in v0.3.1
type RenderTemplateRequestMultiError []error
RenderTemplateRequestMultiError is an error wrapping multiple validation errors returned by RenderTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (RenderTemplateRequestMultiError) AllErrors ¶ added in v0.3.1
func (m RenderTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RenderTemplateRequestMultiError) Error ¶ added in v0.3.1
func (m RenderTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RenderTemplateRequestValidationError ¶
type RenderTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
RenderTemplateRequestValidationError is the validation error returned by RenderTemplateRequest.Validate if the designated constraints aren't met.
func (RenderTemplateRequestValidationError) Cause ¶
func (e RenderTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (RenderTemplateRequestValidationError) Error ¶
func (e RenderTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RenderTemplateRequestValidationError) ErrorName ¶
func (e RenderTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RenderTemplateRequestValidationError) Field ¶
func (e RenderTemplateRequestValidationError) Field() string
Field function returns field value.
func (RenderTemplateRequestValidationError) Key ¶
func (e RenderTemplateRequestValidationError) Key() bool
Key function returns key value.
func (RenderTemplateRequestValidationError) Reason ¶
func (e RenderTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type RenderTemplateResponse ¶
type RenderTemplateResponse struct { Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*RenderTemplateResponse) Descriptor
deprecated
func (*RenderTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenderTemplateResponse.ProtoReflect.Descriptor instead.
func (*RenderTemplateResponse) GetBody ¶
func (x *RenderTemplateResponse) GetBody() string
func (*RenderTemplateResponse) ProtoMessage ¶
func (*RenderTemplateResponse) ProtoMessage()
func (*RenderTemplateResponse) ProtoReflect ¶
func (x *RenderTemplateResponse) ProtoReflect() protoreflect.Message
func (*RenderTemplateResponse) Reset ¶
func (x *RenderTemplateResponse) Reset()
func (*RenderTemplateResponse) String ¶
func (x *RenderTemplateResponse) String() string
func (*RenderTemplateResponse) Validate ¶
func (m *RenderTemplateResponse) Validate() error
Validate checks the field values on RenderTemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RenderTemplateResponse) ValidateAll ¶ added in v0.3.1
func (m *RenderTemplateResponse) ValidateAll() error
ValidateAll checks the field values on RenderTemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RenderTemplateResponseMultiError, or nil if none found.
type RenderTemplateResponseMultiError ¶ added in v0.3.1
type RenderTemplateResponseMultiError []error
RenderTemplateResponseMultiError is an error wrapping multiple validation errors returned by RenderTemplateResponse.ValidateAll() if the designated constraints aren't met.
func (RenderTemplateResponseMultiError) AllErrors ¶ added in v0.3.1
func (m RenderTemplateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RenderTemplateResponseMultiError) Error ¶ added in v0.3.1
func (m RenderTemplateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RenderTemplateResponseValidationError ¶
type RenderTemplateResponseValidationError struct {
// contains filtered or unexported fields
}
RenderTemplateResponseValidationError is the validation error returned by RenderTemplateResponse.Validate if the designated constraints aren't met.
func (RenderTemplateResponseValidationError) Cause ¶
func (e RenderTemplateResponseValidationError) Cause() error
Cause function returns cause value.
func (RenderTemplateResponseValidationError) Error ¶
func (e RenderTemplateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RenderTemplateResponseValidationError) ErrorName ¶
func (e RenderTemplateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RenderTemplateResponseValidationError) Field ¶
func (e RenderTemplateResponseValidationError) Field() string
Field function returns field value.
func (RenderTemplateResponseValidationError) Key ¶
func (e RenderTemplateResponseValidationError) Key() bool
Key function returns key value.
func (RenderTemplateResponseValidationError) Reason ¶
func (e RenderTemplateResponseValidationError) Reason() string
Reason function returns reason value.
type Rule ¶
type Rule struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` GroupName string `protobuf:"bytes,4,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` Template string `protobuf:"bytes,6,opt,name=template,proto3" json:"template,omitempty"` Variables []*Variables `protobuf:"bytes,7,rep,name=variables,proto3" json:"variables,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` ProviderNamespace uint64 `protobuf:"varint,10,opt,name=provider_namespace,json=providerNamespace,proto3" json:"provider_namespace,omitempty"` // contains filtered or unexported fields }
func (*Rule) Descriptor
deprecated
func (*Rule) GetCreatedAt ¶
func (x *Rule) GetCreatedAt() *timestamppb.Timestamp
func (*Rule) GetEnabled ¶
func (*Rule) GetGroupName ¶
func (*Rule) GetNamespace ¶
func (*Rule) GetProviderNamespace ¶
func (*Rule) GetTemplate ¶
func (*Rule) GetUpdatedAt ¶
func (x *Rule) GetUpdatedAt() *timestamppb.Timestamp
func (*Rule) GetVariables ¶
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶
func (x *Rule) ProtoReflect() protoreflect.Message
func (*Rule) Validate ¶
Validate checks the field values on Rule with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Rule) ValidateAll ¶ added in v0.3.1
ValidateAll checks the field values on Rule with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuleMultiError, or nil if none found.
type RuleMultiError ¶ added in v0.3.1
type RuleMultiError []error
RuleMultiError is an error wrapping multiple validation errors returned by Rule.ValidateAll() if the designated constraints aren't met.
func (RuleMultiError) AllErrors ¶ added in v0.3.1
func (m RuleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RuleMultiError) Error ¶ added in v0.3.1
func (m RuleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RuleValidationError ¶
type RuleValidationError struct {
// contains filtered or unexported fields
}
RuleValidationError is the validation error returned by Rule.Validate if the designated constraints aren't met.
func (RuleValidationError) Cause ¶
func (e RuleValidationError) Cause() error
Cause function returns cause value.
func (RuleValidationError) Error ¶
func (e RuleValidationError) Error() string
Error satisfies the builtin error interface
func (RuleValidationError) ErrorName ¶
func (e RuleValidationError) ErrorName() string
ErrorName returns error name.
func (RuleValidationError) Field ¶
func (e RuleValidationError) Field() string
Field function returns field value.
func (RuleValidationError) Key ¶
func (e RuleValidationError) Key() bool
Key function returns key value.
func (RuleValidationError) Reason ¶
func (e RuleValidationError) Reason() string
Reason function returns reason value.
type SendReceiverNotificationRequest ¶
type SendReceiverNotificationRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Types that are assignable to Data: // *SendReceiverNotificationRequest_Slack Data isSendReceiverNotificationRequest_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*SendReceiverNotificationRequest) Descriptor
deprecated
func (*SendReceiverNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendReceiverNotificationRequest.ProtoReflect.Descriptor instead.
func (*SendReceiverNotificationRequest) GetData ¶
func (m *SendReceiverNotificationRequest) GetData() isSendReceiverNotificationRequest_Data
func (*SendReceiverNotificationRequest) GetId ¶
func (x *SendReceiverNotificationRequest) GetId() uint64
func (*SendReceiverNotificationRequest) GetSlack ¶
func (x *SendReceiverNotificationRequest) GetSlack() *SendReceiverNotificationRequest_SlackPayload
func (*SendReceiverNotificationRequest) ProtoMessage ¶
func (*SendReceiverNotificationRequest) ProtoMessage()
func (*SendReceiverNotificationRequest) ProtoReflect ¶
func (x *SendReceiverNotificationRequest) ProtoReflect() protoreflect.Message
func (*SendReceiverNotificationRequest) Reset ¶
func (x *SendReceiverNotificationRequest) Reset()
func (*SendReceiverNotificationRequest) String ¶
func (x *SendReceiverNotificationRequest) String() string
func (*SendReceiverNotificationRequest) Validate ¶
func (m *SendReceiverNotificationRequest) Validate() error
Validate checks the field values on SendReceiverNotificationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendReceiverNotificationRequest) ValidateAll ¶ added in v0.3.1
func (m *SendReceiverNotificationRequest) ValidateAll() error
ValidateAll checks the field values on SendReceiverNotificationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendReceiverNotificationRequestMultiError, or nil if none found.
type SendReceiverNotificationRequestMultiError ¶ added in v0.3.1
type SendReceiverNotificationRequestMultiError []error
SendReceiverNotificationRequestMultiError is an error wrapping multiple validation errors returned by SendReceiverNotificationRequest.ValidateAll() if the designated constraints aren't met.
func (SendReceiverNotificationRequestMultiError) AllErrors ¶ added in v0.3.1
func (m SendReceiverNotificationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendReceiverNotificationRequestMultiError) Error ¶ added in v0.3.1
func (m SendReceiverNotificationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendReceiverNotificationRequestValidationError ¶
type SendReceiverNotificationRequestValidationError struct {
// contains filtered or unexported fields
}
SendReceiverNotificationRequestValidationError is the validation error returned by SendReceiverNotificationRequest.Validate if the designated constraints aren't met.
func (SendReceiverNotificationRequestValidationError) Cause ¶
func (e SendReceiverNotificationRequestValidationError) Cause() error
Cause function returns cause value.
func (SendReceiverNotificationRequestValidationError) Error ¶
func (e SendReceiverNotificationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendReceiverNotificationRequestValidationError) ErrorName ¶
func (e SendReceiverNotificationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendReceiverNotificationRequestValidationError) Field ¶
func (e SendReceiverNotificationRequestValidationError) Field() string
Field function returns field value.
func (SendReceiverNotificationRequestValidationError) Key ¶
func (e SendReceiverNotificationRequestValidationError) Key() bool
Key function returns key value.
func (SendReceiverNotificationRequestValidationError) Reason ¶
func (e SendReceiverNotificationRequestValidationError) Reason() string
Reason function returns reason value.
type SendReceiverNotificationRequest_Slack ¶
type SendReceiverNotificationRequest_Slack struct {
Slack *SendReceiverNotificationRequest_SlackPayload `protobuf:"bytes,2,opt,name=slack,proto3,oneof"`
}
type SendReceiverNotificationRequest_SlackPayload ¶
type SendReceiverNotificationRequest_SlackPayload struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` ReceiverName string `protobuf:"bytes,2,opt,name=receiver_name,json=receiverName,proto3" json:"receiver_name,omitempty"` ReceiverType string `protobuf:"bytes,3,opt,name=receiver_type,json=receiverType,proto3" json:"receiver_type,omitempty"` Blocks []*structpb.Struct `protobuf:"bytes,4,rep,name=blocks,proto3" json:"blocks,omitempty"` // contains filtered or unexported fields }
func (*SendReceiverNotificationRequest_SlackPayload) Descriptor
deprecated
func (*SendReceiverNotificationRequest_SlackPayload) Descriptor() ([]byte, []int)
Deprecated: Use SendReceiverNotificationRequest_SlackPayload.ProtoReflect.Descriptor instead.
func (*SendReceiverNotificationRequest_SlackPayload) GetBlocks ¶
func (x *SendReceiverNotificationRequest_SlackPayload) GetBlocks() []*structpb.Struct
func (*SendReceiverNotificationRequest_SlackPayload) GetMessage ¶
func (x *SendReceiverNotificationRequest_SlackPayload) GetMessage() string
func (*SendReceiverNotificationRequest_SlackPayload) GetReceiverName ¶
func (x *SendReceiverNotificationRequest_SlackPayload) GetReceiverName() string
func (*SendReceiverNotificationRequest_SlackPayload) GetReceiverType ¶
func (x *SendReceiverNotificationRequest_SlackPayload) GetReceiverType() string
func (*SendReceiverNotificationRequest_SlackPayload) ProtoMessage ¶
func (*SendReceiverNotificationRequest_SlackPayload) ProtoMessage()
func (*SendReceiverNotificationRequest_SlackPayload) ProtoReflect ¶
func (x *SendReceiverNotificationRequest_SlackPayload) ProtoReflect() protoreflect.Message
func (*SendReceiverNotificationRequest_SlackPayload) Reset ¶
func (x *SendReceiverNotificationRequest_SlackPayload) Reset()
func (*SendReceiverNotificationRequest_SlackPayload) String ¶
func (x *SendReceiverNotificationRequest_SlackPayload) String() string
func (*SendReceiverNotificationRequest_SlackPayload) Validate ¶
func (m *SendReceiverNotificationRequest_SlackPayload) Validate() error
Validate checks the field values on SendReceiverNotificationRequest_SlackPayload with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendReceiverNotificationRequest_SlackPayload) ValidateAll ¶ added in v0.3.1
func (m *SendReceiverNotificationRequest_SlackPayload) ValidateAll() error
ValidateAll checks the field values on SendReceiverNotificationRequest_SlackPayload with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendReceiverNotificationRequest_SlackPayloadMultiError, or nil if none found.
type SendReceiverNotificationRequest_SlackPayloadMultiError ¶ added in v0.3.1
type SendReceiverNotificationRequest_SlackPayloadMultiError []error
SendReceiverNotificationRequest_SlackPayloadMultiError is an error wrapping multiple validation errors returned by SendReceiverNotificationRequest_SlackPayload.ValidateAll() if the designated constraints aren't met.
func (SendReceiverNotificationRequest_SlackPayloadMultiError) AllErrors ¶ added in v0.3.1
func (m SendReceiverNotificationRequest_SlackPayloadMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendReceiverNotificationRequest_SlackPayloadMultiError) Error ¶ added in v0.3.1
func (m SendReceiverNotificationRequest_SlackPayloadMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendReceiverNotificationRequest_SlackPayloadValidationError ¶
type SendReceiverNotificationRequest_SlackPayloadValidationError struct {
// contains filtered or unexported fields
}
SendReceiverNotificationRequest_SlackPayloadValidationError is the validation error returned by SendReceiverNotificationRequest_SlackPayload.Validate if the designated constraints aren't met.
func (SendReceiverNotificationRequest_SlackPayloadValidationError) Cause ¶
func (e SendReceiverNotificationRequest_SlackPayloadValidationError) Cause() error
Cause function returns cause value.
func (SendReceiverNotificationRequest_SlackPayloadValidationError) Error ¶
func (e SendReceiverNotificationRequest_SlackPayloadValidationError) Error() string
Error satisfies the builtin error interface
func (SendReceiverNotificationRequest_SlackPayloadValidationError) ErrorName ¶
func (e SendReceiverNotificationRequest_SlackPayloadValidationError) ErrorName() string
ErrorName returns error name.
func (SendReceiverNotificationRequest_SlackPayloadValidationError) Field ¶
func (e SendReceiverNotificationRequest_SlackPayloadValidationError) Field() string
Field function returns field value.
func (SendReceiverNotificationRequest_SlackPayloadValidationError) Key ¶
func (e SendReceiverNotificationRequest_SlackPayloadValidationError) Key() bool
Key function returns key value.
func (SendReceiverNotificationRequest_SlackPayloadValidationError) Reason ¶
func (e SendReceiverNotificationRequest_SlackPayloadValidationError) Reason() string
Reason function returns reason value.
type SendReceiverNotificationResponse ¶
type SendReceiverNotificationResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*SendReceiverNotificationResponse) Descriptor
deprecated
func (*SendReceiverNotificationResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendReceiverNotificationResponse.ProtoReflect.Descriptor instead.
func (*SendReceiverNotificationResponse) GetOk ¶
func (x *SendReceiverNotificationResponse) GetOk() bool
func (*SendReceiverNotificationResponse) ProtoMessage ¶
func (*SendReceiverNotificationResponse) ProtoMessage()
func (*SendReceiverNotificationResponse) ProtoReflect ¶
func (x *SendReceiverNotificationResponse) ProtoReflect() protoreflect.Message
func (*SendReceiverNotificationResponse) Reset ¶
func (x *SendReceiverNotificationResponse) Reset()
func (*SendReceiverNotificationResponse) String ¶
func (x *SendReceiverNotificationResponse) String() string
func (*SendReceiverNotificationResponse) Validate ¶
func (m *SendReceiverNotificationResponse) Validate() error
Validate checks the field values on SendReceiverNotificationResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendReceiverNotificationResponse) ValidateAll ¶ added in v0.3.1
func (m *SendReceiverNotificationResponse) ValidateAll() error
ValidateAll checks the field values on SendReceiverNotificationResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendReceiverNotificationResponseMultiError, or nil if none found.
type SendReceiverNotificationResponseMultiError ¶ added in v0.3.1
type SendReceiverNotificationResponseMultiError []error
SendReceiverNotificationResponseMultiError is an error wrapping multiple validation errors returned by SendReceiverNotificationResponse.ValidateAll() if the designated constraints aren't met.
func (SendReceiverNotificationResponseMultiError) AllErrors ¶ added in v0.3.1
func (m SendReceiverNotificationResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendReceiverNotificationResponseMultiError) Error ¶ added in v0.3.1
func (m SendReceiverNotificationResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendReceiverNotificationResponseValidationError ¶
type SendReceiverNotificationResponseValidationError struct {
// contains filtered or unexported fields
}
SendReceiverNotificationResponseValidationError is the validation error returned by SendReceiverNotificationResponse.Validate if the designated constraints aren't met.
func (SendReceiverNotificationResponseValidationError) Cause ¶
func (e SendReceiverNotificationResponseValidationError) Cause() error
Cause function returns cause value.
func (SendReceiverNotificationResponseValidationError) Error ¶
func (e SendReceiverNotificationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendReceiverNotificationResponseValidationError) ErrorName ¶
func (e SendReceiverNotificationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendReceiverNotificationResponseValidationError) Field ¶
func (e SendReceiverNotificationResponseValidationError) Field() string
Field function returns field value.
func (SendReceiverNotificationResponseValidationError) Key ¶
func (e SendReceiverNotificationResponseValidationError) Key() bool
Key function returns key value.
func (SendReceiverNotificationResponseValidationError) Reason ¶
func (e SendReceiverNotificationResponseValidationError) Reason() string
Reason function returns reason value.
type SirenServiceClient ¶
type SirenServiceClient interface { Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) ListProviders(ctx context.Context, in *ListProvidersRequest, opts ...grpc.CallOption) (*ListProvidersResponse, error) CreateProvider(ctx context.Context, in *CreateProviderRequest, opts ...grpc.CallOption) (*Provider, error) GetProvider(ctx context.Context, in *GetProviderRequest, opts ...grpc.CallOption) (*Provider, error) UpdateProvider(ctx context.Context, in *UpdateProviderRequest, opts ...grpc.CallOption) (*Provider, error) DeleteProvider(ctx context.Context, in *DeleteProviderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) SendReceiverNotification(ctx context.Context, in *SendReceiverNotificationRequest, opts ...grpc.CallOption) (*SendReceiverNotificationResponse, error) ListNamespaces(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListNamespacesResponse, error) CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListSubscriptions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error) CreateSubscription(ctx context.Context, in *CreateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) UpdateSubscription(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListReceivers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListReceiversResponse, error) CreateReceiver(ctx context.Context, in *CreateReceiverRequest, opts ...grpc.CallOption) (*Receiver, error) GetReceiver(ctx context.Context, in *GetReceiverRequest, opts ...grpc.CallOption) (*Receiver, error) UpdateReceiver(ctx context.Context, in *UpdateReceiverRequest, opts ...grpc.CallOption) (*Receiver, error) DeleteReceiver(ctx context.Context, in *DeleteReceiverRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListAlerts(ctx context.Context, in *ListAlertsRequest, opts ...grpc.CallOption) (*Alerts, error) CreateCortexAlerts(ctx context.Context, in *CreateCortexAlertsRequest, opts ...grpc.CallOption) (*Alerts, error) ListRules(ctx context.Context, in *ListRulesRequest, opts ...grpc.CallOption) (*ListRulesResponse, error) UpdateRule(ctx context.Context, in *UpdateRuleRequest, opts ...grpc.CallOption) (*UpdateRuleResponse, error) ListTemplates(ctx context.Context, in *ListTemplatesRequest, opts ...grpc.CallOption) (*ListTemplatesResponse, error) GetTemplateByName(ctx context.Context, in *GetTemplateByNameRequest, opts ...grpc.CallOption) (*TemplateResponse, error) UpsertTemplate(ctx context.Context, in *UpsertTemplateRequest, opts ...grpc.CallOption) (*TemplateResponse, error) DeleteTemplate(ctx context.Context, in *DeleteTemplateRequest, opts ...grpc.CallOption) (*DeleteTemplateResponse, error) RenderTemplate(ctx context.Context, in *RenderTemplateRequest, opts ...grpc.CallOption) (*RenderTemplateResponse, error) }
SirenServiceClient is the client API for SirenService 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 NewSirenServiceClient ¶
func NewSirenServiceClient(cc grpc.ClientConnInterface) SirenServiceClient
type SirenServiceServer ¶
type SirenServiceServer interface { Ping(context.Context, *PingRequest) (*PingResponse, error) ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error) CreateProvider(context.Context, *CreateProviderRequest) (*Provider, error) GetProvider(context.Context, *GetProviderRequest) (*Provider, error) UpdateProvider(context.Context, *UpdateProviderRequest) (*Provider, error) DeleteProvider(context.Context, *DeleteProviderRequest) (*emptypb.Empty, error) SendReceiverNotification(context.Context, *SendReceiverNotificationRequest) (*SendReceiverNotificationResponse, error) ListNamespaces(context.Context, *emptypb.Empty) (*ListNamespacesResponse, error) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error) GetNamespace(context.Context, *GetNamespaceRequest) (*Namespace, error) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error) ListSubscriptions(context.Context, *emptypb.Empty) (*ListSubscriptionsResponse, error) CreateSubscription(context.Context, *CreateSubscriptionRequest) (*Subscription, error) GetSubscription(context.Context, *GetSubscriptionRequest) (*Subscription, error) UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*Subscription, error) DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*emptypb.Empty, error) ListReceivers(context.Context, *emptypb.Empty) (*ListReceiversResponse, error) CreateReceiver(context.Context, *CreateReceiverRequest) (*Receiver, error) GetReceiver(context.Context, *GetReceiverRequest) (*Receiver, error) UpdateReceiver(context.Context, *UpdateReceiverRequest) (*Receiver, error) DeleteReceiver(context.Context, *DeleteReceiverRequest) (*emptypb.Empty, error) ListAlerts(context.Context, *ListAlertsRequest) (*Alerts, error) CreateCortexAlerts(context.Context, *CreateCortexAlertsRequest) (*Alerts, error) ListRules(context.Context, *ListRulesRequest) (*ListRulesResponse, error) UpdateRule(context.Context, *UpdateRuleRequest) (*UpdateRuleResponse, error) ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error) GetTemplateByName(context.Context, *GetTemplateByNameRequest) (*TemplateResponse, error) UpsertTemplate(context.Context, *UpsertTemplateRequest) (*TemplateResponse, error) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error) RenderTemplate(context.Context, *RenderTemplateRequest) (*RenderTemplateResponse, error) // contains filtered or unexported methods }
SirenServiceServer is the server API for SirenService service. All implementations must embed UnimplementedSirenServiceServer for forward compatibility
type Subscription ¶
type Subscription struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` Namespace uint64 `protobuf:"varint,3,opt,name=namespace,proto3" json:"namespace,omitempty"` Receivers []*ReceiverMetadata `protobuf:"bytes,4,rep,name=receivers,proto3" json:"receivers,omitempty"` Match map[string]string `` /* 151-byte string literal not displayed */ CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Subscription) Descriptor
deprecated
func (*Subscription) Descriptor() ([]byte, []int)
Deprecated: Use Subscription.ProtoReflect.Descriptor instead.
func (*Subscription) GetCreatedAt ¶
func (x *Subscription) GetCreatedAt() *timestamppb.Timestamp
func (*Subscription) GetId ¶
func (x *Subscription) GetId() uint64
func (*Subscription) GetMatch ¶
func (x *Subscription) GetMatch() map[string]string
func (*Subscription) GetNamespace ¶
func (x *Subscription) GetNamespace() uint64
func (*Subscription) GetReceivers ¶
func (x *Subscription) GetReceivers() []*ReceiverMetadata
func (*Subscription) GetUpdatedAt ¶
func (x *Subscription) GetUpdatedAt() *timestamppb.Timestamp
func (*Subscription) GetUrn ¶
func (x *Subscription) GetUrn() string
func (*Subscription) ProtoMessage ¶
func (*Subscription) ProtoMessage()
func (*Subscription) ProtoReflect ¶
func (x *Subscription) ProtoReflect() protoreflect.Message
func (*Subscription) Reset ¶
func (x *Subscription) Reset()
func (*Subscription) String ¶
func (x *Subscription) String() string
func (*Subscription) Validate ¶
func (m *Subscription) Validate() error
Validate checks the field values on Subscription with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Subscription) ValidateAll ¶ added in v0.3.1
func (m *Subscription) ValidateAll() error
ValidateAll checks the field values on Subscription with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscriptionMultiError, or nil if none found.
type SubscriptionMultiError ¶ added in v0.3.1
type SubscriptionMultiError []error
SubscriptionMultiError is an error wrapping multiple validation errors returned by Subscription.ValidateAll() if the designated constraints aren't met.
func (SubscriptionMultiError) AllErrors ¶ added in v0.3.1
func (m SubscriptionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscriptionMultiError) Error ¶ added in v0.3.1
func (m SubscriptionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscriptionValidationError ¶
type SubscriptionValidationError struct {
// contains filtered or unexported fields
}
SubscriptionValidationError is the validation error returned by Subscription.Validate if the designated constraints aren't met.
func (SubscriptionValidationError) Cause ¶
func (e SubscriptionValidationError) Cause() error
Cause function returns cause value.
func (SubscriptionValidationError) Error ¶
func (e SubscriptionValidationError) Error() string
Error satisfies the builtin error interface
func (SubscriptionValidationError) ErrorName ¶
func (e SubscriptionValidationError) ErrorName() string
ErrorName returns error name.
func (SubscriptionValidationError) Field ¶
func (e SubscriptionValidationError) Field() string
Field function returns field value.
func (SubscriptionValidationError) Key ¶
func (e SubscriptionValidationError) Key() bool
Key function returns key value.
func (SubscriptionValidationError) Reason ¶
func (e SubscriptionValidationError) Reason() string
Reason function returns reason value.
type Template ¶
type Template struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Variables []*TemplateVariables `protobuf:"bytes,7,rep,name=variables,proto3" json:"variables,omitempty"` // contains filtered or unexported fields }
func (*Template) Descriptor
deprecated
func (*Template) GetCreatedAt ¶
func (x *Template) GetCreatedAt() *timestamppb.Timestamp
func (*Template) GetUpdatedAt ¶
func (x *Template) GetUpdatedAt() *timestamppb.Timestamp
func (*Template) GetVariables ¶
func (x *Template) GetVariables() []*TemplateVariables
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) ProtoReflect ¶
func (x *Template) ProtoReflect() protoreflect.Message
func (*Template) Validate ¶
Validate checks the field values on Template with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Template) ValidateAll ¶ added in v0.3.1
ValidateAll checks the field values on Template with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TemplateMultiError, or nil if none found.
type TemplateMultiError ¶ added in v0.3.1
type TemplateMultiError []error
TemplateMultiError is an error wrapping multiple validation errors returned by Template.ValidateAll() if the designated constraints aren't met.
func (TemplateMultiError) AllErrors ¶ added in v0.3.1
func (m TemplateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TemplateMultiError) Error ¶ added in v0.3.1
func (m TemplateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TemplateResponse ¶
type TemplateResponse struct { Template *Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*TemplateResponse) Descriptor
deprecated
func (*TemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TemplateResponse.ProtoReflect.Descriptor instead.
func (*TemplateResponse) GetTemplate ¶
func (x *TemplateResponse) GetTemplate() *Template
func (*TemplateResponse) ProtoMessage ¶
func (*TemplateResponse) ProtoMessage()
func (*TemplateResponse) ProtoReflect ¶
func (x *TemplateResponse) ProtoReflect() protoreflect.Message
func (*TemplateResponse) Reset ¶
func (x *TemplateResponse) Reset()
func (*TemplateResponse) String ¶
func (x *TemplateResponse) String() string
func (*TemplateResponse) Validate ¶
func (m *TemplateResponse) Validate() error
Validate checks the field values on TemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TemplateResponse) ValidateAll ¶ added in v0.3.1
func (m *TemplateResponse) ValidateAll() error
ValidateAll checks the field values on TemplateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TemplateResponseMultiError, or nil if none found.
type TemplateResponseMultiError ¶ added in v0.3.1
type TemplateResponseMultiError []error
TemplateResponseMultiError is an error wrapping multiple validation errors returned by TemplateResponse.ValidateAll() if the designated constraints aren't met.
func (TemplateResponseMultiError) AllErrors ¶ added in v0.3.1
func (m TemplateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TemplateResponseMultiError) Error ¶ added in v0.3.1
func (m TemplateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TemplateResponseValidationError ¶
type TemplateResponseValidationError struct {
// contains filtered or unexported fields
}
TemplateResponseValidationError is the validation error returned by TemplateResponse.Validate if the designated constraints aren't met.
func (TemplateResponseValidationError) Cause ¶
func (e TemplateResponseValidationError) Cause() error
Cause function returns cause value.
func (TemplateResponseValidationError) Error ¶
func (e TemplateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TemplateResponseValidationError) ErrorName ¶
func (e TemplateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TemplateResponseValidationError) Field ¶
func (e TemplateResponseValidationError) Field() string
Field function returns field value.
func (TemplateResponseValidationError) Key ¶
func (e TemplateResponseValidationError) Key() bool
Key function returns key value.
func (TemplateResponseValidationError) Reason ¶
func (e TemplateResponseValidationError) Reason() string
Reason function returns reason value.
type TemplateValidationError ¶
type TemplateValidationError struct {
// contains filtered or unexported fields
}
TemplateValidationError is the validation error returned by Template.Validate if the designated constraints aren't met.
func (TemplateValidationError) Cause ¶
func (e TemplateValidationError) Cause() error
Cause function returns cause value.
func (TemplateValidationError) Error ¶
func (e TemplateValidationError) Error() string
Error satisfies the builtin error interface
func (TemplateValidationError) ErrorName ¶
func (e TemplateValidationError) ErrorName() string
ErrorName returns error name.
func (TemplateValidationError) Field ¶
func (e TemplateValidationError) Field() string
Field function returns field value.
func (TemplateValidationError) Key ¶
func (e TemplateValidationError) Key() bool
Key function returns key value.
func (TemplateValidationError) Reason ¶
func (e TemplateValidationError) Reason() string
Reason function returns reason value.
type TemplateVariables ¶
type TemplateVariables struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Default string `protobuf:"bytes,3,opt,name=default,proto3" json:"default,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*TemplateVariables) Descriptor
deprecated
func (*TemplateVariables) Descriptor() ([]byte, []int)
Deprecated: Use TemplateVariables.ProtoReflect.Descriptor instead.
func (*TemplateVariables) GetDefault ¶
func (x *TemplateVariables) GetDefault() string
func (*TemplateVariables) GetDescription ¶
func (x *TemplateVariables) GetDescription() string
func (*TemplateVariables) GetName ¶
func (x *TemplateVariables) GetName() string
func (*TemplateVariables) GetType ¶
func (x *TemplateVariables) GetType() string
func (*TemplateVariables) ProtoMessage ¶
func (*TemplateVariables) ProtoMessage()
func (*TemplateVariables) ProtoReflect ¶
func (x *TemplateVariables) ProtoReflect() protoreflect.Message
func (*TemplateVariables) Reset ¶
func (x *TemplateVariables) Reset()
func (*TemplateVariables) String ¶
func (x *TemplateVariables) String() string
func (*TemplateVariables) Validate ¶
func (m *TemplateVariables) Validate() error
Validate checks the field values on TemplateVariables with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TemplateVariables) ValidateAll ¶ added in v0.3.1
func (m *TemplateVariables) ValidateAll() error
ValidateAll checks the field values on TemplateVariables with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TemplateVariablesMultiError, or nil if none found.
type TemplateVariablesMultiError ¶ added in v0.3.1
type TemplateVariablesMultiError []error
TemplateVariablesMultiError is an error wrapping multiple validation errors returned by TemplateVariables.ValidateAll() if the designated constraints aren't met.
func (TemplateVariablesMultiError) AllErrors ¶ added in v0.3.1
func (m TemplateVariablesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TemplateVariablesMultiError) Error ¶ added in v0.3.1
func (m TemplateVariablesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TemplateVariablesValidationError ¶
type TemplateVariablesValidationError struct {
// contains filtered or unexported fields
}
TemplateVariablesValidationError is the validation error returned by TemplateVariables.Validate if the designated constraints aren't met.
func (TemplateVariablesValidationError) Cause ¶
func (e TemplateVariablesValidationError) Cause() error
Cause function returns cause value.
func (TemplateVariablesValidationError) Error ¶
func (e TemplateVariablesValidationError) Error() string
Error satisfies the builtin error interface
func (TemplateVariablesValidationError) ErrorName ¶
func (e TemplateVariablesValidationError) ErrorName() string
ErrorName returns error name.
func (TemplateVariablesValidationError) Field ¶
func (e TemplateVariablesValidationError) Field() string
Field function returns field value.
func (TemplateVariablesValidationError) Key ¶
func (e TemplateVariablesValidationError) Key() bool
Key function returns key value.
func (TemplateVariablesValidationError) Reason ¶
func (e TemplateVariablesValidationError) Reason() string
Reason function returns reason value.
type Types ¶
type Types int32
const (
Types_CORTEX Types = 0
)
func (Types) Descriptor ¶
func (Types) Descriptor() protoreflect.EnumDescriptor
func (Types) EnumDescriptor
deprecated
func (Types) Number ¶
func (x Types) Number() protoreflect.EnumNumber
func (Types) Type ¶
func (Types) Type() protoreflect.EnumType
type UnimplementedSirenServiceServer ¶
type UnimplementedSirenServiceServer struct { }
UnimplementedSirenServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSirenServiceServer) CreateCortexAlerts ¶
func (UnimplementedSirenServiceServer) CreateCortexAlerts(context.Context, *CreateCortexAlertsRequest) (*Alerts, error)
func (UnimplementedSirenServiceServer) CreateNamespace ¶
func (UnimplementedSirenServiceServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error)
func (UnimplementedSirenServiceServer) CreateProvider ¶
func (UnimplementedSirenServiceServer) CreateProvider(context.Context, *CreateProviderRequest) (*Provider, error)
func (UnimplementedSirenServiceServer) CreateReceiver ¶
func (UnimplementedSirenServiceServer) CreateReceiver(context.Context, *CreateReceiverRequest) (*Receiver, error)
func (UnimplementedSirenServiceServer) CreateSubscription ¶
func (UnimplementedSirenServiceServer) CreateSubscription(context.Context, *CreateSubscriptionRequest) (*Subscription, error)
func (UnimplementedSirenServiceServer) DeleteNamespace ¶
func (UnimplementedSirenServiceServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error)
func (UnimplementedSirenServiceServer) DeleteProvider ¶
func (UnimplementedSirenServiceServer) DeleteProvider(context.Context, *DeleteProviderRequest) (*emptypb.Empty, error)
func (UnimplementedSirenServiceServer) DeleteReceiver ¶
func (UnimplementedSirenServiceServer) DeleteReceiver(context.Context, *DeleteReceiverRequest) (*emptypb.Empty, error)
func (UnimplementedSirenServiceServer) DeleteSubscription ¶
func (UnimplementedSirenServiceServer) DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*emptypb.Empty, error)
func (UnimplementedSirenServiceServer) DeleteTemplate ¶
func (UnimplementedSirenServiceServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
func (UnimplementedSirenServiceServer) GetNamespace ¶
func (UnimplementedSirenServiceServer) GetNamespace(context.Context, *GetNamespaceRequest) (*Namespace, error)
func (UnimplementedSirenServiceServer) GetProvider ¶
func (UnimplementedSirenServiceServer) GetProvider(context.Context, *GetProviderRequest) (*Provider, error)
func (UnimplementedSirenServiceServer) GetReceiver ¶
func (UnimplementedSirenServiceServer) GetReceiver(context.Context, *GetReceiverRequest) (*Receiver, error)
func (UnimplementedSirenServiceServer) GetSubscription ¶
func (UnimplementedSirenServiceServer) GetSubscription(context.Context, *GetSubscriptionRequest) (*Subscription, error)
func (UnimplementedSirenServiceServer) GetTemplateByName ¶
func (UnimplementedSirenServiceServer) GetTemplateByName(context.Context, *GetTemplateByNameRequest) (*TemplateResponse, error)
func (UnimplementedSirenServiceServer) ListAlerts ¶
func (UnimplementedSirenServiceServer) ListAlerts(context.Context, *ListAlertsRequest) (*Alerts, error)
func (UnimplementedSirenServiceServer) ListNamespaces ¶
func (UnimplementedSirenServiceServer) ListNamespaces(context.Context, *emptypb.Empty) (*ListNamespacesResponse, error)
func (UnimplementedSirenServiceServer) ListProviders ¶
func (UnimplementedSirenServiceServer) ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error)
func (UnimplementedSirenServiceServer) ListReceivers ¶
func (UnimplementedSirenServiceServer) ListReceivers(context.Context, *emptypb.Empty) (*ListReceiversResponse, error)
func (UnimplementedSirenServiceServer) ListRules ¶
func (UnimplementedSirenServiceServer) ListRules(context.Context, *ListRulesRequest) (*ListRulesResponse, error)
func (UnimplementedSirenServiceServer) ListSubscriptions ¶
func (UnimplementedSirenServiceServer) ListSubscriptions(context.Context, *emptypb.Empty) (*ListSubscriptionsResponse, error)
func (UnimplementedSirenServiceServer) ListTemplates ¶
func (UnimplementedSirenServiceServer) ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error)
func (UnimplementedSirenServiceServer) Ping ¶
func (UnimplementedSirenServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedSirenServiceServer) RenderTemplate ¶
func (UnimplementedSirenServiceServer) RenderTemplate(context.Context, *RenderTemplateRequest) (*RenderTemplateResponse, error)
func (UnimplementedSirenServiceServer) SendReceiverNotification ¶
func (UnimplementedSirenServiceServer) SendReceiverNotification(context.Context, *SendReceiverNotificationRequest) (*SendReceiverNotificationResponse, error)
func (UnimplementedSirenServiceServer) UpdateNamespace ¶
func (UnimplementedSirenServiceServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error)
func (UnimplementedSirenServiceServer) UpdateProvider ¶
func (UnimplementedSirenServiceServer) UpdateProvider(context.Context, *UpdateProviderRequest) (*Provider, error)
func (UnimplementedSirenServiceServer) UpdateReceiver ¶
func (UnimplementedSirenServiceServer) UpdateReceiver(context.Context, *UpdateReceiverRequest) (*Receiver, error)
func (UnimplementedSirenServiceServer) UpdateRule ¶
func (UnimplementedSirenServiceServer) UpdateRule(context.Context, *UpdateRuleRequest) (*UpdateRuleResponse, error)
func (UnimplementedSirenServiceServer) UpdateSubscription ¶
func (UnimplementedSirenServiceServer) UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*Subscription, error)
func (UnimplementedSirenServiceServer) UpsertTemplate ¶
func (UnimplementedSirenServiceServer) UpsertTemplate(context.Context, *UpsertTemplateRequest) (*TemplateResponse, error)
type UnsafeSirenServiceServer ¶
type UnsafeSirenServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSirenServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SirenServiceServer will result in compilation errors.
type UpdateNamespaceRequest ¶
type UpdateNamespaceRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Provider uint64 `protobuf:"varint,3,opt,name=provider,proto3" json:"provider,omitempty"` Credentials *structpb.Struct `protobuf:"bytes,4,opt,name=credentials,proto3" json:"credentials,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateNamespaceRequest) Descriptor
deprecated
func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNamespaceRequest.ProtoReflect.Descriptor instead.
func (*UpdateNamespaceRequest) GetCredentials ¶
func (x *UpdateNamespaceRequest) GetCredentials() *structpb.Struct
func (*UpdateNamespaceRequest) GetId ¶
func (x *UpdateNamespaceRequest) GetId() uint64
func (*UpdateNamespaceRequest) GetLabels ¶
func (x *UpdateNamespaceRequest) GetLabels() map[string]string
func (*UpdateNamespaceRequest) GetName ¶
func (x *UpdateNamespaceRequest) GetName() string
func (*UpdateNamespaceRequest) GetProvider ¶
func (x *UpdateNamespaceRequest) GetProvider() uint64
func (*UpdateNamespaceRequest) ProtoMessage ¶
func (*UpdateNamespaceRequest) ProtoMessage()
func (*UpdateNamespaceRequest) ProtoReflect ¶
func (x *UpdateNamespaceRequest) ProtoReflect() protoreflect.Message
func (*UpdateNamespaceRequest) Reset ¶
func (x *UpdateNamespaceRequest) Reset()
func (*UpdateNamespaceRequest) String ¶
func (x *UpdateNamespaceRequest) String() string
func (*UpdateNamespaceRequest) Validate ¶
func (m *UpdateNamespaceRequest) Validate() error
Validate checks the field values on UpdateNamespaceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateNamespaceRequest) ValidateAll ¶ added in v0.3.1
func (m *UpdateNamespaceRequest) ValidateAll() error
ValidateAll checks the field values on UpdateNamespaceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateNamespaceRequestMultiError, or nil if none found.
type UpdateNamespaceRequestMultiError ¶ added in v0.3.1
type UpdateNamespaceRequestMultiError []error
UpdateNamespaceRequestMultiError is an error wrapping multiple validation errors returned by UpdateNamespaceRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateNamespaceRequestMultiError) AllErrors ¶ added in v0.3.1
func (m UpdateNamespaceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateNamespaceRequestMultiError) Error ¶ added in v0.3.1
func (m UpdateNamespaceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateNamespaceRequestValidationError ¶
type UpdateNamespaceRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateNamespaceRequestValidationError is the validation error returned by UpdateNamespaceRequest.Validate if the designated constraints aren't met.
func (UpdateNamespaceRequestValidationError) Cause ¶
func (e UpdateNamespaceRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateNamespaceRequestValidationError) Error ¶
func (e UpdateNamespaceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateNamespaceRequestValidationError) ErrorName ¶
func (e UpdateNamespaceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateNamespaceRequestValidationError) Field ¶
func (e UpdateNamespaceRequestValidationError) Field() string
Field function returns field value.
func (UpdateNamespaceRequestValidationError) Key ¶
func (e UpdateNamespaceRequestValidationError) Key() bool
Key function returns key value.
func (UpdateNamespaceRequestValidationError) Reason ¶
func (e UpdateNamespaceRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateProviderRequest ¶
type UpdateProviderRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Credentials *structpb.Struct `protobuf:"bytes,5,opt,name=credentials,proto3" json:"credentials,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateProviderRequest) Descriptor
deprecated
func (*UpdateProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProviderRequest.ProtoReflect.Descriptor instead.
func (*UpdateProviderRequest) GetCredentials ¶
func (x *UpdateProviderRequest) GetCredentials() *structpb.Struct
func (*UpdateProviderRequest) GetHost ¶
func (x *UpdateProviderRequest) GetHost() string
func (*UpdateProviderRequest) GetId ¶
func (x *UpdateProviderRequest) GetId() uint64
func (*UpdateProviderRequest) GetLabels ¶
func (x *UpdateProviderRequest) GetLabels() map[string]string
func (*UpdateProviderRequest) GetName ¶
func (x *UpdateProviderRequest) GetName() string
func (*UpdateProviderRequest) GetType ¶
func (x *UpdateProviderRequest) GetType() string
func (*UpdateProviderRequest) ProtoMessage ¶
func (*UpdateProviderRequest) ProtoMessage()
func (*UpdateProviderRequest) ProtoReflect ¶
func (x *UpdateProviderRequest) ProtoReflect() protoreflect.Message
func (*UpdateProviderRequest) Reset ¶
func (x *UpdateProviderRequest) Reset()
func (*UpdateProviderRequest) String ¶
func (x *UpdateProviderRequest) String() string
func (*UpdateProviderRequest) Validate ¶
func (m *UpdateProviderRequest) Validate() error
Validate checks the field values on UpdateProviderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateProviderRequest) ValidateAll ¶ added in v0.3.1
func (m *UpdateProviderRequest) ValidateAll() error
ValidateAll checks the field values on UpdateProviderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateProviderRequestMultiError, or nil if none found.
type UpdateProviderRequestMultiError ¶ added in v0.3.1
type UpdateProviderRequestMultiError []error
UpdateProviderRequestMultiError is an error wrapping multiple validation errors returned by UpdateProviderRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateProviderRequestMultiError) AllErrors ¶ added in v0.3.1
func (m UpdateProviderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateProviderRequestMultiError) Error ¶ added in v0.3.1
func (m UpdateProviderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateProviderRequestValidationError ¶
type UpdateProviderRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateProviderRequestValidationError is the validation error returned by UpdateProviderRequest.Validate if the designated constraints aren't met.
func (UpdateProviderRequestValidationError) Cause ¶
func (e UpdateProviderRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateProviderRequestValidationError) Error ¶
func (e UpdateProviderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProviderRequestValidationError) ErrorName ¶
func (e UpdateProviderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProviderRequestValidationError) Field ¶
func (e UpdateProviderRequestValidationError) Field() string
Field function returns field value.
func (UpdateProviderRequestValidationError) Key ¶
func (e UpdateProviderRequestValidationError) Key() bool
Key function returns key value.
func (UpdateProviderRequestValidationError) Reason ¶
func (e UpdateProviderRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateReceiverRequest ¶
type UpdateReceiverRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ Configurations *structpb.Struct `protobuf:"bytes,5,opt,name=configurations,proto3" json:"configurations,omitempty"` // contains filtered or unexported fields }
func (*UpdateReceiverRequest) Descriptor
deprecated
func (*UpdateReceiverRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReceiverRequest.ProtoReflect.Descriptor instead.
func (*UpdateReceiverRequest) GetConfigurations ¶
func (x *UpdateReceiverRequest) GetConfigurations() *structpb.Struct
func (*UpdateReceiverRequest) GetId ¶
func (x *UpdateReceiverRequest) GetId() uint64
func (*UpdateReceiverRequest) GetLabels ¶
func (x *UpdateReceiverRequest) GetLabels() map[string]string
func (*UpdateReceiverRequest) GetName ¶
func (x *UpdateReceiverRequest) GetName() string
func (*UpdateReceiverRequest) GetType ¶
func (x *UpdateReceiverRequest) GetType() string
func (*UpdateReceiverRequest) ProtoMessage ¶
func (*UpdateReceiverRequest) ProtoMessage()
func (*UpdateReceiverRequest) ProtoReflect ¶
func (x *UpdateReceiverRequest) ProtoReflect() protoreflect.Message
func (*UpdateReceiverRequest) Reset ¶
func (x *UpdateReceiverRequest) Reset()
func (*UpdateReceiverRequest) String ¶
func (x *UpdateReceiverRequest) String() string
func (*UpdateReceiverRequest) Validate ¶
func (m *UpdateReceiverRequest) Validate() error
Validate checks the field values on UpdateReceiverRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateReceiverRequest) ValidateAll ¶ added in v0.3.1
func (m *UpdateReceiverRequest) ValidateAll() error
ValidateAll checks the field values on UpdateReceiverRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateReceiverRequestMultiError, or nil if none found.
type UpdateReceiverRequestMultiError ¶ added in v0.3.1
type UpdateReceiverRequestMultiError []error
UpdateReceiverRequestMultiError is an error wrapping multiple validation errors returned by UpdateReceiverRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateReceiverRequestMultiError) AllErrors ¶ added in v0.3.1
func (m UpdateReceiverRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateReceiverRequestMultiError) Error ¶ added in v0.3.1
func (m UpdateReceiverRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateReceiverRequestValidationError ¶
type UpdateReceiverRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateReceiverRequestValidationError is the validation error returned by UpdateReceiverRequest.Validate if the designated constraints aren't met.
func (UpdateReceiverRequestValidationError) Cause ¶
func (e UpdateReceiverRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateReceiverRequestValidationError) Error ¶
func (e UpdateReceiverRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateReceiverRequestValidationError) ErrorName ¶
func (e UpdateReceiverRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateReceiverRequestValidationError) Field ¶
func (e UpdateReceiverRequestValidationError) Field() string
Field function returns field value.
func (UpdateReceiverRequestValidationError) Key ¶
func (e UpdateReceiverRequestValidationError) Key() bool
Key function returns key value.
func (UpdateReceiverRequestValidationError) Reason ¶
func (e UpdateReceiverRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateRuleRequest ¶
type UpdateRuleRequest struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"` Variables []*Variables `protobuf:"bytes,5,rep,name=variables,proto3" json:"variables,omitempty"` ProviderNamespace uint64 `protobuf:"varint,6,opt,name=provider_namespace,json=providerNamespace,proto3" json:"provider_namespace,omitempty"` // contains filtered or unexported fields }
func (*UpdateRuleRequest) Descriptor
deprecated
func (*UpdateRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateRuleRequest) GetEnabled ¶
func (x *UpdateRuleRequest) GetEnabled() bool
func (*UpdateRuleRequest) GetGroupName ¶
func (x *UpdateRuleRequest) GetGroupName() string
func (*UpdateRuleRequest) GetNamespace ¶
func (x *UpdateRuleRequest) GetNamespace() string
func (*UpdateRuleRequest) GetProviderNamespace ¶
func (x *UpdateRuleRequest) GetProviderNamespace() uint64
func (*UpdateRuleRequest) GetTemplate ¶
func (x *UpdateRuleRequest) GetTemplate() string
func (*UpdateRuleRequest) GetVariables ¶
func (x *UpdateRuleRequest) GetVariables() []*Variables
func (*UpdateRuleRequest) ProtoMessage ¶
func (*UpdateRuleRequest) ProtoMessage()
func (*UpdateRuleRequest) ProtoReflect ¶
func (x *UpdateRuleRequest) ProtoReflect() protoreflect.Message
func (*UpdateRuleRequest) Reset ¶
func (x *UpdateRuleRequest) Reset()
func (*UpdateRuleRequest) String ¶
func (x *UpdateRuleRequest) String() string
func (*UpdateRuleRequest) Validate ¶
func (m *UpdateRuleRequest) Validate() error
Validate checks the field values on UpdateRuleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateRuleRequest) ValidateAll ¶ added in v0.3.1
func (m *UpdateRuleRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRuleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRuleRequestMultiError, or nil if none found.
type UpdateRuleRequestMultiError ¶ added in v0.3.1
type UpdateRuleRequestMultiError []error
UpdateRuleRequestMultiError is an error wrapping multiple validation errors returned by UpdateRuleRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRuleRequestMultiError) AllErrors ¶ added in v0.3.1
func (m UpdateRuleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRuleRequestMultiError) Error ¶ added in v0.3.1
func (m UpdateRuleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRuleRequestValidationError ¶
type UpdateRuleRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRuleRequestValidationError is the validation error returned by UpdateRuleRequest.Validate if the designated constraints aren't met.
func (UpdateRuleRequestValidationError) Cause ¶
func (e UpdateRuleRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRuleRequestValidationError) Error ¶
func (e UpdateRuleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRuleRequestValidationError) ErrorName ¶
func (e UpdateRuleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRuleRequestValidationError) Field ¶
func (e UpdateRuleRequestValidationError) Field() string
Field function returns field value.
func (UpdateRuleRequestValidationError) Key ¶
func (e UpdateRuleRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRuleRequestValidationError) Reason ¶
func (e UpdateRuleRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateRuleResponse ¶
type UpdateRuleResponse struct { Rule *Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` // contains filtered or unexported fields }
func (*UpdateRuleResponse) Descriptor
deprecated
func (*UpdateRuleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRuleResponse.ProtoReflect.Descriptor instead.
func (*UpdateRuleResponse) GetRule ¶
func (x *UpdateRuleResponse) GetRule() *Rule
func (*UpdateRuleResponse) ProtoMessage ¶
func (*UpdateRuleResponse) ProtoMessage()
func (*UpdateRuleResponse) ProtoReflect ¶
func (x *UpdateRuleResponse) ProtoReflect() protoreflect.Message
func (*UpdateRuleResponse) Reset ¶
func (x *UpdateRuleResponse) Reset()
func (*UpdateRuleResponse) String ¶
func (x *UpdateRuleResponse) String() string
func (*UpdateRuleResponse) Validate ¶
func (m *UpdateRuleResponse) Validate() error
Validate checks the field values on UpdateRuleResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateRuleResponse) ValidateAll ¶ added in v0.3.1
func (m *UpdateRuleResponse) ValidateAll() error
ValidateAll checks the field values on UpdateRuleResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRuleResponseMultiError, or nil if none found.
type UpdateRuleResponseMultiError ¶ added in v0.3.1
type UpdateRuleResponseMultiError []error
UpdateRuleResponseMultiError is an error wrapping multiple validation errors returned by UpdateRuleResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateRuleResponseMultiError) AllErrors ¶ added in v0.3.1
func (m UpdateRuleResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRuleResponseMultiError) Error ¶ added in v0.3.1
func (m UpdateRuleResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRuleResponseValidationError ¶
type UpdateRuleResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateRuleResponseValidationError is the validation error returned by UpdateRuleResponse.Validate if the designated constraints aren't met.
func (UpdateRuleResponseValidationError) Cause ¶
func (e UpdateRuleResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateRuleResponseValidationError) Error ¶
func (e UpdateRuleResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRuleResponseValidationError) ErrorName ¶
func (e UpdateRuleResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRuleResponseValidationError) Field ¶
func (e UpdateRuleResponseValidationError) Field() string
Field function returns field value.
func (UpdateRuleResponseValidationError) Key ¶
func (e UpdateRuleResponseValidationError) Key() bool
Key function returns key value.
func (UpdateRuleResponseValidationError) Reason ¶
func (e UpdateRuleResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateSubscriptionRequest ¶
type UpdateSubscriptionRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` Namespace uint64 `protobuf:"varint,3,opt,name=namespace,proto3" json:"namespace,omitempty"` Receivers []*ReceiverMetadata `protobuf:"bytes,4,rep,name=receivers,proto3" json:"receivers,omitempty"` Match map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateSubscriptionRequest) Descriptor
deprecated
func (*UpdateSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*UpdateSubscriptionRequest) GetId ¶
func (x *UpdateSubscriptionRequest) GetId() uint64
func (*UpdateSubscriptionRequest) GetMatch ¶
func (x *UpdateSubscriptionRequest) GetMatch() map[string]string
func (*UpdateSubscriptionRequest) GetNamespace ¶
func (x *UpdateSubscriptionRequest) GetNamespace() uint64
func (*UpdateSubscriptionRequest) GetReceivers ¶
func (x *UpdateSubscriptionRequest) GetReceivers() []*ReceiverMetadata
func (*UpdateSubscriptionRequest) GetUrn ¶
func (x *UpdateSubscriptionRequest) GetUrn() string
func (*UpdateSubscriptionRequest) ProtoMessage ¶
func (*UpdateSubscriptionRequest) ProtoMessage()
func (*UpdateSubscriptionRequest) ProtoReflect ¶
func (x *UpdateSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*UpdateSubscriptionRequest) Reset ¶
func (x *UpdateSubscriptionRequest) Reset()
func (*UpdateSubscriptionRequest) String ¶
func (x *UpdateSubscriptionRequest) String() string
func (*UpdateSubscriptionRequest) Validate ¶
func (m *UpdateSubscriptionRequest) Validate() error
Validate checks the field values on UpdateSubscriptionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateSubscriptionRequest) ValidateAll ¶ added in v0.3.1
func (m *UpdateSubscriptionRequest) ValidateAll() error
ValidateAll checks the field values on UpdateSubscriptionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateSubscriptionRequestMultiError, or nil if none found.
type UpdateSubscriptionRequestMultiError ¶ added in v0.3.1
type UpdateSubscriptionRequestMultiError []error
UpdateSubscriptionRequestMultiError is an error wrapping multiple validation errors returned by UpdateSubscriptionRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateSubscriptionRequestMultiError) AllErrors ¶ added in v0.3.1
func (m UpdateSubscriptionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateSubscriptionRequestMultiError) Error ¶ added in v0.3.1
func (m UpdateSubscriptionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateSubscriptionRequestValidationError ¶
type UpdateSubscriptionRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateSubscriptionRequestValidationError is the validation error returned by UpdateSubscriptionRequest.Validate if the designated constraints aren't met.
func (UpdateSubscriptionRequestValidationError) Cause ¶
func (e UpdateSubscriptionRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateSubscriptionRequestValidationError) Error ¶
func (e UpdateSubscriptionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateSubscriptionRequestValidationError) ErrorName ¶
func (e UpdateSubscriptionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateSubscriptionRequestValidationError) Field ¶
func (e UpdateSubscriptionRequestValidationError) Field() string
Field function returns field value.
func (UpdateSubscriptionRequestValidationError) Key ¶
func (e UpdateSubscriptionRequestValidationError) Key() bool
Key function returns key value.
func (UpdateSubscriptionRequestValidationError) Reason ¶
func (e UpdateSubscriptionRequestValidationError) Reason() string
Reason function returns reason value.
type UpsertTemplateRequest ¶
type UpsertTemplateRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` Variables []*TemplateVariables `protobuf:"bytes,5,rep,name=variables,proto3" json:"variables,omitempty"` // contains filtered or unexported fields }
func (*UpsertTemplateRequest) Descriptor
deprecated
func (*UpsertTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpsertTemplateRequest) GetBody ¶
func (x *UpsertTemplateRequest) GetBody() string
func (*UpsertTemplateRequest) GetId ¶
func (x *UpsertTemplateRequest) GetId() uint64
func (*UpsertTemplateRequest) GetName ¶
func (x *UpsertTemplateRequest) GetName() string
func (*UpsertTemplateRequest) GetTags ¶
func (x *UpsertTemplateRequest) GetTags() []string
func (*UpsertTemplateRequest) GetVariables ¶
func (x *UpsertTemplateRequest) GetVariables() []*TemplateVariables
func (*UpsertTemplateRequest) ProtoMessage ¶
func (*UpsertTemplateRequest) ProtoMessage()
func (*UpsertTemplateRequest) ProtoReflect ¶
func (x *UpsertTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpsertTemplateRequest) Reset ¶
func (x *UpsertTemplateRequest) Reset()
func (*UpsertTemplateRequest) String ¶
func (x *UpsertTemplateRequest) String() string
func (*UpsertTemplateRequest) Validate ¶
func (m *UpsertTemplateRequest) Validate() error
Validate checks the field values on UpsertTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpsertTemplateRequest) ValidateAll ¶ added in v0.3.1
func (m *UpsertTemplateRequest) ValidateAll() error
ValidateAll checks the field values on UpsertTemplateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpsertTemplateRequestMultiError, or nil if none found.
type UpsertTemplateRequestMultiError ¶ added in v0.3.1
type UpsertTemplateRequestMultiError []error
UpsertTemplateRequestMultiError is an error wrapping multiple validation errors returned by UpsertTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (UpsertTemplateRequestMultiError) AllErrors ¶ added in v0.3.1
func (m UpsertTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpsertTemplateRequestMultiError) Error ¶ added in v0.3.1
func (m UpsertTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpsertTemplateRequestValidationError ¶
type UpsertTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
UpsertTemplateRequestValidationError is the validation error returned by UpsertTemplateRequest.Validate if the designated constraints aren't met.
func (UpsertTemplateRequestValidationError) Cause ¶
func (e UpsertTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpsertTemplateRequestValidationError) Error ¶
func (e UpsertTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpsertTemplateRequestValidationError) ErrorName ¶
func (e UpsertTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpsertTemplateRequestValidationError) Field ¶
func (e UpsertTemplateRequestValidationError) Field() string
Field function returns field value.
func (UpsertTemplateRequestValidationError) Key ¶
func (e UpsertTemplateRequestValidationError) Key() bool
Key function returns key value.
func (UpsertTemplateRequestValidationError) Reason ¶
func (e UpsertTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type Variables ¶
type Variables struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Variables) Descriptor
deprecated
func (*Variables) GetDescription ¶
func (*Variables) ProtoMessage ¶
func (*Variables) ProtoMessage()
func (*Variables) ProtoReflect ¶
func (x *Variables) ProtoReflect() protoreflect.Message
func (*Variables) Validate ¶
Validate checks the field values on Variables with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Variables) ValidateAll ¶ added in v0.3.1
ValidateAll checks the field values on Variables with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VariablesMultiError, or nil if none found.
type VariablesMultiError ¶ added in v0.3.1
type VariablesMultiError []error
VariablesMultiError is an error wrapping multiple validation errors returned by Variables.ValidateAll() if the designated constraints aren't met.
func (VariablesMultiError) AllErrors ¶ added in v0.3.1
func (m VariablesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VariablesMultiError) Error ¶ added in v0.3.1
func (m VariablesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VariablesValidationError ¶
type VariablesValidationError struct {
// contains filtered or unexported fields
}
VariablesValidationError is the validation error returned by Variables.Validate if the designated constraints aren't met.
func (VariablesValidationError) Cause ¶
func (e VariablesValidationError) Cause() error
Cause function returns cause value.
func (VariablesValidationError) Error ¶
func (e VariablesValidationError) Error() string
Error satisfies the builtin error interface
func (VariablesValidationError) ErrorName ¶
func (e VariablesValidationError) ErrorName() string
ErrorName returns error name.
func (VariablesValidationError) Field ¶
func (e VariablesValidationError) Field() string
Field function returns field value.
func (VariablesValidationError) Key ¶
func (e VariablesValidationError) Key() bool
Key function returns key value.
func (VariablesValidationError) Reason ¶
func (e VariablesValidationError) Reason() string
Reason function returns reason value.