authzv1alpha1

package
v1.67.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	// optional commonfate.authz.v1alpha1.ActionOptions action_options = 50002;
	E_ActionOptions = &file_commonfate_authz_v1alpha1_action_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// e.g CF::Authz::PolicyService
	//
	// optional string namespace = 50001;
	E_Namespace = &file_commonfate_authz_v1alpha1_action_proto_extTypes[1]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
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.

View Source
var File_commonfate_authz_v1alpha1_action_proto protoreflect.FileDescriptor
View Source
var File_commonfate_authz_v1alpha1_authz_proto protoreflect.FileDescriptor
View Source
var File_commonfate_authz_v1alpha1_evaluation_proto protoreflect.FileDescriptor
View Source
var File_commonfate_authz_v1alpha1_health_proto protoreflect.FileDescriptor
View Source
var File_commonfate_authz_v1alpha1_policy_proto protoreflect.FileDescriptor
View Source
var File_commonfate_authz_v1alpha1_read_only_proto protoreflect.FileDescriptor
View Source
var File_commonfate_authz_v1alpha1_request_proto protoreflect.FileDescriptor
View Source
var File_commonfate_authz_v1alpha1_schema_proto protoreflect.FileDescriptor
View Source
var File_commonfate_authz_v1alpha1_validation_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Action added in v1.61.0

type Action struct {

	// excludes the ::Action suffix
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Id        string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Action) Descriptor deprecated added in v1.61.0

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

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetId added in v1.61.0

func (x *Action) GetId() string

func (*Action) GetNamespace added in v1.61.0

func (x *Action) GetNamespace() string

func (*Action) ProtoMessage added in v1.61.0

func (*Action) ProtoMessage()

func (*Action) ProtoReflect added in v1.61.0

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

func (*Action) Reset added in v1.61.0

func (x *Action) Reset()

func (*Action) String added in v1.61.0

func (x *Action) String() string

func (*Action) Validate added in v1.61.0

func (m *Action) Validate() error

Validate checks the field values on Action 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 (*Action) ValidateAll added in v1.61.0

func (m *Action) ValidateAll() error

ValidateAll checks the field values on Action 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 ActionMultiError, or nil if none found.

type ActionMultiError added in v1.61.0

type ActionMultiError []error

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

func (ActionMultiError) AllErrors added in v1.61.0

func (m ActionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ActionMultiError) Error added in v1.61.0

func (m ActionMultiError) Error() string

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

type ActionOptions added in v1.61.0

type ActionOptions struct {

	// The Action mapping for the RPC e.g "ListPolicySets" the namespace is inferred from the service
	// By setting an ID here instead of inferring it means we can change the names of services without breaking the authorization
	// where no id is provided, a default will be inferred from the RPC name
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Denotes the particular RPC as being read-only.
	// This applies a tag during authorization for our authorization audit log.
	// read_only RPCs will be automatically grouped into a read action grouping for the service and into a broad admin read action group.
	ReadOnly bool `protobuf:"varint,2,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	// Group tags for categorizing RPC operations (e.g., CF::Authz::PolicyService::Action::"Read") can be used to group all read actions for a service.
	ActionGroups []*Action `protobuf:"bytes,3,rep,name=action_groups,json=actionGroups,proto3" json:"action_groups,omitempty"`
	// In some cases you may need to override the service namespace for an action
	ServiceNamespace *string `protobuf:"bytes,4,opt,name=service_namespace,json=serviceNamespace,proto3,oneof" json:"service_namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionOptions) Descriptor deprecated added in v1.61.0

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

Deprecated: Use ActionOptions.ProtoReflect.Descriptor instead.

func (*ActionOptions) GetActionGroups added in v1.61.0

func (x *ActionOptions) GetActionGroups() []*Action

func (*ActionOptions) GetId added in v1.61.0

func (x *ActionOptions) GetId() string

func (*ActionOptions) GetReadOnly added in v1.61.0

func (x *ActionOptions) GetReadOnly() bool

func (*ActionOptions) GetServiceNamespace added in v1.61.0

func (x *ActionOptions) GetServiceNamespace() string

func (*ActionOptions) ProtoMessage added in v1.61.0

func (*ActionOptions) ProtoMessage()

func (*ActionOptions) ProtoReflect added in v1.61.0

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

func (*ActionOptions) Reset added in v1.61.0

func (x *ActionOptions) Reset()

func (*ActionOptions) String added in v1.61.0

func (x *ActionOptions) String() string

func (*ActionOptions) Validate added in v1.61.0

func (m *ActionOptions) Validate() error

Validate checks the field values on ActionOptions 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 (*ActionOptions) ValidateAll added in v1.61.0

func (m *ActionOptions) ValidateAll() error

ValidateAll checks the field values on ActionOptions 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 ActionOptionsMultiError, or nil if none found.

type ActionOptionsMultiError added in v1.61.0

type ActionOptionsMultiError []error

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

func (ActionOptionsMultiError) AllErrors added in v1.61.0

func (m ActionOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ActionOptionsMultiError) Error added in v1.61.0

func (m ActionOptionsMultiError) Error() string

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

type ActionOptionsValidationError added in v1.61.0

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

ActionOptionsValidationError is the validation error returned by ActionOptions.Validate if the designated constraints aren't met.

func (ActionOptionsValidationError) Cause added in v1.61.0

Cause function returns cause value.

func (ActionOptionsValidationError) Error added in v1.61.0

Error satisfies the builtin error interface

func (ActionOptionsValidationError) ErrorName added in v1.61.0

func (e ActionOptionsValidationError) ErrorName() string

ErrorName returns error name.

func (ActionOptionsValidationError) Field added in v1.61.0

Field function returns field value.

func (ActionOptionsValidationError) Key added in v1.61.0

Key function returns key value.

func (ActionOptionsValidationError) Reason added in v1.61.0

Reason function returns reason value.

type ActionValidationError added in v1.61.0

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

ActionValidationError is the validation error returned by Action.Validate if the designated constraints aren't met.

func (ActionValidationError) Cause added in v1.61.0

func (e ActionValidationError) Cause() error

Cause function returns cause value.

func (ActionValidationError) Error added in v1.61.0

func (e ActionValidationError) Error() string

Error satisfies the builtin error interface

func (ActionValidationError) ErrorName added in v1.61.0

func (e ActionValidationError) ErrorName() string

ErrorName returns error name.

func (ActionValidationError) Field added in v1.61.0

func (e ActionValidationError) Field() string

Field function returns field value.

func (ActionValidationError) Key added in v1.61.0

func (e ActionValidationError) Key() bool

Key function returns key value.

func (ActionValidationError) Reason added in v1.61.0

func (e ActionValidationError) Reason() string

Reason function returns reason value.

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

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

Field function returns field value.

func (AnnotationValidationError) Key added in v1.32.1

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

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

Cause function returns cause value.

func (BatchAuthorizeRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (BatchAuthorizeRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (BatchAuthorizeRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (BatchAuthorizeRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (BatchAuthorizeRequestValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (BatchAuthorizeResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (BatchAuthorizeResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (BatchAuthorizeResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (BatchAuthorizeResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (BatchAuthorizeResponseValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (CreatePolicySetRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (CreatePolicySetRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (CreatePolicySetRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (CreatePolicySetRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (CreatePolicySetRequestValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (CreatePolicySetResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (CreatePolicySetResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (CreatePolicySetResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (CreatePolicySetResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (CreatePolicySetResponseValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (DebugEvaluationValidationError) Error added in v1.32.1

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

Field function returns field value.

func (DebugEvaluationValidationError) Key added in v1.32.1

Key function returns key value.

func (DebugEvaluationValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (DebugInformationValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (DebugInformationValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (DebugInformationValidationError) Field added in v1.32.1

Field function returns field value.

func (DebugInformationValidationError) Key added in v1.32.1

Key function returns key value.

func (DebugInformationValidationError) Reason added in v1.32.1

Reason function returns reason value.

type Decision

type Decision int32
const (
	Decision_DECISION_UNSPECIFIED Decision = 0
	// Access is allowed.
	Decision_DECISION_ALLOW Decision = 2
	// Access is denied.
	Decision_DECISION_DENY Decision = 4
)

func (Decision) Descriptor

func (Decision) Descriptor() protoreflect.EnumDescriptor

func (Decision) Enum

func (x Decision) Enum() *Decision

func (Decision) EnumDescriptor deprecated

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

Deprecated: Use Decision.Descriptor instead.

func (Decision) Number

func (x Decision) Number() protoreflect.EnumNumber

func (Decision) String

func (x Decision) String() string

func (Decision) Type

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

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

Cause function returns cause value.

func (DeletePolicySetRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (DeletePolicySetRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (DeletePolicySetRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (DeletePolicySetRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (DeletePolicySetRequestValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (DeletePolicySetResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (DeletePolicySetResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (DeletePolicySetResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (DeletePolicySetResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (DeletePolicySetResponseValidationError) Reason added in v1.32.1

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

Cause function returns cause value.

func (DiagnosticsValidationError) Error added in v1.32.1

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

Field function returns field value.

func (DiagnosticsValidationError) Key added in v1.32.1

Key function returns key value.

func (DiagnosticsValidationError) Reason added in v1.32.1

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

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

Field function returns field value.

func (EvaluationValidationError) Key added in v1.32.1

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

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

Cause function returns cause value.

func (GetPolicySetRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetPolicySetRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetPolicySetRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (GetPolicySetRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (GetPolicySetRequestValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (GetPolicySetResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetPolicySetResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetPolicySetResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (GetPolicySetResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (GetPolicySetResponseValidationError) Reason added in v1.32.1

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

AllErrors returns a list of validation violation errors.

func (GetSchemaJSONStringRequestMultiError) Error added in v1.32.1

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

Cause function returns cause value.

func (GetSchemaJSONStringRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetSchemaJSONStringRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetSchemaJSONStringRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (GetSchemaJSONStringRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (GetSchemaJSONStringRequestValidationError) Reason added in v1.32.1

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

AllErrors returns a list of validation violation errors.

func (GetSchemaJSONStringResponseMultiError) Error added in v1.32.1

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

Cause function returns cause value.

func (GetSchemaJSONStringResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (GetSchemaJSONStringResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (GetSchemaJSONStringResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (GetSchemaJSONStringResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (GetSchemaJSONStringResponseValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (HealthCheckRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (HealthCheckRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (HealthCheckRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (HealthCheckRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (HealthCheckRequestValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (HealthCheckResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (HealthCheckResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (HealthCheckResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (HealthCheckResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (HealthCheckResponseValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (ListPolicySetsRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ListPolicySetsRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ListPolicySetsRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (ListPolicySetsRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (ListPolicySetsRequestValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (ListPolicySetsResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ListPolicySetsResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ListPolicySetsResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (ListPolicySetsResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (ListPolicySetsResponseValidationError) Reason added in v1.32.1

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetId

func (x *Policy) GetId() string

func (*Policy) GetText

func (x *Policy) GetText() string

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

func (*Policy) Validate added in v1.32.1

func (m *Policy) Validate() error

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

func (m *Policy) ValidateAll() error

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

Deprecated: Use PolicySet.ProtoReflect.Descriptor instead.

func (*PolicySet) GetId

func (x *PolicySet) GetId() string

func (*PolicySet) GetPolicies

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

func (*PolicySet) GetText

func (x *PolicySet) GetText() string

func (*PolicySet) ProtoMessage

func (*PolicySet) ProtoMessage()

func (*PolicySet) ProtoReflect

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

func (*PolicySet) Reset

func (x *PolicySet) Reset()

func (*PolicySet) String

func (x *PolicySet) String() string

func (*PolicySet) Validate added in v1.32.1

func (m *PolicySet) Validate() error

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

func (m *PolicySet) ValidateAll() error

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

Cause function returns cause value.

func (PolicySetInputValidationError) Error added in v1.32.1

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

Field function returns field value.

func (PolicySetInputValidationError) Key added in v1.32.1

Key function returns key value.

func (PolicySetInputValidationError) Reason added in v1.32.1

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

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetAction

func (x *Request) GetAction() *v1alpha1.EID

func (*Request) GetClientKey

func (x *Request) GetClientKey() string

func (*Request) GetOverlayChildren

func (x *Request) GetOverlayChildren() []*v1alpha1.ChildRelation

func (*Request) GetOverlayEntities

func (x *Request) GetOverlayEntities() []*v1alpha1.Entity

func (*Request) GetPrincipal

func (x *Request) GetPrincipal() *v1alpha1.EID

func (*Request) GetResource

func (x *Request) GetResource() *v1alpha1.EID

func (*Request) GetTags added in v1.12.0

func (x *Request) GetTags() []*Tag

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

func (*Request) Validate added in v1.32.1

func (m *Request) Validate() error

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

func (m *Request) ValidateAll() error

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

Cause function returns cause value.

func (SourceRangeValidationError) Error added in v1.32.1

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

Field function returns field value.

func (SourceRangeValidationError) Key added in v1.32.1

Key function returns key value.

func (SourceRangeValidationError) Reason added in v1.32.1

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetKey added in v1.12.0

func (x *Tag) GetKey() string

func (*Tag) GetValue added in v1.12.0

func (x *Tag) GetValue() string

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) Reset added in v1.12.0

func (x *Tag) Reset()

func (*Tag) String added in v1.12.0

func (x *Tag) String() string

func (*Tag) Validate added in v1.32.1

func (m *Tag) Validate() error

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

func (m *Tag) ValidateAll() error

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

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

Cause function returns cause value.

func (UpdatePolicySetRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (UpdatePolicySetRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (UpdatePolicySetRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (UpdatePolicySetRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (UpdatePolicySetRequestValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (UpdatePolicySetResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (UpdatePolicySetResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (UpdatePolicySetResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (UpdatePolicySetResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (UpdatePolicySetResponseValidationError) Reason added in v1.32.1

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 (*ValidatePolicySetTextRequest) Reset added in v1.14.0

func (x *ValidatePolicySetTextRequest) Reset()

func (*ValidatePolicySetTextRequest) String added in v1.14.0

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

AllErrors returns a list of validation violation errors.

func (ValidatePolicySetTextRequestMultiError) Error added in v1.32.1

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

Cause function returns cause value.

func (ValidatePolicySetTextRequestValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ValidatePolicySetTextRequestValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ValidatePolicySetTextRequestValidationError) Field added in v1.32.1

Field function returns field value.

func (ValidatePolicySetTextRequestValidationError) Key added in v1.32.1

Key function returns key value.

func (ValidatePolicySetTextRequestValidationError) Reason added in v1.32.1

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 (*ValidatePolicySetTextResponse) ProtoMessage added in v1.14.0

func (*ValidatePolicySetTextResponse) ProtoMessage()

func (*ValidatePolicySetTextResponse) ProtoReflect added in v1.14.0

func (*ValidatePolicySetTextResponse) Reset added in v1.14.0

func (x *ValidatePolicySetTextResponse) Reset()

func (*ValidatePolicySetTextResponse) String added in v1.14.0

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

AllErrors returns a list of validation violation errors.

func (ValidatePolicySetTextResponseMultiError) Error added in v1.32.1

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

Cause function returns cause value.

func (ValidatePolicySetTextResponseValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ValidatePolicySetTextResponseValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ValidatePolicySetTextResponseValidationError) Field added in v1.32.1

Field function returns field value.

func (ValidatePolicySetTextResponseValidationError) Key added in v1.32.1

Key function returns key value.

func (ValidatePolicySetTextResponseValidationError) Reason added in v1.32.1

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) Enum added in v1.14.0

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 (ValidationErrorKind) String added in v1.14.0

func (x ValidationErrorKind) String() string

func (ValidationErrorKind) Type added in v1.14.0

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

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

Cause function returns cause value.

func (ValidationErrorValidationError) Error added in v1.32.1

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

Field function returns field value.

func (ValidationErrorValidationError) Key added in v1.32.1

Key function returns key value.

func (ValidationErrorValidationError) Reason added in v1.32.1

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

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

Cause function returns cause value.

func (ValidationResultValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ValidationResultValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ValidationResultValidationError) Field added in v1.32.1

Field function returns field value.

func (ValidationResultValidationError) Key added in v1.32.1

Key function returns key value.

func (ValidationResultValidationError) Reason added in v1.32.1

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) Enum added in v1.14.0

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 (ValidationWarningKind) String added in v1.14.0

func (x ValidationWarningKind) String() string

func (ValidationWarningKind) Type added in v1.14.0

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

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

Cause function returns cause value.

func (ValidationWarningValidationError) Error added in v1.32.1

Error satisfies the builtin error interface

func (ValidationWarningValidationError) ErrorName added in v1.32.1

ErrorName returns error name.

func (ValidationWarningValidationError) Field added in v1.32.1

Field function returns field value.

func (ValidationWarningValidationError) Key added in v1.32.1

Key function returns key value.

func (ValidationWarningValidationError) Reason added in v1.32.1

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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