Documentation ¶
Index ¶
- Variables
- type Annotation
- func (*Annotation) Descriptor() ([]byte, []int)deprecated
- func (x *Annotation) GetKey() string
- func (x *Annotation) GetPolicyId() string
- func (x *Annotation) GetValue() string
- func (*Annotation) ProtoMessage()
- func (x *Annotation) ProtoReflect() protoreflect.Message
- func (x *Annotation) Reset()
- func (x *Annotation) String() string
- func (m *Annotation) Validate() error
- func (m *Annotation) ValidateAll() error
- type AnnotationMultiError
- type AnnotationValidationError
- type BatchAuthorizeRequest
- func (*BatchAuthorizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchAuthorizeRequest) GetRequests() []*Request
- func (*BatchAuthorizeRequest) ProtoMessage()
- func (x *BatchAuthorizeRequest) ProtoReflect() protoreflect.Message
- func (x *BatchAuthorizeRequest) Reset()
- func (x *BatchAuthorizeRequest) String() string
- func (m *BatchAuthorizeRequest) Validate() error
- func (m *BatchAuthorizeRequest) ValidateAll() error
- type BatchAuthorizeRequestMultiError
- type BatchAuthorizeRequestValidationError
- func (e BatchAuthorizeRequestValidationError) Cause() error
- func (e BatchAuthorizeRequestValidationError) Error() string
- func (e BatchAuthorizeRequestValidationError) ErrorName() string
- func (e BatchAuthorizeRequestValidationError) Field() string
- func (e BatchAuthorizeRequestValidationError) Key() bool
- func (e BatchAuthorizeRequestValidationError) Reason() string
- type BatchAuthorizeResponse
- func (*BatchAuthorizeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchAuthorizeResponse) GetEvaluations() []*Evaluation
- func (*BatchAuthorizeResponse) ProtoMessage()
- func (x *BatchAuthorizeResponse) ProtoReflect() protoreflect.Message
- func (x *BatchAuthorizeResponse) Reset()
- func (x *BatchAuthorizeResponse) String() string
- func (m *BatchAuthorizeResponse) Validate() error
- func (m *BatchAuthorizeResponse) ValidateAll() error
- type BatchAuthorizeResponseMultiError
- type BatchAuthorizeResponseValidationError
- func (e BatchAuthorizeResponseValidationError) Cause() error
- func (e BatchAuthorizeResponseValidationError) Error() string
- func (e BatchAuthorizeResponseValidationError) ErrorName() string
- func (e BatchAuthorizeResponseValidationError) Field() string
- func (e BatchAuthorizeResponseValidationError) Key() bool
- func (e BatchAuthorizeResponseValidationError) Reason() string
- type CreatePolicySetRequest
- func (*CreatePolicySetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePolicySetRequest) GetPolicySet() *PolicySetInput
- func (*CreatePolicySetRequest) ProtoMessage()
- func (x *CreatePolicySetRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePolicySetRequest) Reset()
- func (x *CreatePolicySetRequest) String() string
- func (m *CreatePolicySetRequest) Validate() error
- func (m *CreatePolicySetRequest) ValidateAll() error
- type CreatePolicySetRequestMultiError
- type CreatePolicySetRequestValidationError
- func (e CreatePolicySetRequestValidationError) Cause() error
- func (e CreatePolicySetRequestValidationError) Error() string
- func (e CreatePolicySetRequestValidationError) ErrorName() string
- func (e CreatePolicySetRequestValidationError) Field() string
- func (e CreatePolicySetRequestValidationError) Key() bool
- func (e CreatePolicySetRequestValidationError) Reason() string
- type CreatePolicySetResponse
- func (*CreatePolicySetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePolicySetResponse) GetPolicySet() *PolicySet
- func (*CreatePolicySetResponse) ProtoMessage()
- func (x *CreatePolicySetResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePolicySetResponse) Reset()
- func (x *CreatePolicySetResponse) String() string
- func (m *CreatePolicySetResponse) Validate() error
- func (m *CreatePolicySetResponse) ValidateAll() error
- type CreatePolicySetResponseMultiError
- type CreatePolicySetResponseValidationError
- func (e CreatePolicySetResponseValidationError) Cause() error
- func (e CreatePolicySetResponseValidationError) Error() string
- func (e CreatePolicySetResponseValidationError) ErrorName() string
- func (e CreatePolicySetResponseValidationError) Field() string
- func (e CreatePolicySetResponseValidationError) Key() bool
- func (e CreatePolicySetResponseValidationError) Reason() string
- type DebugEvaluation
- func (*DebugEvaluation) Descriptor() ([]byte, []int)deprecated
- func (x *DebugEvaluation) GetDebugInformation() *DebugInformation
- func (x *DebugEvaluation) GetEvaluation() *Evaluation
- func (x *DebugEvaluation) GetVersion() uint32
- func (*DebugEvaluation) ProtoMessage()
- func (x *DebugEvaluation) ProtoReflect() protoreflect.Message
- func (x *DebugEvaluation) Reset()
- func (x *DebugEvaluation) String() string
- func (m *DebugEvaluation) Validate() error
- func (m *DebugEvaluation) ValidateAll() error
- type DebugEvaluationMultiError
- type DebugEvaluationValidationError
- func (e DebugEvaluationValidationError) Cause() error
- func (e DebugEvaluationValidationError) Error() string
- func (e DebugEvaluationValidationError) ErrorName() string
- func (e DebugEvaluationValidationError) Field() string
- func (e DebugEvaluationValidationError) Key() bool
- func (e DebugEvaluationValidationError) Reason() string
- type DebugInformation
- func (*DebugInformation) Descriptor() ([]byte, []int)deprecated
- func (x *DebugInformation) GetEntities() []*v1alpha1.Entity
- func (x *DebugInformation) GetPolicySets() []*PolicySet
- func (*DebugInformation) ProtoMessage()
- func (x *DebugInformation) ProtoReflect() protoreflect.Message
- func (x *DebugInformation) Reset()
- func (x *DebugInformation) String() string
- func (m *DebugInformation) Validate() error
- func (m *DebugInformation) ValidateAll() error
- type DebugInformationMultiError
- type DebugInformationValidationError
- func (e DebugInformationValidationError) Cause() error
- func (e DebugInformationValidationError) Error() string
- func (e DebugInformationValidationError) ErrorName() string
- func (e DebugInformationValidationError) Field() string
- func (e DebugInformationValidationError) Key() bool
- func (e DebugInformationValidationError) Reason() string
- type Decision
- type DeletePolicySetRequest
- func (*DeletePolicySetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicySetRequest) GetId() string
- func (*DeletePolicySetRequest) ProtoMessage()
- func (x *DeletePolicySetRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePolicySetRequest) Reset()
- func (x *DeletePolicySetRequest) String() string
- func (m *DeletePolicySetRequest) Validate() error
- func (m *DeletePolicySetRequest) ValidateAll() error
- type DeletePolicySetRequestMultiError
- type DeletePolicySetRequestValidationError
- func (e DeletePolicySetRequestValidationError) Cause() error
- func (e DeletePolicySetRequestValidationError) Error() string
- func (e DeletePolicySetRequestValidationError) ErrorName() string
- func (e DeletePolicySetRequestValidationError) Field() string
- func (e DeletePolicySetRequestValidationError) Key() bool
- func (e DeletePolicySetRequestValidationError) Reason() string
- type DeletePolicySetResponse
- func (*DeletePolicySetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicySetResponse) GetId() string
- func (*DeletePolicySetResponse) ProtoMessage()
- func (x *DeletePolicySetResponse) ProtoReflect() protoreflect.Message
- func (x *DeletePolicySetResponse) Reset()
- func (x *DeletePolicySetResponse) String() string
- func (m *DeletePolicySetResponse) Validate() error
- func (m *DeletePolicySetResponse) ValidateAll() error
- type DeletePolicySetResponseMultiError
- type DeletePolicySetResponseValidationError
- func (e DeletePolicySetResponseValidationError) Cause() error
- func (e DeletePolicySetResponseValidationError) Error() string
- func (e DeletePolicySetResponseValidationError) ErrorName() string
- func (e DeletePolicySetResponseValidationError) Field() string
- func (e DeletePolicySetResponseValidationError) Key() bool
- func (e DeletePolicySetResponseValidationError) Reason() string
- type Diagnostics
- func (*Diagnostics) Descriptor() ([]byte, []int)deprecated
- func (x *Diagnostics) GetAnnotations() []*Annotation
- func (x *Diagnostics) GetErrors() []string
- func (x *Diagnostics) GetReason() []string
- func (*Diagnostics) ProtoMessage()
- func (x *Diagnostics) ProtoReflect() protoreflect.Message
- func (x *Diagnostics) Reset()
- func (x *Diagnostics) String() string
- func (m *Diagnostics) Validate() error
- func (m *Diagnostics) ValidateAll() error
- type DiagnosticsMultiError
- type DiagnosticsValidationError
- func (e DiagnosticsValidationError) Cause() error
- func (e DiagnosticsValidationError) Error() string
- func (e DiagnosticsValidationError) ErrorName() string
- func (e DiagnosticsValidationError) Field() string
- func (e DiagnosticsValidationError) Key() bool
- func (e DiagnosticsValidationError) Reason() string
- type Evaluation
- func (*Evaluation) Descriptor() ([]byte, []int)deprecated
- func (x *Evaluation) GetAllowed() bool
- func (x *Evaluation) GetClientKey() string
- func (x *Evaluation) GetDecision() Decision
- func (x *Evaluation) GetDiagnostics() *Diagnostics
- func (x *Evaluation) GetEvaluatedAt() *timestamppb.Timestamp
- func (x *Evaluation) GetEvaluationDuration() *durationpb.Duration
- func (x *Evaluation) GetId() string
- func (x *Evaluation) GetRequest() *Request
- func (*Evaluation) ProtoMessage()
- func (x *Evaluation) ProtoReflect() protoreflect.Message
- func (x *Evaluation) Reset()
- func (x *Evaluation) String() string
- func (m *Evaluation) Validate() error
- func (m *Evaluation) ValidateAll() error
- type EvaluationMultiError
- type EvaluationValidationError
- type GetPolicySetRequest
- func (*GetPolicySetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicySetRequest) GetId() string
- func (*GetPolicySetRequest) ProtoMessage()
- func (x *GetPolicySetRequest) ProtoReflect() protoreflect.Message
- func (x *GetPolicySetRequest) Reset()
- func (x *GetPolicySetRequest) String() string
- func (m *GetPolicySetRequest) Validate() error
- func (m *GetPolicySetRequest) ValidateAll() error
- type GetPolicySetRequestMultiError
- type GetPolicySetRequestValidationError
- func (e GetPolicySetRequestValidationError) Cause() error
- func (e GetPolicySetRequestValidationError) Error() string
- func (e GetPolicySetRequestValidationError) ErrorName() string
- func (e GetPolicySetRequestValidationError) Field() string
- func (e GetPolicySetRequestValidationError) Key() bool
- func (e GetPolicySetRequestValidationError) Reason() string
- type GetPolicySetResponse
- func (*GetPolicySetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicySetResponse) GetPolicySet() *PolicySet
- func (*GetPolicySetResponse) ProtoMessage()
- func (x *GetPolicySetResponse) ProtoReflect() protoreflect.Message
- func (x *GetPolicySetResponse) Reset()
- func (x *GetPolicySetResponse) String() string
- func (m *GetPolicySetResponse) Validate() error
- func (m *GetPolicySetResponse) ValidateAll() error
- type GetPolicySetResponseMultiError
- type GetPolicySetResponseValidationError
- func (e GetPolicySetResponseValidationError) Cause() error
- func (e GetPolicySetResponseValidationError) Error() string
- func (e GetPolicySetResponseValidationError) ErrorName() string
- func (e GetPolicySetResponseValidationError) Field() string
- func (e GetPolicySetResponseValidationError) Key() bool
- func (e GetPolicySetResponseValidationError) Reason() string
- type GetSchemaJSONStringRequest
- func (*GetSchemaJSONStringRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetSchemaJSONStringRequest) ProtoMessage()
- func (x *GetSchemaJSONStringRequest) ProtoReflect() protoreflect.Message
- func (x *GetSchemaJSONStringRequest) Reset()
- func (x *GetSchemaJSONStringRequest) String() string
- func (m *GetSchemaJSONStringRequest) Validate() error
- func (m *GetSchemaJSONStringRequest) ValidateAll() error
- type GetSchemaJSONStringRequestMultiError
- type GetSchemaJSONStringRequestValidationError
- func (e GetSchemaJSONStringRequestValidationError) Cause() error
- func (e GetSchemaJSONStringRequestValidationError) Error() string
- func (e GetSchemaJSONStringRequestValidationError) ErrorName() string
- func (e GetSchemaJSONStringRequestValidationError) Field() string
- func (e GetSchemaJSONStringRequestValidationError) Key() bool
- func (e GetSchemaJSONStringRequestValidationError) Reason() string
- type GetSchemaJSONStringResponse
- func (*GetSchemaJSONStringResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSchemaJSONStringResponse) GetSchema() string
- func (*GetSchemaJSONStringResponse) ProtoMessage()
- func (x *GetSchemaJSONStringResponse) ProtoReflect() protoreflect.Message
- func (x *GetSchemaJSONStringResponse) Reset()
- func (x *GetSchemaJSONStringResponse) String() string
- func (m *GetSchemaJSONStringResponse) Validate() error
- func (m *GetSchemaJSONStringResponse) ValidateAll() error
- type GetSchemaJSONStringResponseMultiError
- type GetSchemaJSONStringResponseValidationError
- func (e GetSchemaJSONStringResponseValidationError) Cause() error
- func (e GetSchemaJSONStringResponseValidationError) Error() string
- func (e GetSchemaJSONStringResponseValidationError) ErrorName() string
- func (e GetSchemaJSONStringResponseValidationError) Field() string
- func (e GetSchemaJSONStringResponseValidationError) Key() bool
- func (e GetSchemaJSONStringResponseValidationError) Reason() string
- type HealthCheckRequest
- func (*HealthCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (*HealthCheckRequest) ProtoMessage()
- func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
- func (x *HealthCheckRequest) Reset()
- func (x *HealthCheckRequest) String() string
- func (m *HealthCheckRequest) Validate() error
- func (m *HealthCheckRequest) ValidateAll() error
- type HealthCheckRequestMultiError
- type HealthCheckRequestValidationError
- func (e HealthCheckRequestValidationError) Cause() error
- func (e HealthCheckRequestValidationError) Error() string
- func (e HealthCheckRequestValidationError) ErrorName() string
- func (e HealthCheckRequestValidationError) Field() string
- func (e HealthCheckRequestValidationError) Key() bool
- func (e HealthCheckRequestValidationError) Reason() string
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (*HealthCheckResponse) ProtoMessage()
- func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse) Reset()
- func (x *HealthCheckResponse) String() string
- func (m *HealthCheckResponse) Validate() error
- func (m *HealthCheckResponse) ValidateAll() error
- type HealthCheckResponseMultiError
- type HealthCheckResponseValidationError
- func (e HealthCheckResponseValidationError) Cause() error
- func (e HealthCheckResponseValidationError) Error() string
- func (e HealthCheckResponseValidationError) ErrorName() string
- func (e HealthCheckResponseValidationError) Field() string
- func (e HealthCheckResponseValidationError) Key() bool
- func (e HealthCheckResponseValidationError) Reason() string
- type ListPolicySetsRequest
- func (*ListPolicySetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicySetsRequest) GetPageToken() string
- func (*ListPolicySetsRequest) ProtoMessage()
- func (x *ListPolicySetsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPolicySetsRequest) Reset()
- func (x *ListPolicySetsRequest) String() string
- func (m *ListPolicySetsRequest) Validate() error
- func (m *ListPolicySetsRequest) ValidateAll() error
- type ListPolicySetsRequestMultiError
- type ListPolicySetsRequestValidationError
- func (e ListPolicySetsRequestValidationError) Cause() error
- func (e ListPolicySetsRequestValidationError) Error() string
- func (e ListPolicySetsRequestValidationError) ErrorName() string
- func (e ListPolicySetsRequestValidationError) Field() string
- func (e ListPolicySetsRequestValidationError) Key() bool
- func (e ListPolicySetsRequestValidationError) Reason() string
- type ListPolicySetsResponse
- func (*ListPolicySetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicySetsResponse) GetNextPageToken() string
- func (x *ListPolicySetsResponse) GetPolicySets() []*PolicySet
- func (*ListPolicySetsResponse) ProtoMessage()
- func (x *ListPolicySetsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPolicySetsResponse) Reset()
- func (x *ListPolicySetsResponse) String() string
- func (m *ListPolicySetsResponse) Validate() error
- func (m *ListPolicySetsResponse) ValidateAll() error
- type ListPolicySetsResponseMultiError
- type ListPolicySetsResponseValidationError
- func (e ListPolicySetsResponseValidationError) Cause() error
- func (e ListPolicySetsResponseValidationError) Error() string
- func (e ListPolicySetsResponseValidationError) ErrorName() string
- func (e ListPolicySetsResponseValidationError) Field() string
- func (e ListPolicySetsResponseValidationError) Key() bool
- func (e ListPolicySetsResponseValidationError) Reason() string
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetId() string
- func (x *Policy) GetText() string
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (x *Policy) String() string
- func (m *Policy) Validate() error
- func (m *Policy) ValidateAll() error
- type PolicyMultiError
- type PolicySet
- func (*PolicySet) Descriptor() ([]byte, []int)deprecated
- func (x *PolicySet) GetId() string
- func (x *PolicySet) GetPolicies() []*Policy
- func (x *PolicySet) GetText() string
- func (*PolicySet) ProtoMessage()
- func (x *PolicySet) ProtoReflect() protoreflect.Message
- func (x *PolicySet) Reset()
- func (x *PolicySet) String() string
- func (m *PolicySet) Validate() error
- func (m *PolicySet) ValidateAll() error
- type PolicySetInput
- func (*PolicySetInput) Descriptor() ([]byte, []int)deprecated
- func (x *PolicySetInput) GetId() string
- func (x *PolicySetInput) GetText() string
- func (*PolicySetInput) ProtoMessage()
- func (x *PolicySetInput) ProtoReflect() protoreflect.Message
- func (x *PolicySetInput) Reset()
- func (x *PolicySetInput) String() string
- func (m *PolicySetInput) Validate() error
- func (m *PolicySetInput) ValidateAll() error
- type PolicySetInputMultiError
- type PolicySetInputValidationError
- func (e PolicySetInputValidationError) Cause() error
- func (e PolicySetInputValidationError) Error() string
- func (e PolicySetInputValidationError) ErrorName() string
- func (e PolicySetInputValidationError) Field() string
- func (e PolicySetInputValidationError) Key() bool
- func (e PolicySetInputValidationError) Reason() string
- type PolicySetMultiError
- type PolicySetValidationError
- type PolicyValidationError
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetAction() *v1alpha1.EID
- func (x *Request) GetClientKey() string
- func (x *Request) GetOverlayChildren() []*v1alpha1.ChildRelation
- func (x *Request) GetOverlayEntities() []*v1alpha1.Entity
- func (x *Request) GetPrincipal() *v1alpha1.EID
- func (x *Request) GetResource() *v1alpha1.EID
- func (x *Request) GetTags() []*Tag
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- func (m *Request) Validate() error
- func (m *Request) ValidateAll() error
- type RequestMultiError
- type RequestValidationError
- type SourceRange
- func (*SourceRange) Descriptor() ([]byte, []int)deprecated
- func (x *SourceRange) GetEnd() uint32
- func (x *SourceRange) GetStart() uint32
- func (*SourceRange) ProtoMessage()
- func (x *SourceRange) ProtoReflect() protoreflect.Message
- func (x *SourceRange) Reset()
- func (x *SourceRange) String() string
- func (m *SourceRange) Validate() error
- func (m *SourceRange) ValidateAll() error
- type SourceRangeMultiError
- type SourceRangeValidationError
- func (e SourceRangeValidationError) Cause() error
- func (e SourceRangeValidationError) Error() string
- func (e SourceRangeValidationError) ErrorName() string
- func (e SourceRangeValidationError) Field() string
- func (e SourceRangeValidationError) Key() bool
- func (e SourceRangeValidationError) Reason() string
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)deprecated
- func (x *Tag) GetKey() string
- func (x *Tag) GetValue() string
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (x *Tag) String() string
- func (m *Tag) Validate() error
- func (m *Tag) ValidateAll() error
- type TagMultiError
- type TagValidationError
- type UpdatePolicySetRequest
- func (*UpdatePolicySetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePolicySetRequest) GetPolicySet() *PolicySetInput
- func (*UpdatePolicySetRequest) ProtoMessage()
- func (x *UpdatePolicySetRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePolicySetRequest) Reset()
- func (x *UpdatePolicySetRequest) String() string
- func (m *UpdatePolicySetRequest) Validate() error
- func (m *UpdatePolicySetRequest) ValidateAll() error
- type UpdatePolicySetRequestMultiError
- type UpdatePolicySetRequestValidationError
- func (e UpdatePolicySetRequestValidationError) Cause() error
- func (e UpdatePolicySetRequestValidationError) Error() string
- func (e UpdatePolicySetRequestValidationError) ErrorName() string
- func (e UpdatePolicySetRequestValidationError) Field() string
- func (e UpdatePolicySetRequestValidationError) Key() bool
- func (e UpdatePolicySetRequestValidationError) Reason() string
- type UpdatePolicySetResponse
- func (*UpdatePolicySetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePolicySetResponse) GetPolicySet() *PolicySet
- func (*UpdatePolicySetResponse) ProtoMessage()
- func (x *UpdatePolicySetResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePolicySetResponse) Reset()
- func (x *UpdatePolicySetResponse) String() string
- func (m *UpdatePolicySetResponse) Validate() error
- func (m *UpdatePolicySetResponse) ValidateAll() error
- type UpdatePolicySetResponseMultiError
- type UpdatePolicySetResponseValidationError
- func (e UpdatePolicySetResponseValidationError) Cause() error
- func (e UpdatePolicySetResponseValidationError) Error() string
- func (e UpdatePolicySetResponseValidationError) ErrorName() string
- func (e UpdatePolicySetResponseValidationError) Field() string
- func (e UpdatePolicySetResponseValidationError) Key() bool
- func (e UpdatePolicySetResponseValidationError) Reason() string
- type ValidatePolicySetTextRequest
- func (*ValidatePolicySetTextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatePolicySetTextRequest) GetPolicySetText() string
- func (*ValidatePolicySetTextRequest) ProtoMessage()
- func (x *ValidatePolicySetTextRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatePolicySetTextRequest) Reset()
- func (x *ValidatePolicySetTextRequest) String() string
- func (m *ValidatePolicySetTextRequest) Validate() error
- func (m *ValidatePolicySetTextRequest) ValidateAll() error
- type ValidatePolicySetTextRequestMultiError
- type ValidatePolicySetTextRequestValidationError
- func (e ValidatePolicySetTextRequestValidationError) Cause() error
- func (e ValidatePolicySetTextRequestValidationError) Error() string
- func (e ValidatePolicySetTextRequestValidationError) ErrorName() string
- func (e ValidatePolicySetTextRequestValidationError) Field() string
- func (e ValidatePolicySetTextRequestValidationError) Key() bool
- func (e ValidatePolicySetTextRequestValidationError) Reason() string
- type ValidatePolicySetTextResponse
- func (*ValidatePolicySetTextResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatePolicySetTextResponse) GetResult() *ValidationResult
- func (*ValidatePolicySetTextResponse) ProtoMessage()
- func (x *ValidatePolicySetTextResponse) ProtoReflect() protoreflect.Message
- func (x *ValidatePolicySetTextResponse) Reset()
- func (x *ValidatePolicySetTextResponse) String() string
- func (m *ValidatePolicySetTextResponse) Validate() error
- func (m *ValidatePolicySetTextResponse) ValidateAll() error
- type ValidatePolicySetTextResponseMultiError
- type ValidatePolicySetTextResponseValidationError
- func (e ValidatePolicySetTextResponseValidationError) Cause() error
- func (e ValidatePolicySetTextResponseValidationError) Error() string
- func (e ValidatePolicySetTextResponseValidationError) ErrorName() string
- func (e ValidatePolicySetTextResponseValidationError) Field() string
- func (e ValidatePolicySetTextResponseValidationError) Key() bool
- func (e ValidatePolicySetTextResponseValidationError) Reason() string
- type ValidationError
- func (*ValidationError) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationError) GetMessage() string
- func (x *ValidationError) GetPolicyId() string
- func (*ValidationError) ProtoMessage()
- func (x *ValidationError) ProtoReflect() protoreflect.Message
- func (x *ValidationError) Reset()
- func (x *ValidationError) String() string
- func (m *ValidationError) Validate() error
- func (m *ValidationError) ValidateAll() error
- type ValidationErrorKind
- func (ValidationErrorKind) Descriptor() protoreflect.EnumDescriptor
- func (x ValidationErrorKind) Enum() *ValidationErrorKind
- func (ValidationErrorKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ValidationErrorKind) Number() protoreflect.EnumNumber
- func (x ValidationErrorKind) String() string
- func (ValidationErrorKind) Type() protoreflect.EnumType
- type ValidationErrorMultiError
- type ValidationErrorValidationError
- func (e ValidationErrorValidationError) Cause() error
- func (e ValidationErrorValidationError) Error() string
- func (e ValidationErrorValidationError) ErrorName() string
- func (e ValidationErrorValidationError) Field() string
- func (e ValidationErrorValidationError) Key() bool
- func (e ValidationErrorValidationError) Reason() string
- type ValidationResult
- func (*ValidationResult) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationResult) GetErrors() []*ValidationError
- func (x *ValidationResult) GetWarnings() []*ValidationWarning
- func (*ValidationResult) ProtoMessage()
- func (x *ValidationResult) ProtoReflect() protoreflect.Message
- func (x *ValidationResult) Reset()
- func (x *ValidationResult) String() string
- func (m *ValidationResult) Validate() error
- func (m *ValidationResult) ValidateAll() error
- type ValidationResultMultiError
- type ValidationResultValidationError
- func (e ValidationResultValidationError) Cause() error
- func (e ValidationResultValidationError) Error() string
- func (e ValidationResultValidationError) ErrorName() string
- func (e ValidationResultValidationError) Field() string
- func (e ValidationResultValidationError) Key() bool
- func (e ValidationResultValidationError) Reason() string
- type ValidationWarning
- func (*ValidationWarning) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationWarning) GetMessage() string
- func (x *ValidationWarning) GetPolicyId() string
- func (*ValidationWarning) ProtoMessage()
- func (x *ValidationWarning) ProtoReflect() protoreflect.Message
- func (x *ValidationWarning) Reset()
- func (x *ValidationWarning) String() string
- func (m *ValidationWarning) Validate() error
- func (m *ValidationWarning) ValidateAll() error
- type ValidationWarningKind
- func (ValidationWarningKind) Descriptor() protoreflect.EnumDescriptor
- func (x ValidationWarningKind) Enum() *ValidationWarningKind
- func (ValidationWarningKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ValidationWarningKind) Number() protoreflect.EnumNumber
- func (x ValidationWarningKind) String() string
- func (ValidationWarningKind) Type() protoreflect.EnumType
- type ValidationWarningMultiError
- type ValidationWarningValidationError
- func (e ValidationWarningValidationError) Cause() error
- func (e ValidationWarningValidationError) Error() string
- func (e ValidationWarningValidationError) ErrorName() string
- func (e ValidationWarningValidationError) Field() string
- func (e ValidationWarningValidationError) Key() bool
- func (e ValidationWarningValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( Decision_name = map[int32]string{ 0: "DECISION_UNSPECIFIED", 2: "DECISION_ALLOW", 4: "DECISION_DENY", } Decision_value = map[string]int32{ "DECISION_UNSPECIFIED": 0, "DECISION_ALLOW": 2, "DECISION_DENY": 4, } )
Enum value maps for Decision.
var ( ValidationErrorKind_name = map[int32]string{ 0: "VALIDATION_ERROR_KIND_UNSPECIFIED", 1: "VALIDATION_ERROR_UNRECOGNIZED_ENTITY_TYPE", 2: "VALIDATION_ERROR_UNRECOGNIZED_ACTION_ID", 3: "VALIDATION_ERROR_INVALID_ACTION_APPLICATION", 4: "VALIDATION_ERROR_TYPE_ERROR", 5: "VALIDATION_ERROR_UNSPECIFIED_ENTITY", } ValidationErrorKind_value = map[string]int32{ "VALIDATION_ERROR_KIND_UNSPECIFIED": 0, "VALIDATION_ERROR_UNRECOGNIZED_ENTITY_TYPE": 1, "VALIDATION_ERROR_UNRECOGNIZED_ACTION_ID": 2, "VALIDATION_ERROR_INVALID_ACTION_APPLICATION": 3, "VALIDATION_ERROR_TYPE_ERROR": 4, "VALIDATION_ERROR_UNSPECIFIED_ENTITY": 5, } )
Enum value maps for ValidationErrorKind.
var ( ValidationWarningKind_name = map[int32]string{ 0: "VALIDATION_WARNING_KIND_UNSPECIFIED", 1: "VALIDATION_WARNING_MIXED_SCRIPT_STRING", 2: "VALIDATION_WARNING_BIDI_CHARS_IN_STRING", 3: "VALIDATION_WARNING_BIDI_CHARS_IN_IDENTIFIER", 4: "VALIDATION_WARNING_MIXED_SCRIPT_IDENTIFIER", 5: "VALIDATION_WARNING_CONFUSABLE_IDENTIFIER", 6: "VALIDATION_WARNING_ENTITY_DOES_NOT_EXIST", } ValidationWarningKind_value = map[string]int32{ "VALIDATION_WARNING_KIND_UNSPECIFIED": 0, "VALIDATION_WARNING_MIXED_SCRIPT_STRING": 1, "VALIDATION_WARNING_BIDI_CHARS_IN_STRING": 2, "VALIDATION_WARNING_BIDI_CHARS_IN_IDENTIFIER": 3, "VALIDATION_WARNING_MIXED_SCRIPT_IDENTIFIER": 4, "VALIDATION_WARNING_CONFUSABLE_IDENTIFIER": 5, "VALIDATION_WARNING_ENTITY_DOES_NOT_EXIST": 6, } )
Enum value maps for ValidationWarningKind.
var ( // Denotes the particular RPC as being read-only. // This applies a tag during authorization for our authorization audit log. // // optional bool read_only = 50001; E_ReadOnly = &file_commonfate_authz_v1alpha1_read_only_proto_extTypes[0] )
Extension fields to descriptorpb.MethodOptions.
var File_commonfate_authz_v1alpha1_authz_proto protoreflect.FileDescriptor
var File_commonfate_authz_v1alpha1_evaluation_proto protoreflect.FileDescriptor
var File_commonfate_authz_v1alpha1_health_proto protoreflect.FileDescriptor
var File_commonfate_authz_v1alpha1_policy_proto protoreflect.FileDescriptor
var File_commonfate_authz_v1alpha1_read_only_proto protoreflect.FileDescriptor
var File_commonfate_authz_v1alpha1_request_proto protoreflect.FileDescriptor
var File_commonfate_authz_v1alpha1_schema_proto protoreflect.FileDescriptor
var File_commonfate_authz_v1alpha1_validation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Annotation struct { // the ID of the policy with the annotation PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"` // the key of the annotation. e.g. in @advice("something") // it is 'advice'. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // the value of the annotation. e.g. in @advice("something") // it is 'something' Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Annotation) Descriptor
deprecated
func (*Annotation) Descriptor() ([]byte, []int)
Deprecated: Use Annotation.ProtoReflect.Descriptor instead.
func (*Annotation) GetKey ¶
func (x *Annotation) GetKey() string
func (*Annotation) GetPolicyId ¶
func (x *Annotation) GetPolicyId() string
func (*Annotation) GetValue ¶
func (x *Annotation) GetValue() string
func (*Annotation) ProtoMessage ¶
func (*Annotation) ProtoMessage()
func (*Annotation) ProtoReflect ¶
func (x *Annotation) ProtoReflect() protoreflect.Message
func (*Annotation) Reset ¶
func (x *Annotation) Reset()
func (*Annotation) String ¶
func (x *Annotation) String() string
func (*Annotation) Validate ¶ added in v1.32.1
func (m *Annotation) Validate() error
Validate checks the field values on Annotation 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 (*Annotation) ValidateAll ¶ added in v1.32.1
func (m *Annotation) ValidateAll() error
ValidateAll checks the field values on Annotation 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 AnnotationMultiError, or nil if none found.
type AnnotationMultiError ¶ added in v1.32.1
type AnnotationMultiError []error
AnnotationMultiError is an error wrapping multiple validation errors returned by Annotation.ValidateAll() if the designated constraints aren't met.
func (AnnotationMultiError) AllErrors ¶ added in v1.32.1
func (m AnnotationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnotationMultiError) Error ¶ added in v1.32.1
func (m AnnotationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnotationValidationError ¶ added in v1.32.1
type AnnotationValidationError struct {
// contains filtered or unexported fields
}
AnnotationValidationError is the validation error returned by Annotation.Validate if the designated constraints aren't met.
func (AnnotationValidationError) Cause ¶ added in v1.32.1
func (e AnnotationValidationError) Cause() error
Cause function returns cause value.
func (AnnotationValidationError) Error ¶ added in v1.32.1
func (e AnnotationValidationError) Error() string
Error satisfies the builtin error interface
func (AnnotationValidationError) ErrorName ¶ added in v1.32.1
func (e AnnotationValidationError) ErrorName() string
ErrorName returns error name.
func (AnnotationValidationError) Field ¶ added in v1.32.1
func (e AnnotationValidationError) Field() string
Field function returns field value.
func (AnnotationValidationError) Key ¶ added in v1.32.1
func (e AnnotationValidationError) Key() bool
Key function returns key value.
func (AnnotationValidationError) Reason ¶ added in v1.32.1
func (e AnnotationValidationError) Reason() string
Reason function returns reason value.
type BatchAuthorizeRequest ¶
type BatchAuthorizeRequest struct { Requests []*Request `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*BatchAuthorizeRequest) Descriptor
deprecated
func (*BatchAuthorizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchAuthorizeRequest.ProtoReflect.Descriptor instead.
func (*BatchAuthorizeRequest) GetRequests ¶
func (x *BatchAuthorizeRequest) GetRequests() []*Request
func (*BatchAuthorizeRequest) ProtoMessage ¶
func (*BatchAuthorizeRequest) ProtoMessage()
func (*BatchAuthorizeRequest) ProtoReflect ¶
func (x *BatchAuthorizeRequest) ProtoReflect() protoreflect.Message
func (*BatchAuthorizeRequest) Reset ¶
func (x *BatchAuthorizeRequest) Reset()
func (*BatchAuthorizeRequest) String ¶
func (x *BatchAuthorizeRequest) String() string
func (*BatchAuthorizeRequest) Validate ¶ added in v1.32.1
func (m *BatchAuthorizeRequest) Validate() error
Validate checks the field values on BatchAuthorizeRequest 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 (*BatchAuthorizeRequest) ValidateAll ¶ added in v1.32.1
func (m *BatchAuthorizeRequest) ValidateAll() error
ValidateAll checks the field values on BatchAuthorizeRequest 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 BatchAuthorizeRequestMultiError, or nil if none found.
type BatchAuthorizeRequestMultiError ¶ added in v1.32.1
type BatchAuthorizeRequestMultiError []error
BatchAuthorizeRequestMultiError is an error wrapping multiple validation errors returned by BatchAuthorizeRequest.ValidateAll() if the designated constraints aren't met.
func (BatchAuthorizeRequestMultiError) AllErrors ¶ added in v1.32.1
func (m BatchAuthorizeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchAuthorizeRequestMultiError) Error ¶ added in v1.32.1
func (m BatchAuthorizeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchAuthorizeRequestValidationError ¶ added in v1.32.1
type BatchAuthorizeRequestValidationError struct {
// contains filtered or unexported fields
}
BatchAuthorizeRequestValidationError is the validation error returned by BatchAuthorizeRequest.Validate if the designated constraints aren't met.
func (BatchAuthorizeRequestValidationError) Cause ¶ added in v1.32.1
func (e BatchAuthorizeRequestValidationError) Cause() error
Cause function returns cause value.
func (BatchAuthorizeRequestValidationError) Error ¶ added in v1.32.1
func (e BatchAuthorizeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BatchAuthorizeRequestValidationError) ErrorName ¶ added in v1.32.1
func (e BatchAuthorizeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BatchAuthorizeRequestValidationError) Field ¶ added in v1.32.1
func (e BatchAuthorizeRequestValidationError) Field() string
Field function returns field value.
func (BatchAuthorizeRequestValidationError) Key ¶ added in v1.32.1
func (e BatchAuthorizeRequestValidationError) Key() bool
Key function returns key value.
func (BatchAuthorizeRequestValidationError) Reason ¶ added in v1.32.1
func (e BatchAuthorizeRequestValidationError) Reason() string
Reason function returns reason value.
type BatchAuthorizeResponse ¶
type BatchAuthorizeResponse struct { Evaluations []*Evaluation `protobuf:"bytes,1,rep,name=evaluations,proto3" json:"evaluations,omitempty"` // contains filtered or unexported fields }
func (*BatchAuthorizeResponse) Descriptor
deprecated
func (*BatchAuthorizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchAuthorizeResponse.ProtoReflect.Descriptor instead.
func (*BatchAuthorizeResponse) GetEvaluations ¶
func (x *BatchAuthorizeResponse) GetEvaluations() []*Evaluation
func (*BatchAuthorizeResponse) ProtoMessage ¶
func (*BatchAuthorizeResponse) ProtoMessage()
func (*BatchAuthorizeResponse) ProtoReflect ¶
func (x *BatchAuthorizeResponse) ProtoReflect() protoreflect.Message
func (*BatchAuthorizeResponse) Reset ¶
func (x *BatchAuthorizeResponse) Reset()
func (*BatchAuthorizeResponse) String ¶
func (x *BatchAuthorizeResponse) String() string
func (*BatchAuthorizeResponse) Validate ¶ added in v1.32.1
func (m *BatchAuthorizeResponse) Validate() error
Validate checks the field values on BatchAuthorizeResponse 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 (*BatchAuthorizeResponse) ValidateAll ¶ added in v1.32.1
func (m *BatchAuthorizeResponse) ValidateAll() error
ValidateAll checks the field values on BatchAuthorizeResponse 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 BatchAuthorizeResponseMultiError, or nil if none found.
type BatchAuthorizeResponseMultiError ¶ added in v1.32.1
type BatchAuthorizeResponseMultiError []error
BatchAuthorizeResponseMultiError is an error wrapping multiple validation errors returned by BatchAuthorizeResponse.ValidateAll() if the designated constraints aren't met.
func (BatchAuthorizeResponseMultiError) AllErrors ¶ added in v1.32.1
func (m BatchAuthorizeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchAuthorizeResponseMultiError) Error ¶ added in v1.32.1
func (m BatchAuthorizeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchAuthorizeResponseValidationError ¶ added in v1.32.1
type BatchAuthorizeResponseValidationError struct {
// contains filtered or unexported fields
}
BatchAuthorizeResponseValidationError is the validation error returned by BatchAuthorizeResponse.Validate if the designated constraints aren't met.
func (BatchAuthorizeResponseValidationError) Cause ¶ added in v1.32.1
func (e BatchAuthorizeResponseValidationError) Cause() error
Cause function returns cause value.
func (BatchAuthorizeResponseValidationError) Error ¶ added in v1.32.1
func (e BatchAuthorizeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (BatchAuthorizeResponseValidationError) ErrorName ¶ added in v1.32.1
func (e BatchAuthorizeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (BatchAuthorizeResponseValidationError) Field ¶ added in v1.32.1
func (e BatchAuthorizeResponseValidationError) Field() string
Field function returns field value.
func (BatchAuthorizeResponseValidationError) Key ¶ added in v1.32.1
func (e BatchAuthorizeResponseValidationError) Key() bool
Key function returns key value.
func (BatchAuthorizeResponseValidationError) Reason ¶ added in v1.32.1
func (e BatchAuthorizeResponseValidationError) Reason() string
Reason function returns reason value.
type CreatePolicySetRequest ¶
type CreatePolicySetRequest struct { PolicySet *PolicySetInput `protobuf:"bytes,1,opt,name=policy_set,json=policySet,proto3" json:"policy_set,omitempty"` // contains filtered or unexported fields }
func (*CreatePolicySetRequest) Descriptor
deprecated
func (*CreatePolicySetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicySetRequest.ProtoReflect.Descriptor instead.
func (*CreatePolicySetRequest) GetPolicySet ¶
func (x *CreatePolicySetRequest) GetPolicySet() *PolicySetInput
func (*CreatePolicySetRequest) ProtoMessage ¶
func (*CreatePolicySetRequest) ProtoMessage()
func (*CreatePolicySetRequest) ProtoReflect ¶
func (x *CreatePolicySetRequest) ProtoReflect() protoreflect.Message
func (*CreatePolicySetRequest) Reset ¶
func (x *CreatePolicySetRequest) Reset()
func (*CreatePolicySetRequest) String ¶
func (x *CreatePolicySetRequest) String() string
func (*CreatePolicySetRequest) Validate ¶ added in v1.32.1
func (m *CreatePolicySetRequest) Validate() error
Validate checks the field values on CreatePolicySetRequest 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 (*CreatePolicySetRequest) ValidateAll ¶ added in v1.32.1
func (m *CreatePolicySetRequest) ValidateAll() error
ValidateAll checks the field values on CreatePolicySetRequest 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 CreatePolicySetRequestMultiError, or nil if none found.
type CreatePolicySetRequestMultiError ¶ added in v1.32.1
type CreatePolicySetRequestMultiError []error
CreatePolicySetRequestMultiError is an error wrapping multiple validation errors returned by CreatePolicySetRequest.ValidateAll() if the designated constraints aren't met.
func (CreatePolicySetRequestMultiError) AllErrors ¶ added in v1.32.1
func (m CreatePolicySetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreatePolicySetRequestMultiError) Error ¶ added in v1.32.1
func (m CreatePolicySetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreatePolicySetRequestValidationError ¶ added in v1.32.1
type CreatePolicySetRequestValidationError struct {
// contains filtered or unexported fields
}
CreatePolicySetRequestValidationError is the validation error returned by CreatePolicySetRequest.Validate if the designated constraints aren't met.
func (CreatePolicySetRequestValidationError) Cause ¶ added in v1.32.1
func (e CreatePolicySetRequestValidationError) Cause() error
Cause function returns cause value.
func (CreatePolicySetRequestValidationError) Error ¶ added in v1.32.1
func (e CreatePolicySetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreatePolicySetRequestValidationError) ErrorName ¶ added in v1.32.1
func (e CreatePolicySetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreatePolicySetRequestValidationError) Field ¶ added in v1.32.1
func (e CreatePolicySetRequestValidationError) Field() string
Field function returns field value.
func (CreatePolicySetRequestValidationError) Key ¶ added in v1.32.1
func (e CreatePolicySetRequestValidationError) Key() bool
Key function returns key value.
func (CreatePolicySetRequestValidationError) Reason ¶ added in v1.32.1
func (e CreatePolicySetRequestValidationError) Reason() string
Reason function returns reason value.
type CreatePolicySetResponse ¶
type CreatePolicySetResponse struct { PolicySet *PolicySet `protobuf:"bytes,1,opt,name=policy_set,json=policySet,proto3" json:"policy_set,omitempty"` // contains filtered or unexported fields }
func (*CreatePolicySetResponse) Descriptor
deprecated
func (*CreatePolicySetResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicySetResponse.ProtoReflect.Descriptor instead.
func (*CreatePolicySetResponse) GetPolicySet ¶
func (x *CreatePolicySetResponse) GetPolicySet() *PolicySet
func (*CreatePolicySetResponse) ProtoMessage ¶
func (*CreatePolicySetResponse) ProtoMessage()
func (*CreatePolicySetResponse) ProtoReflect ¶
func (x *CreatePolicySetResponse) ProtoReflect() protoreflect.Message
func (*CreatePolicySetResponse) Reset ¶
func (x *CreatePolicySetResponse) Reset()
func (*CreatePolicySetResponse) String ¶
func (x *CreatePolicySetResponse) String() string
func (*CreatePolicySetResponse) Validate ¶ added in v1.32.1
func (m *CreatePolicySetResponse) Validate() error
Validate checks the field values on CreatePolicySetResponse 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 (*CreatePolicySetResponse) ValidateAll ¶ added in v1.32.1
func (m *CreatePolicySetResponse) ValidateAll() error
ValidateAll checks the field values on CreatePolicySetResponse 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 CreatePolicySetResponseMultiError, or nil if none found.
type CreatePolicySetResponseMultiError ¶ added in v1.32.1
type CreatePolicySetResponseMultiError []error
CreatePolicySetResponseMultiError is an error wrapping multiple validation errors returned by CreatePolicySetResponse.ValidateAll() if the designated constraints aren't met.
func (CreatePolicySetResponseMultiError) AllErrors ¶ added in v1.32.1
func (m CreatePolicySetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreatePolicySetResponseMultiError) Error ¶ added in v1.32.1
func (m CreatePolicySetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreatePolicySetResponseValidationError ¶ added in v1.32.1
type CreatePolicySetResponseValidationError struct {
// contains filtered or unexported fields
}
CreatePolicySetResponseValidationError is the validation error returned by CreatePolicySetResponse.Validate if the designated constraints aren't met.
func (CreatePolicySetResponseValidationError) Cause ¶ added in v1.32.1
func (e CreatePolicySetResponseValidationError) Cause() error
Cause function returns cause value.
func (CreatePolicySetResponseValidationError) Error ¶ added in v1.32.1
func (e CreatePolicySetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreatePolicySetResponseValidationError) ErrorName ¶ added in v1.32.1
func (e CreatePolicySetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreatePolicySetResponseValidationError) Field ¶ added in v1.32.1
func (e CreatePolicySetResponseValidationError) Field() string
Field function returns field value.
func (CreatePolicySetResponseValidationError) Key ¶ added in v1.32.1
func (e CreatePolicySetResponseValidationError) Key() bool
Key function returns key value.
func (CreatePolicySetResponseValidationError) Reason ¶ added in v1.32.1
func (e CreatePolicySetResponseValidationError) Reason() string
Reason function returns reason value.
type DebugEvaluation ¶ added in v1.10.0
type DebugEvaluation struct { // version is used when serializing the DebugEvaluation message in order to ensure // forwards-compatibility. Version should be set to '1' when storing DebugEvaluation messages in archival storage. Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Evaluation *Evaluation `protobuf:"bytes,2,opt,name=evaluation,proto3" json:"evaluation,omitempty"` DebugInformation *DebugInformation `protobuf:"bytes,3,opt,name=debug_information,json=debugInformation,proto3" json:"debug_information,omitempty"` // contains filtered or unexported fields }
DebugEvaluation contains additional information about a particular authorization evaluation, allowing an administrator to debug the decision and understand why the request was allowed or denied.
func (*DebugEvaluation) Descriptor
deprecated
added in
v1.10.0
func (*DebugEvaluation) Descriptor() ([]byte, []int)
Deprecated: Use DebugEvaluation.ProtoReflect.Descriptor instead.
func (*DebugEvaluation) GetDebugInformation ¶ added in v1.10.0
func (x *DebugEvaluation) GetDebugInformation() *DebugInformation
func (*DebugEvaluation) GetEvaluation ¶ added in v1.10.0
func (x *DebugEvaluation) GetEvaluation() *Evaluation
func (*DebugEvaluation) GetVersion ¶ added in v1.10.0
func (x *DebugEvaluation) GetVersion() uint32
func (*DebugEvaluation) ProtoMessage ¶ added in v1.10.0
func (*DebugEvaluation) ProtoMessage()
func (*DebugEvaluation) ProtoReflect ¶ added in v1.10.0
func (x *DebugEvaluation) ProtoReflect() protoreflect.Message
func (*DebugEvaluation) Reset ¶ added in v1.10.0
func (x *DebugEvaluation) Reset()
func (*DebugEvaluation) String ¶ added in v1.10.0
func (x *DebugEvaluation) String() string
func (*DebugEvaluation) Validate ¶ added in v1.32.1
func (m *DebugEvaluation) Validate() error
Validate checks the field values on DebugEvaluation 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 (*DebugEvaluation) ValidateAll ¶ added in v1.32.1
func (m *DebugEvaluation) ValidateAll() error
ValidateAll checks the field values on DebugEvaluation 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 DebugEvaluationMultiError, or nil if none found.
type DebugEvaluationMultiError ¶ added in v1.32.1
type DebugEvaluationMultiError []error
DebugEvaluationMultiError is an error wrapping multiple validation errors returned by DebugEvaluation.ValidateAll() if the designated constraints aren't met.
func (DebugEvaluationMultiError) AllErrors ¶ added in v1.32.1
func (m DebugEvaluationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DebugEvaluationMultiError) Error ¶ added in v1.32.1
func (m DebugEvaluationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DebugEvaluationValidationError ¶ added in v1.32.1
type DebugEvaluationValidationError struct {
// contains filtered or unexported fields
}
DebugEvaluationValidationError is the validation error returned by DebugEvaluation.Validate if the designated constraints aren't met.
func (DebugEvaluationValidationError) Cause ¶ added in v1.32.1
func (e DebugEvaluationValidationError) Cause() error
Cause function returns cause value.
func (DebugEvaluationValidationError) Error ¶ added in v1.32.1
func (e DebugEvaluationValidationError) Error() string
Error satisfies the builtin error interface
func (DebugEvaluationValidationError) ErrorName ¶ added in v1.32.1
func (e DebugEvaluationValidationError) ErrorName() string
ErrorName returns error name.
func (DebugEvaluationValidationError) Field ¶ added in v1.32.1
func (e DebugEvaluationValidationError) Field() string
Field function returns field value.
func (DebugEvaluationValidationError) Key ¶ added in v1.32.1
func (e DebugEvaluationValidationError) Key() bool
Key function returns key value.
func (DebugEvaluationValidationError) Reason ¶ added in v1.32.1
func (e DebugEvaluationValidationError) Reason() string
Reason function returns reason value.
type DebugInformation ¶
type DebugInformation struct { // PolicySets which contributed to the authorization decision. PolicySets []*PolicySet `protobuf:"bytes,1,rep,name=policy_sets,json=policySets,proto3" json:"policy_sets,omitempty"` // Entities which contributed to the authorization decision. Entities []*v1alpha1.Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` // contains filtered or unexported fields }
func (*DebugInformation) Descriptor
deprecated
func (*DebugInformation) Descriptor() ([]byte, []int)
Deprecated: Use DebugInformation.ProtoReflect.Descriptor instead.
func (*DebugInformation) GetEntities ¶
func (x *DebugInformation) GetEntities() []*v1alpha1.Entity
func (*DebugInformation) GetPolicySets ¶ added in v1.10.0
func (x *DebugInformation) GetPolicySets() []*PolicySet
func (*DebugInformation) ProtoMessage ¶
func (*DebugInformation) ProtoMessage()
func (*DebugInformation) ProtoReflect ¶
func (x *DebugInformation) ProtoReflect() protoreflect.Message
func (*DebugInformation) Reset ¶
func (x *DebugInformation) Reset()
func (*DebugInformation) String ¶
func (x *DebugInformation) String() string
func (*DebugInformation) Validate ¶ added in v1.32.1
func (m *DebugInformation) Validate() error
Validate checks the field values on DebugInformation 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 (*DebugInformation) ValidateAll ¶ added in v1.32.1
func (m *DebugInformation) ValidateAll() error
ValidateAll checks the field values on DebugInformation 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 DebugInformationMultiError, or nil if none found.
type DebugInformationMultiError ¶ added in v1.32.1
type DebugInformationMultiError []error
DebugInformationMultiError is an error wrapping multiple validation errors returned by DebugInformation.ValidateAll() if the designated constraints aren't met.
func (DebugInformationMultiError) AllErrors ¶ added in v1.32.1
func (m DebugInformationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DebugInformationMultiError) Error ¶ added in v1.32.1
func (m DebugInformationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DebugInformationValidationError ¶ added in v1.32.1
type DebugInformationValidationError struct {
// contains filtered or unexported fields
}
DebugInformationValidationError is the validation error returned by DebugInformation.Validate if the designated constraints aren't met.
func (DebugInformationValidationError) Cause ¶ added in v1.32.1
func (e DebugInformationValidationError) Cause() error
Cause function returns cause value.
func (DebugInformationValidationError) Error ¶ added in v1.32.1
func (e DebugInformationValidationError) Error() string
Error satisfies the builtin error interface
func (DebugInformationValidationError) ErrorName ¶ added in v1.32.1
func (e DebugInformationValidationError) ErrorName() string
ErrorName returns error name.
func (DebugInformationValidationError) Field ¶ added in v1.32.1
func (e DebugInformationValidationError) Field() string
Field function returns field value.
func (DebugInformationValidationError) Key ¶ added in v1.32.1
func (e DebugInformationValidationError) Key() bool
Key function returns key value.
func (DebugInformationValidationError) Reason ¶ added in v1.32.1
func (e DebugInformationValidationError) Reason() string
Reason function returns reason value.
type Decision ¶
type Decision int32
func (Decision) Descriptor ¶
func (Decision) Descriptor() protoreflect.EnumDescriptor
func (Decision) EnumDescriptor
deprecated
func (Decision) Number ¶
func (x Decision) Number() protoreflect.EnumNumber
func (Decision) Type ¶
func (Decision) Type() protoreflect.EnumType
type DeletePolicySetRequest ¶
type DeletePolicySetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeletePolicySetRequest) Descriptor
deprecated
func (*DeletePolicySetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicySetRequest.ProtoReflect.Descriptor instead.
func (*DeletePolicySetRequest) GetId ¶
func (x *DeletePolicySetRequest) GetId() string
func (*DeletePolicySetRequest) ProtoMessage ¶
func (*DeletePolicySetRequest) ProtoMessage()
func (*DeletePolicySetRequest) ProtoReflect ¶
func (x *DeletePolicySetRequest) ProtoReflect() protoreflect.Message
func (*DeletePolicySetRequest) Reset ¶
func (x *DeletePolicySetRequest) Reset()
func (*DeletePolicySetRequest) String ¶
func (x *DeletePolicySetRequest) String() string
func (*DeletePolicySetRequest) Validate ¶ added in v1.32.1
func (m *DeletePolicySetRequest) Validate() error
Validate checks the field values on DeletePolicySetRequest 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 (*DeletePolicySetRequest) ValidateAll ¶ added in v1.32.1
func (m *DeletePolicySetRequest) ValidateAll() error
ValidateAll checks the field values on DeletePolicySetRequest 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 DeletePolicySetRequestMultiError, or nil if none found.
type DeletePolicySetRequestMultiError ¶ added in v1.32.1
type DeletePolicySetRequestMultiError []error
DeletePolicySetRequestMultiError is an error wrapping multiple validation errors returned by DeletePolicySetRequest.ValidateAll() if the designated constraints aren't met.
func (DeletePolicySetRequestMultiError) AllErrors ¶ added in v1.32.1
func (m DeletePolicySetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePolicySetRequestMultiError) Error ¶ added in v1.32.1
func (m DeletePolicySetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePolicySetRequestValidationError ¶ added in v1.32.1
type DeletePolicySetRequestValidationError struct {
// contains filtered or unexported fields
}
DeletePolicySetRequestValidationError is the validation error returned by DeletePolicySetRequest.Validate if the designated constraints aren't met.
func (DeletePolicySetRequestValidationError) Cause ¶ added in v1.32.1
func (e DeletePolicySetRequestValidationError) Cause() error
Cause function returns cause value.
func (DeletePolicySetRequestValidationError) Error ¶ added in v1.32.1
func (e DeletePolicySetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePolicySetRequestValidationError) ErrorName ¶ added in v1.32.1
func (e DeletePolicySetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePolicySetRequestValidationError) Field ¶ added in v1.32.1
func (e DeletePolicySetRequestValidationError) Field() string
Field function returns field value.
func (DeletePolicySetRequestValidationError) Key ¶ added in v1.32.1
func (e DeletePolicySetRequestValidationError) Key() bool
Key function returns key value.
func (DeletePolicySetRequestValidationError) Reason ¶ added in v1.32.1
func (e DeletePolicySetRequestValidationError) Reason() string
Reason function returns reason value.
type DeletePolicySetResponse ¶
type DeletePolicySetResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeletePolicySetResponse) Descriptor
deprecated
func (*DeletePolicySetResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicySetResponse.ProtoReflect.Descriptor instead.
func (*DeletePolicySetResponse) GetId ¶
func (x *DeletePolicySetResponse) GetId() string
func (*DeletePolicySetResponse) ProtoMessage ¶
func (*DeletePolicySetResponse) ProtoMessage()
func (*DeletePolicySetResponse) ProtoReflect ¶
func (x *DeletePolicySetResponse) ProtoReflect() protoreflect.Message
func (*DeletePolicySetResponse) Reset ¶
func (x *DeletePolicySetResponse) Reset()
func (*DeletePolicySetResponse) String ¶
func (x *DeletePolicySetResponse) String() string
func (*DeletePolicySetResponse) Validate ¶ added in v1.32.1
func (m *DeletePolicySetResponse) Validate() error
Validate checks the field values on DeletePolicySetResponse 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 (*DeletePolicySetResponse) ValidateAll ¶ added in v1.32.1
func (m *DeletePolicySetResponse) ValidateAll() error
ValidateAll checks the field values on DeletePolicySetResponse 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 DeletePolicySetResponseMultiError, or nil if none found.
type DeletePolicySetResponseMultiError ¶ added in v1.32.1
type DeletePolicySetResponseMultiError []error
DeletePolicySetResponseMultiError is an error wrapping multiple validation errors returned by DeletePolicySetResponse.ValidateAll() if the designated constraints aren't met.
func (DeletePolicySetResponseMultiError) AllErrors ¶ added in v1.32.1
func (m DeletePolicySetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePolicySetResponseMultiError) Error ¶ added in v1.32.1
func (m DeletePolicySetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePolicySetResponseValidationError ¶ added in v1.32.1
type DeletePolicySetResponseValidationError struct {
// contains filtered or unexported fields
}
DeletePolicySetResponseValidationError is the validation error returned by DeletePolicySetResponse.Validate if the designated constraints aren't met.
func (DeletePolicySetResponseValidationError) Cause ¶ added in v1.32.1
func (e DeletePolicySetResponseValidationError) Cause() error
Cause function returns cause value.
func (DeletePolicySetResponseValidationError) Error ¶ added in v1.32.1
func (e DeletePolicySetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePolicySetResponseValidationError) ErrorName ¶ added in v1.32.1
func (e DeletePolicySetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePolicySetResponseValidationError) Field ¶ added in v1.32.1
func (e DeletePolicySetResponseValidationError) Field() string
Field function returns field value.
func (DeletePolicySetResponseValidationError) Key ¶ added in v1.32.1
func (e DeletePolicySetResponseValidationError) Key() bool
Key function returns key value.
func (DeletePolicySetResponseValidationError) Reason ¶ added in v1.32.1
func (e DeletePolicySetResponseValidationError) Reason() string
Reason function returns reason value.
type Diagnostics ¶
type Diagnostics struct { Reason []string `protobuf:"bytes,1,rep,name=reason,proto3" json:"reason,omitempty"` Errors []string `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` Annotations []*Annotation `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"` // contains filtered or unexported fields }
func (*Diagnostics) Descriptor
deprecated
func (*Diagnostics) Descriptor() ([]byte, []int)
Deprecated: Use Diagnostics.ProtoReflect.Descriptor instead.
func (*Diagnostics) GetAnnotations ¶
func (x *Diagnostics) GetAnnotations() []*Annotation
func (*Diagnostics) GetErrors ¶
func (x *Diagnostics) GetErrors() []string
func (*Diagnostics) GetReason ¶
func (x *Diagnostics) GetReason() []string
func (*Diagnostics) ProtoMessage ¶
func (*Diagnostics) ProtoMessage()
func (*Diagnostics) ProtoReflect ¶
func (x *Diagnostics) ProtoReflect() protoreflect.Message
func (*Diagnostics) Reset ¶
func (x *Diagnostics) Reset()
func (*Diagnostics) String ¶
func (x *Diagnostics) String() string
func (*Diagnostics) Validate ¶ added in v1.32.1
func (m *Diagnostics) Validate() error
Validate checks the field values on Diagnostics 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 (*Diagnostics) ValidateAll ¶ added in v1.32.1
func (m *Diagnostics) ValidateAll() error
ValidateAll checks the field values on Diagnostics 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 DiagnosticsMultiError, or nil if none found.
type DiagnosticsMultiError ¶ added in v1.32.1
type DiagnosticsMultiError []error
DiagnosticsMultiError is an error wrapping multiple validation errors returned by Diagnostics.ValidateAll() if the designated constraints aren't met.
func (DiagnosticsMultiError) AllErrors ¶ added in v1.32.1
func (m DiagnosticsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DiagnosticsMultiError) Error ¶ added in v1.32.1
func (m DiagnosticsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DiagnosticsValidationError ¶ added in v1.32.1
type DiagnosticsValidationError struct {
// contains filtered or unexported fields
}
DiagnosticsValidationError is the validation error returned by Diagnostics.Validate if the designated constraints aren't met.
func (DiagnosticsValidationError) Cause ¶ added in v1.32.1
func (e DiagnosticsValidationError) Cause() error
Cause function returns cause value.
func (DiagnosticsValidationError) Error ¶ added in v1.32.1
func (e DiagnosticsValidationError) Error() string
Error satisfies the builtin error interface
func (DiagnosticsValidationError) ErrorName ¶ added in v1.32.1
func (e DiagnosticsValidationError) ErrorName() string
ErrorName returns error name.
func (DiagnosticsValidationError) Field ¶ added in v1.32.1
func (e DiagnosticsValidationError) Field() string
Field function returns field value.
func (DiagnosticsValidationError) Key ¶ added in v1.32.1
func (e DiagnosticsValidationError) Key() bool
Key function returns key value.
func (DiagnosticsValidationError) Reason ¶ added in v1.32.1
func (e DiagnosticsValidationError) Reason() string
Reason function returns reason value.
type Evaluation ¶
type Evaluation struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Request *Request `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` Decision Decision `protobuf:"varint,3,opt,name=decision,proto3,enum=commonfate.authz.v1alpha1.Decision" json:"decision,omitempty"` Diagnostics *Diagnostics `protobuf:"bytes,4,opt,name=diagnostics,proto3" json:"diagnostics,omitempty"` // The client-side identifier for the request specified in AuthorizationRequest. ClientKey string `protobuf:"bytes,5,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` EvaluatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=evaluated_at,json=evaluatedAt,proto3" json:"evaluated_at,omitempty"` // the duration that it took to make the authorization decision EvaluationDuration *durationpb.Duration `protobuf:"bytes,7,opt,name=evaluation_duration,json=evaluationDuration,proto3" json:"evaluation_duration,omitempty"` // A boolean value indicating whether access is allowed or denied. // This is emitted in addition to the 'decision' field to simplify interpreting // audit log events, as 'decision' is serialized as an integer. Allowed bool `protobuf:"varint,8,opt,name=allowed,proto3" json:"allowed,omitempty"` // contains filtered or unexported fields }
func (*Evaluation) Descriptor
deprecated
func (*Evaluation) Descriptor() ([]byte, []int)
Deprecated: Use Evaluation.ProtoReflect.Descriptor instead.
func (*Evaluation) GetAllowed ¶ added in v1.24.0
func (x *Evaluation) GetAllowed() bool
func (*Evaluation) GetClientKey ¶
func (x *Evaluation) GetClientKey() string
func (*Evaluation) GetDecision ¶
func (x *Evaluation) GetDecision() Decision
func (*Evaluation) GetDiagnostics ¶
func (x *Evaluation) GetDiagnostics() *Diagnostics
func (*Evaluation) GetEvaluatedAt ¶
func (x *Evaluation) GetEvaluatedAt() *timestamppb.Timestamp
func (*Evaluation) GetEvaluationDuration ¶ added in v1.10.0
func (x *Evaluation) GetEvaluationDuration() *durationpb.Duration
func (*Evaluation) GetId ¶
func (x *Evaluation) GetId() string
func (*Evaluation) GetRequest ¶
func (x *Evaluation) GetRequest() *Request
func (*Evaluation) ProtoMessage ¶
func (*Evaluation) ProtoMessage()
func (*Evaluation) ProtoReflect ¶
func (x *Evaluation) ProtoReflect() protoreflect.Message
func (*Evaluation) Reset ¶
func (x *Evaluation) Reset()
func (*Evaluation) String ¶
func (x *Evaluation) String() string
func (*Evaluation) Validate ¶ added in v1.32.1
func (m *Evaluation) Validate() error
Validate checks the field values on Evaluation 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 (*Evaluation) ValidateAll ¶ added in v1.32.1
func (m *Evaluation) ValidateAll() error
ValidateAll checks the field values on Evaluation 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 EvaluationMultiError, or nil if none found.
type EvaluationMultiError ¶ added in v1.32.1
type EvaluationMultiError []error
EvaluationMultiError is an error wrapping multiple validation errors returned by Evaluation.ValidateAll() if the designated constraints aren't met.
func (EvaluationMultiError) AllErrors ¶ added in v1.32.1
func (m EvaluationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EvaluationMultiError) Error ¶ added in v1.32.1
func (m EvaluationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EvaluationValidationError ¶ added in v1.32.1
type EvaluationValidationError struct {
// contains filtered or unexported fields
}
EvaluationValidationError is the validation error returned by Evaluation.Validate if the designated constraints aren't met.
func (EvaluationValidationError) Cause ¶ added in v1.32.1
func (e EvaluationValidationError) Cause() error
Cause function returns cause value.
func (EvaluationValidationError) Error ¶ added in v1.32.1
func (e EvaluationValidationError) Error() string
Error satisfies the builtin error interface
func (EvaluationValidationError) ErrorName ¶ added in v1.32.1
func (e EvaluationValidationError) ErrorName() string
ErrorName returns error name.
func (EvaluationValidationError) Field ¶ added in v1.32.1
func (e EvaluationValidationError) Field() string
Field function returns field value.
func (EvaluationValidationError) Key ¶ added in v1.32.1
func (e EvaluationValidationError) Key() bool
Key function returns key value.
func (EvaluationValidationError) Reason ¶ added in v1.32.1
func (e EvaluationValidationError) Reason() string
Reason function returns reason value.
type GetPolicySetRequest ¶
type GetPolicySetRequest struct { // The token for the next page. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetPolicySetRequest) Descriptor
deprecated
func (*GetPolicySetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicySetRequest.ProtoReflect.Descriptor instead.
func (*GetPolicySetRequest) GetId ¶
func (x *GetPolicySetRequest) GetId() string
func (*GetPolicySetRequest) ProtoMessage ¶
func (*GetPolicySetRequest) ProtoMessage()
func (*GetPolicySetRequest) ProtoReflect ¶
func (x *GetPolicySetRequest) ProtoReflect() protoreflect.Message
func (*GetPolicySetRequest) Reset ¶
func (x *GetPolicySetRequest) Reset()
func (*GetPolicySetRequest) String ¶
func (x *GetPolicySetRequest) String() string
func (*GetPolicySetRequest) Validate ¶ added in v1.32.1
func (m *GetPolicySetRequest) Validate() error
Validate checks the field values on GetPolicySetRequest 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 (*GetPolicySetRequest) ValidateAll ¶ added in v1.32.1
func (m *GetPolicySetRequest) ValidateAll() error
ValidateAll checks the field values on GetPolicySetRequest 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 GetPolicySetRequestMultiError, or nil if none found.
type GetPolicySetRequestMultiError ¶ added in v1.32.1
type GetPolicySetRequestMultiError []error
GetPolicySetRequestMultiError is an error wrapping multiple validation errors returned by GetPolicySetRequest.ValidateAll() if the designated constraints aren't met.
func (GetPolicySetRequestMultiError) AllErrors ¶ added in v1.32.1
func (m GetPolicySetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPolicySetRequestMultiError) Error ¶ added in v1.32.1
func (m GetPolicySetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPolicySetRequestValidationError ¶ added in v1.32.1
type GetPolicySetRequestValidationError struct {
// contains filtered or unexported fields
}
GetPolicySetRequestValidationError is the validation error returned by GetPolicySetRequest.Validate if the designated constraints aren't met.
func (GetPolicySetRequestValidationError) Cause ¶ added in v1.32.1
func (e GetPolicySetRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPolicySetRequestValidationError) Error ¶ added in v1.32.1
func (e GetPolicySetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPolicySetRequestValidationError) ErrorName ¶ added in v1.32.1
func (e GetPolicySetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPolicySetRequestValidationError) Field ¶ added in v1.32.1
func (e GetPolicySetRequestValidationError) Field() string
Field function returns field value.
func (GetPolicySetRequestValidationError) Key ¶ added in v1.32.1
func (e GetPolicySetRequestValidationError) Key() bool
Key function returns key value.
func (GetPolicySetRequestValidationError) Reason ¶ added in v1.32.1
func (e GetPolicySetRequestValidationError) Reason() string
Reason function returns reason value.
type GetPolicySetResponse ¶
type GetPolicySetResponse struct { PolicySet *PolicySet `protobuf:"bytes,1,opt,name=policy_set,json=policySet,proto3" json:"policy_set,omitempty"` // contains filtered or unexported fields }
func (*GetPolicySetResponse) Descriptor
deprecated
func (*GetPolicySetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicySetResponse.ProtoReflect.Descriptor instead.
func (*GetPolicySetResponse) GetPolicySet ¶
func (x *GetPolicySetResponse) GetPolicySet() *PolicySet
func (*GetPolicySetResponse) ProtoMessage ¶
func (*GetPolicySetResponse) ProtoMessage()
func (*GetPolicySetResponse) ProtoReflect ¶
func (x *GetPolicySetResponse) ProtoReflect() protoreflect.Message
func (*GetPolicySetResponse) Reset ¶
func (x *GetPolicySetResponse) Reset()
func (*GetPolicySetResponse) String ¶
func (x *GetPolicySetResponse) String() string
func (*GetPolicySetResponse) Validate ¶ added in v1.32.1
func (m *GetPolicySetResponse) Validate() error
Validate checks the field values on GetPolicySetResponse 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 (*GetPolicySetResponse) ValidateAll ¶ added in v1.32.1
func (m *GetPolicySetResponse) ValidateAll() error
ValidateAll checks the field values on GetPolicySetResponse 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 GetPolicySetResponseMultiError, or nil if none found.
type GetPolicySetResponseMultiError ¶ added in v1.32.1
type GetPolicySetResponseMultiError []error
GetPolicySetResponseMultiError is an error wrapping multiple validation errors returned by GetPolicySetResponse.ValidateAll() if the designated constraints aren't met.
func (GetPolicySetResponseMultiError) AllErrors ¶ added in v1.32.1
func (m GetPolicySetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPolicySetResponseMultiError) Error ¶ added in v1.32.1
func (m GetPolicySetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPolicySetResponseValidationError ¶ added in v1.32.1
type GetPolicySetResponseValidationError struct {
// contains filtered or unexported fields
}
GetPolicySetResponseValidationError is the validation error returned by GetPolicySetResponse.Validate if the designated constraints aren't met.
func (GetPolicySetResponseValidationError) Cause ¶ added in v1.32.1
func (e GetPolicySetResponseValidationError) Cause() error
Cause function returns cause value.
func (GetPolicySetResponseValidationError) Error ¶ added in v1.32.1
func (e GetPolicySetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetPolicySetResponseValidationError) ErrorName ¶ added in v1.32.1
func (e GetPolicySetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetPolicySetResponseValidationError) Field ¶ added in v1.32.1
func (e GetPolicySetResponseValidationError) Field() string
Field function returns field value.
func (GetPolicySetResponseValidationError) Key ¶ added in v1.32.1
func (e GetPolicySetResponseValidationError) Key() bool
Key function returns key value.
func (GetPolicySetResponseValidationError) Reason ¶ added in v1.32.1
func (e GetPolicySetResponseValidationError) Reason() string
Reason function returns reason value.
type GetSchemaJSONStringRequest ¶ added in v1.14.0
type GetSchemaJSONStringRequest struct {
// contains filtered or unexported fields
}
func (*GetSchemaJSONStringRequest) Descriptor
deprecated
added in
v1.14.0
func (*GetSchemaJSONStringRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaJSONStringRequest.ProtoReflect.Descriptor instead.
func (*GetSchemaJSONStringRequest) ProtoMessage ¶ added in v1.14.0
func (*GetSchemaJSONStringRequest) ProtoMessage()
func (*GetSchemaJSONStringRequest) ProtoReflect ¶ added in v1.14.0
func (x *GetSchemaJSONStringRequest) ProtoReflect() protoreflect.Message
func (*GetSchemaJSONStringRequest) Reset ¶ added in v1.14.0
func (x *GetSchemaJSONStringRequest) Reset()
func (*GetSchemaJSONStringRequest) String ¶ added in v1.14.0
func (x *GetSchemaJSONStringRequest) String() string
func (*GetSchemaJSONStringRequest) Validate ¶ added in v1.32.1
func (m *GetSchemaJSONStringRequest) Validate() error
Validate checks the field values on GetSchemaJSONStringRequest 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 (*GetSchemaJSONStringRequest) ValidateAll ¶ added in v1.32.1
func (m *GetSchemaJSONStringRequest) ValidateAll() error
ValidateAll checks the field values on GetSchemaJSONStringRequest 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 GetSchemaJSONStringRequestMultiError, or nil if none found.
type GetSchemaJSONStringRequestMultiError ¶ added in v1.32.1
type GetSchemaJSONStringRequestMultiError []error
GetSchemaJSONStringRequestMultiError is an error wrapping multiple validation errors returned by GetSchemaJSONStringRequest.ValidateAll() if the designated constraints aren't met.
func (GetSchemaJSONStringRequestMultiError) AllErrors ¶ added in v1.32.1
func (m GetSchemaJSONStringRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSchemaJSONStringRequestMultiError) Error ¶ added in v1.32.1
func (m GetSchemaJSONStringRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSchemaJSONStringRequestValidationError ¶ added in v1.32.1
type GetSchemaJSONStringRequestValidationError struct {
// contains filtered or unexported fields
}
GetSchemaJSONStringRequestValidationError is the validation error returned by GetSchemaJSONStringRequest.Validate if the designated constraints aren't met.
func (GetSchemaJSONStringRequestValidationError) Cause ¶ added in v1.32.1
func (e GetSchemaJSONStringRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSchemaJSONStringRequestValidationError) Error ¶ added in v1.32.1
func (e GetSchemaJSONStringRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSchemaJSONStringRequestValidationError) ErrorName ¶ added in v1.32.1
func (e GetSchemaJSONStringRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSchemaJSONStringRequestValidationError) Field ¶ added in v1.32.1
func (e GetSchemaJSONStringRequestValidationError) Field() string
Field function returns field value.
func (GetSchemaJSONStringRequestValidationError) Key ¶ added in v1.32.1
func (e GetSchemaJSONStringRequestValidationError) Key() bool
Key function returns key value.
func (GetSchemaJSONStringRequestValidationError) Reason ¶ added in v1.32.1
func (e GetSchemaJSONStringRequestValidationError) Reason() string
Reason function returns reason value.
type GetSchemaJSONStringResponse ¶ added in v1.14.0
type GetSchemaJSONStringResponse struct { Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` // contains filtered or unexported fields }
func (*GetSchemaJSONStringResponse) Descriptor
deprecated
added in
v1.14.0
func (*GetSchemaJSONStringResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaJSONStringResponse.ProtoReflect.Descriptor instead.
func (*GetSchemaJSONStringResponse) GetSchema ¶ added in v1.14.0
func (x *GetSchemaJSONStringResponse) GetSchema() string
func (*GetSchemaJSONStringResponse) ProtoMessage ¶ added in v1.14.0
func (*GetSchemaJSONStringResponse) ProtoMessage()
func (*GetSchemaJSONStringResponse) ProtoReflect ¶ added in v1.14.0
func (x *GetSchemaJSONStringResponse) ProtoReflect() protoreflect.Message
func (*GetSchemaJSONStringResponse) Reset ¶ added in v1.14.0
func (x *GetSchemaJSONStringResponse) Reset()
func (*GetSchemaJSONStringResponse) String ¶ added in v1.14.0
func (x *GetSchemaJSONStringResponse) String() string
func (*GetSchemaJSONStringResponse) Validate ¶ added in v1.32.1
func (m *GetSchemaJSONStringResponse) Validate() error
Validate checks the field values on GetSchemaJSONStringResponse 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 (*GetSchemaJSONStringResponse) ValidateAll ¶ added in v1.32.1
func (m *GetSchemaJSONStringResponse) ValidateAll() error
ValidateAll checks the field values on GetSchemaJSONStringResponse 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 GetSchemaJSONStringResponseMultiError, or nil if none found.
type GetSchemaJSONStringResponseMultiError ¶ added in v1.32.1
type GetSchemaJSONStringResponseMultiError []error
GetSchemaJSONStringResponseMultiError is an error wrapping multiple validation errors returned by GetSchemaJSONStringResponse.ValidateAll() if the designated constraints aren't met.
func (GetSchemaJSONStringResponseMultiError) AllErrors ¶ added in v1.32.1
func (m GetSchemaJSONStringResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSchemaJSONStringResponseMultiError) Error ¶ added in v1.32.1
func (m GetSchemaJSONStringResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSchemaJSONStringResponseValidationError ¶ added in v1.32.1
type GetSchemaJSONStringResponseValidationError struct {
// contains filtered or unexported fields
}
GetSchemaJSONStringResponseValidationError is the validation error returned by GetSchemaJSONStringResponse.Validate if the designated constraints aren't met.
func (GetSchemaJSONStringResponseValidationError) Cause ¶ added in v1.32.1
func (e GetSchemaJSONStringResponseValidationError) Cause() error
Cause function returns cause value.
func (GetSchemaJSONStringResponseValidationError) Error ¶ added in v1.32.1
func (e GetSchemaJSONStringResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetSchemaJSONStringResponseValidationError) ErrorName ¶ added in v1.32.1
func (e GetSchemaJSONStringResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetSchemaJSONStringResponseValidationError) Field ¶ added in v1.32.1
func (e GetSchemaJSONStringResponseValidationError) Field() string
Field function returns field value.
func (GetSchemaJSONStringResponseValidationError) Key ¶ added in v1.32.1
func (e GetSchemaJSONStringResponseValidationError) Key() bool
Key function returns key value.
func (GetSchemaJSONStringResponseValidationError) Reason ¶ added in v1.32.1
func (e GetSchemaJSONStringResponseValidationError) Reason() string
Reason function returns reason value.
type HealthCheckRequest ¶
type HealthCheckRequest struct {
// contains filtered or unexported fields
}
func (*HealthCheckRequest) Descriptor
deprecated
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect ¶
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) Reset ¶
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (x *HealthCheckRequest) String() string
func (*HealthCheckRequest) Validate ¶ added in v1.32.1
func (m *HealthCheckRequest) Validate() error
Validate checks the field values on HealthCheckRequest 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 (*HealthCheckRequest) ValidateAll ¶ added in v1.32.1
func (m *HealthCheckRequest) ValidateAll() error
ValidateAll checks the field values on HealthCheckRequest 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 HealthCheckRequestMultiError, or nil if none found.
type HealthCheckRequestMultiError ¶ added in v1.32.1
type HealthCheckRequestMultiError []error
HealthCheckRequestMultiError is an error wrapping multiple validation errors returned by HealthCheckRequest.ValidateAll() if the designated constraints aren't met.
func (HealthCheckRequestMultiError) AllErrors ¶ added in v1.32.1
func (m HealthCheckRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HealthCheckRequestMultiError) Error ¶ added in v1.32.1
func (m HealthCheckRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HealthCheckRequestValidationError ¶ added in v1.32.1
type HealthCheckRequestValidationError struct {
// contains filtered or unexported fields
}
HealthCheckRequestValidationError is the validation error returned by HealthCheckRequest.Validate if the designated constraints aren't met.
func (HealthCheckRequestValidationError) Cause ¶ added in v1.32.1
func (e HealthCheckRequestValidationError) Cause() error
Cause function returns cause value.
func (HealthCheckRequestValidationError) Error ¶ added in v1.32.1
func (e HealthCheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HealthCheckRequestValidationError) ErrorName ¶ added in v1.32.1
func (e HealthCheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HealthCheckRequestValidationError) Field ¶ added in v1.32.1
func (e HealthCheckRequestValidationError) Field() string
Field function returns field value.
func (HealthCheckRequestValidationError) Key ¶ added in v1.32.1
func (e HealthCheckRequestValidationError) Key() bool
Key function returns key value.
func (HealthCheckRequestValidationError) Reason ¶ added in v1.32.1
func (e HealthCheckRequestValidationError) Reason() string
Reason function returns reason value.
type HealthCheckResponse ¶
type HealthCheckResponse struct {
// contains filtered or unexported fields
}
func (*HealthCheckResponse) Descriptor
deprecated
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect ¶
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) Reset ¶
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (x *HealthCheckResponse) String() string
func (*HealthCheckResponse) Validate ¶ added in v1.32.1
func (m *HealthCheckResponse) Validate() error
Validate checks the field values on HealthCheckResponse 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 (*HealthCheckResponse) ValidateAll ¶ added in v1.32.1
func (m *HealthCheckResponse) ValidateAll() error
ValidateAll checks the field values on HealthCheckResponse 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 HealthCheckResponseMultiError, or nil if none found.
type HealthCheckResponseMultiError ¶ added in v1.32.1
type HealthCheckResponseMultiError []error
HealthCheckResponseMultiError is an error wrapping multiple validation errors returned by HealthCheckResponse.ValidateAll() if the designated constraints aren't met.
func (HealthCheckResponseMultiError) AllErrors ¶ added in v1.32.1
func (m HealthCheckResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HealthCheckResponseMultiError) Error ¶ added in v1.32.1
func (m HealthCheckResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HealthCheckResponseValidationError ¶ added in v1.32.1
type HealthCheckResponseValidationError struct {
// contains filtered or unexported fields
}
HealthCheckResponseValidationError is the validation error returned by HealthCheckResponse.Validate if the designated constraints aren't met.
func (HealthCheckResponseValidationError) Cause ¶ added in v1.32.1
func (e HealthCheckResponseValidationError) Cause() error
Cause function returns cause value.
func (HealthCheckResponseValidationError) Error ¶ added in v1.32.1
func (e HealthCheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (HealthCheckResponseValidationError) ErrorName ¶ added in v1.32.1
func (e HealthCheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (HealthCheckResponseValidationError) Field ¶ added in v1.32.1
func (e HealthCheckResponseValidationError) Field() string
Field function returns field value.
func (HealthCheckResponseValidationError) Key ¶ added in v1.32.1
func (e HealthCheckResponseValidationError) Key() bool
Key function returns key value.
func (HealthCheckResponseValidationError) Reason ¶ added in v1.32.1
func (e HealthCheckResponseValidationError) Reason() string
Reason function returns reason value.
type ListPolicySetsRequest ¶
type ListPolicySetsRequest struct { // The token for the next page. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListPolicySetsRequest) Descriptor
deprecated
func (*ListPolicySetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicySetsRequest.ProtoReflect.Descriptor instead.
func (*ListPolicySetsRequest) GetPageToken ¶
func (x *ListPolicySetsRequest) GetPageToken() string
func (*ListPolicySetsRequest) ProtoMessage ¶
func (*ListPolicySetsRequest) ProtoMessage()
func (*ListPolicySetsRequest) ProtoReflect ¶
func (x *ListPolicySetsRequest) ProtoReflect() protoreflect.Message
func (*ListPolicySetsRequest) Reset ¶
func (x *ListPolicySetsRequest) Reset()
func (*ListPolicySetsRequest) String ¶
func (x *ListPolicySetsRequest) String() string
func (*ListPolicySetsRequest) Validate ¶ added in v1.32.1
func (m *ListPolicySetsRequest) Validate() error
Validate checks the field values on ListPolicySetsRequest 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 (*ListPolicySetsRequest) ValidateAll ¶ added in v1.32.1
func (m *ListPolicySetsRequest) ValidateAll() error
ValidateAll checks the field values on ListPolicySetsRequest 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 ListPolicySetsRequestMultiError, or nil if none found.
type ListPolicySetsRequestMultiError ¶ added in v1.32.1
type ListPolicySetsRequestMultiError []error
ListPolicySetsRequestMultiError is an error wrapping multiple validation errors returned by ListPolicySetsRequest.ValidateAll() if the designated constraints aren't met.
func (ListPolicySetsRequestMultiError) AllErrors ¶ added in v1.32.1
func (m ListPolicySetsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListPolicySetsRequestMultiError) Error ¶ added in v1.32.1
func (m ListPolicySetsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListPolicySetsRequestValidationError ¶ added in v1.32.1
type ListPolicySetsRequestValidationError struct {
// contains filtered or unexported fields
}
ListPolicySetsRequestValidationError is the validation error returned by ListPolicySetsRequest.Validate if the designated constraints aren't met.
func (ListPolicySetsRequestValidationError) Cause ¶ added in v1.32.1
func (e ListPolicySetsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListPolicySetsRequestValidationError) Error ¶ added in v1.32.1
func (e ListPolicySetsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListPolicySetsRequestValidationError) ErrorName ¶ added in v1.32.1
func (e ListPolicySetsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListPolicySetsRequestValidationError) Field ¶ added in v1.32.1
func (e ListPolicySetsRequestValidationError) Field() string
Field function returns field value.
func (ListPolicySetsRequestValidationError) Key ¶ added in v1.32.1
func (e ListPolicySetsRequestValidationError) Key() bool
Key function returns key value.
func (ListPolicySetsRequestValidationError) Reason ¶ added in v1.32.1
func (e ListPolicySetsRequestValidationError) Reason() string
Reason function returns reason value.
type ListPolicySetsResponse ¶
type ListPolicySetsResponse struct { PolicySets []*PolicySet `protobuf:"bytes,1,rep,name=policy_sets,json=policySets,proto3" json:"policy_sets,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 (*ListPolicySetsResponse) Descriptor
deprecated
func (*ListPolicySetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicySetsResponse.ProtoReflect.Descriptor instead.
func (*ListPolicySetsResponse) GetNextPageToken ¶
func (x *ListPolicySetsResponse) GetNextPageToken() string
func (*ListPolicySetsResponse) GetPolicySets ¶
func (x *ListPolicySetsResponse) GetPolicySets() []*PolicySet
func (*ListPolicySetsResponse) ProtoMessage ¶
func (*ListPolicySetsResponse) ProtoMessage()
func (*ListPolicySetsResponse) ProtoReflect ¶
func (x *ListPolicySetsResponse) ProtoReflect() protoreflect.Message
func (*ListPolicySetsResponse) Reset ¶
func (x *ListPolicySetsResponse) Reset()
func (*ListPolicySetsResponse) String ¶
func (x *ListPolicySetsResponse) String() string
func (*ListPolicySetsResponse) Validate ¶ added in v1.32.1
func (m *ListPolicySetsResponse) Validate() error
Validate checks the field values on ListPolicySetsResponse 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 (*ListPolicySetsResponse) ValidateAll ¶ added in v1.32.1
func (m *ListPolicySetsResponse) ValidateAll() error
ValidateAll checks the field values on ListPolicySetsResponse 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 ListPolicySetsResponseMultiError, or nil if none found.
type ListPolicySetsResponseMultiError ¶ added in v1.32.1
type ListPolicySetsResponseMultiError []error
ListPolicySetsResponseMultiError is an error wrapping multiple validation errors returned by ListPolicySetsResponse.ValidateAll() if the designated constraints aren't met.
func (ListPolicySetsResponseMultiError) AllErrors ¶ added in v1.32.1
func (m ListPolicySetsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListPolicySetsResponseMultiError) Error ¶ added in v1.32.1
func (m ListPolicySetsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListPolicySetsResponseValidationError ¶ added in v1.32.1
type ListPolicySetsResponseValidationError struct {
// contains filtered or unexported fields
}
ListPolicySetsResponseValidationError is the validation error returned by ListPolicySetsResponse.Validate if the designated constraints aren't met.
func (ListPolicySetsResponseValidationError) Cause ¶ added in v1.32.1
func (e ListPolicySetsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListPolicySetsResponseValidationError) Error ¶ added in v1.32.1
func (e ListPolicySetsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListPolicySetsResponseValidationError) ErrorName ¶ added in v1.32.1
func (e ListPolicySetsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListPolicySetsResponseValidationError) Field ¶ added in v1.32.1
func (e ListPolicySetsResponseValidationError) Field() string
Field function returns field value.
func (ListPolicySetsResponseValidationError) Key ¶ added in v1.32.1
func (e ListPolicySetsResponseValidationError) Key() bool
Key function returns key value.
func (ListPolicySetsResponseValidationError) Reason ¶ added in v1.32.1
func (e ListPolicySetsResponseValidationError) Reason() string
Reason function returns reason value.
type Policy ¶
type Policy struct { // ID of the policy. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Cedar code for the policy set. Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*Policy) Descriptor
deprecated
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
func (*Policy) Validate ¶ added in v1.32.1
Validate checks the field values on Policy 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 (*Policy) ValidateAll ¶ added in v1.32.1
ValidateAll checks the field values on Policy 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 PolicyMultiError, or nil if none found.
type PolicyMultiError ¶ added in v1.32.1
type PolicyMultiError []error
PolicyMultiError is an error wrapping multiple validation errors returned by Policy.ValidateAll() if the designated constraints aren't met.
func (PolicyMultiError) AllErrors ¶ added in v1.32.1
func (m PolicyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyMultiError) Error ¶ added in v1.32.1
func (m PolicyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicySet ¶
type PolicySet struct { // ID of the policy set. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The policies contained in the policy set. Policies []*Policy `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"` // The source code for the policy set. Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*PolicySet) Descriptor
deprecated
func (*PolicySet) GetPolicies ¶
func (*PolicySet) ProtoMessage ¶
func (*PolicySet) ProtoMessage()
func (*PolicySet) ProtoReflect ¶
func (x *PolicySet) ProtoReflect() protoreflect.Message
func (*PolicySet) Validate ¶ added in v1.32.1
Validate checks the field values on PolicySet 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 (*PolicySet) ValidateAll ¶ added in v1.32.1
ValidateAll checks the field values on PolicySet 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 PolicySetMultiError, or nil if none found.
type PolicySetInput ¶
type PolicySetInput struct { // ID of the policy. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Cedar code for the policy set. Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*PolicySetInput) Descriptor
deprecated
func (*PolicySetInput) Descriptor() ([]byte, []int)
Deprecated: Use PolicySetInput.ProtoReflect.Descriptor instead.
func (*PolicySetInput) GetId ¶
func (x *PolicySetInput) GetId() string
func (*PolicySetInput) GetText ¶
func (x *PolicySetInput) GetText() string
func (*PolicySetInput) ProtoMessage ¶
func (*PolicySetInput) ProtoMessage()
func (*PolicySetInput) ProtoReflect ¶
func (x *PolicySetInput) ProtoReflect() protoreflect.Message
func (*PolicySetInput) Reset ¶
func (x *PolicySetInput) Reset()
func (*PolicySetInput) String ¶
func (x *PolicySetInput) String() string
func (*PolicySetInput) Validate ¶ added in v1.32.1
func (m *PolicySetInput) Validate() error
Validate checks the field values on PolicySetInput 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 (*PolicySetInput) ValidateAll ¶ added in v1.32.1
func (m *PolicySetInput) ValidateAll() error
ValidateAll checks the field values on PolicySetInput 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 PolicySetInputMultiError, or nil if none found.
type PolicySetInputMultiError ¶ added in v1.32.1
type PolicySetInputMultiError []error
PolicySetInputMultiError is an error wrapping multiple validation errors returned by PolicySetInput.ValidateAll() if the designated constraints aren't met.
func (PolicySetInputMultiError) AllErrors ¶ added in v1.32.1
func (m PolicySetInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicySetInputMultiError) Error ¶ added in v1.32.1
func (m PolicySetInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicySetInputValidationError ¶ added in v1.32.1
type PolicySetInputValidationError struct {
// contains filtered or unexported fields
}
PolicySetInputValidationError is the validation error returned by PolicySetInput.Validate if the designated constraints aren't met.
func (PolicySetInputValidationError) Cause ¶ added in v1.32.1
func (e PolicySetInputValidationError) Cause() error
Cause function returns cause value.
func (PolicySetInputValidationError) Error ¶ added in v1.32.1
func (e PolicySetInputValidationError) Error() string
Error satisfies the builtin error interface
func (PolicySetInputValidationError) ErrorName ¶ added in v1.32.1
func (e PolicySetInputValidationError) ErrorName() string
ErrorName returns error name.
func (PolicySetInputValidationError) Field ¶ added in v1.32.1
func (e PolicySetInputValidationError) Field() string
Field function returns field value.
func (PolicySetInputValidationError) Key ¶ added in v1.32.1
func (e PolicySetInputValidationError) Key() bool
Key function returns key value.
func (PolicySetInputValidationError) Reason ¶ added in v1.32.1
func (e PolicySetInputValidationError) Reason() string
Reason function returns reason value.
type PolicySetMultiError ¶ added in v1.32.1
type PolicySetMultiError []error
PolicySetMultiError is an error wrapping multiple validation errors returned by PolicySet.ValidateAll() if the designated constraints aren't met.
func (PolicySetMultiError) AllErrors ¶ added in v1.32.1
func (m PolicySetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicySetMultiError) Error ¶ added in v1.32.1
func (m PolicySetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicySetValidationError ¶ added in v1.32.1
type PolicySetValidationError struct {
// contains filtered or unexported fields
}
PolicySetValidationError is the validation error returned by PolicySet.Validate if the designated constraints aren't met.
func (PolicySetValidationError) Cause ¶ added in v1.32.1
func (e PolicySetValidationError) Cause() error
Cause function returns cause value.
func (PolicySetValidationError) Error ¶ added in v1.32.1
func (e PolicySetValidationError) Error() string
Error satisfies the builtin error interface
func (PolicySetValidationError) ErrorName ¶ added in v1.32.1
func (e PolicySetValidationError) ErrorName() string
ErrorName returns error name.
func (PolicySetValidationError) Field ¶ added in v1.32.1
func (e PolicySetValidationError) Field() string
Field function returns field value.
func (PolicySetValidationError) Key ¶ added in v1.32.1
func (e PolicySetValidationError) Key() bool
Key function returns key value.
func (PolicySetValidationError) Reason ¶ added in v1.32.1
func (e PolicySetValidationError) Reason() string
Reason function returns reason value.
type PolicyValidationError ¶ added in v1.32.1
type PolicyValidationError struct {
// contains filtered or unexported fields
}
PolicyValidationError is the validation error returned by Policy.Validate if the designated constraints aren't met.
func (PolicyValidationError) Cause ¶ added in v1.32.1
func (e PolicyValidationError) Cause() error
Cause function returns cause value.
func (PolicyValidationError) Error ¶ added in v1.32.1
func (e PolicyValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyValidationError) ErrorName ¶ added in v1.32.1
func (e PolicyValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyValidationError) Field ¶ added in v1.32.1
func (e PolicyValidationError) Field() string
Field function returns field value.
func (PolicyValidationError) Key ¶ added in v1.32.1
func (e PolicyValidationError) Key() bool
Key function returns key value.
func (PolicyValidationError) Reason ¶ added in v1.32.1
func (e PolicyValidationError) Reason() string
Reason function returns reason value.
type Request ¶
type Request struct { Principal *v1alpha1.EID `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"` Action *v1alpha1.EID `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` Resource *v1alpha1.EID `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` // A client side identifier for the authorization request. // The client_key will be included in the corresponding evaluation for the // particular request made. // // Useful when calling BatchAuthorize to match the evaluations with the requests. ClientKey string `protobuf:"bytes,4,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` // Entities to 'overlay' temporarily on the entities stored in the authz service. OverlayEntities []*v1alpha1.Entity `protobuf:"bytes,5,rep,name=overlay_entities,json=overlayEntities,proto3" json:"overlay_entities,omitempty"` // Parent/child relationships to 'overlay' temporarily on the entities stored in the authz service. OverlayChildren []*v1alpha1.ChildRelation `protobuf:"bytes,6,rep,name=overlay_children,json=overlayChildren,proto3" json:"overlay_children,omitempty"` // Tags associated with the authorization evaluation. // Common Fate uses this to add attributes like the Access Request ID // to the evaluation. // // Tags are *not* used to make authorization decisions but rather is used to aid in observability // and debugging of authorization decisions. Tags []*Tag `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetClientKey ¶
func (*Request) GetOverlayChildren ¶
func (x *Request) GetOverlayChildren() []*v1alpha1.ChildRelation
func (*Request) GetOverlayEntities ¶
func (*Request) GetPrincipal ¶
func (*Request) GetResource ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
func (*Request) Validate ¶ added in v1.32.1
Validate checks the field values on Request 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 (*Request) ValidateAll ¶ added in v1.32.1
ValidateAll checks the field values on Request 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 RequestMultiError, or nil if none found.
type RequestMultiError ¶ added in v1.32.1
type RequestMultiError []error
RequestMultiError is an error wrapping multiple validation errors returned by Request.ValidateAll() if the designated constraints aren't met.
func (RequestMultiError) AllErrors ¶ added in v1.32.1
func (m RequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestMultiError) Error ¶ added in v1.32.1
func (m RequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestValidationError ¶ added in v1.32.1
type RequestValidationError struct {
// contains filtered or unexported fields
}
RequestValidationError is the validation error returned by Request.Validate if the designated constraints aren't met.
func (RequestValidationError) Cause ¶ added in v1.32.1
func (e RequestValidationError) Cause() error
Cause function returns cause value.
func (RequestValidationError) Error ¶ added in v1.32.1
func (e RequestValidationError) Error() string
Error satisfies the builtin error interface
func (RequestValidationError) ErrorName ¶ added in v1.32.1
func (e RequestValidationError) ErrorName() string
ErrorName returns error name.
func (RequestValidationError) Field ¶ added in v1.32.1
func (e RequestValidationError) Field() string
Field function returns field value.
func (RequestValidationError) Key ¶ added in v1.32.1
func (e RequestValidationError) Key() bool
Key function returns key value.
func (RequestValidationError) Reason ¶ added in v1.32.1
func (e RequestValidationError) Reason() string
Reason function returns reason value.
type SourceRange ¶ added in v1.14.0
type SourceRange struct { Start uint32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End uint32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
The range in the policy definition which contains the error
func (*SourceRange) Descriptor
deprecated
added in
v1.14.0
func (*SourceRange) Descriptor() ([]byte, []int)
Deprecated: Use SourceRange.ProtoReflect.Descriptor instead.
func (*SourceRange) GetEnd ¶ added in v1.14.0
func (x *SourceRange) GetEnd() uint32
func (*SourceRange) GetStart ¶ added in v1.14.0
func (x *SourceRange) GetStart() uint32
func (*SourceRange) ProtoMessage ¶ added in v1.14.0
func (*SourceRange) ProtoMessage()
func (*SourceRange) ProtoReflect ¶ added in v1.14.0
func (x *SourceRange) ProtoReflect() protoreflect.Message
func (*SourceRange) Reset ¶ added in v1.14.0
func (x *SourceRange) Reset()
func (*SourceRange) String ¶ added in v1.14.0
func (x *SourceRange) String() string
func (*SourceRange) Validate ¶ added in v1.32.1
func (m *SourceRange) Validate() error
Validate checks the field values on SourceRange 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 (*SourceRange) ValidateAll ¶ added in v1.32.1
func (m *SourceRange) ValidateAll() error
ValidateAll checks the field values on SourceRange 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 SourceRangeMultiError, or nil if none found.
type SourceRangeMultiError ¶ added in v1.32.1
type SourceRangeMultiError []error
SourceRangeMultiError is an error wrapping multiple validation errors returned by SourceRange.ValidateAll() if the designated constraints aren't met.
func (SourceRangeMultiError) AllErrors ¶ added in v1.32.1
func (m SourceRangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceRangeMultiError) Error ¶ added in v1.32.1
func (m SourceRangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceRangeValidationError ¶ added in v1.32.1
type SourceRangeValidationError struct {
// contains filtered or unexported fields
}
SourceRangeValidationError is the validation error returned by SourceRange.Validate if the designated constraints aren't met.
func (SourceRangeValidationError) Cause ¶ added in v1.32.1
func (e SourceRangeValidationError) Cause() error
Cause function returns cause value.
func (SourceRangeValidationError) Error ¶ added in v1.32.1
func (e SourceRangeValidationError) Error() string
Error satisfies the builtin error interface
func (SourceRangeValidationError) ErrorName ¶ added in v1.32.1
func (e SourceRangeValidationError) ErrorName() string
ErrorName returns error name.
func (SourceRangeValidationError) Field ¶ added in v1.32.1
func (e SourceRangeValidationError) Field() string
Field function returns field value.
func (SourceRangeValidationError) Key ¶ added in v1.32.1
func (e SourceRangeValidationError) Key() bool
Key function returns key value.
func (SourceRangeValidationError) Reason ¶ added in v1.32.1
func (e SourceRangeValidationError) Reason() string
Reason function returns reason value.
type Tag ¶ added in v1.12.0
type Tag 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"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
added in
v1.12.0
func (*Tag) ProtoMessage ¶ added in v1.12.0
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶ added in v1.12.0
func (x *Tag) ProtoReflect() protoreflect.Message
func (*Tag) Validate ¶ added in v1.32.1
Validate checks the field values on Tag 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 (*Tag) ValidateAll ¶ added in v1.32.1
ValidateAll checks the field values on Tag 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 TagMultiError, or nil if none found.
type TagMultiError ¶ added in v1.32.1
type TagMultiError []error
TagMultiError is an error wrapping multiple validation errors returned by Tag.ValidateAll() if the designated constraints aren't met.
func (TagMultiError) AllErrors ¶ added in v1.32.1
func (m TagMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TagMultiError) Error ¶ added in v1.32.1
func (m TagMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TagValidationError ¶ added in v1.32.1
type TagValidationError struct {
// contains filtered or unexported fields
}
TagValidationError is the validation error returned by Tag.Validate if the designated constraints aren't met.
func (TagValidationError) Cause ¶ added in v1.32.1
func (e TagValidationError) Cause() error
Cause function returns cause value.
func (TagValidationError) Error ¶ added in v1.32.1
func (e TagValidationError) Error() string
Error satisfies the builtin error interface
func (TagValidationError) ErrorName ¶ added in v1.32.1
func (e TagValidationError) ErrorName() string
ErrorName returns error name.
func (TagValidationError) Field ¶ added in v1.32.1
func (e TagValidationError) Field() string
Field function returns field value.
func (TagValidationError) Key ¶ added in v1.32.1
func (e TagValidationError) Key() bool
Key function returns key value.
func (TagValidationError) Reason ¶ added in v1.32.1
func (e TagValidationError) Reason() string
Reason function returns reason value.
type UpdatePolicySetRequest ¶
type UpdatePolicySetRequest struct { PolicySet *PolicySetInput `protobuf:"bytes,1,opt,name=policy_set,json=policySet,proto3" json:"policy_set,omitempty"` // contains filtered or unexported fields }
func (*UpdatePolicySetRequest) Descriptor
deprecated
func (*UpdatePolicySetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePolicySetRequest.ProtoReflect.Descriptor instead.
func (*UpdatePolicySetRequest) GetPolicySet ¶
func (x *UpdatePolicySetRequest) GetPolicySet() *PolicySetInput
func (*UpdatePolicySetRequest) ProtoMessage ¶
func (*UpdatePolicySetRequest) ProtoMessage()
func (*UpdatePolicySetRequest) ProtoReflect ¶
func (x *UpdatePolicySetRequest) ProtoReflect() protoreflect.Message
func (*UpdatePolicySetRequest) Reset ¶
func (x *UpdatePolicySetRequest) Reset()
func (*UpdatePolicySetRequest) String ¶
func (x *UpdatePolicySetRequest) String() string
func (*UpdatePolicySetRequest) Validate ¶ added in v1.32.1
func (m *UpdatePolicySetRequest) Validate() error
Validate checks the field values on UpdatePolicySetRequest 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 (*UpdatePolicySetRequest) ValidateAll ¶ added in v1.32.1
func (m *UpdatePolicySetRequest) ValidateAll() error
ValidateAll checks the field values on UpdatePolicySetRequest 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 UpdatePolicySetRequestMultiError, or nil if none found.
type UpdatePolicySetRequestMultiError ¶ added in v1.32.1
type UpdatePolicySetRequestMultiError []error
UpdatePolicySetRequestMultiError is an error wrapping multiple validation errors returned by UpdatePolicySetRequest.ValidateAll() if the designated constraints aren't met.
func (UpdatePolicySetRequestMultiError) AllErrors ¶ added in v1.32.1
func (m UpdatePolicySetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePolicySetRequestMultiError) Error ¶ added in v1.32.1
func (m UpdatePolicySetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePolicySetRequestValidationError ¶ added in v1.32.1
type UpdatePolicySetRequestValidationError struct {
// contains filtered or unexported fields
}
UpdatePolicySetRequestValidationError is the validation error returned by UpdatePolicySetRequest.Validate if the designated constraints aren't met.
func (UpdatePolicySetRequestValidationError) Cause ¶ added in v1.32.1
func (e UpdatePolicySetRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdatePolicySetRequestValidationError) Error ¶ added in v1.32.1
func (e UpdatePolicySetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePolicySetRequestValidationError) ErrorName ¶ added in v1.32.1
func (e UpdatePolicySetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePolicySetRequestValidationError) Field ¶ added in v1.32.1
func (e UpdatePolicySetRequestValidationError) Field() string
Field function returns field value.
func (UpdatePolicySetRequestValidationError) Key ¶ added in v1.32.1
func (e UpdatePolicySetRequestValidationError) Key() bool
Key function returns key value.
func (UpdatePolicySetRequestValidationError) Reason ¶ added in v1.32.1
func (e UpdatePolicySetRequestValidationError) Reason() string
Reason function returns reason value.
type UpdatePolicySetResponse ¶
type UpdatePolicySetResponse struct { PolicySet *PolicySet `protobuf:"bytes,1,opt,name=policy_set,json=policySet,proto3" json:"policy_set,omitempty"` // contains filtered or unexported fields }
func (*UpdatePolicySetResponse) Descriptor
deprecated
func (*UpdatePolicySetResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePolicySetResponse.ProtoReflect.Descriptor instead.
func (*UpdatePolicySetResponse) GetPolicySet ¶
func (x *UpdatePolicySetResponse) GetPolicySet() *PolicySet
func (*UpdatePolicySetResponse) ProtoMessage ¶
func (*UpdatePolicySetResponse) ProtoMessage()
func (*UpdatePolicySetResponse) ProtoReflect ¶
func (x *UpdatePolicySetResponse) ProtoReflect() protoreflect.Message
func (*UpdatePolicySetResponse) Reset ¶
func (x *UpdatePolicySetResponse) Reset()
func (*UpdatePolicySetResponse) String ¶
func (x *UpdatePolicySetResponse) String() string
func (*UpdatePolicySetResponse) Validate ¶ added in v1.32.1
func (m *UpdatePolicySetResponse) Validate() error
Validate checks the field values on UpdatePolicySetResponse 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 (*UpdatePolicySetResponse) ValidateAll ¶ added in v1.32.1
func (m *UpdatePolicySetResponse) ValidateAll() error
ValidateAll checks the field values on UpdatePolicySetResponse 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 UpdatePolicySetResponseMultiError, or nil if none found.
type UpdatePolicySetResponseMultiError ¶ added in v1.32.1
type UpdatePolicySetResponseMultiError []error
UpdatePolicySetResponseMultiError is an error wrapping multiple validation errors returned by UpdatePolicySetResponse.ValidateAll() if the designated constraints aren't met.
func (UpdatePolicySetResponseMultiError) AllErrors ¶ added in v1.32.1
func (m UpdatePolicySetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePolicySetResponseMultiError) Error ¶ added in v1.32.1
func (m UpdatePolicySetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePolicySetResponseValidationError ¶ added in v1.32.1
type UpdatePolicySetResponseValidationError struct {
// contains filtered or unexported fields
}
UpdatePolicySetResponseValidationError is the validation error returned by UpdatePolicySetResponse.Validate if the designated constraints aren't met.
func (UpdatePolicySetResponseValidationError) Cause ¶ added in v1.32.1
func (e UpdatePolicySetResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdatePolicySetResponseValidationError) Error ¶ added in v1.32.1
func (e UpdatePolicySetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePolicySetResponseValidationError) ErrorName ¶ added in v1.32.1
func (e UpdatePolicySetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePolicySetResponseValidationError) Field ¶ added in v1.32.1
func (e UpdatePolicySetResponseValidationError) Field() string
Field function returns field value.
func (UpdatePolicySetResponseValidationError) Key ¶ added in v1.32.1
func (e UpdatePolicySetResponseValidationError) Key() bool
Key function returns key value.
func (UpdatePolicySetResponseValidationError) Reason ¶ added in v1.32.1
func (e UpdatePolicySetResponseValidationError) Reason() string
Reason function returns reason value.
type ValidatePolicySetTextRequest ¶ added in v1.14.0
type ValidatePolicySetTextRequest struct { PolicySetText string `protobuf:"bytes,1,opt,name=policy_set_text,json=policySetText,proto3" json:"policy_set_text,omitempty"` // contains filtered or unexported fields }
func (*ValidatePolicySetTextRequest) Descriptor
deprecated
added in
v1.14.0
func (*ValidatePolicySetTextRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatePolicySetTextRequest.ProtoReflect.Descriptor instead.
func (*ValidatePolicySetTextRequest) GetPolicySetText ¶ added in v1.14.0
func (x *ValidatePolicySetTextRequest) GetPolicySetText() string
func (*ValidatePolicySetTextRequest) ProtoMessage ¶ added in v1.14.0
func (*ValidatePolicySetTextRequest) ProtoMessage()
func (*ValidatePolicySetTextRequest) ProtoReflect ¶ added in v1.14.0
func (x *ValidatePolicySetTextRequest) ProtoReflect() protoreflect.Message
func (*ValidatePolicySetTextRequest) Reset ¶ added in v1.14.0
func (x *ValidatePolicySetTextRequest) Reset()
func (*ValidatePolicySetTextRequest) String ¶ added in v1.14.0
func (x *ValidatePolicySetTextRequest) String() string
func (*ValidatePolicySetTextRequest) Validate ¶ added in v1.32.1
func (m *ValidatePolicySetTextRequest) Validate() error
Validate checks the field values on ValidatePolicySetTextRequest 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 (*ValidatePolicySetTextRequest) ValidateAll ¶ added in v1.32.1
func (m *ValidatePolicySetTextRequest) ValidateAll() error
ValidateAll checks the field values on ValidatePolicySetTextRequest 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 ValidatePolicySetTextRequestMultiError, or nil if none found.
type ValidatePolicySetTextRequestMultiError ¶ added in v1.32.1
type ValidatePolicySetTextRequestMultiError []error
ValidatePolicySetTextRequestMultiError is an error wrapping multiple validation errors returned by ValidatePolicySetTextRequest.ValidateAll() if the designated constraints aren't met.
func (ValidatePolicySetTextRequestMultiError) AllErrors ¶ added in v1.32.1
func (m ValidatePolicySetTextRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidatePolicySetTextRequestMultiError) Error ¶ added in v1.32.1
func (m ValidatePolicySetTextRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidatePolicySetTextRequestValidationError ¶ added in v1.32.1
type ValidatePolicySetTextRequestValidationError struct {
// contains filtered or unexported fields
}
ValidatePolicySetTextRequestValidationError is the validation error returned by ValidatePolicySetTextRequest.Validate if the designated constraints aren't met.
func (ValidatePolicySetTextRequestValidationError) Cause ¶ added in v1.32.1
func (e ValidatePolicySetTextRequestValidationError) Cause() error
Cause function returns cause value.
func (ValidatePolicySetTextRequestValidationError) Error ¶ added in v1.32.1
func (e ValidatePolicySetTextRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ValidatePolicySetTextRequestValidationError) ErrorName ¶ added in v1.32.1
func (e ValidatePolicySetTextRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ValidatePolicySetTextRequestValidationError) Field ¶ added in v1.32.1
func (e ValidatePolicySetTextRequestValidationError) Field() string
Field function returns field value.
func (ValidatePolicySetTextRequestValidationError) Key ¶ added in v1.32.1
func (e ValidatePolicySetTextRequestValidationError) Key() bool
Key function returns key value.
func (ValidatePolicySetTextRequestValidationError) Reason ¶ added in v1.32.1
func (e ValidatePolicySetTextRequestValidationError) Reason() string
Reason function returns reason value.
type ValidatePolicySetTextResponse ¶ added in v1.14.0
type ValidatePolicySetTextResponse struct { Result *ValidationResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*ValidatePolicySetTextResponse) Descriptor
deprecated
added in
v1.14.0
func (*ValidatePolicySetTextResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidatePolicySetTextResponse.ProtoReflect.Descriptor instead.
func (*ValidatePolicySetTextResponse) GetResult ¶ added in v1.14.0
func (x *ValidatePolicySetTextResponse) GetResult() *ValidationResult
func (*ValidatePolicySetTextResponse) ProtoMessage ¶ added in v1.14.0
func (*ValidatePolicySetTextResponse) ProtoMessage()
func (*ValidatePolicySetTextResponse) ProtoReflect ¶ added in v1.14.0
func (x *ValidatePolicySetTextResponse) ProtoReflect() protoreflect.Message
func (*ValidatePolicySetTextResponse) Reset ¶ added in v1.14.0
func (x *ValidatePolicySetTextResponse) Reset()
func (*ValidatePolicySetTextResponse) String ¶ added in v1.14.0
func (x *ValidatePolicySetTextResponse) String() string
func (*ValidatePolicySetTextResponse) Validate ¶ added in v1.32.1
func (m *ValidatePolicySetTextResponse) Validate() error
Validate checks the field values on ValidatePolicySetTextResponse 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 (*ValidatePolicySetTextResponse) ValidateAll ¶ added in v1.32.1
func (m *ValidatePolicySetTextResponse) ValidateAll() error
ValidateAll checks the field values on ValidatePolicySetTextResponse 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 ValidatePolicySetTextResponseMultiError, or nil if none found.
type ValidatePolicySetTextResponseMultiError ¶ added in v1.32.1
type ValidatePolicySetTextResponseMultiError []error
ValidatePolicySetTextResponseMultiError is an error wrapping multiple validation errors returned by ValidatePolicySetTextResponse.ValidateAll() if the designated constraints aren't met.
func (ValidatePolicySetTextResponseMultiError) AllErrors ¶ added in v1.32.1
func (m ValidatePolicySetTextResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidatePolicySetTextResponseMultiError) Error ¶ added in v1.32.1
func (m ValidatePolicySetTextResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidatePolicySetTextResponseValidationError ¶ added in v1.32.1
type ValidatePolicySetTextResponseValidationError struct {
// contains filtered or unexported fields
}
ValidatePolicySetTextResponseValidationError is the validation error returned by ValidatePolicySetTextResponse.Validate if the designated constraints aren't met.
func (ValidatePolicySetTextResponseValidationError) Cause ¶ added in v1.32.1
func (e ValidatePolicySetTextResponseValidationError) Cause() error
Cause function returns cause value.
func (ValidatePolicySetTextResponseValidationError) Error ¶ added in v1.32.1
func (e ValidatePolicySetTextResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ValidatePolicySetTextResponseValidationError) ErrorName ¶ added in v1.32.1
func (e ValidatePolicySetTextResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ValidatePolicySetTextResponseValidationError) Field ¶ added in v1.32.1
func (e ValidatePolicySetTextResponseValidationError) Field() string
Field function returns field value.
func (ValidatePolicySetTextResponseValidationError) Key ¶ added in v1.32.1
func (e ValidatePolicySetTextResponseValidationError) Key() bool
Key function returns key value.
func (ValidatePolicySetTextResponseValidationError) Reason ¶ added in v1.32.1
func (e ValidatePolicySetTextResponseValidationError) Reason() string
Reason function returns reason value.
type ValidationError ¶ added in v1.14.0
type ValidationError struct { PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ValidationError) Descriptor
deprecated
added in
v1.14.0
func (*ValidationError) Descriptor() ([]byte, []int)
Deprecated: Use ValidationError.ProtoReflect.Descriptor instead.
func (*ValidationError) GetMessage ¶ added in v1.14.0
func (x *ValidationError) GetMessage() string
func (*ValidationError) GetPolicyId ¶ added in v1.14.0
func (x *ValidationError) GetPolicyId() string
func (*ValidationError) ProtoMessage ¶ added in v1.14.0
func (*ValidationError) ProtoMessage()
func (*ValidationError) ProtoReflect ¶ added in v1.14.0
func (x *ValidationError) ProtoReflect() protoreflect.Message
func (*ValidationError) Reset ¶ added in v1.14.0
func (x *ValidationError) Reset()
func (*ValidationError) String ¶ added in v1.14.0
func (x *ValidationError) String() string
func (*ValidationError) Validate ¶ added in v1.32.1
func (m *ValidationError) Validate() error
Validate checks the field values on ValidationError 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 (*ValidationError) ValidateAll ¶ added in v1.32.1
func (m *ValidationError) ValidateAll() error
ValidateAll checks the field values on ValidationError 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 ValidationErrorMultiError, or nil if none found.
type ValidationErrorKind ¶ added in v1.14.0
type ValidationErrorKind int32
const ( ValidationErrorKind_VALIDATION_ERROR_KIND_UNSPECIFIED ValidationErrorKind = 0 // A policy contains an entity type that is not declared in the schema. ValidationErrorKind_VALIDATION_ERROR_UNRECOGNIZED_ENTITY_TYPE ValidationErrorKind = 1 // A policy contains an action that is not declared in the schema. ValidationErrorKind_VALIDATION_ERROR_UNRECOGNIZED_ACTION_ID ValidationErrorKind = 2 // There is no action satisfying the action head constraint that can be // applied to a principal and resources that both satisfy their respective // head conditions. ValidationErrorKind_VALIDATION_ERROR_INVALID_ACTION_APPLICATION ValidationErrorKind = 3 // The type checker found an error. ValidationErrorKind_VALIDATION_ERROR_TYPE_ERROR ValidationErrorKind = 4 // An unspecified entity was used in a policy. ValidationErrorKind_VALIDATION_ERROR_UNSPECIFIED_ENTITY ValidationErrorKind = 5 )
func (ValidationErrorKind) Descriptor ¶ added in v1.14.0
func (ValidationErrorKind) Descriptor() protoreflect.EnumDescriptor
func (ValidationErrorKind) Enum ¶ added in v1.14.0
func (x ValidationErrorKind) Enum() *ValidationErrorKind
func (ValidationErrorKind) EnumDescriptor
deprecated
added in
v1.14.0
func (ValidationErrorKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ValidationErrorKind.Descriptor instead.
func (ValidationErrorKind) Number ¶ added in v1.14.0
func (x ValidationErrorKind) Number() protoreflect.EnumNumber
func (ValidationErrorKind) String ¶ added in v1.14.0
func (x ValidationErrorKind) String() string
func (ValidationErrorKind) Type ¶ added in v1.14.0
func (ValidationErrorKind) Type() protoreflect.EnumType
type ValidationErrorMultiError ¶ added in v1.32.1
type ValidationErrorMultiError []error
ValidationErrorMultiError is an error wrapping multiple validation errors returned by ValidationError.ValidateAll() if the designated constraints aren't met.
func (ValidationErrorMultiError) AllErrors ¶ added in v1.32.1
func (m ValidationErrorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidationErrorMultiError) Error ¶ added in v1.32.1
func (m ValidationErrorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidationErrorValidationError ¶ added in v1.32.1
type ValidationErrorValidationError struct {
// contains filtered or unexported fields
}
ValidationErrorValidationError is the validation error returned by ValidationError.Validate if the designated constraints aren't met.
func (ValidationErrorValidationError) Cause ¶ added in v1.32.1
func (e ValidationErrorValidationError) Cause() error
Cause function returns cause value.
func (ValidationErrorValidationError) Error ¶ added in v1.32.1
func (e ValidationErrorValidationError) Error() string
Error satisfies the builtin error interface
func (ValidationErrorValidationError) ErrorName ¶ added in v1.32.1
func (e ValidationErrorValidationError) ErrorName() string
ErrorName returns error name.
func (ValidationErrorValidationError) Field ¶ added in v1.32.1
func (e ValidationErrorValidationError) Field() string
Field function returns field value.
func (ValidationErrorValidationError) Key ¶ added in v1.32.1
func (e ValidationErrorValidationError) Key() bool
Key function returns key value.
func (ValidationErrorValidationError) Reason ¶ added in v1.32.1
func (e ValidationErrorValidationError) Reason() string
Reason function returns reason value.
type ValidationResult ¶ added in v1.14.0
type ValidationResult struct { Errors []*ValidationError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` Warnings []*ValidationWarning `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"` // contains filtered or unexported fields }
func (*ValidationResult) Descriptor
deprecated
added in
v1.14.0
func (*ValidationResult) Descriptor() ([]byte, []int)
Deprecated: Use ValidationResult.ProtoReflect.Descriptor instead.
func (*ValidationResult) GetErrors ¶ added in v1.14.0
func (x *ValidationResult) GetErrors() []*ValidationError
func (*ValidationResult) GetWarnings ¶ added in v1.14.0
func (x *ValidationResult) GetWarnings() []*ValidationWarning
func (*ValidationResult) ProtoMessage ¶ added in v1.14.0
func (*ValidationResult) ProtoMessage()
func (*ValidationResult) ProtoReflect ¶ added in v1.14.0
func (x *ValidationResult) ProtoReflect() protoreflect.Message
func (*ValidationResult) Reset ¶ added in v1.14.0
func (x *ValidationResult) Reset()
func (*ValidationResult) String ¶ added in v1.14.0
func (x *ValidationResult) String() string
func (*ValidationResult) Validate ¶ added in v1.32.1
func (m *ValidationResult) Validate() error
Validate checks the field values on ValidationResult 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 (*ValidationResult) ValidateAll ¶ added in v1.32.1
func (m *ValidationResult) ValidateAll() error
ValidateAll checks the field values on ValidationResult 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 ValidationResultMultiError, or nil if none found.
type ValidationResultMultiError ¶ added in v1.32.1
type ValidationResultMultiError []error
ValidationResultMultiError is an error wrapping multiple validation errors returned by ValidationResult.ValidateAll() if the designated constraints aren't met.
func (ValidationResultMultiError) AllErrors ¶ added in v1.32.1
func (m ValidationResultMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidationResultMultiError) Error ¶ added in v1.32.1
func (m ValidationResultMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidationResultValidationError ¶ added in v1.32.1
type ValidationResultValidationError struct {
// contains filtered or unexported fields
}
ValidationResultValidationError is the validation error returned by ValidationResult.Validate if the designated constraints aren't met.
func (ValidationResultValidationError) Cause ¶ added in v1.32.1
func (e ValidationResultValidationError) Cause() error
Cause function returns cause value.
func (ValidationResultValidationError) Error ¶ added in v1.32.1
func (e ValidationResultValidationError) Error() string
Error satisfies the builtin error interface
func (ValidationResultValidationError) ErrorName ¶ added in v1.32.1
func (e ValidationResultValidationError) ErrorName() string
ErrorName returns error name.
func (ValidationResultValidationError) Field ¶ added in v1.32.1
func (e ValidationResultValidationError) Field() string
Field function returns field value.
func (ValidationResultValidationError) Key ¶ added in v1.32.1
func (e ValidationResultValidationError) Key() bool
Key function returns key value.
func (ValidationResultValidationError) Reason ¶ added in v1.32.1
func (e ValidationResultValidationError) Reason() string
Reason function returns reason value.
type ValidationWarning ¶ added in v1.14.0
type ValidationWarning struct { PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ValidationWarning) Descriptor
deprecated
added in
v1.14.0
func (*ValidationWarning) Descriptor() ([]byte, []int)
Deprecated: Use ValidationWarning.ProtoReflect.Descriptor instead.
func (*ValidationWarning) GetMessage ¶ added in v1.14.0
func (x *ValidationWarning) GetMessage() string
func (*ValidationWarning) GetPolicyId ¶ added in v1.14.0
func (x *ValidationWarning) GetPolicyId() string
func (*ValidationWarning) ProtoMessage ¶ added in v1.14.0
func (*ValidationWarning) ProtoMessage()
func (*ValidationWarning) ProtoReflect ¶ added in v1.14.0
func (x *ValidationWarning) ProtoReflect() protoreflect.Message
func (*ValidationWarning) Reset ¶ added in v1.14.0
func (x *ValidationWarning) Reset()
func (*ValidationWarning) String ¶ added in v1.14.0
func (x *ValidationWarning) String() string
func (*ValidationWarning) Validate ¶ added in v1.32.1
func (m *ValidationWarning) Validate() error
Validate checks the field values on ValidationWarning 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 (*ValidationWarning) ValidateAll ¶ added in v1.32.1
func (m *ValidationWarning) ValidateAll() error
ValidateAll checks the field values on ValidationWarning 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 ValidationWarningMultiError, or nil if none found.
type ValidationWarningKind ¶ added in v1.14.0
type ValidationWarningKind int32
const ( ValidationWarningKind_VALIDATION_WARNING_KIND_UNSPECIFIED ValidationWarningKind = 0 // A string contains mixed scripts. Different scripts can contain visually similar characters which may be confused for each other. ValidationWarningKind_VALIDATION_WARNING_MIXED_SCRIPT_STRING ValidationWarningKind = 1 // A string contains BIDI control characters. These can be used to create crafted pieces of code that obfuscate true control flow. ValidationWarningKind_VALIDATION_WARNING_BIDI_CHARS_IN_STRING ValidationWarningKind = 2 // An id contains BIDI control characters. These can be used to create crafted pieces of code that obfuscate true control flow. ValidationWarningKind_VALIDATION_WARNING_BIDI_CHARS_IN_IDENTIFIER ValidationWarningKind = 3 // An id contains mixed scripts. This can cause characters to be confused for each other. ValidationWarningKind_VALIDATION_WARNING_MIXED_SCRIPT_IDENTIFIER ValidationWarningKind = 4 // An id contains characters that fall outside of the General Security Profile for Identifiers. We recommend adhering to this if possible. See Unicode® Technical Standard #39 for more info. ValidationWarningKind_VALIDATION_WARNING_CONFUSABLE_IDENTIFIER ValidationWarningKind = 5 // An entity referenced in a policy does not exist. ValidationWarningKind_VALIDATION_WARNING_ENTITY_DOES_NOT_EXIST ValidationWarningKind = 6 )
func (ValidationWarningKind) Descriptor ¶ added in v1.14.0
func (ValidationWarningKind) Descriptor() protoreflect.EnumDescriptor
func (ValidationWarningKind) Enum ¶ added in v1.14.0
func (x ValidationWarningKind) Enum() *ValidationWarningKind
func (ValidationWarningKind) EnumDescriptor
deprecated
added in
v1.14.0
func (ValidationWarningKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ValidationWarningKind.Descriptor instead.
func (ValidationWarningKind) Number ¶ added in v1.14.0
func (x ValidationWarningKind) Number() protoreflect.EnumNumber
func (ValidationWarningKind) String ¶ added in v1.14.0
func (x ValidationWarningKind) String() string
func (ValidationWarningKind) Type ¶ added in v1.14.0
func (ValidationWarningKind) Type() protoreflect.EnumType
type ValidationWarningMultiError ¶ added in v1.32.1
type ValidationWarningMultiError []error
ValidationWarningMultiError is an error wrapping multiple validation errors returned by ValidationWarning.ValidateAll() if the designated constraints aren't met.
func (ValidationWarningMultiError) AllErrors ¶ added in v1.32.1
func (m ValidationWarningMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidationWarningMultiError) Error ¶ added in v1.32.1
func (m ValidationWarningMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidationWarningValidationError ¶ added in v1.32.1
type ValidationWarningValidationError struct {
// contains filtered or unexported fields
}
ValidationWarningValidationError is the validation error returned by ValidationWarning.Validate if the designated constraints aren't met.
func (ValidationWarningValidationError) Cause ¶ added in v1.32.1
func (e ValidationWarningValidationError) Cause() error
Cause function returns cause value.
func (ValidationWarningValidationError) Error ¶ added in v1.32.1
func (e ValidationWarningValidationError) Error() string
Error satisfies the builtin error interface
func (ValidationWarningValidationError) ErrorName ¶ added in v1.32.1
func (e ValidationWarningValidationError) ErrorName() string
ErrorName returns error name.
func (ValidationWarningValidationError) Field ¶ added in v1.32.1
func (e ValidationWarningValidationError) Field() string
Field function returns field value.
func (ValidationWarningValidationError) Key ¶ added in v1.32.1
func (e ValidationWarningValidationError) Key() bool
Key function returns key value.
func (ValidationWarningValidationError) Reason ¶ added in v1.32.1
func (e ValidationWarningValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
- authz.pb.go
- authz.pb.validate.go
- evaluation.pb.go
- evaluation.pb.validate.go
- health.pb.go
- health.pb.validate.go
- policy.pb.go
- policy.pb.validate.go
- read_only.pb.go
- read_only.pb.validate.go
- request.pb.go
- request.pb.validate.go
- schema.pb.go
- schema.pb.validate.go
- validation.pb.go
- validation.pb.validate.go