rule_evaluationv1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package rule_evaluationv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_sift_rule_evaluation_v1_rule_evaluation_proto protoreflect.FileDescriptor
View Source
var RuleEvaluationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sift.rule_evaluation.v1.RuleEvaluationService",
	HandlerType: (*RuleEvaluationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EvaluateRules",
			Handler:    _RuleEvaluationService_EvaluateRules_Handler,
		},
		{
			MethodName: "EvaluateRulesPreview",
			Handler:    _RuleEvaluationService_EvaluateRulesPreview_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sift/rule_evaluation/v1/rule_evaluation.proto",
}

RuleEvaluationService_ServiceDesc is the grpc.ServiceDesc for RuleEvaluationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRuleEvaluationServiceHandler

func RegisterRuleEvaluationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRuleEvaluationServiceHandler registers the http handlers for service RuleEvaluationService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRuleEvaluationServiceHandlerClient

func RegisterRuleEvaluationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RuleEvaluationServiceClient) error

RegisterRuleEvaluationServiceHandlerClient registers the http handlers for service RuleEvaluationService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RuleEvaluationServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RuleEvaluationServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RuleEvaluationServiceClient" to call the correct interceptors.

func RegisterRuleEvaluationServiceHandlerFromEndpoint

func RegisterRuleEvaluationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRuleEvaluationServiceHandlerFromEndpoint is same as RegisterRuleEvaluationServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRuleEvaluationServiceHandlerServer

func RegisterRuleEvaluationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RuleEvaluationServiceServer) error

RegisterRuleEvaluationServiceHandlerServer registers the http handlers for service RuleEvaluationService to "mux". UnaryRPC :call RuleEvaluationServiceServer 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 RegisterRuleEvaluationServiceHandlerFromEndpoint instead.

func RegisterRuleEvaluationServiceServer

func RegisterRuleEvaluationServiceServer(s grpc.ServiceRegistrar, srv RuleEvaluationServiceServer)

Types

type AssetsTimeRange

type AssetsTimeRange struct {
	Assets    *v1.NamedResources     `protobuf:"bytes,1,opt,name=assets,proto3" json:"assets,omitempty"`
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetsTimeRange) CloneMessageVT

func (m *AssetsTimeRange) CloneMessageVT() proto.Message

func (*AssetsTimeRange) CloneVT

func (m *AssetsTimeRange) CloneVT() *AssetsTimeRange

func (*AssetsTimeRange) Descriptor deprecated

func (*AssetsTimeRange) Descriptor() ([]byte, []int)

Deprecated: Use AssetsTimeRange.ProtoReflect.Descriptor instead.

func (*AssetsTimeRange) EqualMessageVT

func (this *AssetsTimeRange) EqualMessageVT(thatMsg proto.Message) bool

func (*AssetsTimeRange) EqualVT

func (this *AssetsTimeRange) EqualVT(that *AssetsTimeRange) bool

func (*AssetsTimeRange) GetAssets

func (x *AssetsTimeRange) GetAssets() *v1.NamedResources

func (*AssetsTimeRange) GetEndTime

func (x *AssetsTimeRange) GetEndTime() *timestamppb.Timestamp

func (*AssetsTimeRange) GetStartTime

func (x *AssetsTimeRange) GetStartTime() *timestamppb.Timestamp

func (*AssetsTimeRange) MarshalToSizedBufferVT

func (m *AssetsTimeRange) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AssetsTimeRange) MarshalToSizedBufferVTStrict

func (m *AssetsTimeRange) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*AssetsTimeRange) MarshalToVT

func (m *AssetsTimeRange) MarshalToVT(dAtA []byte) (int, error)

func (*AssetsTimeRange) MarshalToVTStrict

func (m *AssetsTimeRange) MarshalToVTStrict(dAtA []byte) (int, error)

func (*AssetsTimeRange) MarshalVT

func (m *AssetsTimeRange) MarshalVT() (dAtA []byte, err error)

func (*AssetsTimeRange) MarshalVTStrict

func (m *AssetsTimeRange) MarshalVTStrict() (dAtA []byte, err error)

func (*AssetsTimeRange) ProtoMessage

func (*AssetsTimeRange) ProtoMessage()

func (*AssetsTimeRange) ProtoReflect

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

func (*AssetsTimeRange) Reset

func (x *AssetsTimeRange) Reset()

func (*AssetsTimeRange) SizeVT

func (m *AssetsTimeRange) SizeVT() (n int)

func (*AssetsTimeRange) String

func (x *AssetsTimeRange) String() string

func (*AssetsTimeRange) UnmarshalVT

func (m *AssetsTimeRange) UnmarshalVT(dAtA []byte) error

func (*AssetsTimeRange) UnmarshalVTUnsafe

func (m *AssetsTimeRange) UnmarshalVTUnsafe(dAtA []byte) error

type EvaluateRulesAnnotationOptions

type EvaluateRulesAnnotationOptions struct {
	Tags *v1.NamedResources `protobuf:"bytes,1,opt,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateRulesAnnotationOptions) CloneMessageVT

func (m *EvaluateRulesAnnotationOptions) CloneMessageVT() proto.Message

func (*EvaluateRulesAnnotationOptions) CloneVT

func (*EvaluateRulesAnnotationOptions) Descriptor deprecated

func (*EvaluateRulesAnnotationOptions) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateRulesAnnotationOptions.ProtoReflect.Descriptor instead.

func (*EvaluateRulesAnnotationOptions) EqualMessageVT

func (this *EvaluateRulesAnnotationOptions) EqualMessageVT(thatMsg proto.Message) bool

func (*EvaluateRulesAnnotationOptions) EqualVT

func (*EvaluateRulesAnnotationOptions) GetTags

func (*EvaluateRulesAnnotationOptions) MarshalToSizedBufferVT

func (m *EvaluateRulesAnnotationOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesAnnotationOptions) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesAnnotationOptions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesAnnotationOptions) MarshalToVT

func (m *EvaluateRulesAnnotationOptions) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesAnnotationOptions) MarshalToVTStrict

func (m *EvaluateRulesAnnotationOptions) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesAnnotationOptions) MarshalVT

func (m *EvaluateRulesAnnotationOptions) MarshalVT() (dAtA []byte, err error)

func (*EvaluateRulesAnnotationOptions) MarshalVTStrict

func (m *EvaluateRulesAnnotationOptions) MarshalVTStrict() (dAtA []byte, err error)

func (*EvaluateRulesAnnotationOptions) ProtoMessage

func (*EvaluateRulesAnnotationOptions) ProtoMessage()

func (*EvaluateRulesAnnotationOptions) ProtoReflect

func (*EvaluateRulesAnnotationOptions) Reset

func (x *EvaluateRulesAnnotationOptions) Reset()

func (*EvaluateRulesAnnotationOptions) SizeVT

func (m *EvaluateRulesAnnotationOptions) SizeVT() (n int)

func (*EvaluateRulesAnnotationOptions) String

func (*EvaluateRulesAnnotationOptions) UnmarshalVT

func (m *EvaluateRulesAnnotationOptions) UnmarshalVT(dAtA []byte) error

func (*EvaluateRulesAnnotationOptions) UnmarshalVTUnsafe

func (m *EvaluateRulesAnnotationOptions) UnmarshalVTUnsafe(dAtA []byte) error

type EvaluateRulesFromCurrentRuleVersions

type EvaluateRulesFromCurrentRuleVersions struct {
	Rules *v1.ResourceIdentifiers `protobuf:"bytes,1,opt,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateRulesFromCurrentRuleVersions) CloneMessageVT

func (*EvaluateRulesFromCurrentRuleVersions) CloneVT

func (*EvaluateRulesFromCurrentRuleVersions) Descriptor deprecated

func (*EvaluateRulesFromCurrentRuleVersions) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateRulesFromCurrentRuleVersions.ProtoReflect.Descriptor instead.

func (*EvaluateRulesFromCurrentRuleVersions) EqualMessageVT

func (this *EvaluateRulesFromCurrentRuleVersions) EqualMessageVT(thatMsg proto.Message) bool

func (*EvaluateRulesFromCurrentRuleVersions) EqualVT

func (*EvaluateRulesFromCurrentRuleVersions) GetRules

func (*EvaluateRulesFromCurrentRuleVersions) MarshalToSizedBufferVT

func (m *EvaluateRulesFromCurrentRuleVersions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesFromCurrentRuleVersions) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesFromCurrentRuleVersions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesFromCurrentRuleVersions) MarshalToVT

func (m *EvaluateRulesFromCurrentRuleVersions) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesFromCurrentRuleVersions) MarshalToVTStrict

func (m *EvaluateRulesFromCurrentRuleVersions) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesFromCurrentRuleVersions) MarshalVT

func (m *EvaluateRulesFromCurrentRuleVersions) MarshalVT() (dAtA []byte, err error)

func (*EvaluateRulesFromCurrentRuleVersions) MarshalVTStrict

func (m *EvaluateRulesFromCurrentRuleVersions) MarshalVTStrict() (dAtA []byte, err error)

func (*EvaluateRulesFromCurrentRuleVersions) ProtoMessage

func (*EvaluateRulesFromCurrentRuleVersions) ProtoMessage()

func (*EvaluateRulesFromCurrentRuleVersions) ProtoReflect

func (*EvaluateRulesFromCurrentRuleVersions) Reset

func (*EvaluateRulesFromCurrentRuleVersions) SizeVT

func (m *EvaluateRulesFromCurrentRuleVersions) SizeVT() (n int)

func (*EvaluateRulesFromCurrentRuleVersions) String

func (*EvaluateRulesFromCurrentRuleVersions) UnmarshalVT

func (m *EvaluateRulesFromCurrentRuleVersions) UnmarshalVT(dAtA []byte) error

func (*EvaluateRulesFromCurrentRuleVersions) UnmarshalVTUnsafe

func (m *EvaluateRulesFromCurrentRuleVersions) UnmarshalVTUnsafe(dAtA []byte) error

type EvaluateRulesFromReportTemplate

type EvaluateRulesFromReportTemplate struct {
	ReportTemplate *v1.ResourceIdentifier `protobuf:"bytes,1,opt,name=report_template,json=reportTemplate,proto3" json:"report_template,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateRulesFromReportTemplate) CloneMessageVT

func (m *EvaluateRulesFromReportTemplate) CloneMessageVT() proto.Message

func (*EvaluateRulesFromReportTemplate) CloneVT

func (*EvaluateRulesFromReportTemplate) Descriptor deprecated

func (*EvaluateRulesFromReportTemplate) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateRulesFromReportTemplate.ProtoReflect.Descriptor instead.

func (*EvaluateRulesFromReportTemplate) EqualMessageVT

func (this *EvaluateRulesFromReportTemplate) EqualMessageVT(thatMsg proto.Message) bool

func (*EvaluateRulesFromReportTemplate) EqualVT

func (*EvaluateRulesFromReportTemplate) GetReportTemplate

func (x *EvaluateRulesFromReportTemplate) GetReportTemplate() *v1.ResourceIdentifier

func (*EvaluateRulesFromReportTemplate) MarshalToSizedBufferVT

func (m *EvaluateRulesFromReportTemplate) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesFromReportTemplate) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesFromReportTemplate) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesFromReportTemplate) MarshalToVT

func (m *EvaluateRulesFromReportTemplate) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesFromReportTemplate) MarshalToVTStrict

func (m *EvaluateRulesFromReportTemplate) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesFromReportTemplate) MarshalVT

func (m *EvaluateRulesFromReportTemplate) MarshalVT() (dAtA []byte, err error)

func (*EvaluateRulesFromReportTemplate) MarshalVTStrict

func (m *EvaluateRulesFromReportTemplate) MarshalVTStrict() (dAtA []byte, err error)

func (*EvaluateRulesFromReportTemplate) ProtoMessage

func (*EvaluateRulesFromReportTemplate) ProtoMessage()

func (*EvaluateRulesFromReportTemplate) ProtoReflect

func (*EvaluateRulesFromReportTemplate) Reset

func (*EvaluateRulesFromReportTemplate) SizeVT

func (m *EvaluateRulesFromReportTemplate) SizeVT() (n int)

func (*EvaluateRulesFromReportTemplate) String

func (*EvaluateRulesFromReportTemplate) UnmarshalVT

func (m *EvaluateRulesFromReportTemplate) UnmarshalVT(dAtA []byte) error

func (*EvaluateRulesFromReportTemplate) UnmarshalVTUnsafe

func (m *EvaluateRulesFromReportTemplate) UnmarshalVTUnsafe(dAtA []byte) error

type EvaluateRulesFromRuleConfigs

type EvaluateRulesFromRuleConfigs struct {
	Configs []*v11.UpdateRuleRequest `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateRulesFromRuleConfigs) CloneMessageVT

func (m *EvaluateRulesFromRuleConfigs) CloneMessageVT() proto.Message

func (*EvaluateRulesFromRuleConfigs) CloneVT

func (*EvaluateRulesFromRuleConfigs) Descriptor deprecated

func (*EvaluateRulesFromRuleConfigs) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateRulesFromRuleConfigs.ProtoReflect.Descriptor instead.

func (*EvaluateRulesFromRuleConfigs) EqualMessageVT

func (this *EvaluateRulesFromRuleConfigs) EqualMessageVT(thatMsg proto.Message) bool

func (*EvaluateRulesFromRuleConfigs) EqualVT

func (*EvaluateRulesFromRuleConfigs) GetConfigs

func (*EvaluateRulesFromRuleConfigs) MarshalToSizedBufferVT

func (m *EvaluateRulesFromRuleConfigs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesFromRuleConfigs) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesFromRuleConfigs) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesFromRuleConfigs) MarshalToVT

func (m *EvaluateRulesFromRuleConfigs) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesFromRuleConfigs) MarshalToVTStrict

func (m *EvaluateRulesFromRuleConfigs) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesFromRuleConfigs) MarshalVT

func (m *EvaluateRulesFromRuleConfigs) MarshalVT() (dAtA []byte, err error)

func (*EvaluateRulesFromRuleConfigs) MarshalVTStrict

func (m *EvaluateRulesFromRuleConfigs) MarshalVTStrict() (dAtA []byte, err error)

func (*EvaluateRulesFromRuleConfigs) ProtoMessage

func (*EvaluateRulesFromRuleConfigs) ProtoMessage()

func (*EvaluateRulesFromRuleConfigs) ProtoReflect

func (*EvaluateRulesFromRuleConfigs) Reset

func (x *EvaluateRulesFromRuleConfigs) Reset()

func (*EvaluateRulesFromRuleConfigs) SizeVT

func (m *EvaluateRulesFromRuleConfigs) SizeVT() (n int)

func (*EvaluateRulesFromRuleConfigs) String

func (*EvaluateRulesFromRuleConfigs) UnmarshalVT

func (m *EvaluateRulesFromRuleConfigs) UnmarshalVT(dAtA []byte) error

func (*EvaluateRulesFromRuleConfigs) UnmarshalVTUnsafe

func (m *EvaluateRulesFromRuleConfigs) UnmarshalVTUnsafe(dAtA []byte) error

type EvaluateRulesFromRuleVersions

type EvaluateRulesFromRuleVersions struct {
	RuleVersionIds []string `protobuf:"bytes,1,rep,name=rule_version_ids,json=ruleVersionIds,proto3" json:"rule_version_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateRulesFromRuleVersions) CloneMessageVT

func (m *EvaluateRulesFromRuleVersions) CloneMessageVT() proto.Message

func (*EvaluateRulesFromRuleVersions) CloneVT

func (*EvaluateRulesFromRuleVersions) Descriptor deprecated

func (*EvaluateRulesFromRuleVersions) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateRulesFromRuleVersions.ProtoReflect.Descriptor instead.

func (*EvaluateRulesFromRuleVersions) EqualMessageVT

func (this *EvaluateRulesFromRuleVersions) EqualMessageVT(thatMsg proto.Message) bool

func (*EvaluateRulesFromRuleVersions) EqualVT

func (*EvaluateRulesFromRuleVersions) GetRuleVersionIds

func (x *EvaluateRulesFromRuleVersions) GetRuleVersionIds() []string

func (*EvaluateRulesFromRuleVersions) MarshalToSizedBufferVT

func (m *EvaluateRulesFromRuleVersions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesFromRuleVersions) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesFromRuleVersions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesFromRuleVersions) MarshalToVT

func (m *EvaluateRulesFromRuleVersions) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesFromRuleVersions) MarshalToVTStrict

func (m *EvaluateRulesFromRuleVersions) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesFromRuleVersions) MarshalVT

func (m *EvaluateRulesFromRuleVersions) MarshalVT() (dAtA []byte, err error)

func (*EvaluateRulesFromRuleVersions) MarshalVTStrict

func (m *EvaluateRulesFromRuleVersions) MarshalVTStrict() (dAtA []byte, err error)

func (*EvaluateRulesFromRuleVersions) ProtoMessage

func (*EvaluateRulesFromRuleVersions) ProtoMessage()

func (*EvaluateRulesFromRuleVersions) ProtoReflect

func (*EvaluateRulesFromRuleVersions) Reset

func (x *EvaluateRulesFromRuleVersions) Reset()

func (*EvaluateRulesFromRuleVersions) SizeVT

func (m *EvaluateRulesFromRuleVersions) SizeVT() (n int)

func (*EvaluateRulesFromRuleVersions) String

func (*EvaluateRulesFromRuleVersions) UnmarshalVT

func (m *EvaluateRulesFromRuleVersions) UnmarshalVT(dAtA []byte) error

func (*EvaluateRulesFromRuleVersions) UnmarshalVTUnsafe

func (m *EvaluateRulesFromRuleVersions) UnmarshalVTUnsafe(dAtA []byte) error

type EvaluateRulesPreviewRequest

type EvaluateRulesPreviewRequest struct {

	// Types that are assignable to Time:
	//
	//	*EvaluateRulesPreviewRequest_Run
	Time isEvaluateRulesPreviewRequest_Time `protobuf_oneof:"time"`
	// Types that are assignable to Mode:
	//
	//	*EvaluateRulesPreviewRequest_Rules
	//	*EvaluateRulesPreviewRequest_RuleVersions
	//	*EvaluateRulesPreviewRequest_ReportTemplate
	//	*EvaluateRulesPreviewRequest_RuleConfigs
	Mode isEvaluateRulesPreviewRequest_Mode `protobuf_oneof:"mode"`
	// Only required if your user belongs to multiple organizations
	OrganizationId string `protobuf:"bytes,7,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateRulesPreviewRequest) CloneMessageVT

func (m *EvaluateRulesPreviewRequest) CloneMessageVT() proto.Message

func (*EvaluateRulesPreviewRequest) CloneVT

func (*EvaluateRulesPreviewRequest) Descriptor deprecated

func (*EvaluateRulesPreviewRequest) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateRulesPreviewRequest.ProtoReflect.Descriptor instead.

func (*EvaluateRulesPreviewRequest) EqualMessageVT

func (this *EvaluateRulesPreviewRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*EvaluateRulesPreviewRequest) EqualVT

func (*EvaluateRulesPreviewRequest) GetMode

func (m *EvaluateRulesPreviewRequest) GetMode() isEvaluateRulesPreviewRequest_Mode

func (*EvaluateRulesPreviewRequest) GetOrganizationId

func (x *EvaluateRulesPreviewRequest) GetOrganizationId() string

func (*EvaluateRulesPreviewRequest) GetReportTemplate

func (*EvaluateRulesPreviewRequest) GetRuleConfigs

func (*EvaluateRulesPreviewRequest) GetRuleVersions

func (*EvaluateRulesPreviewRequest) GetRules

func (*EvaluateRulesPreviewRequest) GetRun

func (*EvaluateRulesPreviewRequest) GetTime

func (m *EvaluateRulesPreviewRequest) GetTime() isEvaluateRulesPreviewRequest_Time

func (*EvaluateRulesPreviewRequest) MarshalToSizedBufferVT

func (m *EvaluateRulesPreviewRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesPreviewRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest) MarshalToVT

func (m *EvaluateRulesPreviewRequest) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest) MarshalToVTStrict

func (m *EvaluateRulesPreviewRequest) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest) MarshalVT

func (m *EvaluateRulesPreviewRequest) MarshalVT() (dAtA []byte, err error)

func (*EvaluateRulesPreviewRequest) MarshalVTStrict

func (m *EvaluateRulesPreviewRequest) MarshalVTStrict() (dAtA []byte, err error)

func (*EvaluateRulesPreviewRequest) ProtoMessage

func (*EvaluateRulesPreviewRequest) ProtoMessage()

func (*EvaluateRulesPreviewRequest) ProtoReflect

func (*EvaluateRulesPreviewRequest) Reset

func (x *EvaluateRulesPreviewRequest) Reset()

func (*EvaluateRulesPreviewRequest) SizeVT

func (m *EvaluateRulesPreviewRequest) SizeVT() (n int)

func (*EvaluateRulesPreviewRequest) String

func (x *EvaluateRulesPreviewRequest) String() string

func (*EvaluateRulesPreviewRequest) UnmarshalVT

func (m *EvaluateRulesPreviewRequest) UnmarshalVT(dAtA []byte) error

func (*EvaluateRulesPreviewRequest) UnmarshalVTUnsafe

func (m *EvaluateRulesPreviewRequest) UnmarshalVTUnsafe(dAtA []byte) error

type EvaluateRulesPreviewRequest_ReportTemplate

type EvaluateRulesPreviewRequest_ReportTemplate struct {
	ReportTemplate *EvaluateRulesFromReportTemplate `protobuf:"bytes,5,opt,name=report_template,json=reportTemplate,proto3,oneof"`
}

func (*EvaluateRulesPreviewRequest_ReportTemplate) CloneVT

func (m *EvaluateRulesPreviewRequest_ReportTemplate) CloneVT() isEvaluateRulesPreviewRequest_Mode

func (*EvaluateRulesPreviewRequest_ReportTemplate) EqualVT

func (this *EvaluateRulesPreviewRequest_ReportTemplate) EqualVT(thatIface isEvaluateRulesPreviewRequest_Mode) bool

func (*EvaluateRulesPreviewRequest_ReportTemplate) MarshalToSizedBufferVT

func (m *EvaluateRulesPreviewRequest_ReportTemplate) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_ReportTemplate) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesPreviewRequest_ReportTemplate) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_ReportTemplate) MarshalToVT

func (m *EvaluateRulesPreviewRequest_ReportTemplate) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_ReportTemplate) MarshalToVTStrict

func (m *EvaluateRulesPreviewRequest_ReportTemplate) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_ReportTemplate) SizeVT

type EvaluateRulesPreviewRequest_RuleConfigs

type EvaluateRulesPreviewRequest_RuleConfigs struct {
	RuleConfigs *EvaluateRulesFromRuleConfigs `protobuf:"bytes,6,opt,name=rule_configs,json=ruleConfigs,proto3,oneof"`
}

func (*EvaluateRulesPreviewRequest_RuleConfigs) CloneVT

func (m *EvaluateRulesPreviewRequest_RuleConfigs) CloneVT() isEvaluateRulesPreviewRequest_Mode

func (*EvaluateRulesPreviewRequest_RuleConfigs) EqualVT

func (this *EvaluateRulesPreviewRequest_RuleConfigs) EqualVT(thatIface isEvaluateRulesPreviewRequest_Mode) bool

func (*EvaluateRulesPreviewRequest_RuleConfigs) MarshalToSizedBufferVT

func (m *EvaluateRulesPreviewRequest_RuleConfigs) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_RuleConfigs) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesPreviewRequest_RuleConfigs) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_RuleConfigs) MarshalToVT

func (m *EvaluateRulesPreviewRequest_RuleConfigs) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_RuleConfigs) MarshalToVTStrict

func (m *EvaluateRulesPreviewRequest_RuleConfigs) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_RuleConfigs) SizeVT

type EvaluateRulesPreviewRequest_RuleVersions

type EvaluateRulesPreviewRequest_RuleVersions struct {
	RuleVersions *EvaluateRulesFromRuleVersions `protobuf:"bytes,4,opt,name=rule_versions,json=ruleVersions,proto3,oneof"`
}

func (*EvaluateRulesPreviewRequest_RuleVersions) CloneVT

func (m *EvaluateRulesPreviewRequest_RuleVersions) CloneVT() isEvaluateRulesPreviewRequest_Mode

func (*EvaluateRulesPreviewRequest_RuleVersions) EqualVT

func (this *EvaluateRulesPreviewRequest_RuleVersions) EqualVT(thatIface isEvaluateRulesPreviewRequest_Mode) bool

func (*EvaluateRulesPreviewRequest_RuleVersions) MarshalToSizedBufferVT

func (m *EvaluateRulesPreviewRequest_RuleVersions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_RuleVersions) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesPreviewRequest_RuleVersions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_RuleVersions) MarshalToVT

func (m *EvaluateRulesPreviewRequest_RuleVersions) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_RuleVersions) MarshalToVTStrict

func (m *EvaluateRulesPreviewRequest_RuleVersions) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_RuleVersions) SizeVT

type EvaluateRulesPreviewRequest_Rules

type EvaluateRulesPreviewRequest_Rules struct {
	Rules *EvaluateRulesFromCurrentRuleVersions `protobuf:"bytes,3,opt,name=rules,proto3,oneof"`
}

func (*EvaluateRulesPreviewRequest_Rules) CloneVT

func (m *EvaluateRulesPreviewRequest_Rules) CloneVT() isEvaluateRulesPreviewRequest_Mode

func (*EvaluateRulesPreviewRequest_Rules) EqualVT

func (this *EvaluateRulesPreviewRequest_Rules) EqualVT(thatIface isEvaluateRulesPreviewRequest_Mode) bool

func (*EvaluateRulesPreviewRequest_Rules) MarshalToSizedBufferVT

func (m *EvaluateRulesPreviewRequest_Rules) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_Rules) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesPreviewRequest_Rules) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_Rules) MarshalToVT

func (m *EvaluateRulesPreviewRequest_Rules) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_Rules) MarshalToVTStrict

func (m *EvaluateRulesPreviewRequest_Rules) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_Rules) SizeVT

func (m *EvaluateRulesPreviewRequest_Rules) SizeVT() (n int)

type EvaluateRulesPreviewRequest_Run

type EvaluateRulesPreviewRequest_Run struct {
	Run *v1.ResourceIdentifier `protobuf:"bytes,1,opt,name=run,proto3,oneof"`
}

func (*EvaluateRulesPreviewRequest_Run) CloneVT

func (m *EvaluateRulesPreviewRequest_Run) CloneVT() isEvaluateRulesPreviewRequest_Time

func (*EvaluateRulesPreviewRequest_Run) EqualVT

func (this *EvaluateRulesPreviewRequest_Run) EqualVT(thatIface isEvaluateRulesPreviewRequest_Time) bool

func (*EvaluateRulesPreviewRequest_Run) MarshalToSizedBufferVT

func (m *EvaluateRulesPreviewRequest_Run) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_Run) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesPreviewRequest_Run) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_Run) MarshalToVT

func (m *EvaluateRulesPreviewRequest_Run) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_Run) MarshalToVTStrict

func (m *EvaluateRulesPreviewRequest_Run) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewRequest_Run) SizeVT

func (m *EvaluateRulesPreviewRequest_Run) SizeVT() (n int)

type EvaluateRulesPreviewResponse

type EvaluateRulesPreviewResponse struct {
	CreatedAnnotationCount int32                   `` /* 130-byte string literal not displayed */
	DryRunAnnotations      []*v11.DryRunAnnotation `protobuf:"bytes,2,rep,name=dry_run_annotations,json=dryRunAnnotations,proto3" json:"dry_run_annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateRulesPreviewResponse) CloneMessageVT

func (m *EvaluateRulesPreviewResponse) CloneMessageVT() proto.Message

func (*EvaluateRulesPreviewResponse) CloneVT

func (*EvaluateRulesPreviewResponse) Descriptor deprecated

func (*EvaluateRulesPreviewResponse) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateRulesPreviewResponse.ProtoReflect.Descriptor instead.

func (*EvaluateRulesPreviewResponse) EqualMessageVT

func (this *EvaluateRulesPreviewResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*EvaluateRulesPreviewResponse) EqualVT

func (*EvaluateRulesPreviewResponse) GetCreatedAnnotationCount

func (x *EvaluateRulesPreviewResponse) GetCreatedAnnotationCount() int32

func (*EvaluateRulesPreviewResponse) GetDryRunAnnotations

func (x *EvaluateRulesPreviewResponse) GetDryRunAnnotations() []*v11.DryRunAnnotation

func (*EvaluateRulesPreviewResponse) MarshalToSizedBufferVT

func (m *EvaluateRulesPreviewResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewResponse) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesPreviewResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewResponse) MarshalToVT

func (m *EvaluateRulesPreviewResponse) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewResponse) MarshalToVTStrict

func (m *EvaluateRulesPreviewResponse) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesPreviewResponse) MarshalVT

func (m *EvaluateRulesPreviewResponse) MarshalVT() (dAtA []byte, err error)

func (*EvaluateRulesPreviewResponse) MarshalVTStrict

func (m *EvaluateRulesPreviewResponse) MarshalVTStrict() (dAtA []byte, err error)

func (*EvaluateRulesPreviewResponse) ProtoMessage

func (*EvaluateRulesPreviewResponse) ProtoMessage()

func (*EvaluateRulesPreviewResponse) ProtoReflect

func (*EvaluateRulesPreviewResponse) Reset

func (x *EvaluateRulesPreviewResponse) Reset()

func (*EvaluateRulesPreviewResponse) SizeVT

func (m *EvaluateRulesPreviewResponse) SizeVT() (n int)

func (*EvaluateRulesPreviewResponse) String

func (*EvaluateRulesPreviewResponse) UnmarshalVT

func (m *EvaluateRulesPreviewResponse) UnmarshalVT(dAtA []byte) error

func (*EvaluateRulesPreviewResponse) UnmarshalVTUnsafe

func (m *EvaluateRulesPreviewResponse) UnmarshalVTUnsafe(dAtA []byte) error

type EvaluateRulesRequest

type EvaluateRulesRequest struct {

	// Types that are assignable to Time:
	//
	//	*EvaluateRulesRequest_Run
	//	*EvaluateRulesRequest_Assets
	Time isEvaluateRulesRequest_Time `protobuf_oneof:"time"`
	// Types that are assignable to Mode:
	//
	//	*EvaluateRulesRequest_Rules
	//	*EvaluateRulesRequest_RuleVersions
	//	*EvaluateRulesRequest_ReportTemplate
	Mode              isEvaluateRulesRequest_Mode     `protobuf_oneof:"mode"`
	AnnotationOptions *EvaluateRulesAnnotationOptions `protobuf:"bytes,6,opt,name=annotation_options,json=annotationOptions,proto3" json:"annotation_options,omitempty"`
	// Only required if your user belongs to multiple organizations
	OrganizationId string `protobuf:"bytes,7,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// If this request creates a report, this field will be used as the report name.
	ReportName *string `protobuf:"bytes,8,opt,name=report_name,json=reportName,proto3,oneof" json:"report_name,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateRulesRequest) CloneMessageVT

func (m *EvaluateRulesRequest) CloneMessageVT() proto.Message

func (*EvaluateRulesRequest) CloneVT

func (*EvaluateRulesRequest) Descriptor deprecated

func (*EvaluateRulesRequest) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateRulesRequest.ProtoReflect.Descriptor instead.

func (*EvaluateRulesRequest) EqualMessageVT

func (this *EvaluateRulesRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*EvaluateRulesRequest) EqualVT

func (this *EvaluateRulesRequest) EqualVT(that *EvaluateRulesRequest) bool

func (*EvaluateRulesRequest) GetAnnotationOptions

func (x *EvaluateRulesRequest) GetAnnotationOptions() *EvaluateRulesAnnotationOptions

func (*EvaluateRulesRequest) GetAssets

func (x *EvaluateRulesRequest) GetAssets() *AssetsTimeRange

func (*EvaluateRulesRequest) GetMode

func (m *EvaluateRulesRequest) GetMode() isEvaluateRulesRequest_Mode

func (*EvaluateRulesRequest) GetOrganizationId

func (x *EvaluateRulesRequest) GetOrganizationId() string

func (*EvaluateRulesRequest) GetReportName

func (x *EvaluateRulesRequest) GetReportName() string

func (*EvaluateRulesRequest) GetReportTemplate

func (x *EvaluateRulesRequest) GetReportTemplate() *EvaluateRulesFromReportTemplate

func (*EvaluateRulesRequest) GetRuleVersions

func (*EvaluateRulesRequest) GetRules

func (*EvaluateRulesRequest) GetRun

func (*EvaluateRulesRequest) GetTime

func (m *EvaluateRulesRequest) GetTime() isEvaluateRulesRequest_Time

func (*EvaluateRulesRequest) MarshalToSizedBufferVT

func (m *EvaluateRulesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesRequest) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesRequest) MarshalToVT

func (m *EvaluateRulesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesRequest) MarshalToVTStrict

func (m *EvaluateRulesRequest) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesRequest) MarshalVT

func (m *EvaluateRulesRequest) MarshalVT() (dAtA []byte, err error)

func (*EvaluateRulesRequest) MarshalVTStrict

func (m *EvaluateRulesRequest) MarshalVTStrict() (dAtA []byte, err error)

func (*EvaluateRulesRequest) ProtoMessage

func (*EvaluateRulesRequest) ProtoMessage()

func (*EvaluateRulesRequest) ProtoReflect

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

func (*EvaluateRulesRequest) Reset

func (x *EvaluateRulesRequest) Reset()

func (*EvaluateRulesRequest) SizeVT

func (m *EvaluateRulesRequest) SizeVT() (n int)

func (*EvaluateRulesRequest) String

func (x *EvaluateRulesRequest) String() string

func (*EvaluateRulesRequest) UnmarshalVT

func (m *EvaluateRulesRequest) UnmarshalVT(dAtA []byte) error

func (*EvaluateRulesRequest) UnmarshalVTUnsafe

func (m *EvaluateRulesRequest) UnmarshalVTUnsafe(dAtA []byte) error

type EvaluateRulesRequest_Assets

type EvaluateRulesRequest_Assets struct {
	Assets *AssetsTimeRange `protobuf:"bytes,2,opt,name=assets,proto3,oneof"`
}

func (*EvaluateRulesRequest_Assets) CloneVT

func (m *EvaluateRulesRequest_Assets) CloneVT() isEvaluateRulesRequest_Time

func (*EvaluateRulesRequest_Assets) EqualVT

func (this *EvaluateRulesRequest_Assets) EqualVT(thatIface isEvaluateRulesRequest_Time) bool

func (*EvaluateRulesRequest_Assets) MarshalToSizedBufferVT

func (m *EvaluateRulesRequest_Assets) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_Assets) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesRequest_Assets) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_Assets) MarshalToVT

func (m *EvaluateRulesRequest_Assets) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_Assets) MarshalToVTStrict

func (m *EvaluateRulesRequest_Assets) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_Assets) SizeVT

func (m *EvaluateRulesRequest_Assets) SizeVT() (n int)

type EvaluateRulesRequest_ReportTemplate

type EvaluateRulesRequest_ReportTemplate struct {
	ReportTemplate *EvaluateRulesFromReportTemplate `protobuf:"bytes,5,opt,name=report_template,json=reportTemplate,proto3,oneof"`
}

func (*EvaluateRulesRequest_ReportTemplate) CloneVT

func (m *EvaluateRulesRequest_ReportTemplate) CloneVT() isEvaluateRulesRequest_Mode

func (*EvaluateRulesRequest_ReportTemplate) EqualVT

func (this *EvaluateRulesRequest_ReportTemplate) EqualVT(thatIface isEvaluateRulesRequest_Mode) bool

func (*EvaluateRulesRequest_ReportTemplate) MarshalToSizedBufferVT

func (m *EvaluateRulesRequest_ReportTemplate) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_ReportTemplate) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesRequest_ReportTemplate) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_ReportTemplate) MarshalToVT

func (m *EvaluateRulesRequest_ReportTemplate) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_ReportTemplate) MarshalToVTStrict

func (m *EvaluateRulesRequest_ReportTemplate) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_ReportTemplate) SizeVT

func (m *EvaluateRulesRequest_ReportTemplate) SizeVT() (n int)

type EvaluateRulesRequest_RuleVersions

type EvaluateRulesRequest_RuleVersions struct {
	RuleVersions *EvaluateRulesFromRuleVersions `protobuf:"bytes,4,opt,name=rule_versions,json=ruleVersions,proto3,oneof"`
}

func (*EvaluateRulesRequest_RuleVersions) CloneVT

func (m *EvaluateRulesRequest_RuleVersions) CloneVT() isEvaluateRulesRequest_Mode

func (*EvaluateRulesRequest_RuleVersions) EqualVT

func (this *EvaluateRulesRequest_RuleVersions) EqualVT(thatIface isEvaluateRulesRequest_Mode) bool

func (*EvaluateRulesRequest_RuleVersions) MarshalToSizedBufferVT

func (m *EvaluateRulesRequest_RuleVersions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_RuleVersions) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesRequest_RuleVersions) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_RuleVersions) MarshalToVT

func (m *EvaluateRulesRequest_RuleVersions) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_RuleVersions) MarshalToVTStrict

func (m *EvaluateRulesRequest_RuleVersions) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_RuleVersions) SizeVT

func (m *EvaluateRulesRequest_RuleVersions) SizeVT() (n int)

type EvaluateRulesRequest_Rules

type EvaluateRulesRequest_Rules struct {
	Rules *EvaluateRulesFromCurrentRuleVersions `protobuf:"bytes,3,opt,name=rules,proto3,oneof"`
}

func (*EvaluateRulesRequest_Rules) CloneVT

func (m *EvaluateRulesRequest_Rules) CloneVT() isEvaluateRulesRequest_Mode

func (*EvaluateRulesRequest_Rules) EqualVT

func (this *EvaluateRulesRequest_Rules) EqualVT(thatIface isEvaluateRulesRequest_Mode) bool

func (*EvaluateRulesRequest_Rules) MarshalToSizedBufferVT

func (m *EvaluateRulesRequest_Rules) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_Rules) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesRequest_Rules) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_Rules) MarshalToVT

func (m *EvaluateRulesRequest_Rules) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_Rules) MarshalToVTStrict

func (m *EvaluateRulesRequest_Rules) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_Rules) SizeVT

func (m *EvaluateRulesRequest_Rules) SizeVT() (n int)

type EvaluateRulesRequest_Run

type EvaluateRulesRequest_Run struct {
	Run *v1.ResourceIdentifier `protobuf:"bytes,1,opt,name=run,proto3,oneof"`
}

func (*EvaluateRulesRequest_Run) CloneVT

func (m *EvaluateRulesRequest_Run) CloneVT() isEvaluateRulesRequest_Time

func (*EvaluateRulesRequest_Run) EqualVT

func (this *EvaluateRulesRequest_Run) EqualVT(thatIface isEvaluateRulesRequest_Time) bool

func (*EvaluateRulesRequest_Run) MarshalToSizedBufferVT

func (m *EvaluateRulesRequest_Run) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_Run) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesRequest_Run) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_Run) MarshalToVT

func (m *EvaluateRulesRequest_Run) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_Run) MarshalToVTStrict

func (m *EvaluateRulesRequest_Run) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesRequest_Run) SizeVT

func (m *EvaluateRulesRequest_Run) SizeVT() (n int)

type EvaluateRulesResponse

type EvaluateRulesResponse struct {
	CreatedAnnotationCount int32 `` /* 130-byte string literal not displayed */
	// A report will be generated if rules were evaluated against a run.
	ReportId *string `protobuf:"bytes,2,opt,name=report_id,json=reportId,proto3,oneof" json:"report_id,omitempty"`
	// This will be set if the job has an extended run time and is being processed asynchronously.
	JobId *string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3,oneof" json:"job_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateRulesResponse) CloneMessageVT

func (m *EvaluateRulesResponse) CloneMessageVT() proto.Message

func (*EvaluateRulesResponse) CloneVT

func (*EvaluateRulesResponse) Descriptor deprecated

func (*EvaluateRulesResponse) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateRulesResponse.ProtoReflect.Descriptor instead.

func (*EvaluateRulesResponse) EqualMessageVT

func (this *EvaluateRulesResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*EvaluateRulesResponse) EqualVT

func (this *EvaluateRulesResponse) EqualVT(that *EvaluateRulesResponse) bool

func (*EvaluateRulesResponse) GetCreatedAnnotationCount

func (x *EvaluateRulesResponse) GetCreatedAnnotationCount() int32

func (*EvaluateRulesResponse) GetJobId

func (x *EvaluateRulesResponse) GetJobId() string

func (*EvaluateRulesResponse) GetReportId

func (x *EvaluateRulesResponse) GetReportId() string

func (*EvaluateRulesResponse) MarshalToSizedBufferVT

func (m *EvaluateRulesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EvaluateRulesResponse) MarshalToSizedBufferVTStrict

func (m *EvaluateRulesResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesResponse) MarshalToVT

func (m *EvaluateRulesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*EvaluateRulesResponse) MarshalToVTStrict

func (m *EvaluateRulesResponse) MarshalToVTStrict(dAtA []byte) (int, error)

func (*EvaluateRulesResponse) MarshalVT

func (m *EvaluateRulesResponse) MarshalVT() (dAtA []byte, err error)

func (*EvaluateRulesResponse) MarshalVTStrict

func (m *EvaluateRulesResponse) MarshalVTStrict() (dAtA []byte, err error)

func (*EvaluateRulesResponse) ProtoMessage

func (*EvaluateRulesResponse) ProtoMessage()

func (*EvaluateRulesResponse) ProtoReflect

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

func (*EvaluateRulesResponse) Reset

func (x *EvaluateRulesResponse) Reset()

func (*EvaluateRulesResponse) SizeVT

func (m *EvaluateRulesResponse) SizeVT() (n int)

func (*EvaluateRulesResponse) String

func (x *EvaluateRulesResponse) String() string

func (*EvaluateRulesResponse) UnmarshalVT

func (m *EvaluateRulesResponse) UnmarshalVT(dAtA []byte) error

func (*EvaluateRulesResponse) UnmarshalVTUnsafe

func (m *EvaluateRulesResponse) UnmarshalVTUnsafe(dAtA []byte) error

type RuleEvaluationServiceClient

type RuleEvaluationServiceClient interface {
	// Evaluate rules from a designated source against a run or asset and return the total amount of annotations created and the ID of the generated report.
	EvaluateRules(ctx context.Context, in *EvaluateRulesRequest, opts ...grpc.CallOption) (*EvaluateRulesResponse, error)
	// Perform a dry run evaluation for existing rules or rule configurations against a run and return the annotations that would be generated.
	EvaluateRulesPreview(ctx context.Context, in *EvaluateRulesPreviewRequest, opts ...grpc.CallOption) (*EvaluateRulesPreviewResponse, error)
}

RuleEvaluationServiceClient is the client API for RuleEvaluationService 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 RuleEvaluationServiceServer

type RuleEvaluationServiceServer interface {
	// Evaluate rules from a designated source against a run or asset and return the total amount of annotations created and the ID of the generated report.
	EvaluateRules(context.Context, *EvaluateRulesRequest) (*EvaluateRulesResponse, error)
	// Perform a dry run evaluation for existing rules or rule configurations against a run and return the annotations that would be generated.
	EvaluateRulesPreview(context.Context, *EvaluateRulesPreviewRequest) (*EvaluateRulesPreviewResponse, error)
	// contains filtered or unexported methods
}

RuleEvaluationServiceServer is the server API for RuleEvaluationService service. All implementations must embed UnimplementedRuleEvaluationServiceServer for forward compatibility

type UnimplementedRuleEvaluationServiceServer

type UnimplementedRuleEvaluationServiceServer struct {
}

UnimplementedRuleEvaluationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRuleEvaluationServiceServer) EvaluateRules

func (UnimplementedRuleEvaluationServiceServer) EvaluateRulesPreview

type UnsafeRuleEvaluationServiceServer

type UnsafeRuleEvaluationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRuleEvaluationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RuleEvaluationServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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