sirenv1beta1

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Overview

Package sirenv1beta1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	Types_name = map[int32]string{
		0: "CORTEX",
	}
	Types_value = map[string]int32{
		"CORTEX": 0,
	}
)

Enum value maps for Types.

View Source
var File_odpf_siren_v1beta1_siren_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Alert.ProtoReflect.Descriptor instead.

func (*Alert) GetId

func (x *Alert) GetId() uint64

func (*Alert) GetMetricName

func (x *Alert) GetMetricName() string

func (*Alert) GetMetricValue

func (x *Alert) GetMetricValue() string

func (*Alert) GetProviderId

func (x *Alert) GetProviderId() uint64

func (*Alert) GetResourceName

func (x *Alert) GetResourceName() string

func (*Alert) GetRule

func (x *Alert) GetRule() string

func (*Alert) GetSeverity

func (x *Alert) GetSeverity() string

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) Reset

func (x *Alert) Reset()

func (*Alert) String

func (x *Alert) String() string

func (*Alert) Validate

func (m *Alert) Validate() error

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

func (m *Alert) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Alerts.ProtoReflect.Descriptor instead.

func (*Alerts) GetAlerts

func (x *Alerts) GetAlerts() []*Alert

func (*Alerts) ProtoMessage

func (*Alerts) ProtoMessage()

func (*Alerts) ProtoReflect

func (x *Alerts) ProtoReflect() protoreflect.Message

func (*Alerts) Reset

func (x *Alerts) Reset()

func (*Alerts) String

func (x *Alerts) String() string

func (*Alerts) Validate

func (m *Alerts) Validate() error

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

func (m *Alerts) ValidateAll() error

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

Cause function returns cause value.

func (AnnotationsValidationError) Error

Error satisfies the builtin error interface

func (AnnotationsValidationError) ErrorName

func (e AnnotationsValidationError) ErrorName() string

ErrorName returns error name.

func (AnnotationsValidationError) Field

Field function returns field value.

func (AnnotationsValidationError) Key

Key function returns key value.

func (AnnotationsValidationError) Reason

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

Cause function returns cause value.

func (CortexAlertValidationError) Error

Error satisfies the builtin error interface

func (CortexAlertValidationError) ErrorName

func (e CortexAlertValidationError) ErrorName() string

ErrorName returns error name.

func (CortexAlertValidationError) Field

Field function returns field value.

func (CortexAlertValidationError) Key

Key function returns key value.

func (CortexAlertValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (CreateCortexAlertsRequestMultiError) Error added in v0.3.1

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

Cause function returns cause value.

func (CreateCortexAlertsRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateCortexAlertsRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateCortexAlertsRequestValidationError) Field

Field function returns field value.

func (CreateCortexAlertsRequestValidationError) Key

Key function returns key value.

func (CreateCortexAlertsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateNamespaceRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateNamespaceRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateNamespaceRequestValidationError) Field

Field function returns field value.

func (CreateNamespaceRequestValidationError) Key

Key function returns key value.

func (CreateNamespaceRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateProviderRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateProviderRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateProviderRequestValidationError) Field

Field function returns field value.

func (CreateProviderRequestValidationError) Key

Key function returns key value.

func (CreateProviderRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateReceiverRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateReceiverRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateReceiverRequestValidationError) Field

Field function returns field value.

func (CreateReceiverRequestValidationError) Key

Key function returns key value.

func (CreateReceiverRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (CreateSubscriptionRequestMultiError) Error added in v0.3.1

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

Cause function returns cause value.

func (CreateSubscriptionRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateSubscriptionRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateSubscriptionRequestValidationError) Field

Field function returns field value.

func (CreateSubscriptionRequestValidationError) Key

Key function returns key value.

func (CreateSubscriptionRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteNamespaceRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteNamespaceRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteNamespaceRequestValidationError) Field

Field function returns field value.

func (DeleteNamespaceRequestValidationError) Key

Key function returns key value.

func (DeleteNamespaceRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteProviderRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteProviderRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteProviderRequestValidationError) Field

Field function returns field value.

func (DeleteProviderRequestValidationError) Key

Key function returns key value.

func (DeleteProviderRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteReceiverRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteReceiverRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteReceiverRequestValidationError) Field

Field function returns field value.

func (DeleteReceiverRequestValidationError) Key

Key function returns key value.

func (DeleteReceiverRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (DeleteSubscriptionRequestMultiError) Error added in v0.3.1

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

Cause function returns cause value.

func (DeleteSubscriptionRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteSubscriptionRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteSubscriptionRequestValidationError) Field

Field function returns field value.

func (DeleteSubscriptionRequestValidationError) Key

Key function returns key value.

func (DeleteSubscriptionRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTemplateRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteTemplateRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteTemplateRequestValidationError) Field

Field function returns field value.

func (DeleteTemplateRequestValidationError) Key

Key function returns key value.

func (DeleteTemplateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTemplateResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteTemplateResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteTemplateResponseValidationError) Field

Field function returns field value.

func (DeleteTemplateResponseValidationError) Key

Key function returns key value.

func (DeleteTemplateResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GetNamespaceRequestValidationError) Error

Error satisfies the builtin error interface

func (GetNamespaceRequestValidationError) ErrorName

ErrorName returns error name.

func (GetNamespaceRequestValidationError) Field

Field function returns field value.

func (GetNamespaceRequestValidationError) Key

Key function returns key value.

func (GetNamespaceRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetProviderRequestValidationError) Error

Error satisfies the builtin error interface

func (GetProviderRequestValidationError) ErrorName

ErrorName returns error name.

func (GetProviderRequestValidationError) Field

Field function returns field value.

func (GetProviderRequestValidationError) Key

Key function returns key value.

func (GetProviderRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetReceiverRequestValidationError) Error

Error satisfies the builtin error interface

func (GetReceiverRequestValidationError) ErrorName

ErrorName returns error name.

func (GetReceiverRequestValidationError) Field

Field function returns field value.

func (GetReceiverRequestValidationError) Key

Key function returns key value.

func (GetReceiverRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetSubscriptionRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSubscriptionRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSubscriptionRequestValidationError) Field

Field function returns field value.

func (GetSubscriptionRequestValidationError) Key

Key function returns key value.

func (GetSubscriptionRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetTemplateByNameRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTemplateByNameRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTemplateByNameRequestValidationError) Field

Field function returns field value.

func (GetTemplateByNameRequestValidationError) Key

Key function returns key value.

func (GetTemplateByNameRequestValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Labels.ProtoReflect.Descriptor instead.

func (*Labels) GetSeverity

func (x *Labels) GetSeverity() string

func (*Labels) ProtoMessage

func (*Labels) ProtoMessage()

func (*Labels) ProtoReflect

func (x *Labels) ProtoReflect() protoreflect.Message

func (*Labels) Reset

func (x *Labels) Reset()

func (*Labels) String

func (x *Labels) String() string

func (*Labels) Validate

func (m *Labels) Validate() error

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

func (m *Labels) ValidateAll() error

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

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

Cause function returns cause value.

func (ListAlertsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListAlertsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListAlertsRequestValidationError) Field

Field function returns field value.

func (ListAlertsRequestValidationError) Key

Key function returns key value.

func (ListAlertsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListNamespacesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListNamespacesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListNamespacesResponseValidationError) Field

Field function returns field value.

func (ListNamespacesResponseValidationError) Key

Key function returns key value.

func (ListNamespacesResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ListProvidersRequestValidationError) Error

Error satisfies the builtin error interface

func (ListProvidersRequestValidationError) ErrorName

ErrorName returns error name.

func (ListProvidersRequestValidationError) Field

Field function returns field value.

func (ListProvidersRequestValidationError) Key

Key function returns key value.

func (ListProvidersRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListProvidersResponseValidationError) Error

Error satisfies the builtin error interface

func (ListProvidersResponseValidationError) ErrorName

ErrorName returns error name.

func (ListProvidersResponseValidationError) Field

Field function returns field value.

func (ListProvidersResponseValidationError) Key

Key function returns key value.

func (ListProvidersResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ListReceiversResponseValidationError) Error

Error satisfies the builtin error interface

func (ListReceiversResponseValidationError) ErrorName

ErrorName returns error name.

func (ListReceiversResponseValidationError) Field

Field function returns field value.

func (ListReceiversResponseValidationError) Key

Key function returns key value.

func (ListReceiversResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ListRulesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListRulesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListRulesRequestValidationError) Field

Field function returns field value.

func (ListRulesRequestValidationError) Key

Key function returns key value.

func (ListRulesRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListRulesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListRulesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListRulesResponseValidationError) Field

Field function returns field value.

func (ListRulesResponseValidationError) Key

Key function returns key value.

func (ListRulesResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ListSubscriptionsResponseMultiError) Error added in v0.3.1

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

Cause function returns cause value.

func (ListSubscriptionsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListSubscriptionsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListSubscriptionsResponseValidationError) Field

Field function returns field value.

func (ListSubscriptionsResponseValidationError) Key

Key function returns key value.

func (ListSubscriptionsResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ListTemplatesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListTemplatesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListTemplatesRequestValidationError) Field

Field function returns field value.

func (ListTemplatesRequestValidationError) Key

Key function returns key value.

func (ListTemplatesRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListTemplatesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListTemplatesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListTemplatesResponseValidationError) Field

Field function returns field value.

func (ListTemplatesResponseValidationError) Key

Key function returns key value.

func (ListTemplatesResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) GetCreatedAt

func (x *Namespace) GetCreatedAt() *timestamppb.Timestamp

func (*Namespace) GetCredentials

func (x *Namespace) GetCredentials() *structpb.Struct

func (*Namespace) GetId

func (x *Namespace) GetId() uint64

func (*Namespace) GetLabels

func (x *Namespace) GetLabels() map[string]string

func (*Namespace) GetName

func (x *Namespace) GetName() string

func (*Namespace) GetProvider

func (x *Namespace) GetProvider() uint64

func (*Namespace) GetUpdatedAt

func (x *Namespace) GetUpdatedAt() *timestamppb.Timestamp

func (*Namespace) GetUrn

func (x *Namespace) GetUrn() string

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

func (x *Namespace) ProtoReflect() protoreflect.Message

func (*Namespace) Reset

func (x *Namespace) Reset()

func (*Namespace) String

func (x *Namespace) String() string

func (*Namespace) Validate

func (m *Namespace) Validate() error

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

func (m *Namespace) ValidateAll() error

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

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

Cause function returns cause value.

func (PingRequestValidationError) Error

Error satisfies the builtin error interface

func (PingRequestValidationError) ErrorName

func (e PingRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PingRequestValidationError) Field

Field function returns field value.

func (PingRequestValidationError) Key

Key function returns key value.

func (PingRequestValidationError) Reason

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

Cause function returns cause value.

func (PingResponseValidationError) Error

Error satisfies the builtin error interface

func (PingResponseValidationError) ErrorName

func (e PingResponseValidationError) ErrorName() string

ErrorName returns error name.

func (PingResponseValidationError) Field

Field function returns field value.

func (PingResponseValidationError) Key

Key function returns key value.

func (PingResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Provider.ProtoReflect.Descriptor instead.

func (*Provider) GetCreatedAt

func (x *Provider) GetCreatedAt() *timestamppb.Timestamp

func (*Provider) GetCredentials

func (x *Provider) GetCredentials() *structpb.Struct

func (*Provider) GetHost

func (x *Provider) GetHost() string

func (*Provider) GetId

func (x *Provider) GetId() uint64

func (*Provider) GetLabels

func (x *Provider) GetLabels() map[string]string

func (*Provider) GetName

func (x *Provider) GetName() string

func (*Provider) GetType

func (x *Provider) GetType() string

func (*Provider) GetUpdatedAt

func (x *Provider) GetUpdatedAt() *timestamppb.Timestamp

func (*Provider) GetUrn

func (x *Provider) GetUrn() string

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) ProtoReflect

func (x *Provider) ProtoReflect() protoreflect.Message

func (*Provider) Reset

func (x *Provider) Reset()

func (*Provider) String

func (x *Provider) String() string

func (*Provider) Validate

func (m *Provider) Validate() error

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

func (m *Provider) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Receiver.ProtoReflect.Descriptor instead.

func (*Receiver) GetConfigurations

func (x *Receiver) GetConfigurations() *structpb.Struct

func (*Receiver) GetCreatedAt

func (x *Receiver) GetCreatedAt() *timestamppb.Timestamp

func (*Receiver) GetData

func (x *Receiver) GetData() *structpb.Struct

func (*Receiver) GetId

func (x *Receiver) GetId() uint64

func (*Receiver) GetLabels

func (x *Receiver) GetLabels() map[string]string

func (*Receiver) GetName

func (x *Receiver) GetName() string

func (*Receiver) GetType

func (x *Receiver) GetType() string

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) Reset

func (x *Receiver) Reset()

func (*Receiver) String

func (x *Receiver) String() string

func (*Receiver) Validate

func (m *Receiver) Validate() error

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

func (m *Receiver) ValidateAll() error

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

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

Cause function returns cause value.

func (ReceiverMetadataValidationError) Error

Error satisfies the builtin error interface

func (ReceiverMetadataValidationError) ErrorName

ErrorName returns error name.

func (ReceiverMetadataValidationError) Field

Field function returns field value.

func (ReceiverMetadataValidationError) Key

Key function returns key value.

func (ReceiverMetadataValidationError) Reason

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

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

Cause function returns cause value.

func (RenderTemplateRequestValidationError) Error

Error satisfies the builtin error interface

func (RenderTemplateRequestValidationError) ErrorName

ErrorName returns error name.

func (RenderTemplateRequestValidationError) Field

Field function returns field value.

func (RenderTemplateRequestValidationError) Key

Key function returns key value.

func (RenderTemplateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (RenderTemplateResponseValidationError) Error

Error satisfies the builtin error interface

func (RenderTemplateResponseValidationError) ErrorName

ErrorName returns error name.

func (RenderTemplateResponseValidationError) Field

Field function returns field value.

func (RenderTemplateResponseValidationError) Key

Key function returns key value.

func (RenderTemplateResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Rule.ProtoReflect.Descriptor instead.

func (*Rule) GetCreatedAt

func (x *Rule) GetCreatedAt() *timestamppb.Timestamp

func (*Rule) GetEnabled

func (x *Rule) GetEnabled() bool

func (*Rule) GetGroupName

func (x *Rule) GetGroupName() string

func (*Rule) GetId

func (x *Rule) GetId() uint64

func (*Rule) GetName

func (x *Rule) GetName() string

func (*Rule) GetNamespace

func (x *Rule) GetNamespace() string

func (*Rule) GetProviderNamespace

func (x *Rule) GetProviderNamespace() uint64

func (*Rule) GetTemplate

func (x *Rule) GetTemplate() string

func (*Rule) GetUpdatedAt

func (x *Rule) GetUpdatedAt() *timestamppb.Timestamp

func (*Rule) GetVariables

func (x *Rule) GetVariables() []*Variables

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) ProtoReflect

func (x *Rule) ProtoReflect() protoreflect.Message

func (*Rule) Reset

func (x *Rule) Reset()

func (*Rule) String

func (x *Rule) String() string

func (*Rule) Validate

func (m *Rule) Validate() error

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

func (m *Rule) ValidateAll() error

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 (*SendReceiverNotificationRequest) GetSlack

func (*SendReceiverNotificationRequest) ProtoMessage

func (*SendReceiverNotificationRequest) ProtoMessage()

func (*SendReceiverNotificationRequest) ProtoReflect

func (*SendReceiverNotificationRequest) Reset

func (*SendReceiverNotificationRequest) 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

AllErrors returns a list of validation violation errors.

func (SendReceiverNotificationRequestMultiError) Error added in v0.3.1

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

Cause function returns cause value.

func (SendReceiverNotificationRequestValidationError) Error

Error satisfies the builtin error interface

func (SendReceiverNotificationRequestValidationError) ErrorName

ErrorName returns error name.

func (SendReceiverNotificationRequestValidationError) Field

Field function returns field value.

func (SendReceiverNotificationRequestValidationError) Key

Key function returns key value.

func (SendReceiverNotificationRequestValidationError) Reason

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

Deprecated: Use SendReceiverNotificationRequest_SlackPayload.ProtoReflect.Descriptor instead.

func (*SendReceiverNotificationRequest_SlackPayload) GetBlocks

func (*SendReceiverNotificationRequest_SlackPayload) GetMessage

func (*SendReceiverNotificationRequest_SlackPayload) GetReceiverName

func (*SendReceiverNotificationRequest_SlackPayload) GetReceiverType

func (*SendReceiverNotificationRequest_SlackPayload) ProtoMessage

func (*SendReceiverNotificationRequest_SlackPayload) ProtoReflect

func (*SendReceiverNotificationRequest_SlackPayload) Reset

func (*SendReceiverNotificationRequest_SlackPayload) String

func (*SendReceiverNotificationRequest_SlackPayload) Validate

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

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

AllErrors returns a list of validation violation errors.

func (SendReceiverNotificationRequest_SlackPayloadMultiError) Error added in v0.3.1

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

Cause function returns cause value.

func (SendReceiverNotificationRequest_SlackPayloadValidationError) Error

Error satisfies the builtin error interface

func (SendReceiverNotificationRequest_SlackPayloadValidationError) ErrorName

ErrorName returns error name.

func (SendReceiverNotificationRequest_SlackPayloadValidationError) Field

Field function returns field value.

func (SendReceiverNotificationRequest_SlackPayloadValidationError) Key

Key function returns key value.

func (SendReceiverNotificationRequest_SlackPayloadValidationError) Reason

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 (*SendReceiverNotificationResponse) ProtoMessage

func (*SendReceiverNotificationResponse) ProtoMessage()

func (*SendReceiverNotificationResponse) ProtoReflect

func (*SendReceiverNotificationResponse) Reset

func (*SendReceiverNotificationResponse) String

func (*SendReceiverNotificationResponse) Validate

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

AllErrors returns a list of validation violation errors.

func (SendReceiverNotificationResponseMultiError) Error added in v0.3.1

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

Cause function returns cause value.

func (SendReceiverNotificationResponseValidationError) Error

Error satisfies the builtin error interface

func (SendReceiverNotificationResponseValidationError) ErrorName

ErrorName returns error name.

func (SendReceiverNotificationResponseValidationError) Field

Field function returns field value.

func (SendReceiverNotificationResponseValidationError) Key

Key function returns key value.

func (SendReceiverNotificationResponseValidationError) Reason

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.

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

Cause function returns cause value.

func (SubscriptionValidationError) Error

Error satisfies the builtin error interface

func (SubscriptionValidationError) ErrorName

func (e SubscriptionValidationError) ErrorName() string

ErrorName returns error name.

func (SubscriptionValidationError) Field

Field function returns field value.

func (SubscriptionValidationError) Key

Key function returns key value.

func (SubscriptionValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Template.ProtoReflect.Descriptor instead.

func (*Template) GetBody

func (x *Template) GetBody() string

func (*Template) GetCreatedAt

func (x *Template) GetCreatedAt() *timestamppb.Timestamp

func (*Template) GetId

func (x *Template) GetId() uint64

func (*Template) GetName

func (x *Template) GetName() string

func (*Template) GetTags

func (x *Template) GetTags() []string

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) Reset

func (x *Template) Reset()

func (*Template) String

func (x *Template) String() string

func (*Template) Validate

func (m *Template) Validate() error

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

func (m *Template) ValidateAll() error

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

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

Cause function returns cause value.

func (TemplateResponseValidationError) Error

Error satisfies the builtin error interface

func (TemplateResponseValidationError) ErrorName

ErrorName returns error name.

func (TemplateResponseValidationError) Field

Field function returns field value.

func (TemplateResponseValidationError) Key

Key function returns key value.

func (TemplateResponseValidationError) Reason

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

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

Cause function returns cause value.

func (TemplateVariablesValidationError) Error

Error satisfies the builtin error interface

func (TemplateVariablesValidationError) ErrorName

ErrorName returns error name.

func (TemplateVariablesValidationError) Field

Field function returns field value.

func (TemplateVariablesValidationError) Key

Key function returns key value.

func (TemplateVariablesValidationError) Reason

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) Enum

func (x Types) Enum() *Types

func (Types) EnumDescriptor deprecated

func (Types) EnumDescriptor() ([]byte, []int)

Deprecated: Use Types.Descriptor instead.

func (Types) Number

func (x Types) Number() protoreflect.EnumNumber

func (Types) String

func (x Types) String() string

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) CreateNamespace

func (UnimplementedSirenServiceServer) CreateProvider

func (UnimplementedSirenServiceServer) CreateReceiver

func (UnimplementedSirenServiceServer) CreateSubscription

func (UnimplementedSirenServiceServer) DeleteNamespace

func (UnimplementedSirenServiceServer) DeleteProvider

func (UnimplementedSirenServiceServer) DeleteReceiver

func (UnimplementedSirenServiceServer) DeleteSubscription

func (UnimplementedSirenServiceServer) DeleteTemplate

func (UnimplementedSirenServiceServer) GetNamespace

func (UnimplementedSirenServiceServer) GetProvider

func (UnimplementedSirenServiceServer) GetReceiver

func (UnimplementedSirenServiceServer) GetSubscription

func (UnimplementedSirenServiceServer) GetTemplateByName

func (UnimplementedSirenServiceServer) ListAlerts

func (UnimplementedSirenServiceServer) ListNamespaces

func (UnimplementedSirenServiceServer) ListProviders

func (UnimplementedSirenServiceServer) ListReceivers

func (UnimplementedSirenServiceServer) ListRules

func (UnimplementedSirenServiceServer) ListSubscriptions

func (UnimplementedSirenServiceServer) ListTemplates

func (UnimplementedSirenServiceServer) Ping

func (UnimplementedSirenServiceServer) RenderTemplate

func (UnimplementedSirenServiceServer) UpdateNamespace

func (UnimplementedSirenServiceServer) UpdateProvider

func (UnimplementedSirenServiceServer) UpdateReceiver

func (UnimplementedSirenServiceServer) UpdateRule

func (UnimplementedSirenServiceServer) UpdateSubscription

func (UnimplementedSirenServiceServer) UpsertTemplate

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

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

Cause function returns cause value.

func (UpdateNamespaceRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateNamespaceRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateNamespaceRequestValidationError) Field

Field function returns field value.

func (UpdateNamespaceRequestValidationError) Key

Key function returns key value.

func (UpdateNamespaceRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateProviderRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateProviderRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateProviderRequestValidationError) Field

Field function returns field value.

func (UpdateProviderRequestValidationError) Key

Key function returns key value.

func (UpdateProviderRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateReceiverRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateReceiverRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateReceiverRequestValidationError) Field

Field function returns field value.

func (UpdateReceiverRequestValidationError) Key

Key function returns key value.

func (UpdateReceiverRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateRuleRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRuleRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateRuleRequestValidationError) Field

Field function returns field value.

func (UpdateRuleRequestValidationError) Key

Key function returns key value.

func (UpdateRuleRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateRuleResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateRuleResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateRuleResponseValidationError) Field

Field function returns field value.

func (UpdateRuleResponseValidationError) Key

Key function returns key value.

func (UpdateRuleResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (UpdateSubscriptionRequestMultiError) Error added in v0.3.1

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

Cause function returns cause value.

func (UpdateSubscriptionRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateSubscriptionRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateSubscriptionRequestValidationError) Field

Field function returns field value.

func (UpdateSubscriptionRequestValidationError) Key

Key function returns key value.

func (UpdateSubscriptionRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpsertTemplateRequestValidationError) Error

Error satisfies the builtin error interface

func (UpsertTemplateRequestValidationError) ErrorName

ErrorName returns error name.

func (UpsertTemplateRequestValidationError) Field

Field function returns field value.

func (UpsertTemplateRequestValidationError) Key

Key function returns key value.

func (UpsertTemplateRequestValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Variables.ProtoReflect.Descriptor instead.

func (*Variables) GetDescription

func (x *Variables) GetDescription() string

func (*Variables) GetName

func (x *Variables) GetName() string

func (*Variables) GetType

func (x *Variables) GetType() string

func (*Variables) GetValue

func (x *Variables) GetValue() string

func (*Variables) ProtoMessage

func (*Variables) ProtoMessage()

func (*Variables) ProtoReflect

func (x *Variables) ProtoReflect() protoreflect.Message

func (*Variables) Reset

func (x *Variables) Reset()

func (*Variables) String

func (x *Variables) String() string

func (*Variables) Validate

func (m *Variables) Validate() error

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

func (m *Variables) ValidateAll() error

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

Key function returns key value.

func (VariablesValidationError) Reason

func (e VariablesValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL