v1

package
v0.0.0-...-2f63041 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InternalPoliciesService_GetPolicy_FullMethodName           = "/com.coralogix.quota.v1.InternalPoliciesService/GetPolicy"
	InternalPoliciesService_CreatePolicy_FullMethodName        = "/com.coralogix.quota.v1.InternalPoliciesService/CreatePolicy"
	InternalPoliciesService_UpdatePolicy_FullMethodName        = "/com.coralogix.quota.v1.InternalPoliciesService/UpdatePolicy"
	InternalPoliciesService_GetCompanyPolicies_FullMethodName  = "/com.coralogix.quota.v1.InternalPoliciesService/GetCompanyPolicies"
	InternalPoliciesService_DeletePolicy_FullMethodName        = "/com.coralogix.quota.v1.InternalPoliciesService/DeletePolicy"
	InternalPoliciesService_ReorderPolicies_FullMethodName     = "/com.coralogix.quota.v1.InternalPoliciesService/ReorderPolicies"
	InternalPoliciesService_BulkTestLogPolicies_FullMethodName = "/com.coralogix.quota.v1.InternalPoliciesService/BulkTestLogPolicies"
	InternalPoliciesService_TogglePolicy_FullMethodName        = "/com.coralogix.quota.v1.InternalPoliciesService/TogglePolicy"
)
View Source
const (
	PoliciesService_GetPolicy_FullMethodName                   = "/com.coralogix.quota.v1.PoliciesService/GetPolicy"
	PoliciesService_CreatePolicy_FullMethodName                = "/com.coralogix.quota.v1.PoliciesService/CreatePolicy"
	PoliciesService_UpdatePolicy_FullMethodName                = "/com.coralogix.quota.v1.PoliciesService/UpdatePolicy"
	PoliciesService_GetCompanyPolicies_FullMethodName          = "/com.coralogix.quota.v1.PoliciesService/GetCompanyPolicies"
	PoliciesService_DeletePolicy_FullMethodName                = "/com.coralogix.quota.v1.PoliciesService/DeletePolicy"
	PoliciesService_ReorderPolicies_FullMethodName             = "/com.coralogix.quota.v1.PoliciesService/ReorderPolicies"
	PoliciesService_BulkTestLogPolicies_FullMethodName         = "/com.coralogix.quota.v1.PoliciesService/BulkTestLogPolicies"
	PoliciesService_TogglePolicy_FullMethodName                = "/com.coralogix.quota.v1.PoliciesService/TogglePolicy"
	PoliciesService_AtomicBatchCreatePolicy_FullMethodName     = "/com.coralogix.quota.v1.PoliciesService/AtomicBatchCreatePolicy"
	PoliciesService_AtomicOverwriteLogPolicies_FullMethodName  = "/com.coralogix.quota.v1.PoliciesService/AtomicOverwriteLogPolicies"
	PoliciesService_AtomicOverwriteSpanPolicies_FullMethodName = "/com.coralogix.quota.v1.PoliciesService/AtomicOverwriteSpanPolicies"
)

Variables

View Source
var (
	Priority_name = map[int32]string{
		0: "PRIORITY_TYPE_UNSPECIFIED",
		1: "PRIORITY_TYPE_BLOCK",
		2: "PRIORITY_TYPE_LOW",
		3: "PRIORITY_TYPE_MEDIUM",
		4: "PRIORITY_TYPE_HIGH",
	}
	Priority_value = map[string]int32{
		"PRIORITY_TYPE_UNSPECIFIED": 0,
		"PRIORITY_TYPE_BLOCK":       1,
		"PRIORITY_TYPE_LOW":         2,
		"PRIORITY_TYPE_MEDIUM":      3,
		"PRIORITY_TYPE_HIGH":        4,
	}
)

Enum value maps for Priority.

View Source
var (
	Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "SEVERITY_DEBUG",
		2: "SEVERITY_VERBOSE",
		3: "SEVERITY_INFO",
		4: "SEVERITY_WARNING",
		5: "SEVERITY_ERROR",
		6: "SEVERITY_CRITICAL",
	}
	Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"SEVERITY_DEBUG":       1,
		"SEVERITY_VERBOSE":     2,
		"SEVERITY_INFO":        3,
		"SEVERITY_WARNING":     4,
		"SEVERITY_ERROR":       5,
		"SEVERITY_CRITICAL":    6,
	}
)

Enum value maps for Severity.

View Source
var (
	SourceType_name = map[int32]string{
		0: "SOURCE_TYPE_UNSPECIFIED",
		1: "SOURCE_TYPE_LOGS",
		2: "SOURCE_TYPE_SPANS",
	}
	SourceType_value = map[string]int32{
		"SOURCE_TYPE_UNSPECIFIED": 0,
		"SOURCE_TYPE_LOGS":        1,
		"SOURCE_TYPE_SPANS":       2,
	}
)

Enum value maps for SourceType.

View Source
var (
	RuleTypeId_name = map[int32]string{
		0: "RULE_TYPE_ID_UNSPECIFIED",
		2: "RULE_TYPE_ID_IS",
		3: "RULE_TYPE_ID_IS_NOT",
		4: "RULE_TYPE_ID_START_WITH",
		6: "RULE_TYPE_ID_INCLUDES",
	}
	RuleTypeId_value = map[string]int32{
		"RULE_TYPE_ID_UNSPECIFIED": 0,
		"RULE_TYPE_ID_IS":          2,
		"RULE_TYPE_ID_IS_NOT":      3,
		"RULE_TYPE_ID_START_WITH":  4,
		"RULE_TYPE_ID_INCLUDES":    6,
	}
)

Enum value maps for RuleTypeId.

View Source
var (
	// optional com.coralogix.quota.v1.AuditLogDescription audit_log_description = 5000;
	E_AuditLogDescription = &file_com_coralogix_quota_v1_audit_log_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_com_coralogix_quota_v1_archive_retention_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_audit_log_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_bulk_create_policy_request_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_bulk_create_policy_response_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_bulk_test_log_policies_request_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_bulk_test_log_policies_response_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_create_policy_request_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_create_policy_response_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_delete_policy_request_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_delete_policy_response_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_enums_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_get_company_policies_request_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_get_company_policies_response_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_get_policy_request_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_get_policy_response_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_internal_policies_service_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_log_meta_field_values_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_log_rules_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_policies_service_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_policy_order_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_policy_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_reorder_policies_request_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_reorder_policies_response_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_rule_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_span_rules_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_tag_rule_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_test_policies_result_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_toggle_policy_request_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_toggle_policy_response_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_update_policy_request_proto protoreflect.FileDescriptor
View Source
var File_com_coralogix_quota_v1_update_policy_response_proto protoreflect.FileDescriptor
View Source
var InternalPoliciesService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.coralogix.quota.v1.InternalPoliciesService",
	HandlerType: (*InternalPoliciesServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPolicy",
			Handler:    _InternalPoliciesService_GetPolicy_Handler,
		},
		{
			MethodName: "CreatePolicy",
			Handler:    _InternalPoliciesService_CreatePolicy_Handler,
		},
		{
			MethodName: "UpdatePolicy",
			Handler:    _InternalPoliciesService_UpdatePolicy_Handler,
		},
		{
			MethodName: "GetCompanyPolicies",
			Handler:    _InternalPoliciesService_GetCompanyPolicies_Handler,
		},
		{
			MethodName: "DeletePolicy",
			Handler:    _InternalPoliciesService_DeletePolicy_Handler,
		},
		{
			MethodName: "ReorderPolicies",
			Handler:    _InternalPoliciesService_ReorderPolicies_Handler,
		},
		{
			MethodName: "BulkTestLogPolicies",
			Handler:    _InternalPoliciesService_BulkTestLogPolicies_Handler,
		},
		{
			MethodName: "TogglePolicy",
			Handler:    _InternalPoliciesService_TogglePolicy_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "com/coralogix/quota/v1/internal_policies_service.proto",
}

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

View Source
var PoliciesService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.coralogix.quota.v1.PoliciesService",
	HandlerType: (*PoliciesServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPolicy",
			Handler:    _PoliciesService_GetPolicy_Handler,
		},
		{
			MethodName: "CreatePolicy",
			Handler:    _PoliciesService_CreatePolicy_Handler,
		},
		{
			MethodName: "UpdatePolicy",
			Handler:    _PoliciesService_UpdatePolicy_Handler,
		},
		{
			MethodName: "GetCompanyPolicies",
			Handler:    _PoliciesService_GetCompanyPolicies_Handler,
		},
		{
			MethodName: "DeletePolicy",
			Handler:    _PoliciesService_DeletePolicy_Handler,
		},
		{
			MethodName: "ReorderPolicies",
			Handler:    _PoliciesService_ReorderPolicies_Handler,
		},
		{
			MethodName: "BulkTestLogPolicies",
			Handler:    _PoliciesService_BulkTestLogPolicies_Handler,
		},
		{
			MethodName: "TogglePolicy",
			Handler:    _PoliciesService_TogglePolicy_Handler,
		},
		{
			MethodName: "AtomicBatchCreatePolicy",
			Handler:    _PoliciesService_AtomicBatchCreatePolicy_Handler,
		},
		{
			MethodName: "AtomicOverwriteLogPolicies",
			Handler:    _PoliciesService_AtomicOverwriteLogPolicies_Handler,
		},
		{
			MethodName: "AtomicOverwriteSpanPolicies",
			Handler:    _PoliciesService_AtomicOverwriteSpanPolicies_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "com/coralogix/quota/v1/policies_service.proto",
}

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

Functions

func RegisterInternalPoliciesServiceServer

func RegisterInternalPoliciesServiceServer(s grpc.ServiceRegistrar, srv InternalPoliciesServiceServer)

func RegisterPoliciesServiceServer

func RegisterPoliciesServiceServer(s grpc.ServiceRegistrar, srv PoliciesServiceServer)

Types

type ArchiveRetention

type ArchiveRetention struct {
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ArchiveRetention) Descriptor deprecated

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

Deprecated: Use ArchiveRetention.ProtoReflect.Descriptor instead.

func (*ArchiveRetention) GetId

func (*ArchiveRetention) ProtoMessage

func (*ArchiveRetention) ProtoMessage()

func (*ArchiveRetention) ProtoReflect

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

func (*ArchiveRetention) Reset

func (x *ArchiveRetention) Reset()

func (*ArchiveRetention) String

func (x *ArchiveRetention) String() string

type AtomicBatchCreatePolicyRequest

type AtomicBatchCreatePolicyRequest struct {
	PolicyRequests []*CreatePolicyRequest `protobuf:"bytes,1,rep,name=policy_requests,json=policyRequests,proto3" json:"policy_requests,omitempty"`
	// contains filtered or unexported fields
}

func (*AtomicBatchCreatePolicyRequest) Descriptor deprecated

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

Deprecated: Use AtomicBatchCreatePolicyRequest.ProtoReflect.Descriptor instead.

func (*AtomicBatchCreatePolicyRequest) GetPolicyRequests

func (x *AtomicBatchCreatePolicyRequest) GetPolicyRequests() []*CreatePolicyRequest

func (*AtomicBatchCreatePolicyRequest) ProtoMessage

func (*AtomicBatchCreatePolicyRequest) ProtoMessage()

func (*AtomicBatchCreatePolicyRequest) ProtoReflect

func (*AtomicBatchCreatePolicyRequest) Reset

func (x *AtomicBatchCreatePolicyRequest) Reset()

func (*AtomicBatchCreatePolicyRequest) String

type AtomicBatchCreatePolicyResponse

type AtomicBatchCreatePolicyResponse struct {
	CreateResponses []*CreatePolicyResponse `protobuf:"bytes,1,rep,name=create_responses,json=createResponses,proto3" json:"create_responses,omitempty"`
	// contains filtered or unexported fields
}

func (*AtomicBatchCreatePolicyResponse) Descriptor deprecated

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

Deprecated: Use AtomicBatchCreatePolicyResponse.ProtoReflect.Descriptor instead.

func (*AtomicBatchCreatePolicyResponse) GetCreateResponses

func (x *AtomicBatchCreatePolicyResponse) GetCreateResponses() []*CreatePolicyResponse

func (*AtomicBatchCreatePolicyResponse) ProtoMessage

func (*AtomicBatchCreatePolicyResponse) ProtoMessage()

func (*AtomicBatchCreatePolicyResponse) ProtoReflect

func (*AtomicBatchCreatePolicyResponse) Reset

func (*AtomicBatchCreatePolicyResponse) String

type AtomicOverwriteLogPoliciesRequest

type AtomicOverwriteLogPoliciesRequest struct {
	Policies []*CreateLogPolicyRequest `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

In an atomic operation delete all existing log policies and create the provided list by order

func (*AtomicOverwriteLogPoliciesRequest) Descriptor deprecated

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

Deprecated: Use AtomicOverwriteLogPoliciesRequest.ProtoReflect.Descriptor instead.

func (*AtomicOverwriteLogPoliciesRequest) GetPolicies

func (*AtomicOverwriteLogPoliciesRequest) ProtoMessage

func (*AtomicOverwriteLogPoliciesRequest) ProtoMessage()

func (*AtomicOverwriteLogPoliciesRequest) ProtoReflect

func (*AtomicOverwriteLogPoliciesRequest) Reset

func (*AtomicOverwriteLogPoliciesRequest) String

type AtomicOverwriteLogPoliciesResponse

type AtomicOverwriteLogPoliciesResponse struct {
	CreateResponses []*CreatePolicyResponse `protobuf:"bytes,1,rep,name=create_responses,json=createResponses,proto3" json:"create_responses,omitempty"`
	// contains filtered or unexported fields
}

func (*AtomicOverwriteLogPoliciesResponse) Descriptor deprecated

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

Deprecated: Use AtomicOverwriteLogPoliciesResponse.ProtoReflect.Descriptor instead.

func (*AtomicOverwriteLogPoliciesResponse) GetCreateResponses

func (x *AtomicOverwriteLogPoliciesResponse) GetCreateResponses() []*CreatePolicyResponse

func (*AtomicOverwriteLogPoliciesResponse) ProtoMessage

func (*AtomicOverwriteLogPoliciesResponse) ProtoMessage()

func (*AtomicOverwriteLogPoliciesResponse) ProtoReflect

func (*AtomicOverwriteLogPoliciesResponse) Reset

func (*AtomicOverwriteLogPoliciesResponse) String

type AtomicOverwriteSpanPoliciesRequest

type AtomicOverwriteSpanPoliciesRequest struct {
	Policies []*CreateSpanPolicyRequest `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

In an atomic operation delete all existing span policies and create the provided list by order

func (*AtomicOverwriteSpanPoliciesRequest) Descriptor deprecated

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

Deprecated: Use AtomicOverwriteSpanPoliciesRequest.ProtoReflect.Descriptor instead.

func (*AtomicOverwriteSpanPoliciesRequest) GetPolicies

func (*AtomicOverwriteSpanPoliciesRequest) ProtoMessage

func (*AtomicOverwriteSpanPoliciesRequest) ProtoMessage()

func (*AtomicOverwriteSpanPoliciesRequest) ProtoReflect

func (*AtomicOverwriteSpanPoliciesRequest) Reset

func (*AtomicOverwriteSpanPoliciesRequest) String

type AtomicOverwriteSpanPoliciesResponse

type AtomicOverwriteSpanPoliciesResponse struct {
	CreateResponses []*CreatePolicyResponse `protobuf:"bytes,1,rep,name=create_responses,json=createResponses,proto3" json:"create_responses,omitempty"`
	// contains filtered or unexported fields
}

func (*AtomicOverwriteSpanPoliciesResponse) Descriptor deprecated

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

Deprecated: Use AtomicOverwriteSpanPoliciesResponse.ProtoReflect.Descriptor instead.

func (*AtomicOverwriteSpanPoliciesResponse) GetCreateResponses

func (x *AtomicOverwriteSpanPoliciesResponse) GetCreateResponses() []*CreatePolicyResponse

func (*AtomicOverwriteSpanPoliciesResponse) ProtoMessage

func (*AtomicOverwriteSpanPoliciesResponse) ProtoMessage()

func (*AtomicOverwriteSpanPoliciesResponse) ProtoReflect

func (*AtomicOverwriteSpanPoliciesResponse) Reset

func (*AtomicOverwriteSpanPoliciesResponse) String

type AuditLogDescription

type AuditLogDescription struct {
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditLogDescription) Descriptor deprecated

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

Deprecated: Use AuditLogDescription.ProtoReflect.Descriptor instead.

func (*AuditLogDescription) GetDescription

func (x *AuditLogDescription) GetDescription() string

func (*AuditLogDescription) ProtoMessage

func (*AuditLogDescription) ProtoMessage()

func (*AuditLogDescription) ProtoReflect

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

func (*AuditLogDescription) Reset

func (x *AuditLogDescription) Reset()

func (*AuditLogDescription) String

func (x *AuditLogDescription) String() string

type BulkTestLogPoliciesRequest

type BulkTestLogPoliciesRequest struct {
	MetaFieldsValuesList []*LogMetaFieldsValues `protobuf:"bytes,1,rep,name=meta_fields_values_list,json=metaFieldsValuesList,proto3" json:"meta_fields_values_list,omitempty"`
	// contains filtered or unexported fields
}

func (*BulkTestLogPoliciesRequest) Descriptor deprecated

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

Deprecated: Use BulkTestLogPoliciesRequest.ProtoReflect.Descriptor instead.

func (*BulkTestLogPoliciesRequest) GetMetaFieldsValuesList

func (x *BulkTestLogPoliciesRequest) GetMetaFieldsValuesList() []*LogMetaFieldsValues

func (*BulkTestLogPoliciesRequest) ProtoMessage

func (*BulkTestLogPoliciesRequest) ProtoMessage()

func (*BulkTestLogPoliciesRequest) ProtoReflect

func (*BulkTestLogPoliciesRequest) Reset

func (x *BulkTestLogPoliciesRequest) Reset()

func (*BulkTestLogPoliciesRequest) String

func (x *BulkTestLogPoliciesRequest) String() string

type BulkTestLogPoliciesResponse

type BulkTestLogPoliciesResponse struct {
	TestPoliciesBulkResult []*TestPoliciesResult `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BulkTestLogPoliciesResponse) Descriptor deprecated

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

Deprecated: Use BulkTestLogPoliciesResponse.ProtoReflect.Descriptor instead.

func (*BulkTestLogPoliciesResponse) GetTestPoliciesBulkResult

func (x *BulkTestLogPoliciesResponse) GetTestPoliciesBulkResult() []*TestPoliciesResult

func (*BulkTestLogPoliciesResponse) ProtoMessage

func (*BulkTestLogPoliciesResponse) ProtoMessage()

func (*BulkTestLogPoliciesResponse) ProtoReflect

func (*BulkTestLogPoliciesResponse) Reset

func (x *BulkTestLogPoliciesResponse) Reset()

func (*BulkTestLogPoliciesResponse) String

func (x *BulkTestLogPoliciesResponse) String() string

type CreateGenericPolicyRequest

type CreateGenericPolicyRequest struct {
	Name             *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description      *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Priority         Priority                `protobuf:"varint,3,opt,name=priority,proto3,enum=com.coralogix.quota.v1.Priority" json:"priority,omitempty"`
	ApplicationRule  *Rule                   `protobuf:"bytes,4,opt,name=application_rule,json=applicationRule,proto3,oneof" json:"application_rule,omitempty"`
	SubsystemRule    *Rule                   `protobuf:"bytes,5,opt,name=subsystem_rule,json=subsystemRule,proto3,oneof" json:"subsystem_rule,omitempty"`
	ArchiveRetention *ArchiveRetention       `protobuf:"bytes,6,opt,name=archive_retention,json=archiveRetention,proto3,oneof" json:"archive_retention,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGenericPolicyRequest) Descriptor deprecated

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

Deprecated: Use CreateGenericPolicyRequest.ProtoReflect.Descriptor instead.

func (*CreateGenericPolicyRequest) GetApplicationRule

func (x *CreateGenericPolicyRequest) GetApplicationRule() *Rule

func (*CreateGenericPolicyRequest) GetArchiveRetention

func (x *CreateGenericPolicyRequest) GetArchiveRetention() *ArchiveRetention

func (*CreateGenericPolicyRequest) GetDescription

func (x *CreateGenericPolicyRequest) GetDescription() *wrapperspb.StringValue

func (*CreateGenericPolicyRequest) GetName

func (*CreateGenericPolicyRequest) GetPriority

func (x *CreateGenericPolicyRequest) GetPriority() Priority

func (*CreateGenericPolicyRequest) GetSubsystemRule

func (x *CreateGenericPolicyRequest) GetSubsystemRule() *Rule

func (*CreateGenericPolicyRequest) ProtoMessage

func (*CreateGenericPolicyRequest) ProtoMessage()

func (*CreateGenericPolicyRequest) ProtoReflect

func (*CreateGenericPolicyRequest) Reset

func (x *CreateGenericPolicyRequest) Reset()

func (*CreateGenericPolicyRequest) String

func (x *CreateGenericPolicyRequest) String() string

type CreateLogPolicyRequest

type CreateLogPolicyRequest struct {
	Policy   *CreateGenericPolicyRequest `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	LogRules *LogRules                   `protobuf:"bytes,2,opt,name=log_rules,json=logRules,proto3" json:"log_rules,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLogPolicyRequest) Descriptor deprecated

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

Deprecated: Use CreateLogPolicyRequest.ProtoReflect.Descriptor instead.

func (*CreateLogPolicyRequest) GetLogRules

func (x *CreateLogPolicyRequest) GetLogRules() *LogRules

func (*CreateLogPolicyRequest) GetPolicy

func (*CreateLogPolicyRequest) ProtoMessage

func (*CreateLogPolicyRequest) ProtoMessage()

func (*CreateLogPolicyRequest) ProtoReflect

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

func (*CreateLogPolicyRequest) Reset

func (x *CreateLogPolicyRequest) Reset()

func (*CreateLogPolicyRequest) String

func (x *CreateLogPolicyRequest) String() string

type CreatePolicyRequest

type CreatePolicyRequest struct {
	Name             *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description      *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Priority         Priority                `protobuf:"varint,3,opt,name=priority,proto3,enum=com.coralogix.quota.v1.Priority" json:"priority,omitempty"`
	ApplicationRule  *Rule                   `protobuf:"bytes,4,opt,name=application_rule,json=applicationRule,proto3,oneof" json:"application_rule,omitempty"`
	SubsystemRule    *Rule                   `protobuf:"bytes,5,opt,name=subsystem_rule,json=subsystemRule,proto3,oneof" json:"subsystem_rule,omitempty"`
	ArchiveRetention *ArchiveRetention       `protobuf:"bytes,6,opt,name=archive_retention,json=archiveRetention,proto3,oneof" json:"archive_retention,omitempty"`
	// Types that are assignable to SourceTypeRules:
	//
	//	*CreatePolicyRequest_LogRules
	//	*CreatePolicyRequest_SpanRules
	SourceTypeRules isCreatePolicyRequest_SourceTypeRules `protobuf_oneof:"source_type_rules"`
	// contains filtered or unexported fields
}

func (*CreatePolicyRequest) Descriptor deprecated

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

Deprecated: Use CreatePolicyRequest.ProtoReflect.Descriptor instead.

func (*CreatePolicyRequest) GetApplicationRule

func (x *CreatePolicyRequest) GetApplicationRule() *Rule

func (*CreatePolicyRequest) GetArchiveRetention

func (x *CreatePolicyRequest) GetArchiveRetention() *ArchiveRetention

func (*CreatePolicyRequest) GetDescription

func (x *CreatePolicyRequest) GetDescription() *wrapperspb.StringValue

func (*CreatePolicyRequest) GetLogRules

func (x *CreatePolicyRequest) GetLogRules() *LogRules

func (*CreatePolicyRequest) GetName

func (*CreatePolicyRequest) GetPriority

func (x *CreatePolicyRequest) GetPriority() Priority

func (*CreatePolicyRequest) GetSourceTypeRules

func (m *CreatePolicyRequest) GetSourceTypeRules() isCreatePolicyRequest_SourceTypeRules

func (*CreatePolicyRequest) GetSpanRules

func (x *CreatePolicyRequest) GetSpanRules() *SpanRules

func (*CreatePolicyRequest) GetSubsystemRule

func (x *CreatePolicyRequest) GetSubsystemRule() *Rule

func (*CreatePolicyRequest) ProtoMessage

func (*CreatePolicyRequest) ProtoMessage()

func (*CreatePolicyRequest) ProtoReflect

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

func (*CreatePolicyRequest) Reset

func (x *CreatePolicyRequest) Reset()

func (*CreatePolicyRequest) String

func (x *CreatePolicyRequest) String() string

type CreatePolicyRequest_LogRules

type CreatePolicyRequest_LogRules struct {
	LogRules *LogRules `protobuf:"bytes,7,opt,name=log_rules,json=logRules,proto3,oneof"`
}

type CreatePolicyRequest_SpanRules

type CreatePolicyRequest_SpanRules struct {
	SpanRules *SpanRules `protobuf:"bytes,8,opt,name=span_rules,json=spanRules,proto3,oneof"`
}

type CreatePolicyResponse

type CreatePolicyResponse struct {
	Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePolicyResponse) Descriptor deprecated

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

Deprecated: Use CreatePolicyResponse.ProtoReflect.Descriptor instead.

func (*CreatePolicyResponse) GetPolicy

func (x *CreatePolicyResponse) GetPolicy() *Policy

func (*CreatePolicyResponse) ProtoMessage

func (*CreatePolicyResponse) ProtoMessage()

func (*CreatePolicyResponse) ProtoReflect

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

func (*CreatePolicyResponse) Reset

func (x *CreatePolicyResponse) Reset()

func (*CreatePolicyResponse) String

func (x *CreatePolicyResponse) String() string

type CreateSpanPolicyRequest

type CreateSpanPolicyRequest struct {
	Policy    *CreateGenericPolicyRequest `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	SpanRules *SpanRules                  `protobuf:"bytes,2,opt,name=span_rules,json=spanRules,proto3" json:"span_rules,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSpanPolicyRequest) Descriptor deprecated

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

Deprecated: Use CreateSpanPolicyRequest.ProtoReflect.Descriptor instead.

func (*CreateSpanPolicyRequest) GetPolicy

func (*CreateSpanPolicyRequest) GetSpanRules

func (x *CreateSpanPolicyRequest) GetSpanRules() *SpanRules

func (*CreateSpanPolicyRequest) ProtoMessage

func (*CreateSpanPolicyRequest) ProtoMessage()

func (*CreateSpanPolicyRequest) ProtoReflect

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

func (*CreateSpanPolicyRequest) Reset

func (x *CreateSpanPolicyRequest) Reset()

func (*CreateSpanPolicyRequest) String

func (x *CreateSpanPolicyRequest) String() string

type DeletePolicyRequest

type DeletePolicyRequest struct {
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePolicyRequest) Descriptor deprecated

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

Deprecated: Use DeletePolicyRequest.ProtoReflect.Descriptor instead.

func (*DeletePolicyRequest) GetId

func (*DeletePolicyRequest) ProtoMessage

func (*DeletePolicyRequest) ProtoMessage()

func (*DeletePolicyRequest) ProtoReflect

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

func (*DeletePolicyRequest) Reset

func (x *DeletePolicyRequest) Reset()

func (*DeletePolicyRequest) String

func (x *DeletePolicyRequest) String() string

type DeletePolicyResponse

type DeletePolicyResponse struct {
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePolicyResponse) Descriptor deprecated

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

Deprecated: Use DeletePolicyResponse.ProtoReflect.Descriptor instead.

func (*DeletePolicyResponse) GetId

func (*DeletePolicyResponse) ProtoMessage

func (*DeletePolicyResponse) ProtoMessage()

func (*DeletePolicyResponse) ProtoReflect

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

func (*DeletePolicyResponse) Reset

func (x *DeletePolicyResponse) Reset()

func (*DeletePolicyResponse) String

func (x *DeletePolicyResponse) String() string

type GetCompanyPoliciesRequest

type GetCompanyPoliciesRequest struct {
	EnabledOnly *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled_only,json=enabledOnly,proto3" json:"enabled_only,omitempty"`
	SourceType  *SourceType           `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetCompanyPoliciesRequest) Descriptor deprecated

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

Deprecated: Use GetCompanyPoliciesRequest.ProtoReflect.Descriptor instead.

func (*GetCompanyPoliciesRequest) GetEnabledOnly

func (x *GetCompanyPoliciesRequest) GetEnabledOnly() *wrapperspb.BoolValue

func (*GetCompanyPoliciesRequest) GetSourceType

func (x *GetCompanyPoliciesRequest) GetSourceType() SourceType

func (*GetCompanyPoliciesRequest) ProtoMessage

func (*GetCompanyPoliciesRequest) ProtoMessage()

func (*GetCompanyPoliciesRequest) ProtoReflect

func (*GetCompanyPoliciesRequest) Reset

func (x *GetCompanyPoliciesRequest) Reset()

func (*GetCompanyPoliciesRequest) String

func (x *GetCompanyPoliciesRequest) String() string

type GetCompanyPoliciesResponse

type GetCompanyPoliciesResponse struct {
	Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCompanyPoliciesResponse) Descriptor deprecated

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

Deprecated: Use GetCompanyPoliciesResponse.ProtoReflect.Descriptor instead.

func (*GetCompanyPoliciesResponse) GetPolicies

func (x *GetCompanyPoliciesResponse) GetPolicies() []*Policy

func (*GetCompanyPoliciesResponse) ProtoMessage

func (*GetCompanyPoliciesResponse) ProtoMessage()

func (*GetCompanyPoliciesResponse) ProtoReflect

func (*GetCompanyPoliciesResponse) Reset

func (x *GetCompanyPoliciesResponse) Reset()

func (*GetCompanyPoliciesResponse) String

func (x *GetCompanyPoliciesResponse) String() string

type GetPolicyRequest

type GetPolicyRequest struct {
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPolicyRequest) Descriptor deprecated

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

Deprecated: Use GetPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyRequest) GetId

func (*GetPolicyRequest) ProtoMessage

func (*GetPolicyRequest) ProtoMessage()

func (*GetPolicyRequest) ProtoReflect

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

func (*GetPolicyRequest) Reset

func (x *GetPolicyRequest) Reset()

func (*GetPolicyRequest) String

func (x *GetPolicyRequest) String() string

type GetPolicyResponse

type GetPolicyResponse struct {
	Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPolicyResponse) Descriptor deprecated

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

Deprecated: Use GetPolicyResponse.ProtoReflect.Descriptor instead.

func (*GetPolicyResponse) GetPolicy

func (x *GetPolicyResponse) GetPolicy() *Policy

func (*GetPolicyResponse) ProtoMessage

func (*GetPolicyResponse) ProtoMessage()

func (*GetPolicyResponse) ProtoReflect

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

func (*GetPolicyResponse) Reset

func (x *GetPolicyResponse) Reset()

func (*GetPolicyResponse) String

func (x *GetPolicyResponse) String() string

type InternalPoliciesServiceClient

type InternalPoliciesServiceClient interface {
	GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*GetPolicyResponse, error)
	CreatePolicy(ctx context.Context, in *CreatePolicyRequest, opts ...grpc.CallOption) (*CreatePolicyResponse, error)
	UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*UpdatePolicyResponse, error)
	GetCompanyPolicies(ctx context.Context, in *GetCompanyPoliciesRequest, opts ...grpc.CallOption) (*GetCompanyPoliciesResponse, error)
	DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*DeletePolicyResponse, error)
	ReorderPolicies(ctx context.Context, in *ReorderPoliciesRequest, opts ...grpc.CallOption) (*ReorderPoliciesResponse, error)
	BulkTestLogPolicies(ctx context.Context, in *BulkTestLogPoliciesRequest, opts ...grpc.CallOption) (*BulkTestLogPoliciesResponse, error)
	TogglePolicy(ctx context.Context, in *TogglePolicyRequest, opts ...grpc.CallOption) (*TogglePolicyResponse, error)
}

InternalPoliciesServiceClient is the client API for InternalPoliciesService 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 InternalPoliciesServiceServer

InternalPoliciesServiceServer is the server API for InternalPoliciesService service. All implementations must embed UnimplementedInternalPoliciesServiceServer for forward compatibility

type LogMetaFieldsValues

type LogMetaFieldsValues struct {
	ApplicationNameValues *wrapperspb.StringValue `` /* 126-byte string literal not displayed */
	SeverityValues        *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=severity_values,json=severityValues,proto3" json:"severity_values,omitempty"`
	SubsystemNameValues   *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=subsystem_name_values,json=subsystemNameValues,proto3" json:"subsystem_name_values,omitempty"`
	// contains filtered or unexported fields
}

func (*LogMetaFieldsValues) Descriptor deprecated

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

Deprecated: Use LogMetaFieldsValues.ProtoReflect.Descriptor instead.

func (*LogMetaFieldsValues) GetApplicationNameValues

func (x *LogMetaFieldsValues) GetApplicationNameValues() *wrapperspb.StringValue

func (*LogMetaFieldsValues) GetSeverityValues

func (x *LogMetaFieldsValues) GetSeverityValues() *wrapperspb.StringValue

func (*LogMetaFieldsValues) GetSubsystemNameValues

func (x *LogMetaFieldsValues) GetSubsystemNameValues() *wrapperspb.StringValue

func (*LogMetaFieldsValues) ProtoMessage

func (*LogMetaFieldsValues) ProtoMessage()

func (*LogMetaFieldsValues) ProtoReflect

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

func (*LogMetaFieldsValues) Reset

func (x *LogMetaFieldsValues) Reset()

func (*LogMetaFieldsValues) String

func (x *LogMetaFieldsValues) String() string

type LogRules

type LogRules struct {
	Severities []Severity `protobuf:"varint,1,rep,packed,name=severities,proto3,enum=com.coralogix.quota.v1.Severity" json:"severities,omitempty"`
	// contains filtered or unexported fields
}

func (*LogRules) Descriptor deprecated

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

Deprecated: Use LogRules.ProtoReflect.Descriptor instead.

func (*LogRules) GetSeverities

func (x *LogRules) GetSeverities() []Severity

func (*LogRules) ProtoMessage

func (*LogRules) ProtoMessage()

func (*LogRules) ProtoReflect

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

func (*LogRules) Reset

func (x *LogRules) Reset()

func (*LogRules) String

func (x *LogRules) String() string

type PoliciesServiceClient

PoliciesServiceClient is the client API for PoliciesService 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 PoliciesServiceServer

PoliciesServiceServer is the server API for PoliciesService service. All implementations must embed UnimplementedPoliciesServiceServer for forward compatibility

type Policy

type Policy struct {
	Id              *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CompanyId       *wrapperspb.Int32Value  `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"`
	Name            *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description     *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Priority        Priority                `protobuf:"varint,5,opt,name=priority,proto3,enum=com.coralogix.quota.v1.Priority" json:"priority,omitempty"`
	Deleted         *wrapperspb.BoolValue   `protobuf:"bytes,6,opt,name=deleted,proto3" json:"deleted,omitempty"`
	Enabled         *wrapperspb.BoolValue   `protobuf:"bytes,7,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Order           *wrapperspb.Int32Value  `protobuf:"bytes,8,opt,name=order,proto3" json:"order,omitempty"`
	ApplicationRule *Rule                   `protobuf:"bytes,9,opt,name=application_rule,json=applicationRule,proto3,oneof" json:"application_rule,omitempty"`
	SubsystemRule   *Rule                   `protobuf:"bytes,10,opt,name=subsystem_rule,json=subsystemRule,proto3,oneof" json:"subsystem_rule,omitempty"`
	// Types that are assignable to SourceTypeRules:
	//
	//	*Policy_LogRules
	//	*Policy_SpanRules
	SourceTypeRules  isPolicy_SourceTypeRules `protobuf_oneof:"source_type_rules"`
	CreatedAt        *wrapperspb.StringValue  `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt        *wrapperspb.StringValue  `protobuf:"bytes,14,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	ArchiveRetention *ArchiveRetention        `protobuf:"bytes,15,opt,name=archive_retention,json=archiveRetention,proto3,oneof" json:"archive_retention,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy) Descriptor deprecated

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetApplicationRule

func (x *Policy) GetApplicationRule() *Rule

func (*Policy) GetArchiveRetention

func (x *Policy) GetArchiveRetention() *ArchiveRetention

func (*Policy) GetCompanyId

func (x *Policy) GetCompanyId() *wrapperspb.Int32Value

func (*Policy) GetCreatedAt

func (x *Policy) GetCreatedAt() *wrapperspb.StringValue

func (*Policy) GetDeleted

func (x *Policy) GetDeleted() *wrapperspb.BoolValue

func (*Policy) GetDescription

func (x *Policy) GetDescription() *wrapperspb.StringValue

func (*Policy) GetEnabled

func (x *Policy) GetEnabled() *wrapperspb.BoolValue

func (*Policy) GetId

func (x *Policy) GetId() *wrapperspb.StringValue

func (*Policy) GetLogRules

func (x *Policy) GetLogRules() *LogRules

func (*Policy) GetName

func (x *Policy) GetName() *wrapperspb.StringValue

func (*Policy) GetOrder

func (x *Policy) GetOrder() *wrapperspb.Int32Value

func (*Policy) GetPriority

func (x *Policy) GetPriority() Priority

func (*Policy) GetSourceTypeRules

func (m *Policy) GetSourceTypeRules() isPolicy_SourceTypeRules

func (*Policy) GetSpanRules

func (x *Policy) GetSpanRules() *SpanRules

func (*Policy) GetSubsystemRule

func (x *Policy) GetSubsystemRule() *Rule

func (*Policy) GetUpdatedAt

func (x *Policy) GetUpdatedAt() *wrapperspb.StringValue

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

type PolicyOrder

type PolicyOrder struct {
	Order *wrapperspb.Int32Value  `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
	Id    *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyOrder) Descriptor deprecated

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

Deprecated: Use PolicyOrder.ProtoReflect.Descriptor instead.

func (*PolicyOrder) GetId

func (x *PolicyOrder) GetId() *wrapperspb.StringValue

func (*PolicyOrder) GetOrder

func (x *PolicyOrder) GetOrder() *wrapperspb.Int32Value

func (*PolicyOrder) ProtoMessage

func (*PolicyOrder) ProtoMessage()

func (*PolicyOrder) ProtoReflect

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

func (*PolicyOrder) Reset

func (x *PolicyOrder) Reset()

func (*PolicyOrder) String

func (x *PolicyOrder) String() string

type Policy_LogRules

type Policy_LogRules struct {
	LogRules *LogRules `protobuf:"bytes,11,opt,name=log_rules,json=logRules,proto3,oneof"`
}

type Policy_SpanRules

type Policy_SpanRules struct {
	SpanRules *SpanRules `protobuf:"bytes,12,opt,name=span_rules,json=spanRules,proto3,oneof"`
}

type Priority

type Priority int32
const (
	Priority_PRIORITY_TYPE_UNSPECIFIED Priority = 0
	Priority_PRIORITY_TYPE_BLOCK       Priority = 1
	Priority_PRIORITY_TYPE_LOW         Priority = 2
	Priority_PRIORITY_TYPE_MEDIUM      Priority = 3
	Priority_PRIORITY_TYPE_HIGH        Priority = 4
)

func (Priority) Descriptor

func (Priority) Descriptor() protoreflect.EnumDescriptor

func (Priority) Enum

func (x Priority) Enum() *Priority

func (Priority) EnumDescriptor deprecated

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

Deprecated: Use Priority.Descriptor instead.

func (Priority) Number

func (x Priority) Number() protoreflect.EnumNumber

func (Priority) String

func (x Priority) String() string

func (Priority) Type

type ReorderPoliciesRequest

type ReorderPoliciesRequest struct {
	Orders     []*PolicyOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	SourceType SourceType     `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ReorderPoliciesRequest) Descriptor deprecated

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

Deprecated: Use ReorderPoliciesRequest.ProtoReflect.Descriptor instead.

func (*ReorderPoliciesRequest) GetOrders

func (x *ReorderPoliciesRequest) GetOrders() []*PolicyOrder

func (*ReorderPoliciesRequest) GetSourceType

func (x *ReorderPoliciesRequest) GetSourceType() SourceType

func (*ReorderPoliciesRequest) ProtoMessage

func (*ReorderPoliciesRequest) ProtoMessage()

func (*ReorderPoliciesRequest) ProtoReflect

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

func (*ReorderPoliciesRequest) Reset

func (x *ReorderPoliciesRequest) Reset()

func (*ReorderPoliciesRequest) String

func (x *ReorderPoliciesRequest) String() string

type ReorderPoliciesResponse

type ReorderPoliciesResponse struct {
	Orders []*PolicyOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	// contains filtered or unexported fields
}

func (*ReorderPoliciesResponse) Descriptor deprecated

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

Deprecated: Use ReorderPoliciesResponse.ProtoReflect.Descriptor instead.

func (*ReorderPoliciesResponse) GetOrders

func (x *ReorderPoliciesResponse) GetOrders() []*PolicyOrder

func (*ReorderPoliciesResponse) ProtoMessage

func (*ReorderPoliciesResponse) ProtoMessage()

func (*ReorderPoliciesResponse) ProtoReflect

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

func (*ReorderPoliciesResponse) Reset

func (x *ReorderPoliciesResponse) Reset()

func (*ReorderPoliciesResponse) String

func (x *ReorderPoliciesResponse) String() string

type Rule

type Rule struct {
	RuleTypeId RuleTypeId              `` /* 133-byte string literal not displayed */
	Name       *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Rule) Descriptor deprecated

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

Deprecated: Use Rule.ProtoReflect.Descriptor instead.

func (*Rule) GetName

func (x *Rule) GetName() *wrapperspb.StringValue

func (*Rule) GetRuleTypeId

func (x *Rule) GetRuleTypeId() RuleTypeId

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

type RuleTypeId

type RuleTypeId int32
const (
	RuleTypeId_RULE_TYPE_ID_UNSPECIFIED RuleTypeId = 0
	RuleTypeId_RULE_TYPE_ID_IS          RuleTypeId = 2
	RuleTypeId_RULE_TYPE_ID_IS_NOT      RuleTypeId = 3
	RuleTypeId_RULE_TYPE_ID_START_WITH  RuleTypeId = 4
	RuleTypeId_RULE_TYPE_ID_INCLUDES    RuleTypeId = 6
)

func (RuleTypeId) Descriptor

func (RuleTypeId) Descriptor() protoreflect.EnumDescriptor

func (RuleTypeId) Enum

func (x RuleTypeId) Enum() *RuleTypeId

func (RuleTypeId) EnumDescriptor deprecated

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

Deprecated: Use RuleTypeId.Descriptor instead.

func (RuleTypeId) Number

func (x RuleTypeId) Number() protoreflect.EnumNumber

func (RuleTypeId) String

func (x RuleTypeId) String() string

func (RuleTypeId) Type

type Severity

type Severity int32
const (
	Severity_SEVERITY_UNSPECIFIED Severity = 0
	Severity_SEVERITY_DEBUG       Severity = 1
	Severity_SEVERITY_VERBOSE     Severity = 2
	Severity_SEVERITY_INFO        Severity = 3
	Severity_SEVERITY_WARNING     Severity = 4
	Severity_SEVERITY_ERROR       Severity = 5
	Severity_SEVERITY_CRITICAL    Severity = 6
)

func (Severity) Descriptor

func (Severity) Descriptor() protoreflect.EnumDescriptor

func (Severity) Enum

func (x Severity) Enum() *Severity

func (Severity) EnumDescriptor deprecated

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

Deprecated: Use Severity.Descriptor instead.

func (Severity) Number

func (x Severity) Number() protoreflect.EnumNumber

func (Severity) String

func (x Severity) String() string

func (Severity) Type

type SourceType

type SourceType int32
const (
	SourceType_SOURCE_TYPE_UNSPECIFIED SourceType = 0
	SourceType_SOURCE_TYPE_LOGS        SourceType = 1
	SourceType_SOURCE_TYPE_SPANS       SourceType = 2
)

func (SourceType) Descriptor

func (SourceType) Descriptor() protoreflect.EnumDescriptor

func (SourceType) Enum

func (x SourceType) Enum() *SourceType

func (SourceType) EnumDescriptor deprecated

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

Deprecated: Use SourceType.Descriptor instead.

func (SourceType) Number

func (x SourceType) Number() protoreflect.EnumNumber

func (SourceType) String

func (x SourceType) String() string

func (SourceType) Type

type SpanRules

type SpanRules struct {
	ServiceRule *Rule      `protobuf:"bytes,1,opt,name=service_rule,json=serviceRule,proto3,oneof" json:"service_rule,omitempty"`
	ActionRule  *Rule      `protobuf:"bytes,2,opt,name=action_rule,json=actionRule,proto3,oneof" json:"action_rule,omitempty"`
	TagRules    []*TagRule `protobuf:"bytes,3,rep,name=tag_rules,json=tagRules,proto3" json:"tag_rules,omitempty"`
	// contains filtered or unexported fields
}

func (*SpanRules) Descriptor deprecated

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

Deprecated: Use SpanRules.ProtoReflect.Descriptor instead.

func (*SpanRules) GetActionRule

func (x *SpanRules) GetActionRule() *Rule

func (*SpanRules) GetServiceRule

func (x *SpanRules) GetServiceRule() *Rule

func (*SpanRules) GetTagRules

func (x *SpanRules) GetTagRules() []*TagRule

func (*SpanRules) ProtoMessage

func (*SpanRules) ProtoMessage()

func (*SpanRules) ProtoReflect

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

func (*SpanRules) Reset

func (x *SpanRules) Reset()

func (*SpanRules) String

func (x *SpanRules) String() string

type TagRule

type TagRule struct {
	RuleTypeId RuleTypeId              `` /* 133-byte string literal not displayed */
	TagName    *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
	TagValue   *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"`
	// contains filtered or unexported fields
}

func (*TagRule) Descriptor deprecated

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

Deprecated: Use TagRule.ProtoReflect.Descriptor instead.

func (*TagRule) GetRuleTypeId

func (x *TagRule) GetRuleTypeId() RuleTypeId

func (*TagRule) GetTagName

func (x *TagRule) GetTagName() *wrapperspb.StringValue

func (*TagRule) GetTagValue

func (x *TagRule) GetTagValue() *wrapperspb.StringValue

func (*TagRule) ProtoMessage

func (*TagRule) ProtoMessage()

func (*TagRule) ProtoReflect

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

func (*TagRule) Reset

func (x *TagRule) Reset()

func (*TagRule) String

func (x *TagRule) String() string

type TestPoliciesResult

type TestPoliciesResult struct {
	MetaFieldsValues *LogMetaFieldsValues  `protobuf:"bytes,1,opt,name=meta_fields_values,json=metaFieldsValues,proto3" json:"meta_fields_values,omitempty"`
	Matched          *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=matched,proto3" json:"matched,omitempty"`
	Policy           *Policy               `protobuf:"bytes,3,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

func (*TestPoliciesResult) Descriptor deprecated

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

Deprecated: Use TestPoliciesResult.ProtoReflect.Descriptor instead.

func (*TestPoliciesResult) GetMatched

func (x *TestPoliciesResult) GetMatched() *wrapperspb.BoolValue

func (*TestPoliciesResult) GetMetaFieldsValues

func (x *TestPoliciesResult) GetMetaFieldsValues() *LogMetaFieldsValues

func (*TestPoliciesResult) GetPolicy

func (x *TestPoliciesResult) GetPolicy() *Policy

func (*TestPoliciesResult) ProtoMessage

func (*TestPoliciesResult) ProtoMessage()

func (*TestPoliciesResult) ProtoReflect

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

func (*TestPoliciesResult) Reset

func (x *TestPoliciesResult) Reset()

func (*TestPoliciesResult) String

func (x *TestPoliciesResult) String() string

type TogglePolicyRequest

type TogglePolicyRequest struct {
	Id      *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Enabled *wrapperspb.BoolValue   `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*TogglePolicyRequest) Descriptor deprecated

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

Deprecated: Use TogglePolicyRequest.ProtoReflect.Descriptor instead.

func (*TogglePolicyRequest) GetEnabled

func (x *TogglePolicyRequest) GetEnabled() *wrapperspb.BoolValue

func (*TogglePolicyRequest) GetId

func (*TogglePolicyRequest) ProtoMessage

func (*TogglePolicyRequest) ProtoMessage()

func (*TogglePolicyRequest) ProtoReflect

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

func (*TogglePolicyRequest) Reset

func (x *TogglePolicyRequest) Reset()

func (*TogglePolicyRequest) String

func (x *TogglePolicyRequest) String() string

type TogglePolicyResponse

type TogglePolicyResponse struct {
	Id      *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Enabled *wrapperspb.BoolValue   `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*TogglePolicyResponse) Descriptor deprecated

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

Deprecated: Use TogglePolicyResponse.ProtoReflect.Descriptor instead.

func (*TogglePolicyResponse) GetEnabled

func (x *TogglePolicyResponse) GetEnabled() *wrapperspb.BoolValue

func (*TogglePolicyResponse) GetId

func (*TogglePolicyResponse) ProtoMessage

func (*TogglePolicyResponse) ProtoMessage()

func (*TogglePolicyResponse) ProtoReflect

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

func (*TogglePolicyResponse) Reset

func (x *TogglePolicyResponse) Reset()

func (*TogglePolicyResponse) String

func (x *TogglePolicyResponse) String() string

type UnimplementedInternalPoliciesServiceServer

type UnimplementedInternalPoliciesServiceServer struct {
}

UnimplementedInternalPoliciesServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedInternalPoliciesServiceServer) BulkTestLogPolicies

func (UnimplementedInternalPoliciesServiceServer) CreatePolicy

func (UnimplementedInternalPoliciesServiceServer) DeletePolicy

func (UnimplementedInternalPoliciesServiceServer) GetCompanyPolicies

func (UnimplementedInternalPoliciesServiceServer) GetPolicy

func (UnimplementedInternalPoliciesServiceServer) ReorderPolicies

func (UnimplementedInternalPoliciesServiceServer) TogglePolicy

func (UnimplementedInternalPoliciesServiceServer) UpdatePolicy

type UnimplementedPoliciesServiceServer

type UnimplementedPoliciesServiceServer struct {
}

UnimplementedPoliciesServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPoliciesServiceServer) BulkTestLogPolicies

func (UnimplementedPoliciesServiceServer) CreatePolicy

func (UnimplementedPoliciesServiceServer) DeletePolicy

func (UnimplementedPoliciesServiceServer) GetCompanyPolicies

func (UnimplementedPoliciesServiceServer) GetPolicy

func (UnimplementedPoliciesServiceServer) ReorderPolicies

func (UnimplementedPoliciesServiceServer) TogglePolicy

func (UnimplementedPoliciesServiceServer) UpdatePolicy

type UnsafeInternalPoliciesServiceServer

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

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

type UnsafePoliciesServiceServer

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

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

type UpdatePolicyRequest

type UpdatePolicyRequest struct {
	Id               *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name             *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description      *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Priority         Priority                `protobuf:"varint,4,opt,name=priority,proto3,enum=com.coralogix.quota.v1.Priority" json:"priority,omitempty"`
	ApplicationRule  *Rule                   `protobuf:"bytes,5,opt,name=application_rule,json=applicationRule,proto3,oneof" json:"application_rule,omitempty"`
	SubsystemRule    *Rule                   `protobuf:"bytes,6,opt,name=subsystem_rule,json=subsystemRule,proto3,oneof" json:"subsystem_rule,omitempty"`
	ArchiveRetention *ArchiveRetention       `protobuf:"bytes,7,opt,name=archive_retention,json=archiveRetention,proto3,oneof" json:"archive_retention,omitempty"`
	// Types that are assignable to SourceTypeRules:
	//
	//	*UpdatePolicyRequest_LogRules
	//	*UpdatePolicyRequest_SpanRules
	SourceTypeRules isUpdatePolicyRequest_SourceTypeRules `protobuf_oneof:"source_type_rules"`
	Enabled         *wrapperspb.BoolValue                 `protobuf:"bytes,10,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePolicyRequest) Descriptor deprecated

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

Deprecated: Use UpdatePolicyRequest.ProtoReflect.Descriptor instead.

func (*UpdatePolicyRequest) GetApplicationRule

func (x *UpdatePolicyRequest) GetApplicationRule() *Rule

func (*UpdatePolicyRequest) GetArchiveRetention

func (x *UpdatePolicyRequest) GetArchiveRetention() *ArchiveRetention

func (*UpdatePolicyRequest) GetDescription

func (x *UpdatePolicyRequest) GetDescription() *wrapperspb.StringValue

func (*UpdatePolicyRequest) GetEnabled

func (x *UpdatePolicyRequest) GetEnabled() *wrapperspb.BoolValue

func (*UpdatePolicyRequest) GetId

func (*UpdatePolicyRequest) GetLogRules

func (x *UpdatePolicyRequest) GetLogRules() *LogRules

func (*UpdatePolicyRequest) GetName

func (*UpdatePolicyRequest) GetPriority

func (x *UpdatePolicyRequest) GetPriority() Priority

func (*UpdatePolicyRequest) GetSourceTypeRules

func (m *UpdatePolicyRequest) GetSourceTypeRules() isUpdatePolicyRequest_SourceTypeRules

func (*UpdatePolicyRequest) GetSpanRules

func (x *UpdatePolicyRequest) GetSpanRules() *SpanRules

func (*UpdatePolicyRequest) GetSubsystemRule

func (x *UpdatePolicyRequest) GetSubsystemRule() *Rule

func (*UpdatePolicyRequest) ProtoMessage

func (*UpdatePolicyRequest) ProtoMessage()

func (*UpdatePolicyRequest) ProtoReflect

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

func (*UpdatePolicyRequest) Reset

func (x *UpdatePolicyRequest) Reset()

func (*UpdatePolicyRequest) String

func (x *UpdatePolicyRequest) String() string

type UpdatePolicyRequest_LogRules

type UpdatePolicyRequest_LogRules struct {
	LogRules *LogRules `protobuf:"bytes,8,opt,name=log_rules,json=logRules,proto3,oneof"`
}

type UpdatePolicyRequest_SpanRules

type UpdatePolicyRequest_SpanRules struct {
	SpanRules *SpanRules `protobuf:"bytes,9,opt,name=span_rules,json=spanRules,proto3,oneof"`
}

type UpdatePolicyResponse

type UpdatePolicyResponse struct {
	Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePolicyResponse) Descriptor deprecated

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

Deprecated: Use UpdatePolicyResponse.ProtoReflect.Descriptor instead.

func (*UpdatePolicyResponse) GetPolicy

func (x *UpdatePolicyResponse) GetPolicy() *Policy

func (*UpdatePolicyResponse) ProtoMessage

func (*UpdatePolicyResponse) ProtoMessage()

func (*UpdatePolicyResponse) ProtoReflect

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

func (*UpdatePolicyResponse) Reset

func (x *UpdatePolicyResponse) Reset()

func (*UpdatePolicyResponse) String

func (x *UpdatePolicyResponse) String() string

Jump to

Keyboard shortcuts

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