enginev1

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 23 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PlanResourcesAst_LogicalOperation_Operator_name = map[int32]string{
		0: "OPERATOR_UNSPECIFIED",
		1: "OPERATOR_AND",
		2: "OPERATOR_OR",
		3: "OPERATOR_NOT",
	}
	PlanResourcesAst_LogicalOperation_Operator_value = map[string]int32{
		"OPERATOR_UNSPECIFIED": 0,
		"OPERATOR_AND":         1,
		"OPERATOR_OR":          2,
		"OPERATOR_NOT":         3,
	}
)

Enum value maps for PlanResourcesAst_LogicalOperation_Operator.

View Source
var (
	PlanResourcesFilter_Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "KIND_ALWAYS_ALLOWED",
		2: "KIND_ALWAYS_DENIED",
		3: "KIND_CONDITIONAL",
	}
	PlanResourcesFilter_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED":    0,
		"KIND_ALWAYS_ALLOWED": 1,
		"KIND_ALWAYS_DENIED":  2,
		"KIND_CONDITIONAL":    3,
	}
)

Enum value maps for PlanResourcesFilter_Kind.

View Source
var (
	Trace_Component_Kind_name = map[int32]string{
		0:  "KIND_UNSPECIFIED",
		1:  "KIND_ACTION",
		2:  "KIND_CONDITION_ALL",
		3:  "KIND_CONDITION_ANY",
		4:  "KIND_CONDITION_NONE",
		5:  "KIND_CONDITION",
		6:  "KIND_DERIVED_ROLE",
		7:  "KIND_EXPR",
		8:  "KIND_POLICY",
		9:  "KIND_RESOURCE",
		10: "KIND_RULE",
		11: "KIND_SCOPE",
		12: "KIND_VARIABLE",
		13: "KIND_VARIABLES",
		14: "KIND_OUTPUT",
	}
	Trace_Component_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED":    0,
		"KIND_ACTION":         1,
		"KIND_CONDITION_ALL":  2,
		"KIND_CONDITION_ANY":  3,
		"KIND_CONDITION_NONE": 4,
		"KIND_CONDITION":      5,
		"KIND_DERIVED_ROLE":   6,
		"KIND_EXPR":           7,
		"KIND_POLICY":         8,
		"KIND_RESOURCE":       9,
		"KIND_RULE":           10,
		"KIND_SCOPE":          11,
		"KIND_VARIABLE":       12,
		"KIND_VARIABLES":      13,
		"KIND_OUTPUT":         14,
	}
)

Enum value maps for Trace_Component_Kind.

View Source
var (
	Trace_Event_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_ACTIVATED",
		2: "STATUS_SKIPPED",
	}
	Trace_Event_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_ACTIVATED":   1,
		"STATUS_SKIPPED":     2,
	}
)

Enum value maps for Trace_Event_Status.

View Source
var File_cerbos_engine_v1_engine_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuxData

type AuxData struct {
	Jwt map[string]*structpb.Value `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AuxData) Descriptor deprecated

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

Deprecated: Use AuxData.ProtoReflect.Descriptor instead.

func (*AuxData) GetJwt

func (x *AuxData) GetJwt() map[string]*structpb.Value

func (*AuxData) HashPB

func (m *AuxData) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*AuxData) MarshalToSizedBufferVT

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

func (*AuxData) MarshalToVT

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

func (*AuxData) MarshalVT

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

func (*AuxData) ProtoMessage

func (*AuxData) ProtoMessage()

func (*AuxData) ProtoReflect

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

func (*AuxData) Reset

func (x *AuxData) Reset()

func (*AuxData) SizeVT

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

func (*AuxData) String

func (x *AuxData) String() string

func (*AuxData) UnmarshalVT

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

type CheckInput

type CheckInput struct {
	RequestId string     `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Resource  *Resource  `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	Principal *Principal `protobuf:"bytes,3,opt,name=principal,proto3" json:"principal,omitempty"`
	Actions   []string   `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"`
	AuxData   *AuxData   `protobuf:"bytes,5,opt,name=aux_data,json=auxData,proto3" json:"aux_data,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckInput) Descriptor deprecated

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

Deprecated: Use CheckInput.ProtoReflect.Descriptor instead.

func (*CheckInput) GetActions

func (x *CheckInput) GetActions() []string

func (*CheckInput) GetAuxData

func (x *CheckInput) GetAuxData() *AuxData

func (*CheckInput) GetPrincipal

func (x *CheckInput) GetPrincipal() *Principal

func (*CheckInput) GetRequestId

func (x *CheckInput) GetRequestId() string

func (*CheckInput) GetResource

func (x *CheckInput) GetResource() *Resource

func (*CheckInput) HashPB

func (m *CheckInput) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*CheckInput) MarshalToSizedBufferVT

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

func (*CheckInput) MarshalToVT

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

func (*CheckInput) MarshalVT

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

func (*CheckInput) ProtoMessage

func (*CheckInput) ProtoMessage()

func (*CheckInput) ProtoReflect

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

func (*CheckInput) Reset

func (x *CheckInput) Reset()

func (*CheckInput) SizeVT

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

func (*CheckInput) String

func (x *CheckInput) String() string

func (*CheckInput) UnmarshalVT

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

type CheckOutput

type CheckOutput struct {
	RequestId             string                               `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	ResourceId            string                               `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Actions               map[string]*CheckOutput_ActionEffect `` /* 155-byte string literal not displayed */
	EffectiveDerivedRoles []string                             `` /* 126-byte string literal not displayed */
	ValidationErrors      []*v1.ValidationError                `protobuf:"bytes,5,rep,name=validation_errors,json=validationErrors,proto3" json:"validation_errors,omitempty"`
	Outputs               []*OutputEntry                       `protobuf:"bytes,6,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckOutput) Descriptor deprecated

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

Deprecated: Use CheckOutput.ProtoReflect.Descriptor instead.

func (*CheckOutput) GetActions

func (x *CheckOutput) GetActions() map[string]*CheckOutput_ActionEffect

func (*CheckOutput) GetEffectiveDerivedRoles

func (x *CheckOutput) GetEffectiveDerivedRoles() []string

func (*CheckOutput) GetOutputs

func (x *CheckOutput) GetOutputs() []*OutputEntry

func (*CheckOutput) GetRequestId

func (x *CheckOutput) GetRequestId() string

func (*CheckOutput) GetResourceId

func (x *CheckOutput) GetResourceId() string

func (*CheckOutput) GetValidationErrors

func (x *CheckOutput) GetValidationErrors() []*v1.ValidationError

func (*CheckOutput) HashPB

func (m *CheckOutput) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*CheckOutput) MarshalToSizedBufferVT

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

func (*CheckOutput) MarshalToVT

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

func (*CheckOutput) MarshalVT

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

func (*CheckOutput) ProtoMessage

func (*CheckOutput) ProtoMessage()

func (*CheckOutput) ProtoReflect

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

func (*CheckOutput) Reset

func (x *CheckOutput) Reset()

func (*CheckOutput) SizeVT

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

func (*CheckOutput) String

func (x *CheckOutput) String() string

func (*CheckOutput) UnmarshalVT

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

type CheckOutput_ActionEffect

type CheckOutput_ActionEffect struct {
	Effect v11.Effect `protobuf:"varint,1,opt,name=effect,proto3,enum=cerbos.effect.v1.Effect" json:"effect,omitempty"`
	Policy string     `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
	Scope  string     `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckOutput_ActionEffect) Descriptor deprecated

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

Deprecated: Use CheckOutput_ActionEffect.ProtoReflect.Descriptor instead.

func (*CheckOutput_ActionEffect) GetEffect

func (x *CheckOutput_ActionEffect) GetEffect() v11.Effect

func (*CheckOutput_ActionEffect) GetPolicy

func (x *CheckOutput_ActionEffect) GetPolicy() string

func (*CheckOutput_ActionEffect) GetScope

func (x *CheckOutput_ActionEffect) GetScope() string

func (*CheckOutput_ActionEffect) HashPB

func (m *CheckOutput_ActionEffect) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*CheckOutput_ActionEffect) MarshalToSizedBufferVT

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

func (*CheckOutput_ActionEffect) MarshalToVT

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

func (*CheckOutput_ActionEffect) MarshalVT

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

func (*CheckOutput_ActionEffect) ProtoMessage

func (*CheckOutput_ActionEffect) ProtoMessage()

func (*CheckOutput_ActionEffect) ProtoReflect

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

func (*CheckOutput_ActionEffect) Reset

func (x *CheckOutput_ActionEffect) Reset()

func (*CheckOutput_ActionEffect) SizeVT

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

func (*CheckOutput_ActionEffect) String

func (x *CheckOutput_ActionEffect) String() string

func (*CheckOutput_ActionEffect) UnmarshalVT

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

type OutputEntry

type OutputEntry struct {
	Src string          `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"`
	Val *structpb.Value `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*OutputEntry) Descriptor deprecated

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

Deprecated: Use OutputEntry.ProtoReflect.Descriptor instead.

func (*OutputEntry) GetSrc

func (x *OutputEntry) GetSrc() string

func (*OutputEntry) GetVal

func (x *OutputEntry) GetVal() *structpb.Value

func (*OutputEntry) HashPB

func (m *OutputEntry) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*OutputEntry) MarshalToSizedBufferVT

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

func (*OutputEntry) MarshalToVT

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

func (*OutputEntry) MarshalVT

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

func (*OutputEntry) ProtoMessage

func (*OutputEntry) ProtoMessage()

func (*OutputEntry) ProtoReflect

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

func (*OutputEntry) Reset

func (x *OutputEntry) Reset()

func (*OutputEntry) SizeVT

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

func (*OutputEntry) String

func (x *OutputEntry) String() string

func (*OutputEntry) UnmarshalVT

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

type PlanResourcesAst

type PlanResourcesAst struct {
	FilterAst *PlanResourcesAst_Node `protobuf:"bytes,1,opt,name=filter_ast,json=filterAst,proto3" json:"filter_ast,omitempty"`
	// contains filtered or unexported fields
}

func (*PlanResourcesAst) Descriptor deprecated

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

Deprecated: Use PlanResourcesAst.ProtoReflect.Descriptor instead.

func (*PlanResourcesAst) GetFilterAst

func (x *PlanResourcesAst) GetFilterAst() *PlanResourcesAst_Node

func (*PlanResourcesAst) HashPB

func (m *PlanResourcesAst) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*PlanResourcesAst) MarshalToSizedBufferVT

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

func (*PlanResourcesAst) MarshalToVT

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

func (*PlanResourcesAst) MarshalVT

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

func (*PlanResourcesAst) ProtoMessage

func (*PlanResourcesAst) ProtoMessage()

func (*PlanResourcesAst) ProtoReflect

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

func (*PlanResourcesAst) Reset

func (x *PlanResourcesAst) Reset()

func (*PlanResourcesAst) SizeVT

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

func (*PlanResourcesAst) String

func (x *PlanResourcesAst) String() string

func (*PlanResourcesAst) UnmarshalVT

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

type PlanResourcesAst_LogicalOperation

type PlanResourcesAst_LogicalOperation struct {
	Operator PlanResourcesAst_LogicalOperation_Operator `` /* 135-byte string literal not displayed */
	Nodes    []*PlanResourcesAst_Node                   `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*PlanResourcesAst_LogicalOperation) Descriptor deprecated

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

Deprecated: Use PlanResourcesAst_LogicalOperation.ProtoReflect.Descriptor instead.

func (*PlanResourcesAst_LogicalOperation) GetNodes

func (*PlanResourcesAst_LogicalOperation) GetOperator

func (*PlanResourcesAst_LogicalOperation) HashPB

func (m *PlanResourcesAst_LogicalOperation) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*PlanResourcesAst_LogicalOperation) MarshalToSizedBufferVT

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

func (*PlanResourcesAst_LogicalOperation) MarshalToVT

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

func (*PlanResourcesAst_LogicalOperation) MarshalVT

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

func (*PlanResourcesAst_LogicalOperation) ProtoMessage

func (*PlanResourcesAst_LogicalOperation) ProtoMessage()

func (*PlanResourcesAst_LogicalOperation) ProtoReflect

func (*PlanResourcesAst_LogicalOperation) Reset

func (*PlanResourcesAst_LogicalOperation) SizeVT

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

func (*PlanResourcesAst_LogicalOperation) String

func (*PlanResourcesAst_LogicalOperation) UnmarshalVT

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

type PlanResourcesAst_LogicalOperation_Operator

type PlanResourcesAst_LogicalOperation_Operator int32
const (
	PlanResourcesAst_LogicalOperation_OPERATOR_UNSPECIFIED PlanResourcesAst_LogicalOperation_Operator = 0
	PlanResourcesAst_LogicalOperation_OPERATOR_AND         PlanResourcesAst_LogicalOperation_Operator = 1
	PlanResourcesAst_LogicalOperation_OPERATOR_OR          PlanResourcesAst_LogicalOperation_Operator = 2
	PlanResourcesAst_LogicalOperation_OPERATOR_NOT         PlanResourcesAst_LogicalOperation_Operator = 3
)

func (PlanResourcesAst_LogicalOperation_Operator) Descriptor

func (PlanResourcesAst_LogicalOperation_Operator) Enum

func (PlanResourcesAst_LogicalOperation_Operator) EnumDescriptor deprecated

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

Deprecated: Use PlanResourcesAst_LogicalOperation_Operator.Descriptor instead.

func (PlanResourcesAst_LogicalOperation_Operator) Number

func (PlanResourcesAst_LogicalOperation_Operator) String

func (PlanResourcesAst_LogicalOperation_Operator) Type

type PlanResourcesAst_Node

type PlanResourcesAst_Node struct {

	// Types that are assignable to Node:
	//
	//	*PlanResourcesAst_Node_LogicalOperation
	//	*PlanResourcesAst_Node_Expression
	Node isPlanResourcesAst_Node_Node `protobuf_oneof:"node"`
	// contains filtered or unexported fields
}

func (*PlanResourcesAst_Node) Descriptor deprecated

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

Deprecated: Use PlanResourcesAst_Node.ProtoReflect.Descriptor instead.

func (*PlanResourcesAst_Node) GetExpression

func (x *PlanResourcesAst_Node) GetExpression() *v1alpha1.CheckedExpr

func (*PlanResourcesAst_Node) GetLogicalOperation

func (x *PlanResourcesAst_Node) GetLogicalOperation() *PlanResourcesAst_LogicalOperation

func (*PlanResourcesAst_Node) GetNode

func (m *PlanResourcesAst_Node) GetNode() isPlanResourcesAst_Node_Node

func (*PlanResourcesAst_Node) HashPB

func (m *PlanResourcesAst_Node) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*PlanResourcesAst_Node) MarshalToSizedBufferVT

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

func (*PlanResourcesAst_Node) MarshalToVT

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

func (*PlanResourcesAst_Node) MarshalVT

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

func (*PlanResourcesAst_Node) ProtoMessage

func (*PlanResourcesAst_Node) ProtoMessage()

func (*PlanResourcesAst_Node) ProtoReflect

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

func (*PlanResourcesAst_Node) Reset

func (x *PlanResourcesAst_Node) Reset()

func (*PlanResourcesAst_Node) SizeVT

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

func (*PlanResourcesAst_Node) String

func (x *PlanResourcesAst_Node) String() string

func (*PlanResourcesAst_Node) UnmarshalVT

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

type PlanResourcesAst_Node_Expression

type PlanResourcesAst_Node_Expression struct {
	Expression *v1alpha1.CheckedExpr `protobuf:"bytes,2,opt,name=expression,proto3,oneof"`
}

func (*PlanResourcesAst_Node_Expression) MarshalToSizedBufferVT

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

func (*PlanResourcesAst_Node_Expression) MarshalToVT

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

func (*PlanResourcesAst_Node_Expression) SizeVT

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

type PlanResourcesAst_Node_LogicalOperation

type PlanResourcesAst_Node_LogicalOperation struct {
	LogicalOperation *PlanResourcesAst_LogicalOperation `protobuf:"bytes,1,opt,name=logical_operation,json=logicalOperation,proto3,oneof"`
}

func (*PlanResourcesAst_Node_LogicalOperation) MarshalToSizedBufferVT

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

func (*PlanResourcesAst_Node_LogicalOperation) MarshalToVT

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

func (*PlanResourcesAst_Node_LogicalOperation) SizeVT

type PlanResourcesFilter

type PlanResourcesFilter struct {
	Kind      PlanResourcesFilter_Kind                `protobuf:"varint,1,opt,name=kind,proto3,enum=cerbos.engine.v1.PlanResourcesFilter_Kind" json:"kind,omitempty"`
	Condition *PlanResourcesFilter_Expression_Operand `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

func (*PlanResourcesFilter) Descriptor deprecated

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

Deprecated: Use PlanResourcesFilter.ProtoReflect.Descriptor instead.

func (*PlanResourcesFilter) GetCondition

func (*PlanResourcesFilter) GetKind

func (*PlanResourcesFilter) HashPB

func (m *PlanResourcesFilter) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*PlanResourcesFilter) MarshalToSizedBufferVT

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

func (*PlanResourcesFilter) MarshalToVT

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

func (*PlanResourcesFilter) MarshalVT

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

func (*PlanResourcesFilter) ProtoMessage

func (*PlanResourcesFilter) ProtoMessage()

func (*PlanResourcesFilter) ProtoReflect

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

func (*PlanResourcesFilter) Reset

func (x *PlanResourcesFilter) Reset()

func (*PlanResourcesFilter) SizeVT

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

func (*PlanResourcesFilter) String

func (x *PlanResourcesFilter) String() string

func (*PlanResourcesFilter) UnmarshalVT

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

type PlanResourcesFilter_Expression

type PlanResourcesFilter_Expression struct {
	Operator string                                    `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	Operands []*PlanResourcesFilter_Expression_Operand `protobuf:"bytes,2,rep,name=operands,proto3" json:"operands,omitempty"`
	// contains filtered or unexported fields
}

func (*PlanResourcesFilter_Expression) Descriptor deprecated

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

Deprecated: Use PlanResourcesFilter_Expression.ProtoReflect.Descriptor instead.

func (*PlanResourcesFilter_Expression) GetOperands

func (*PlanResourcesFilter_Expression) GetOperator

func (x *PlanResourcesFilter_Expression) GetOperator() string

func (*PlanResourcesFilter_Expression) HashPB

func (m *PlanResourcesFilter_Expression) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*PlanResourcesFilter_Expression) MarshalToSizedBufferVT

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

func (*PlanResourcesFilter_Expression) MarshalToVT

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

func (*PlanResourcesFilter_Expression) MarshalVT

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

func (*PlanResourcesFilter_Expression) ProtoMessage

func (*PlanResourcesFilter_Expression) ProtoMessage()

func (*PlanResourcesFilter_Expression) ProtoReflect

func (*PlanResourcesFilter_Expression) Reset

func (x *PlanResourcesFilter_Expression) Reset()

func (*PlanResourcesFilter_Expression) SizeVT

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

func (*PlanResourcesFilter_Expression) String

func (*PlanResourcesFilter_Expression) UnmarshalVT

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

type PlanResourcesFilter_Expression_Operand

type PlanResourcesFilter_Expression_Operand struct {

	// Types that are assignable to Node:
	//
	//	*PlanResourcesFilter_Expression_Operand_Value
	//	*PlanResourcesFilter_Expression_Operand_Expression
	//	*PlanResourcesFilter_Expression_Operand_Variable
	Node isPlanResourcesFilter_Expression_Operand_Node `protobuf_oneof:"node"`
	// contains filtered or unexported fields
}

func (*PlanResourcesFilter_Expression_Operand) Descriptor deprecated

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

Deprecated: Use PlanResourcesFilter_Expression_Operand.ProtoReflect.Descriptor instead.

func (*PlanResourcesFilter_Expression_Operand) GetExpression

func (*PlanResourcesFilter_Expression_Operand) GetNode

func (m *PlanResourcesFilter_Expression_Operand) GetNode() isPlanResourcesFilter_Expression_Operand_Node

func (*PlanResourcesFilter_Expression_Operand) GetValue

func (*PlanResourcesFilter_Expression_Operand) GetVariable

func (*PlanResourcesFilter_Expression_Operand) HashPB

func (m *PlanResourcesFilter_Expression_Operand) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*PlanResourcesFilter_Expression_Operand) MarshalToSizedBufferVT

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

func (*PlanResourcesFilter_Expression_Operand) MarshalToVT

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

func (*PlanResourcesFilter_Expression_Operand) MarshalVT

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

func (*PlanResourcesFilter_Expression_Operand) ProtoMessage

func (*PlanResourcesFilter_Expression_Operand) ProtoReflect

func (*PlanResourcesFilter_Expression_Operand) Reset

func (*PlanResourcesFilter_Expression_Operand) SizeVT

func (*PlanResourcesFilter_Expression_Operand) String

func (*PlanResourcesFilter_Expression_Operand) UnmarshalVT

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

type PlanResourcesFilter_Expression_Operand_Expression

type PlanResourcesFilter_Expression_Operand_Expression struct {
	Expression *PlanResourcesFilter_Expression `protobuf:"bytes,2,opt,name=expression,proto3,oneof"`
}

func (*PlanResourcesFilter_Expression_Operand_Expression) MarshalToSizedBufferVT

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

func (*PlanResourcesFilter_Expression_Operand_Expression) MarshalToVT

func (*PlanResourcesFilter_Expression_Operand_Expression) SizeVT

type PlanResourcesFilter_Expression_Operand_Value

type PlanResourcesFilter_Expression_Operand_Value struct {
	Value *structpb.Value `protobuf:"bytes,1,opt,name=value,proto3,oneof"`
}

func (*PlanResourcesFilter_Expression_Operand_Value) MarshalToSizedBufferVT

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

func (*PlanResourcesFilter_Expression_Operand_Value) MarshalToVT

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

func (*PlanResourcesFilter_Expression_Operand_Value) SizeVT

type PlanResourcesFilter_Expression_Operand_Variable

type PlanResourcesFilter_Expression_Operand_Variable struct {
	Variable string `protobuf:"bytes,3,opt,name=variable,proto3,oneof"`
}

func (*PlanResourcesFilter_Expression_Operand_Variable) MarshalToSizedBufferVT

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

func (*PlanResourcesFilter_Expression_Operand_Variable) MarshalToVT

func (*PlanResourcesFilter_Expression_Operand_Variable) SizeVT

type PlanResourcesFilter_Kind

type PlanResourcesFilter_Kind int32
const (
	PlanResourcesFilter_KIND_UNSPECIFIED    PlanResourcesFilter_Kind = 0
	PlanResourcesFilter_KIND_ALWAYS_ALLOWED PlanResourcesFilter_Kind = 1
	PlanResourcesFilter_KIND_ALWAYS_DENIED  PlanResourcesFilter_Kind = 2
	PlanResourcesFilter_KIND_CONDITIONAL    PlanResourcesFilter_Kind = 3
)

func (PlanResourcesFilter_Kind) Descriptor

func (PlanResourcesFilter_Kind) Enum

func (PlanResourcesFilter_Kind) EnumDescriptor deprecated

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

Deprecated: Use PlanResourcesFilter_Kind.Descriptor instead.

func (PlanResourcesFilter_Kind) Number

func (PlanResourcesFilter_Kind) String

func (x PlanResourcesFilter_Kind) String() string

func (PlanResourcesFilter_Kind) Type

type PlanResourcesInput

type PlanResourcesInput struct {
	RequestId   string                       `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Action      string                       `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Principal   *Principal                   `protobuf:"bytes,3,opt,name=principal,proto3" json:"principal,omitempty"`
	Resource    *PlanResourcesInput_Resource `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"`
	AuxData     *AuxData                     `protobuf:"bytes,5,opt,name=aux_data,json=auxData,proto3" json:"aux_data,omitempty"`
	IncludeMeta bool                         `protobuf:"varint,6,opt,name=include_meta,json=includeMeta,proto3" json:"include_meta,omitempty"`
	// contains filtered or unexported fields
}

func (*PlanResourcesInput) Descriptor deprecated

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

Deprecated: Use PlanResourcesInput.ProtoReflect.Descriptor instead.

func (*PlanResourcesInput) GetAction

func (x *PlanResourcesInput) GetAction() string

func (*PlanResourcesInput) GetAuxData

func (x *PlanResourcesInput) GetAuxData() *AuxData

func (*PlanResourcesInput) GetIncludeMeta

func (x *PlanResourcesInput) GetIncludeMeta() bool

func (*PlanResourcesInput) GetPrincipal

func (x *PlanResourcesInput) GetPrincipal() *Principal

func (*PlanResourcesInput) GetRequestId

func (x *PlanResourcesInput) GetRequestId() string

func (*PlanResourcesInput) GetResource

func (*PlanResourcesInput) HashPB

func (m *PlanResourcesInput) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*PlanResourcesInput) MarshalToSizedBufferVT

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

func (*PlanResourcesInput) MarshalToVT

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

func (*PlanResourcesInput) MarshalVT

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

func (*PlanResourcesInput) ProtoMessage

func (*PlanResourcesInput) ProtoMessage()

func (*PlanResourcesInput) ProtoReflect

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

func (*PlanResourcesInput) Reset

func (x *PlanResourcesInput) Reset()

func (*PlanResourcesInput) SizeVT

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

func (*PlanResourcesInput) String

func (x *PlanResourcesInput) String() string

func (*PlanResourcesInput) UnmarshalVT

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

type PlanResourcesInput_Resource

type PlanResourcesInput_Resource struct {
	Kind          string                     `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Attr          map[string]*structpb.Value `` /* 149-byte string literal not displayed */
	PolicyVersion string                     `protobuf:"bytes,3,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
	Scope         string                     `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*PlanResourcesInput_Resource) Descriptor deprecated

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

Deprecated: Use PlanResourcesInput_Resource.ProtoReflect.Descriptor instead.

func (*PlanResourcesInput_Resource) GetAttr

func (*PlanResourcesInput_Resource) GetKind

func (x *PlanResourcesInput_Resource) GetKind() string

func (*PlanResourcesInput_Resource) GetPolicyVersion

func (x *PlanResourcesInput_Resource) GetPolicyVersion() string

func (*PlanResourcesInput_Resource) GetScope

func (x *PlanResourcesInput_Resource) GetScope() string

func (*PlanResourcesInput_Resource) HashPB

func (m *PlanResourcesInput_Resource) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*PlanResourcesInput_Resource) MarshalToSizedBufferVT

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

func (*PlanResourcesInput_Resource) MarshalToVT

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

func (*PlanResourcesInput_Resource) MarshalVT

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

func (*PlanResourcesInput_Resource) ProtoMessage

func (*PlanResourcesInput_Resource) ProtoMessage()

func (*PlanResourcesInput_Resource) ProtoReflect

func (*PlanResourcesInput_Resource) Reset

func (x *PlanResourcesInput_Resource) Reset()

func (*PlanResourcesInput_Resource) SizeVT

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

func (*PlanResourcesInput_Resource) String

func (x *PlanResourcesInput_Resource) String() string

func (*PlanResourcesInput_Resource) UnmarshalVT

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

type PlanResourcesOutput

type PlanResourcesOutput struct {
	RequestId        string                `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Action           string                `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Kind             string                `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	PolicyVersion    string                `protobuf:"bytes,4,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
	Scope            string                `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
	Filter           *PlanResourcesFilter  `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"`
	FilterDebug      string                `protobuf:"bytes,7,opt,name=filter_debug,json=filterDebug,proto3" json:"filter_debug,omitempty"`
	ValidationErrors []*v1.ValidationError `protobuf:"bytes,8,rep,name=validation_errors,json=validationErrors,proto3" json:"validation_errors,omitempty"`
	// contains filtered or unexported fields
}

func (*PlanResourcesOutput) Descriptor deprecated

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

Deprecated: Use PlanResourcesOutput.ProtoReflect.Descriptor instead.

func (*PlanResourcesOutput) GetAction

func (x *PlanResourcesOutput) GetAction() string

func (*PlanResourcesOutput) GetFilter

func (x *PlanResourcesOutput) GetFilter() *PlanResourcesFilter

func (*PlanResourcesOutput) GetFilterDebug

func (x *PlanResourcesOutput) GetFilterDebug() string

func (*PlanResourcesOutput) GetKind

func (x *PlanResourcesOutput) GetKind() string

func (*PlanResourcesOutput) GetPolicyVersion

func (x *PlanResourcesOutput) GetPolicyVersion() string

func (*PlanResourcesOutput) GetRequestId

func (x *PlanResourcesOutput) GetRequestId() string

func (*PlanResourcesOutput) GetScope

func (x *PlanResourcesOutput) GetScope() string

func (*PlanResourcesOutput) GetValidationErrors

func (x *PlanResourcesOutput) GetValidationErrors() []*v1.ValidationError

func (*PlanResourcesOutput) HashPB

func (m *PlanResourcesOutput) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*PlanResourcesOutput) MarshalToSizedBufferVT

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

func (*PlanResourcesOutput) MarshalToVT

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

func (*PlanResourcesOutput) MarshalVT

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

func (*PlanResourcesOutput) ProtoMessage

func (*PlanResourcesOutput) ProtoMessage()

func (*PlanResourcesOutput) ProtoReflect

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

func (*PlanResourcesOutput) Reset

func (x *PlanResourcesOutput) Reset()

func (*PlanResourcesOutput) SizeVT

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

func (*PlanResourcesOutput) String

func (x *PlanResourcesOutput) String() string

func (*PlanResourcesOutput) UnmarshalVT

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

type Principal

type Principal struct {
	Id            string                     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PolicyVersion string                     `protobuf:"bytes,2,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
	Roles         []string                   `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
	Attr          map[string]*structpb.Value `` /* 149-byte string literal not displayed */
	Scope         string                     `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*Principal) Descriptor deprecated

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

Deprecated: Use Principal.ProtoReflect.Descriptor instead.

func (*Principal) GetAttr

func (x *Principal) GetAttr() map[string]*structpb.Value

func (*Principal) GetId

func (x *Principal) GetId() string

func (*Principal) GetPolicyVersion

func (x *Principal) GetPolicyVersion() string

func (*Principal) GetRoles

func (x *Principal) GetRoles() []string

func (*Principal) GetScope

func (x *Principal) GetScope() string

func (*Principal) HashPB

func (m *Principal) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Principal) MarshalToSizedBufferVT

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

func (*Principal) MarshalToVT

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

func (*Principal) MarshalVT

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

func (*Principal) ProtoMessage

func (*Principal) ProtoMessage()

func (*Principal) ProtoReflect

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

func (*Principal) Reset

func (x *Principal) Reset()

func (*Principal) SizeVT

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

func (*Principal) String

func (x *Principal) String() string

func (*Principal) UnmarshalVT

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

type Request

type Request struct {
	Principal *Request_Principal `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
	Resource  *Request_Resource  `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	AuxData   *AuxData           `protobuf:"bytes,3,opt,name=aux_data,json=auxData,proto3" json:"aux_data,omitempty"`
	// contains filtered or unexported fields
}

Data from the request, provided to expressions as the top-level `request` variable.

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetAuxData

func (x *Request) GetAuxData() *AuxData

func (*Request) GetPrincipal

func (x *Request) GetPrincipal() *Request_Principal

func (*Request) GetResource

func (x *Request) GetResource() *Request_Resource

func (*Request) HashPB

func (m *Request) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Request) MarshalToSizedBufferVT

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

func (*Request) MarshalToVT

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

func (*Request) MarshalVT

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

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) SizeVT

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

func (*Request) String

func (x *Request) String() string

func (*Request) UnmarshalVT

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

type Request_Principal

type Request_Principal struct {
	Id    string                     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Roles []string                   `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	Attr  map[string]*structpb.Value `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Request_Principal) Descriptor deprecated

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

Deprecated: Use Request_Principal.ProtoReflect.Descriptor instead.

func (*Request_Principal) GetAttr

func (x *Request_Principal) GetAttr() map[string]*structpb.Value

func (*Request_Principal) GetId

func (x *Request_Principal) GetId() string

func (*Request_Principal) GetRoles

func (x *Request_Principal) GetRoles() []string

func (*Request_Principal) HashPB

func (m *Request_Principal) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Request_Principal) MarshalToSizedBufferVT

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

func (*Request_Principal) MarshalToVT

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

func (*Request_Principal) MarshalVT

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

func (*Request_Principal) ProtoMessage

func (*Request_Principal) ProtoMessage()

func (*Request_Principal) ProtoReflect

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

func (*Request_Principal) Reset

func (x *Request_Principal) Reset()

func (*Request_Principal) SizeVT

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

func (*Request_Principal) String

func (x *Request_Principal) String() string

func (*Request_Principal) UnmarshalVT

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

type Request_Resource

type Request_Resource struct {
	Kind string                     `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Id   string                     `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Attr map[string]*structpb.Value `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Request_Resource) Descriptor deprecated

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

Deprecated: Use Request_Resource.ProtoReflect.Descriptor instead.

func (*Request_Resource) GetAttr

func (x *Request_Resource) GetAttr() map[string]*structpb.Value

func (*Request_Resource) GetId

func (x *Request_Resource) GetId() string

func (*Request_Resource) GetKind

func (x *Request_Resource) GetKind() string

func (*Request_Resource) HashPB

func (m *Request_Resource) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Request_Resource) MarshalToSizedBufferVT

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

func (*Request_Resource) MarshalToVT

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

func (*Request_Resource) MarshalVT

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

func (*Request_Resource) ProtoMessage

func (*Request_Resource) ProtoMessage()

func (*Request_Resource) ProtoReflect

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

func (*Request_Resource) Reset

func (x *Request_Resource) Reset()

func (*Request_Resource) SizeVT

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

func (*Request_Resource) String

func (x *Request_Resource) String() string

func (*Request_Resource) UnmarshalVT

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

type Resource

type Resource struct {
	Kind          string                     `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	PolicyVersion string                     `protobuf:"bytes,2,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
	Id            string                     `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Attr          map[string]*structpb.Value `` /* 149-byte string literal not displayed */
	Scope         string                     `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetAttr

func (x *Resource) GetAttr() map[string]*structpb.Value

func (*Resource) GetId

func (x *Resource) GetId() string

func (*Resource) GetKind

func (x *Resource) GetKind() string

func (*Resource) GetPolicyVersion

func (x *Resource) GetPolicyVersion() string

func (*Resource) GetScope

func (x *Resource) GetScope() string

func (*Resource) HashPB

func (m *Resource) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Resource) MarshalToSizedBufferVT

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

func (*Resource) MarshalToVT

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

func (*Resource) MarshalVT

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

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) SizeVT

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

func (*Resource) String

func (x *Resource) String() string

func (*Resource) UnmarshalVT

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

type Runtime

type Runtime struct {
	EffectiveDerivedRoles []string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Data from the runtime, provided to expressions as the top-level `runtime` variable.

func (*Runtime) Descriptor deprecated

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

Deprecated: Use Runtime.ProtoReflect.Descriptor instead.

func (*Runtime) GetEffectiveDerivedRoles

func (x *Runtime) GetEffectiveDerivedRoles() []string

func (*Runtime) HashPB

func (m *Runtime) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Runtime) MarshalToSizedBufferVT

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

func (*Runtime) MarshalToVT

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

func (*Runtime) MarshalVT

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

func (*Runtime) ProtoMessage

func (*Runtime) ProtoMessage()

func (*Runtime) ProtoReflect

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

func (*Runtime) Reset

func (x *Runtime) Reset()

func (*Runtime) SizeVT

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

func (*Runtime) String

func (x *Runtime) String() string

func (*Runtime) UnmarshalVT

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

type Trace

type Trace struct {
	Components []*Trace_Component `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"`
	Event      *Trace_Event       `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*Trace) Descriptor deprecated

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

Deprecated: Use Trace.ProtoReflect.Descriptor instead.

func (*Trace) GetComponents

func (x *Trace) GetComponents() []*Trace_Component

func (*Trace) GetEvent

func (x *Trace) GetEvent() *Trace_Event

func (*Trace) HashPB

func (m *Trace) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Trace) MarshalToSizedBufferVT

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

func (*Trace) MarshalToVT

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

func (*Trace) MarshalVT

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

func (*Trace) ProtoMessage

func (*Trace) ProtoMessage()

func (*Trace) ProtoReflect

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

func (*Trace) Reset

func (x *Trace) Reset()

func (*Trace) SizeVT

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

func (*Trace) String

func (x *Trace) String() string

func (*Trace) UnmarshalVT

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

type Trace_Component

type Trace_Component struct {
	Kind Trace_Component_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=cerbos.engine.v1.Trace_Component_Kind" json:"kind,omitempty"`
	// Types that are assignable to Details:
	//
	//	*Trace_Component_Action
	//	*Trace_Component_DerivedRole
	//	*Trace_Component_Expr
	//	*Trace_Component_Index
	//	*Trace_Component_Policy
	//	*Trace_Component_Resource
	//	*Trace_Component_Rule
	//	*Trace_Component_Scope
	//	*Trace_Component_Variable_
	//	*Trace_Component_Output
	Details isTrace_Component_Details `protobuf_oneof:"details"`
	// contains filtered or unexported fields
}

func (*Trace_Component) Descriptor deprecated

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

Deprecated: Use Trace_Component.ProtoReflect.Descriptor instead.

func (*Trace_Component) GetAction

func (x *Trace_Component) GetAction() string

func (*Trace_Component) GetDerivedRole

func (x *Trace_Component) GetDerivedRole() string

func (*Trace_Component) GetDetails

func (m *Trace_Component) GetDetails() isTrace_Component_Details

func (*Trace_Component) GetExpr

func (x *Trace_Component) GetExpr() string

func (*Trace_Component) GetIndex

func (x *Trace_Component) GetIndex() uint32

func (*Trace_Component) GetKind

func (*Trace_Component) GetOutput

func (x *Trace_Component) GetOutput() string

func (*Trace_Component) GetPolicy

func (x *Trace_Component) GetPolicy() string

func (*Trace_Component) GetResource

func (x *Trace_Component) GetResource() string

func (*Trace_Component) GetRule

func (x *Trace_Component) GetRule() string

func (*Trace_Component) GetScope

func (x *Trace_Component) GetScope() string

func (*Trace_Component) GetVariable

func (x *Trace_Component) GetVariable() *Trace_Component_Variable

func (*Trace_Component) HashPB

func (m *Trace_Component) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Trace_Component) MarshalToSizedBufferVT

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

func (*Trace_Component) MarshalToVT

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

func (*Trace_Component) MarshalVT

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

func (*Trace_Component) ProtoMessage

func (*Trace_Component) ProtoMessage()

func (*Trace_Component) ProtoReflect

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

func (*Trace_Component) Reset

func (x *Trace_Component) Reset()

func (*Trace_Component) SizeVT

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

func (*Trace_Component) String

func (x *Trace_Component) String() string

func (*Trace_Component) UnmarshalVT

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

type Trace_Component_Action

type Trace_Component_Action struct {
	Action string `protobuf:"bytes,2,opt,name=action,proto3,oneof"`
}

func (*Trace_Component_Action) MarshalToSizedBufferVT

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

func (*Trace_Component_Action) MarshalToVT

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

func (*Trace_Component_Action) SizeVT

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

type Trace_Component_DerivedRole

type Trace_Component_DerivedRole struct {
	DerivedRole string `protobuf:"bytes,3,opt,name=derived_role,json=derivedRole,proto3,oneof"`
}

func (*Trace_Component_DerivedRole) MarshalToSizedBufferVT

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

func (*Trace_Component_DerivedRole) MarshalToVT

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

func (*Trace_Component_DerivedRole) SizeVT

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

type Trace_Component_Expr

type Trace_Component_Expr struct {
	Expr string `protobuf:"bytes,4,opt,name=expr,proto3,oneof"`
}

func (*Trace_Component_Expr) MarshalToSizedBufferVT

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

func (*Trace_Component_Expr) MarshalToVT

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

func (*Trace_Component_Expr) SizeVT

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

type Trace_Component_Index

type Trace_Component_Index struct {
	Index uint32 `protobuf:"varint,5,opt,name=index,proto3,oneof"`
}

func (*Trace_Component_Index) MarshalToSizedBufferVT

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

func (*Trace_Component_Index) MarshalToVT

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

func (*Trace_Component_Index) SizeVT

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

type Trace_Component_Kind

type Trace_Component_Kind int32
const (
	Trace_Component_KIND_UNSPECIFIED    Trace_Component_Kind = 0
	Trace_Component_KIND_ACTION         Trace_Component_Kind = 1
	Trace_Component_KIND_CONDITION_ALL  Trace_Component_Kind = 2
	Trace_Component_KIND_CONDITION_ANY  Trace_Component_Kind = 3
	Trace_Component_KIND_CONDITION_NONE Trace_Component_Kind = 4
	Trace_Component_KIND_CONDITION      Trace_Component_Kind = 5
	Trace_Component_KIND_DERIVED_ROLE   Trace_Component_Kind = 6
	Trace_Component_KIND_EXPR           Trace_Component_Kind = 7
	Trace_Component_KIND_POLICY         Trace_Component_Kind = 8
	Trace_Component_KIND_RESOURCE       Trace_Component_Kind = 9
	Trace_Component_KIND_RULE           Trace_Component_Kind = 10
	Trace_Component_KIND_SCOPE          Trace_Component_Kind = 11
	Trace_Component_KIND_VARIABLE       Trace_Component_Kind = 12
	Trace_Component_KIND_VARIABLES      Trace_Component_Kind = 13
	Trace_Component_KIND_OUTPUT         Trace_Component_Kind = 14
)

func (Trace_Component_Kind) Descriptor

func (Trace_Component_Kind) Enum

func (Trace_Component_Kind) EnumDescriptor deprecated

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

Deprecated: Use Trace_Component_Kind.Descriptor instead.

func (Trace_Component_Kind) Number

func (Trace_Component_Kind) String

func (x Trace_Component_Kind) String() string

func (Trace_Component_Kind) Type

type Trace_Component_Output

type Trace_Component_Output struct {
	Output string `protobuf:"bytes,11,opt,name=output,proto3,oneof"`
}

func (*Trace_Component_Output) MarshalToSizedBufferVT

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

func (*Trace_Component_Output) MarshalToVT

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

func (*Trace_Component_Output) SizeVT

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

type Trace_Component_Policy

type Trace_Component_Policy struct {
	Policy string `protobuf:"bytes,6,opt,name=policy,proto3,oneof"`
}

func (*Trace_Component_Policy) MarshalToSizedBufferVT

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

func (*Trace_Component_Policy) MarshalToVT

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

func (*Trace_Component_Policy) SizeVT

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

type Trace_Component_Resource

type Trace_Component_Resource struct {
	Resource string `protobuf:"bytes,7,opt,name=resource,proto3,oneof"`
}

func (*Trace_Component_Resource) MarshalToSizedBufferVT

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

func (*Trace_Component_Resource) MarshalToVT

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

func (*Trace_Component_Resource) SizeVT

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

type Trace_Component_Rule

type Trace_Component_Rule struct {
	Rule string `protobuf:"bytes,8,opt,name=rule,proto3,oneof"`
}

func (*Trace_Component_Rule) MarshalToSizedBufferVT

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

func (*Trace_Component_Rule) MarshalToVT

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

func (*Trace_Component_Rule) SizeVT

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

type Trace_Component_Scope

type Trace_Component_Scope struct {
	Scope string `protobuf:"bytes,9,opt,name=scope,proto3,oneof"`
}

func (*Trace_Component_Scope) MarshalToSizedBufferVT

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

func (*Trace_Component_Scope) MarshalToVT

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

func (*Trace_Component_Scope) SizeVT

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

type Trace_Component_Variable

type Trace_Component_Variable struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Expr string `protobuf:"bytes,2,opt,name=expr,proto3" json:"expr,omitempty"`
	// contains filtered or unexported fields
}

func (*Trace_Component_Variable) Descriptor deprecated

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

Deprecated: Use Trace_Component_Variable.ProtoReflect.Descriptor instead.

func (*Trace_Component_Variable) GetExpr

func (x *Trace_Component_Variable) GetExpr() string

func (*Trace_Component_Variable) GetName

func (x *Trace_Component_Variable) GetName() string

func (*Trace_Component_Variable) HashPB

func (m *Trace_Component_Variable) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Trace_Component_Variable) MarshalToSizedBufferVT

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

func (*Trace_Component_Variable) MarshalToVT

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

func (*Trace_Component_Variable) MarshalVT

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

func (*Trace_Component_Variable) ProtoMessage

func (*Trace_Component_Variable) ProtoMessage()

func (*Trace_Component_Variable) ProtoReflect

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

func (*Trace_Component_Variable) Reset

func (x *Trace_Component_Variable) Reset()

func (*Trace_Component_Variable) SizeVT

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

func (*Trace_Component_Variable) String

func (x *Trace_Component_Variable) String() string

func (*Trace_Component_Variable) UnmarshalVT

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

type Trace_Component_Variable_

type Trace_Component_Variable_ struct {
	Variable *Trace_Component_Variable `protobuf:"bytes,10,opt,name=variable,proto3,oneof"`
}

func (*Trace_Component_Variable_) MarshalToSizedBufferVT

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

func (*Trace_Component_Variable_) MarshalToVT

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

func (*Trace_Component_Variable_) SizeVT

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

type Trace_Event

type Trace_Event struct {
	Status  Trace_Event_Status `protobuf:"varint,1,opt,name=status,proto3,enum=cerbos.engine.v1.Trace_Event_Status" json:"status,omitempty"`
	Effect  v11.Effect         `protobuf:"varint,2,opt,name=effect,proto3,enum=cerbos.effect.v1.Effect" json:"effect,omitempty"`
	Error   string             `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	Message string             `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	Result  *structpb.Value    `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*Trace_Event) Descriptor deprecated

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

Deprecated: Use Trace_Event.ProtoReflect.Descriptor instead.

func (*Trace_Event) GetEffect

func (x *Trace_Event) GetEffect() v11.Effect

func (*Trace_Event) GetError

func (x *Trace_Event) GetError() string

func (*Trace_Event) GetMessage

func (x *Trace_Event) GetMessage() string

func (*Trace_Event) GetResult

func (x *Trace_Event) GetResult() *structpb.Value

func (*Trace_Event) GetStatus

func (x *Trace_Event) GetStatus() Trace_Event_Status

func (*Trace_Event) HashPB

func (m *Trace_Event) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Trace_Event) MarshalToSizedBufferVT

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

func (*Trace_Event) MarshalToVT

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

func (*Trace_Event) MarshalVT

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

func (*Trace_Event) ProtoMessage

func (*Trace_Event) ProtoMessage()

func (*Trace_Event) ProtoReflect

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

func (*Trace_Event) Reset

func (x *Trace_Event) Reset()

func (*Trace_Event) SizeVT

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

func (*Trace_Event) String

func (x *Trace_Event) String() string

func (*Trace_Event) UnmarshalVT

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

type Trace_Event_Status

type Trace_Event_Status int32
const (
	Trace_Event_STATUS_UNSPECIFIED Trace_Event_Status = 0
	Trace_Event_STATUS_ACTIVATED   Trace_Event_Status = 1
	Trace_Event_STATUS_SKIPPED     Trace_Event_Status = 2
)

func (Trace_Event_Status) Descriptor

func (Trace_Event_Status) Enum

func (Trace_Event_Status) EnumDescriptor deprecated

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

Deprecated: Use Trace_Event_Status.Descriptor instead.

func (Trace_Event_Status) Number

func (Trace_Event_Status) String

func (x Trace_Event_Status) String() string

func (Trace_Event_Status) Type

Jump to

Keyboard shortcuts

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