logv1alpha1

package
v1.45.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TimeComparison_name = map[int32]string{
		0: "TIME_COMPARISON_UNSPECIFIED",
		1: "TIME_COMPARISON_BEFORE",
		2: "TIME_COMPARISON_AFTER",
	}
	TimeComparison_value = map[string]int32{
		"TIME_COMPARISON_UNSPECIFIED": 0,
		"TIME_COMPARISON_BEFORE":      1,
		"TIME_COMPARISON_AFTER":       2,
	}
)

Enum value maps for TimeComparison.

View Source
var (
	BoolComparison_name = map[int32]string{
		0: "BOOL_COMPARISON_UNSPECIFIED",
		1: "BOOL_COMPARISON_EQUAL",
		2: "TIME_COMPARISON_NOT_EQUAL",
	}
	BoolComparison_value = map[string]int32{
		"BOOL_COMPARISON_UNSPECIFIED": 0,
		"BOOL_COMPARISON_EQUAL":       1,
		"TIME_COMPARISON_NOT_EQUAL":   2,
	}
)

Enum value maps for BoolComparison.

View Source
var File_commonfate_control_log_v1alpha1_authz_eval_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BoolComparison

type BoolComparison int32
const (
	BoolComparison_BOOL_COMPARISON_UNSPECIFIED BoolComparison = 0
	// Equal to the provided value.
	BoolComparison_BOOL_COMPARISON_EQUAL BoolComparison = 1
	// Not equal to the provided value.
	BoolComparison_TIME_COMPARISON_NOT_EQUAL BoolComparison = 2
)

func (BoolComparison) Descriptor

func (BoolComparison) Enum

func (x BoolComparison) Enum() *BoolComparison

func (BoolComparison) EnumDescriptor deprecated

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

Deprecated: Use BoolComparison.Descriptor instead.

func (BoolComparison) Number

func (BoolComparison) String

func (x BoolComparison) String() string

func (BoolComparison) Type

type DebugEvaluationRequest

type DebugEvaluationRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugEvaluationRequest) Descriptor deprecated

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

Deprecated: Use DebugEvaluationRequest.ProtoReflect.Descriptor instead.

func (*DebugEvaluationRequest) GetId

func (x *DebugEvaluationRequest) GetId() string

func (*DebugEvaluationRequest) ProtoMessage

func (*DebugEvaluationRequest) ProtoMessage()

func (*DebugEvaluationRequest) ProtoReflect

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

func (*DebugEvaluationRequest) Reset

func (x *DebugEvaluationRequest) Reset()

func (*DebugEvaluationRequest) String

func (x *DebugEvaluationRequest) String() string

func (*DebugEvaluationRequest) Validate added in v1.32.1

func (m *DebugEvaluationRequest) Validate() error

Validate checks the field values on DebugEvaluationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DebugEvaluationRequest) ValidateAll added in v1.32.1

func (m *DebugEvaluationRequest) ValidateAll() error

ValidateAll checks the field values on DebugEvaluationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DebugEvaluationRequestMultiError, or nil if none found.

type DebugEvaluationRequestMultiError added in v1.32.1

type DebugEvaluationRequestMultiError []error

DebugEvaluationRequestMultiError is an error wrapping multiple validation errors returned by DebugEvaluationRequest.ValidateAll() if the designated constraints aren't met.

func (DebugEvaluationRequestMultiError) AllErrors added in v1.32.1

func (m DebugEvaluationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DebugEvaluationRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type DebugEvaluationRequestValidationError added in v1.32.1

type DebugEvaluationRequestValidationError struct {
	// contains filtered or unexported fields
}

DebugEvaluationRequestValidationError is the validation error returned by DebugEvaluationRequest.Validate if the designated constraints aren't met.

func (DebugEvaluationRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (DebugEvaluationRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (DebugEvaluationRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (DebugEvaluationRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (DebugEvaluationRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (DebugEvaluationRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type DebugEvaluationResponse

type DebugEvaluationResponse struct {
	DebugEvaluation *v1alpha1.DebugEvaluation `protobuf:"bytes,1,opt,name=debug_evaluation,json=debugEvaluation,proto3" json:"debug_evaluation,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugEvaluationResponse) Descriptor deprecated

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

Deprecated: Use DebugEvaluationResponse.ProtoReflect.Descriptor instead.

func (*DebugEvaluationResponse) GetDebugEvaluation

func (x *DebugEvaluationResponse) GetDebugEvaluation() *v1alpha1.DebugEvaluation

func (*DebugEvaluationResponse) ProtoMessage

func (*DebugEvaluationResponse) ProtoMessage()

func (*DebugEvaluationResponse) ProtoReflect

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

func (*DebugEvaluationResponse) Reset

func (x *DebugEvaluationResponse) Reset()

func (*DebugEvaluationResponse) String

func (x *DebugEvaluationResponse) String() string

func (*DebugEvaluationResponse) Validate added in v1.32.1

func (m *DebugEvaluationResponse) Validate() error

Validate checks the field values on DebugEvaluationResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DebugEvaluationResponse) ValidateAll added in v1.32.1

func (m *DebugEvaluationResponse) ValidateAll() error

ValidateAll checks the field values on DebugEvaluationResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DebugEvaluationResponseMultiError, or nil if none found.

type DebugEvaluationResponseMultiError added in v1.32.1

type DebugEvaluationResponseMultiError []error

DebugEvaluationResponseMultiError is an error wrapping multiple validation errors returned by DebugEvaluationResponse.ValidateAll() if the designated constraints aren't met.

func (DebugEvaluationResponseMultiError) AllErrors added in v1.32.1

func (m DebugEvaluationResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DebugEvaluationResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type DebugEvaluationResponseValidationError added in v1.32.1

type DebugEvaluationResponseValidationError struct {
	// contains filtered or unexported fields
}

DebugEvaluationResponseValidationError is the validation error returned by DebugEvaluationResponse.Validate if the designated constraints aren't met.

func (DebugEvaluationResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (DebugEvaluationResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (DebugEvaluationResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (DebugEvaluationResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (DebugEvaluationResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (DebugEvaluationResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type DecisionFilter

type DecisionFilter struct {
	Decision v1alpha1.Decision `protobuf:"varint,1,opt,name=decision,proto3,enum=commonfate.authz.v1alpha1.Decision" json:"decision,omitempty"`
	// contains filtered or unexported fields
}

Filters events with a particular authorization decision

func (*DecisionFilter) Descriptor deprecated

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

Deprecated: Use DecisionFilter.ProtoReflect.Descriptor instead.

func (*DecisionFilter) GetDecision

func (x *DecisionFilter) GetDecision() v1alpha1.Decision

func (*DecisionFilter) ProtoMessage

func (*DecisionFilter) ProtoMessage()

func (*DecisionFilter) ProtoReflect

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

func (*DecisionFilter) Reset

func (x *DecisionFilter) Reset()

func (*DecisionFilter) String

func (x *DecisionFilter) String() string

func (*DecisionFilter) Validate added in v1.32.1

func (m *DecisionFilter) Validate() error

Validate checks the field values on DecisionFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DecisionFilter) ValidateAll added in v1.32.1

func (m *DecisionFilter) ValidateAll() error

ValidateAll checks the field values on DecisionFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DecisionFilterMultiError, or nil if none found.

type DecisionFilterMultiError added in v1.32.1

type DecisionFilterMultiError []error

DecisionFilterMultiError is an error wrapping multiple validation errors returned by DecisionFilter.ValidateAll() if the designated constraints aren't met.

func (DecisionFilterMultiError) AllErrors added in v1.32.1

func (m DecisionFilterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DecisionFilterMultiError) Error added in v1.32.1

func (m DecisionFilterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DecisionFilterValidationError added in v1.32.1

type DecisionFilterValidationError struct {
	// contains filtered or unexported fields
}

DecisionFilterValidationError is the validation error returned by DecisionFilter.Validate if the designated constraints aren't met.

func (DecisionFilterValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (DecisionFilterValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (DecisionFilterValidationError) ErrorName added in v1.32.1

func (e DecisionFilterValidationError) ErrorName() string

ErrorName returns error name.

func (DecisionFilterValidationError) Field added in v1.32.1

Field function returns field value.

func (DecisionFilterValidationError) Key added in v1.32.1

Key function returns key value.

func (DecisionFilterValidationError) Reason added in v1.32.1

Reason function returns reason value.

type EntityFilter

type EntityFilter struct {

	// IDs of entities to filter for. Will filter for a principal/action/resource matching any of these entities.
	Ids []*v1alpha11.EID `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

Filters events where the principal/action/resource matches particular entities.

func (*EntityFilter) Descriptor deprecated

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

Deprecated: Use EntityFilter.ProtoReflect.Descriptor instead.

func (*EntityFilter) GetIds

func (x *EntityFilter) GetIds() []*v1alpha11.EID

func (*EntityFilter) ProtoMessage

func (*EntityFilter) ProtoMessage()

func (*EntityFilter) ProtoReflect

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

func (*EntityFilter) Reset

func (x *EntityFilter) Reset()

func (*EntityFilter) String

func (x *EntityFilter) String() string

func (*EntityFilter) Validate added in v1.32.1

func (m *EntityFilter) Validate() error

Validate checks the field values on EntityFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EntityFilter) ValidateAll added in v1.32.1

func (m *EntityFilter) ValidateAll() error

ValidateAll checks the field values on EntityFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntityFilterMultiError, or nil if none found.

type EntityFilterMultiError added in v1.32.1

type EntityFilterMultiError []error

EntityFilterMultiError is an error wrapping multiple validation errors returned by EntityFilter.ValidateAll() if the designated constraints aren't met.

func (EntityFilterMultiError) AllErrors added in v1.32.1

func (m EntityFilterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EntityFilterMultiError) Error added in v1.32.1

func (m EntityFilterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type EntityFilterValidationError added in v1.32.1

type EntityFilterValidationError struct {
	// contains filtered or unexported fields
}

EntityFilterValidationError is the validation error returned by EntityFilter.Validate if the designated constraints aren't met.

func (EntityFilterValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (EntityFilterValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (EntityFilterValidationError) ErrorName added in v1.32.1

func (e EntityFilterValidationError) ErrorName() string

ErrorName returns error name.

func (EntityFilterValidationError) Field added in v1.32.1

Field function returns field value.

func (EntityFilterValidationError) Key added in v1.32.1

Key function returns key value.

func (EntityFilterValidationError) Reason added in v1.32.1

Reason function returns reason value.

type Filter

type Filter struct {

	// Types that are assignable to Filter:
	//
	//	*Filter_Tag
	//	*Filter_OccurredAt
	//	*Filter_Principal
	//	*Filter_Action
	//	*Filter_Resource
	//	*Filter_Decision
	Filter isFilter_Filter `protobuf_oneof:"filter"`
	// contains filtered or unexported fields
}

func (*Filter) Descriptor deprecated

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetAction

func (x *Filter) GetAction() *EntityFilter

func (*Filter) GetDecision

func (x *Filter) GetDecision() *DecisionFilter

func (*Filter) GetFilter

func (m *Filter) GetFilter() isFilter_Filter

func (*Filter) GetOccurredAt

func (x *Filter) GetOccurredAt() *OccurredAtFilter

func (*Filter) GetPrincipal

func (x *Filter) GetPrincipal() *EntityFilter

func (*Filter) GetResource

func (x *Filter) GetResource() *EntityFilter

func (*Filter) GetTag

func (x *Filter) GetTag() *TagFilter

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

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

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

func (*Filter) Validate added in v1.32.1

func (m *Filter) Validate() error

Validate checks the field values on Filter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Filter) ValidateAll added in v1.32.1

func (m *Filter) ValidateAll() error

ValidateAll checks the field values on Filter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FilterMultiError, or nil if none found.

type FilterMultiError added in v1.32.1

type FilterMultiError []error

FilterMultiError is an error wrapping multiple validation errors returned by Filter.ValidateAll() if the designated constraints aren't met.

func (FilterMultiError) AllErrors added in v1.32.1

func (m FilterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FilterMultiError) Error added in v1.32.1

func (m FilterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FilterValidationError added in v1.32.1

type FilterValidationError struct {
	// contains filtered or unexported fields
}

FilterValidationError is the validation error returned by Filter.Validate if the designated constraints aren't met.

func (FilterValidationError) Cause added in v1.32.1

func (e FilterValidationError) Cause() error

Cause function returns cause value.

func (FilterValidationError) Error added in v1.32.1

func (e FilterValidationError) Error() string

Error satisfies the builtin error interface

func (FilterValidationError) ErrorName added in v1.32.1

func (e FilterValidationError) ErrorName() string

ErrorName returns error name.

func (FilterValidationError) Field added in v1.32.1

func (e FilterValidationError) Field() string

Field function returns field value.

func (FilterValidationError) Key added in v1.32.1

func (e FilterValidationError) Key() bool

Key function returns key value.

func (FilterValidationError) Reason added in v1.32.1

func (e FilterValidationError) Reason() string

Reason function returns reason value.

type Filter_Action

type Filter_Action struct {
	Action *EntityFilter `protobuf:"bytes,4,opt,name=action,proto3,oneof"`
}

type Filter_Decision

type Filter_Decision struct {
	Decision *DecisionFilter `protobuf:"bytes,6,opt,name=decision,proto3,oneof"`
}

type Filter_OccurredAt

type Filter_OccurredAt struct {
	OccurredAt *OccurredAtFilter `protobuf:"bytes,2,opt,name=occurred_at,json=occurredAt,proto3,oneof"`
}

type Filter_Principal

type Filter_Principal struct {
	Principal *EntityFilter `protobuf:"bytes,3,opt,name=principal,proto3,oneof"`
}

type Filter_Resource

type Filter_Resource struct {
	Resource *EntityFilter `protobuf:"bytes,5,opt,name=resource,proto3,oneof"`
}

type Filter_Tag

type Filter_Tag struct {
	Tag *TagFilter `protobuf:"bytes,1,opt,name=tag,proto3,oneof"`
}

type GetEvaluationRequest

type GetEvaluationRequest struct {

	// The authorization evaluation ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEvaluationRequest) Descriptor deprecated

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

Deprecated: Use GetEvaluationRequest.ProtoReflect.Descriptor instead.

func (*GetEvaluationRequest) GetId

func (x *GetEvaluationRequest) GetId() string

func (*GetEvaluationRequest) ProtoMessage

func (*GetEvaluationRequest) ProtoMessage()

func (*GetEvaluationRequest) ProtoReflect

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

func (*GetEvaluationRequest) Reset

func (x *GetEvaluationRequest) Reset()

func (*GetEvaluationRequest) String

func (x *GetEvaluationRequest) String() string

func (*GetEvaluationRequest) Validate added in v1.32.1

func (m *GetEvaluationRequest) Validate() error

Validate checks the field values on GetEvaluationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetEvaluationRequest) ValidateAll added in v1.32.1

func (m *GetEvaluationRequest) ValidateAll() error

ValidateAll checks the field values on GetEvaluationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetEvaluationRequestMultiError, or nil if none found.

type GetEvaluationRequestMultiError added in v1.32.1

type GetEvaluationRequestMultiError []error

GetEvaluationRequestMultiError is an error wrapping multiple validation errors returned by GetEvaluationRequest.ValidateAll() if the designated constraints aren't met.

func (GetEvaluationRequestMultiError) AllErrors added in v1.32.1

func (m GetEvaluationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetEvaluationRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type GetEvaluationRequestValidationError added in v1.32.1

type GetEvaluationRequestValidationError struct {
	// contains filtered or unexported fields
}

GetEvaluationRequestValidationError is the validation error returned by GetEvaluationRequest.Validate if the designated constraints aren't met.

func (GetEvaluationRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (GetEvaluationRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetEvaluationRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetEvaluationRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (GetEvaluationRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (GetEvaluationRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type GetEvaluationResponse

type GetEvaluationResponse struct {
	Evaluation *v1alpha1.Evaluation `protobuf:"bytes,1,opt,name=evaluation,proto3" json:"evaluation,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEvaluationResponse) Descriptor deprecated

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

Deprecated: Use GetEvaluationResponse.ProtoReflect.Descriptor instead.

func (*GetEvaluationResponse) GetEvaluation

func (x *GetEvaluationResponse) GetEvaluation() *v1alpha1.Evaluation

func (*GetEvaluationResponse) ProtoMessage

func (*GetEvaluationResponse) ProtoMessage()

func (*GetEvaluationResponse) ProtoReflect

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

func (*GetEvaluationResponse) Reset

func (x *GetEvaluationResponse) Reset()

func (*GetEvaluationResponse) String

func (x *GetEvaluationResponse) String() string

func (*GetEvaluationResponse) Validate added in v1.32.1

func (m *GetEvaluationResponse) Validate() error

Validate checks the field values on GetEvaluationResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetEvaluationResponse) ValidateAll added in v1.32.1

func (m *GetEvaluationResponse) ValidateAll() error

ValidateAll checks the field values on GetEvaluationResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetEvaluationResponseMultiError, or nil if none found.

type GetEvaluationResponseMultiError added in v1.32.1

type GetEvaluationResponseMultiError []error

GetEvaluationResponseMultiError is an error wrapping multiple validation errors returned by GetEvaluationResponse.ValidateAll() if the designated constraints aren't met.

func (GetEvaluationResponseMultiError) AllErrors added in v1.32.1

func (m GetEvaluationResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetEvaluationResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type GetEvaluationResponseValidationError added in v1.32.1

type GetEvaluationResponseValidationError struct {
	// contains filtered or unexported fields
}

GetEvaluationResponseValidationError is the validation error returned by GetEvaluationResponse.Validate if the designated constraints aren't met.

func (GetEvaluationResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (GetEvaluationResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetEvaluationResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetEvaluationResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (GetEvaluationResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (GetEvaluationResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type OccurredAtFilter

type OccurredAtFilter struct {
	Time       *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Comparison TimeComparison         `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Filters events based on when they occurred.

func (*OccurredAtFilter) Descriptor deprecated

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

Deprecated: Use OccurredAtFilter.ProtoReflect.Descriptor instead.

func (*OccurredAtFilter) GetComparison

func (x *OccurredAtFilter) GetComparison() TimeComparison

func (*OccurredAtFilter) GetTime

func (x *OccurredAtFilter) GetTime() *timestamppb.Timestamp

func (*OccurredAtFilter) ProtoMessage

func (*OccurredAtFilter) ProtoMessage()

func (*OccurredAtFilter) ProtoReflect

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

func (*OccurredAtFilter) Reset

func (x *OccurredAtFilter) Reset()

func (*OccurredAtFilter) String

func (x *OccurredAtFilter) String() string

func (*OccurredAtFilter) Validate added in v1.32.1

func (m *OccurredAtFilter) Validate() error

Validate checks the field values on OccurredAtFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*OccurredAtFilter) ValidateAll added in v1.32.1

func (m *OccurredAtFilter) ValidateAll() error

ValidateAll checks the field values on OccurredAtFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OccurredAtFilterMultiError, or nil if none found.

type OccurredAtFilterMultiError added in v1.32.1

type OccurredAtFilterMultiError []error

OccurredAtFilterMultiError is an error wrapping multiple validation errors returned by OccurredAtFilter.ValidateAll() if the designated constraints aren't met.

func (OccurredAtFilterMultiError) AllErrors added in v1.32.1

func (m OccurredAtFilterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OccurredAtFilterMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type OccurredAtFilterValidationError added in v1.32.1

type OccurredAtFilterValidationError struct {
	// contains filtered or unexported fields
}

OccurredAtFilterValidationError is the validation error returned by OccurredAtFilter.Validate if the designated constraints aren't met.

func (OccurredAtFilterValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (OccurredAtFilterValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (OccurredAtFilterValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (OccurredAtFilterValidationError) Field added in v1.32.1

Field function returns field value.

func (OccurredAtFilterValidationError) Key added in v1.32.1

Key function returns key value.

func (OccurredAtFilterValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryEvaluationsRequest

type QueryEvaluationsRequest struct {

	// The token for the next page.
	PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filters for the query. Events matching *all* filters will be returned.
	Filters []*Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryEvaluationsRequest) Descriptor deprecated

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

Deprecated: Use QueryEvaluationsRequest.ProtoReflect.Descriptor instead.

func (*QueryEvaluationsRequest) GetFilters

func (x *QueryEvaluationsRequest) GetFilters() []*Filter

func (*QueryEvaluationsRequest) GetPageToken

func (x *QueryEvaluationsRequest) GetPageToken() string

func (*QueryEvaluationsRequest) ProtoMessage

func (*QueryEvaluationsRequest) ProtoMessage()

func (*QueryEvaluationsRequest) ProtoReflect

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

func (*QueryEvaluationsRequest) Reset

func (x *QueryEvaluationsRequest) Reset()

func (*QueryEvaluationsRequest) String

func (x *QueryEvaluationsRequest) String() string

func (*QueryEvaluationsRequest) Validate added in v1.32.1

func (m *QueryEvaluationsRequest) Validate() error

Validate checks the field values on QueryEvaluationsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryEvaluationsRequest) ValidateAll added in v1.32.1

func (m *QueryEvaluationsRequest) ValidateAll() error

ValidateAll checks the field values on QueryEvaluationsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryEvaluationsRequestMultiError, or nil if none found.

type QueryEvaluationsRequestMultiError added in v1.32.1

type QueryEvaluationsRequestMultiError []error

QueryEvaluationsRequestMultiError is an error wrapping multiple validation errors returned by QueryEvaluationsRequest.ValidateAll() if the designated constraints aren't met.

func (QueryEvaluationsRequestMultiError) AllErrors added in v1.32.1

func (m QueryEvaluationsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryEvaluationsRequestMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryEvaluationsRequestValidationError added in v1.32.1

type QueryEvaluationsRequestValidationError struct {
	// contains filtered or unexported fields
}

QueryEvaluationsRequestValidationError is the validation error returned by QueryEvaluationsRequest.Validate if the designated constraints aren't met.

func (QueryEvaluationsRequestValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryEvaluationsRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryEvaluationsRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryEvaluationsRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryEvaluationsRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryEvaluationsRequestValidationError) Reason added in v1.32.1

Reason function returns reason value.

type QueryEvaluationsResponse

type QueryEvaluationsResponse struct {
	Evaluations   []*v1alpha1.Evaluation `protobuf:"bytes,1,rep,name=evaluations,proto3" json:"evaluations,omitempty"`
	NextPageToken string                 `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryEvaluationsResponse) Descriptor deprecated

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

Deprecated: Use QueryEvaluationsResponse.ProtoReflect.Descriptor instead.

func (*QueryEvaluationsResponse) GetEvaluations

func (x *QueryEvaluationsResponse) GetEvaluations() []*v1alpha1.Evaluation

func (*QueryEvaluationsResponse) GetNextPageToken

func (x *QueryEvaluationsResponse) GetNextPageToken() string

func (*QueryEvaluationsResponse) ProtoMessage

func (*QueryEvaluationsResponse) ProtoMessage()

func (*QueryEvaluationsResponse) ProtoReflect

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

func (*QueryEvaluationsResponse) Reset

func (x *QueryEvaluationsResponse) Reset()

func (*QueryEvaluationsResponse) String

func (x *QueryEvaluationsResponse) String() string

func (*QueryEvaluationsResponse) Validate added in v1.32.1

func (m *QueryEvaluationsResponse) Validate() error

Validate checks the field values on QueryEvaluationsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*QueryEvaluationsResponse) ValidateAll added in v1.32.1

func (m *QueryEvaluationsResponse) ValidateAll() error

ValidateAll checks the field values on QueryEvaluationsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryEvaluationsResponseMultiError, or nil if none found.

type QueryEvaluationsResponseMultiError added in v1.32.1

type QueryEvaluationsResponseMultiError []error

QueryEvaluationsResponseMultiError is an error wrapping multiple validation errors returned by QueryEvaluationsResponse.ValidateAll() if the designated constraints aren't met.

func (QueryEvaluationsResponseMultiError) AllErrors added in v1.32.1

func (m QueryEvaluationsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryEvaluationsResponseMultiError) Error added in v1.32.1

Error returns a concatenation of all the error messages it wraps.

type QueryEvaluationsResponseValidationError added in v1.32.1

type QueryEvaluationsResponseValidationError struct {
	// contains filtered or unexported fields
}

QueryEvaluationsResponseValidationError is the validation error returned by QueryEvaluationsResponse.Validate if the designated constraints aren't met.

func (QueryEvaluationsResponseValidationError) Cause added in v1.32.1

Cause function returns cause value.

func (QueryEvaluationsResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (QueryEvaluationsResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (QueryEvaluationsResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (QueryEvaluationsResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (QueryEvaluationsResponseValidationError) Reason added in v1.32.1

Reason function returns reason value.

type TagFilter

type TagFilter struct {
	Key        string         `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value      string         `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Comparison BoolComparison `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Filters event by a particular key/value tag associated when them. Will filter for either events which match the tag, or do not match the tag, based on the 'comparison' value.

func (*TagFilter) Descriptor deprecated

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

Deprecated: Use TagFilter.ProtoReflect.Descriptor instead.

func (*TagFilter) GetComparison

func (x *TagFilter) GetComparison() BoolComparison

func (*TagFilter) GetKey

func (x *TagFilter) GetKey() string

func (*TagFilter) GetValue

func (x *TagFilter) GetValue() string

func (*TagFilter) ProtoMessage

func (*TagFilter) ProtoMessage()

func (*TagFilter) ProtoReflect

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

func (*TagFilter) Reset

func (x *TagFilter) Reset()

func (*TagFilter) String

func (x *TagFilter) String() string

func (*TagFilter) Validate added in v1.32.1

func (m *TagFilter) Validate() error

Validate checks the field values on TagFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TagFilter) ValidateAll added in v1.32.1

func (m *TagFilter) ValidateAll() error

ValidateAll checks the field values on TagFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TagFilterMultiError, or nil if none found.

type TagFilterMultiError added in v1.32.1

type TagFilterMultiError []error

TagFilterMultiError is an error wrapping multiple validation errors returned by TagFilter.ValidateAll() if the designated constraints aren't met.

func (TagFilterMultiError) AllErrors added in v1.32.1

func (m TagFilterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TagFilterMultiError) Error added in v1.32.1

func (m TagFilterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TagFilterValidationError added in v1.32.1

type TagFilterValidationError struct {
	// contains filtered or unexported fields
}

TagFilterValidationError is the validation error returned by TagFilter.Validate if the designated constraints aren't met.

func (TagFilterValidationError) Cause added in v1.32.1

func (e TagFilterValidationError) Cause() error

Cause function returns cause value.

func (TagFilterValidationError) Error added in v1.32.1

func (e TagFilterValidationError) Error() string

Error satisfies the builtin error interface

func (TagFilterValidationError) ErrorName added in v1.32.1

func (e TagFilterValidationError) ErrorName() string

ErrorName returns error name.

func (TagFilterValidationError) Field added in v1.32.1

func (e TagFilterValidationError) Field() string

Field function returns field value.

func (TagFilterValidationError) Key added in v1.32.1

Key function returns key value.

func (TagFilterValidationError) Reason added in v1.32.1

func (e TagFilterValidationError) Reason() string

Reason function returns reason value.

type TimeComparison

type TimeComparison int32
const (
	TimeComparison_TIME_COMPARISON_UNSPECIFIED TimeComparison = 0
	// Events which occurred before the specified time.
	TimeComparison_TIME_COMPARISON_BEFORE TimeComparison = 1
	// Events which occurred after the specified time.
	TimeComparison_TIME_COMPARISON_AFTER TimeComparison = 2
)

func (TimeComparison) Descriptor

func (TimeComparison) Enum

func (x TimeComparison) Enum() *TimeComparison

func (TimeComparison) EnumDescriptor deprecated

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

Deprecated: Use TimeComparison.Descriptor instead.

func (TimeComparison) Number

func (TimeComparison) String

func (x TimeComparison) String() string

func (TimeComparison) Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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