policyv1

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 21 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestResults_Result_name = map[int32]string{
		0: "RESULT_UNSPECIFIED",
		1: "RESULT_SKIPPED",
		2: "RESULT_PASSED",
		3: "RESULT_FAILED",
		4: "RESULT_ERRORED",
	}
	TestResults_Result_value = map[string]int32{
		"RESULT_UNSPECIFIED": 0,
		"RESULT_SKIPPED":     1,
		"RESULT_PASSED":      2,
		"RESULT_FAILED":      3,
		"RESULT_ERRORED":     4,
	}
)

Enum value maps for TestResults_Result.

View Source
var File_cerbos_policy_v1_policy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Condition

type Condition struct {

	// Types that are assignable to Condition:
	//
	//	*Condition_Match
	//	*Condition_Script
	Condition isCondition_Condition `protobuf_oneof:"condition"`
	// contains filtered or unexported fields
}

func (*Condition) Descriptor deprecated

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

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetCondition

func (m *Condition) GetCondition() isCondition_Condition

func (*Condition) GetMatch

func (x *Condition) GetMatch() *Match

func (*Condition) GetScript

func (x *Condition) GetScript() string

func (*Condition) HashPB

func (m *Condition) 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 (*Condition) MarshalToSizedBufferVT

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

func (*Condition) MarshalToVT

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

func (*Condition) MarshalVT

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

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

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

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) SizeVT

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

func (*Condition) String

func (x *Condition) String() string

func (*Condition) UnmarshalVT

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

type Condition_Match

type Condition_Match struct {
	Match *Match `protobuf:"bytes,1,opt,name=match,proto3,oneof"`
}

func (*Condition_Match) MarshalToSizedBufferVT

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

func (*Condition_Match) MarshalToVT

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

func (*Condition_Match) SizeVT

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

type Condition_Script

type Condition_Script struct {
	Script string `protobuf:"bytes,2,opt,name=script,proto3,oneof"`
}

func (*Condition_Script) MarshalToSizedBufferVT

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

func (*Condition_Script) MarshalToVT

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

func (*Condition_Script) SizeVT

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

type DerivedRoles

type DerivedRoles struct {
	Name        string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Definitions []*RoleDef `protobuf:"bytes,2,rep,name=definitions,proto3" json:"definitions,omitempty"`
	Variables   *Variables `protobuf:"bytes,3,opt,name=variables,proto3" json:"variables,omitempty"`
	// contains filtered or unexported fields
}

func (*DerivedRoles) Descriptor deprecated

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

Deprecated: Use DerivedRoles.ProtoReflect.Descriptor instead.

func (*DerivedRoles) GetDefinitions

func (x *DerivedRoles) GetDefinitions() []*RoleDef

func (*DerivedRoles) GetName

func (x *DerivedRoles) GetName() string

func (*DerivedRoles) GetVariables

func (x *DerivedRoles) GetVariables() *Variables

func (*DerivedRoles) HashPB

func (m *DerivedRoles) 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 (*DerivedRoles) MarshalToSizedBufferVT

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

func (*DerivedRoles) MarshalToVT

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

func (*DerivedRoles) MarshalVT

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

func (*DerivedRoles) ProtoMessage

func (*DerivedRoles) ProtoMessage()

func (*DerivedRoles) ProtoReflect

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

func (*DerivedRoles) Reset

func (x *DerivedRoles) Reset()

func (*DerivedRoles) SizeVT

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

func (*DerivedRoles) String

func (x *DerivedRoles) String() string

func (*DerivedRoles) UnmarshalVT

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

type ExportVariables

type ExportVariables struct {
	Name        string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Definitions map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ExportVariables) Descriptor deprecated

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

Deprecated: Use ExportVariables.ProtoReflect.Descriptor instead.

func (*ExportVariables) GetDefinitions

func (x *ExportVariables) GetDefinitions() map[string]string

func (*ExportVariables) GetName

func (x *ExportVariables) GetName() string

func (*ExportVariables) HashPB

func (m *ExportVariables) 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 (*ExportVariables) MarshalToSizedBufferVT

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

func (*ExportVariables) MarshalToVT

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

func (*ExportVariables) MarshalVT

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

func (*ExportVariables) ProtoMessage

func (*ExportVariables) ProtoMessage()

func (*ExportVariables) ProtoReflect

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

func (*ExportVariables) Reset

func (x *ExportVariables) Reset()

func (*ExportVariables) SizeVT

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

func (*ExportVariables) String

func (x *ExportVariables) String() string

func (*ExportVariables) UnmarshalVT

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

type Match

type Match struct {

	// Types that are assignable to Op:
	//
	//	*Match_All
	//	*Match_Any
	//	*Match_None
	//	*Match_Expr
	Op isMatch_Op `protobuf_oneof:"op"`
	// contains filtered or unexported fields
}

func (*Match) Descriptor deprecated

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

Deprecated: Use Match.ProtoReflect.Descriptor instead.

func (*Match) GetAll

func (x *Match) GetAll() *Match_ExprList

func (*Match) GetAny

func (x *Match) GetAny() *Match_ExprList

func (*Match) GetExpr

func (x *Match) GetExpr() string

func (*Match) GetNone

func (x *Match) GetNone() *Match_ExprList

func (*Match) GetOp

func (m *Match) GetOp() isMatch_Op

func (*Match) HashPB

func (m *Match) 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 (*Match) MarshalToSizedBufferVT

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

func (*Match) MarshalToVT

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

func (*Match) MarshalVT

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

func (*Match) ProtoMessage

func (*Match) ProtoMessage()

func (*Match) ProtoReflect

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

func (*Match) Reset

func (x *Match) Reset()

func (*Match) SizeVT

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

func (*Match) String

func (x *Match) String() string

func (*Match) UnmarshalVT

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

type Match_All

type Match_All struct {
	All *Match_ExprList `protobuf:"bytes,1,opt,name=all,proto3,oneof"`
}

func (*Match_All) MarshalToSizedBufferVT

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

func (*Match_All) MarshalToVT

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

func (*Match_All) SizeVT

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

type Match_Any

type Match_Any struct {
	Any *Match_ExprList `protobuf:"bytes,2,opt,name=any,proto3,oneof"`
}

func (*Match_Any) MarshalToSizedBufferVT

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

func (*Match_Any) MarshalToVT

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

func (*Match_Any) SizeVT

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

type Match_Expr

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

func (*Match_Expr) MarshalToSizedBufferVT

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

func (*Match_Expr) MarshalToVT

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

func (*Match_Expr) SizeVT

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

type Match_ExprList

type Match_ExprList struct {
	Of []*Match `protobuf:"bytes,1,rep,name=of,proto3" json:"of,omitempty"`
	// contains filtered or unexported fields
}

func (*Match_ExprList) Descriptor deprecated

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

Deprecated: Use Match_ExprList.ProtoReflect.Descriptor instead.

func (*Match_ExprList) GetOf

func (x *Match_ExprList) GetOf() []*Match

func (*Match_ExprList) HashPB

func (m *Match_ExprList) 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 (*Match_ExprList) MarshalToSizedBufferVT

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

func (*Match_ExprList) MarshalToVT

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

func (*Match_ExprList) MarshalVT

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

func (*Match_ExprList) ProtoMessage

func (*Match_ExprList) ProtoMessage()

func (*Match_ExprList) ProtoReflect

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

func (*Match_ExprList) Reset

func (x *Match_ExprList) Reset()

func (*Match_ExprList) SizeVT

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

func (*Match_ExprList) String

func (x *Match_ExprList) String() string

func (*Match_ExprList) UnmarshalVT

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

type Match_None

type Match_None struct {
	None *Match_ExprList `protobuf:"bytes,3,opt,name=none,proto3,oneof"`
}

func (*Match_None) MarshalToSizedBufferVT

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

func (*Match_None) MarshalToVT

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

func (*Match_None) SizeVT

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

type Metadata

type Metadata struct {
	SourceFile  string                  `protobuf:"bytes,1,opt,name=source_file,json=sourceFile,proto3" json:"source_file,omitempty"`
	Annotations map[string]string       `` /* 163-byte string literal not displayed */
	Hash        *wrapperspb.UInt64Value `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	// Deprecated: Marked as deprecated in cerbos/policy/v1/policy.proto.
	StoreIdentifer   string            `protobuf:"bytes,4,opt,name=store_identifer,json=storeIdentifer,proto3" json:"store_identifer,omitempty"`
	StoreIdentifier  string            `protobuf:"bytes,5,opt,name=store_identifier,json=storeIdentifier,proto3" json:"store_identifier,omitempty"`
	SourceAttributes *SourceAttributes `protobuf:"bytes,6,opt,name=source_attributes,json=sourceAttributes,proto3" json:"source_attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAnnotations

func (x *Metadata) GetAnnotations() map[string]string

func (*Metadata) GetHash

func (x *Metadata) GetHash() *wrapperspb.UInt64Value

func (*Metadata) GetSourceAttributes added in v0.33.0

func (x *Metadata) GetSourceAttributes() *SourceAttributes

func (*Metadata) GetSourceFile

func (x *Metadata) GetSourceFile() string

func (*Metadata) GetStoreIdentifer deprecated

func (x *Metadata) GetStoreIdentifer() string

Deprecated: Marked as deprecated in cerbos/policy/v1/policy.proto.

func (*Metadata) GetStoreIdentifier

func (x *Metadata) GetStoreIdentifier() string

func (*Metadata) HashPB

func (m *Metadata) 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 (*Metadata) MarshalToSizedBufferVT

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

func (*Metadata) MarshalToVT

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

func (*Metadata) MarshalVT

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

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) SizeVT

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

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) UnmarshalVT

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

type Output

type Output struct {

	// Deprecated: Marked as deprecated in cerbos/policy/v1/policy.proto.
	Expr string       `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"`
	When *Output_When `protobuf:"bytes,2,opt,name=when,proto3" json:"when,omitempty"`
	// contains filtered or unexported fields
}

func (*Output) Descriptor deprecated

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

Deprecated: Use Output.ProtoReflect.Descriptor instead.

func (*Output) GetExpr deprecated

func (x *Output) GetExpr() string

Deprecated: Marked as deprecated in cerbos/policy/v1/policy.proto.

func (*Output) GetWhen added in v0.33.0

func (x *Output) GetWhen() *Output_When

func (*Output) HashPB

func (m *Output) 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 (*Output) MarshalToSizedBufferVT

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

func (*Output) MarshalToVT

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

func (*Output) MarshalVT

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

func (*Output) ProtoMessage

func (*Output) ProtoMessage()

func (*Output) ProtoReflect

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

func (*Output) Reset

func (x *Output) Reset()

func (*Output) SizeVT

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

func (*Output) String

func (x *Output) String() string

func (*Output) UnmarshalVT

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

type Output_When added in v0.33.0

type Output_When struct {
	RuleActivated   string `protobuf:"bytes,1,opt,name=rule_activated,json=ruleActivated,proto3" json:"rule_activated,omitempty"`
	ConditionNotMet string `protobuf:"bytes,2,opt,name=condition_not_met,json=conditionNotMet,proto3" json:"condition_not_met,omitempty"`
	// contains filtered or unexported fields
}

func (*Output_When) Descriptor deprecated added in v0.33.0

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

Deprecated: Use Output_When.ProtoReflect.Descriptor instead.

func (*Output_When) GetConditionNotMet added in v0.33.0

func (x *Output_When) GetConditionNotMet() string

func (*Output_When) GetRuleActivated added in v0.33.0

func (x *Output_When) GetRuleActivated() string

func (*Output_When) HashPB added in v0.33.0

func (m *Output_When) 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 (*Output_When) MarshalToSizedBufferVT added in v0.33.0

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

func (*Output_When) MarshalToVT added in v0.33.0

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

func (*Output_When) MarshalVT added in v0.33.0

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

func (*Output_When) ProtoMessage added in v0.33.0

func (*Output_When) ProtoMessage()

func (*Output_When) ProtoReflect added in v0.33.0

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

func (*Output_When) Reset added in v0.33.0

func (x *Output_When) Reset()

func (*Output_When) SizeVT added in v0.33.0

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

func (*Output_When) String added in v0.33.0

func (x *Output_When) String() string

func (*Output_When) UnmarshalVT added in v0.33.0

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

type Policy

type Policy struct {
	ApiVersion  string    `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	Disabled    bool      `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"`
	Description string    `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Metadata    *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Types that are assignable to PolicyType:
	//
	//	*Policy_ResourcePolicy
	//	*Policy_PrincipalPolicy
	//	*Policy_DerivedRoles
	//	*Policy_ExportVariables
	PolicyType isPolicy_PolicyType `protobuf_oneof:"policy_type"`
	// Deprecated: Marked as deprecated in cerbos/policy/v1/policy.proto.
	Variables  map[string]string `` /* 159-byte string literal not displayed */
	JsonSchema string            `protobuf:"bytes,9,opt,name=json_schema,json=$schema,proto3" json:"json_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy) Descriptor deprecated

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetApiVersion

func (x *Policy) GetApiVersion() string

func (*Policy) GetDerivedRoles

func (x *Policy) GetDerivedRoles() *DerivedRoles

func (*Policy) GetDescription

func (x *Policy) GetDescription() string

func (*Policy) GetDisabled

func (x *Policy) GetDisabled() bool

func (*Policy) GetExportVariables

func (x *Policy) GetExportVariables() *ExportVariables

func (*Policy) GetJsonSchema

func (x *Policy) GetJsonSchema() string

func (*Policy) GetMetadata

func (x *Policy) GetMetadata() *Metadata

func (*Policy) GetPolicyType

func (m *Policy) GetPolicyType() isPolicy_PolicyType

func (*Policy) GetPrincipalPolicy

func (x *Policy) GetPrincipalPolicy() *PrincipalPolicy

func (*Policy) GetResourcePolicy

func (x *Policy) GetResourcePolicy() *ResourcePolicy

func (*Policy) GetVariables deprecated

func (x *Policy) GetVariables() map[string]string

Deprecated: Marked as deprecated in cerbos/policy/v1/policy.proto.

func (*Policy) HashPB

func (m *Policy) 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 (*Policy) MarshalToSizedBufferVT

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

func (*Policy) MarshalToVT

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

func (*Policy) MarshalVT

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

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) SizeVT

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

func (*Policy) String

func (x *Policy) String() string

func (*Policy) UnmarshalVT

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

type Policy_DerivedRoles

type Policy_DerivedRoles struct {
	DerivedRoles *DerivedRoles `protobuf:"bytes,7,opt,name=derived_roles,json=derivedRoles,proto3,oneof"`
}

func (*Policy_DerivedRoles) MarshalToSizedBufferVT

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

func (*Policy_DerivedRoles) MarshalToVT

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

func (*Policy_DerivedRoles) SizeVT

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

type Policy_ExportVariables

type Policy_ExportVariables struct {
	ExportVariables *ExportVariables `protobuf:"bytes,10,opt,name=export_variables,json=exportVariables,proto3,oneof"`
}

func (*Policy_ExportVariables) MarshalToSizedBufferVT

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

func (*Policy_ExportVariables) MarshalToVT

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

func (*Policy_ExportVariables) SizeVT

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

type Policy_PrincipalPolicy

type Policy_PrincipalPolicy struct {
	PrincipalPolicy *PrincipalPolicy `protobuf:"bytes,6,opt,name=principal_policy,json=principalPolicy,proto3,oneof"`
}

func (*Policy_PrincipalPolicy) MarshalToSizedBufferVT

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

func (*Policy_PrincipalPolicy) MarshalToVT

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

func (*Policy_PrincipalPolicy) SizeVT

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

type Policy_ResourcePolicy

type Policy_ResourcePolicy struct {
	ResourcePolicy *ResourcePolicy `protobuf:"bytes,5,opt,name=resource_policy,json=resourcePolicy,proto3,oneof"`
}

func (*Policy_ResourcePolicy) MarshalToSizedBufferVT

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

func (*Policy_ResourcePolicy) MarshalToVT

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

func (*Policy_ResourcePolicy) SizeVT

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

type PrincipalPolicy

type PrincipalPolicy struct {
	Principal string           `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
	Version   string           `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Rules     []*PrincipalRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
	Scope     string           `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
	Variables *Variables       `protobuf:"bytes,5,opt,name=variables,proto3" json:"variables,omitempty"`
	// contains filtered or unexported fields
}

func (*PrincipalPolicy) Descriptor deprecated

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

Deprecated: Use PrincipalPolicy.ProtoReflect.Descriptor instead.

func (*PrincipalPolicy) GetPrincipal

func (x *PrincipalPolicy) GetPrincipal() string

func (*PrincipalPolicy) GetRules

func (x *PrincipalPolicy) GetRules() []*PrincipalRule

func (*PrincipalPolicy) GetScope

func (x *PrincipalPolicy) GetScope() string

func (*PrincipalPolicy) GetVariables

func (x *PrincipalPolicy) GetVariables() *Variables

func (*PrincipalPolicy) GetVersion

func (x *PrincipalPolicy) GetVersion() string

func (*PrincipalPolicy) HashPB

func (m *PrincipalPolicy) 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 (*PrincipalPolicy) MarshalToSizedBufferVT

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

func (*PrincipalPolicy) MarshalToVT

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

func (*PrincipalPolicy) MarshalVT

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

func (*PrincipalPolicy) ProtoMessage

func (*PrincipalPolicy) ProtoMessage()

func (*PrincipalPolicy) ProtoReflect

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

func (*PrincipalPolicy) Reset

func (x *PrincipalPolicy) Reset()

func (*PrincipalPolicy) SizeVT

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

func (*PrincipalPolicy) String

func (x *PrincipalPolicy) String() string

func (*PrincipalPolicy) UnmarshalVT

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

type PrincipalRule

type PrincipalRule struct {
	Resource string                  `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Actions  []*PrincipalRule_Action `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

func (*PrincipalRule) Descriptor deprecated

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

Deprecated: Use PrincipalRule.ProtoReflect.Descriptor instead.

func (*PrincipalRule) GetActions

func (x *PrincipalRule) GetActions() []*PrincipalRule_Action

func (*PrincipalRule) GetResource

func (x *PrincipalRule) GetResource() string

func (*PrincipalRule) HashPB

func (m *PrincipalRule) 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 (*PrincipalRule) MarshalToSizedBufferVT

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

func (*PrincipalRule) MarshalToVT

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

func (*PrincipalRule) MarshalVT

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

func (*PrincipalRule) ProtoMessage

func (*PrincipalRule) ProtoMessage()

func (*PrincipalRule) ProtoReflect

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

func (*PrincipalRule) Reset

func (x *PrincipalRule) Reset()

func (*PrincipalRule) SizeVT

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

func (*PrincipalRule) String

func (x *PrincipalRule) String() string

func (*PrincipalRule) UnmarshalVT

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

type PrincipalRule_Action

type PrincipalRule_Action struct {
	Action    string     `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	Condition *Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
	Effect    v1.Effect  `protobuf:"varint,3,opt,name=effect,proto3,enum=cerbos.effect.v1.Effect" json:"effect,omitempty"`
	Name      string     `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Output    *Output    `protobuf:"bytes,5,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*PrincipalRule_Action) Descriptor deprecated

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

Deprecated: Use PrincipalRule_Action.ProtoReflect.Descriptor instead.

func (*PrincipalRule_Action) GetAction

func (x *PrincipalRule_Action) GetAction() string

func (*PrincipalRule_Action) GetCondition

func (x *PrincipalRule_Action) GetCondition() *Condition

func (*PrincipalRule_Action) GetEffect

func (x *PrincipalRule_Action) GetEffect() v1.Effect

func (*PrincipalRule_Action) GetName

func (x *PrincipalRule_Action) GetName() string

func (*PrincipalRule_Action) GetOutput

func (x *PrincipalRule_Action) GetOutput() *Output

func (*PrincipalRule_Action) HashPB

func (m *PrincipalRule_Action) 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 (*PrincipalRule_Action) MarshalToSizedBufferVT

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

func (*PrincipalRule_Action) MarshalToVT

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

func (*PrincipalRule_Action) MarshalVT

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

func (*PrincipalRule_Action) ProtoMessage

func (*PrincipalRule_Action) ProtoMessage()

func (*PrincipalRule_Action) ProtoReflect

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

func (*PrincipalRule_Action) Reset

func (x *PrincipalRule_Action) Reset()

func (*PrincipalRule_Action) SizeVT

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

func (*PrincipalRule_Action) String

func (x *PrincipalRule_Action) String() string

func (*PrincipalRule_Action) UnmarshalVT

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

type ResourcePolicy

type ResourcePolicy struct {
	Resource           string          `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Version            string          `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	ImportDerivedRoles []string        `protobuf:"bytes,3,rep,name=import_derived_roles,json=importDerivedRoles,proto3" json:"import_derived_roles,omitempty"`
	Rules              []*ResourceRule `protobuf:"bytes,4,rep,name=rules,proto3" json:"rules,omitempty"`
	Scope              string          `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
	Schemas            *Schemas        `protobuf:"bytes,6,opt,name=schemas,proto3" json:"schemas,omitempty"`
	Variables          *Variables      `protobuf:"bytes,7,opt,name=variables,proto3" json:"variables,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourcePolicy) Descriptor deprecated

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

Deprecated: Use ResourcePolicy.ProtoReflect.Descriptor instead.

func (*ResourcePolicy) GetImportDerivedRoles

func (x *ResourcePolicy) GetImportDerivedRoles() []string

func (*ResourcePolicy) GetResource

func (x *ResourcePolicy) GetResource() string

func (*ResourcePolicy) GetRules

func (x *ResourcePolicy) GetRules() []*ResourceRule

func (*ResourcePolicy) GetSchemas

func (x *ResourcePolicy) GetSchemas() *Schemas

func (*ResourcePolicy) GetScope

func (x *ResourcePolicy) GetScope() string

func (*ResourcePolicy) GetVariables

func (x *ResourcePolicy) GetVariables() *Variables

func (*ResourcePolicy) GetVersion

func (x *ResourcePolicy) GetVersion() string

func (*ResourcePolicy) HashPB

func (m *ResourcePolicy) 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 (*ResourcePolicy) MarshalToSizedBufferVT

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

func (*ResourcePolicy) MarshalToVT

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

func (*ResourcePolicy) MarshalVT

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

func (*ResourcePolicy) ProtoMessage

func (*ResourcePolicy) ProtoMessage()

func (*ResourcePolicy) ProtoReflect

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

func (*ResourcePolicy) Reset

func (x *ResourcePolicy) Reset()

func (*ResourcePolicy) SizeVT

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

func (*ResourcePolicy) String

func (x *ResourcePolicy) String() string

func (*ResourcePolicy) UnmarshalVT

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

type ResourceRule

type ResourceRule struct {
	Actions      []string   `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	DerivedRoles []string   `protobuf:"bytes,2,rep,name=derived_roles,json=derivedRoles,proto3" json:"derived_roles,omitempty"`
	Roles        []string   `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
	Condition    *Condition `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"`
	Effect       v1.Effect  `protobuf:"varint,5,opt,name=effect,proto3,enum=cerbos.effect.v1.Effect" json:"effect,omitempty"`
	Name         string     `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Output       *Output    `protobuf:"bytes,7,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceRule) Descriptor deprecated

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

Deprecated: Use ResourceRule.ProtoReflect.Descriptor instead.

func (*ResourceRule) GetActions

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

func (*ResourceRule) GetCondition

func (x *ResourceRule) GetCondition() *Condition

func (*ResourceRule) GetDerivedRoles

func (x *ResourceRule) GetDerivedRoles() []string

func (*ResourceRule) GetEffect

func (x *ResourceRule) GetEffect() v1.Effect

func (*ResourceRule) GetName

func (x *ResourceRule) GetName() string

func (*ResourceRule) GetOutput

func (x *ResourceRule) GetOutput() *Output

func (*ResourceRule) GetRoles

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

func (*ResourceRule) HashPB

func (m *ResourceRule) 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 (*ResourceRule) MarshalToSizedBufferVT

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

func (*ResourceRule) MarshalToVT

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

func (*ResourceRule) MarshalVT

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

func (*ResourceRule) ProtoMessage

func (*ResourceRule) ProtoMessage()

func (*ResourceRule) ProtoReflect

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

func (*ResourceRule) Reset

func (x *ResourceRule) Reset()

func (*ResourceRule) SizeVT

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

func (*ResourceRule) String

func (x *ResourceRule) String() string

func (*ResourceRule) UnmarshalVT

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

type RoleDef

type RoleDef struct {
	Name        string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ParentRoles []string   `protobuf:"bytes,2,rep,name=parent_roles,json=parentRoles,proto3" json:"parent_roles,omitempty"`
	Condition   *Condition `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleDef) Descriptor deprecated

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

Deprecated: Use RoleDef.ProtoReflect.Descriptor instead.

func (*RoleDef) GetCondition

func (x *RoleDef) GetCondition() *Condition

func (*RoleDef) GetName

func (x *RoleDef) GetName() string

func (*RoleDef) GetParentRoles

func (x *RoleDef) GetParentRoles() []string

func (*RoleDef) HashPB

func (m *RoleDef) 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 (*RoleDef) MarshalToSizedBufferVT

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

func (*RoleDef) MarshalToVT

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

func (*RoleDef) MarshalVT

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

func (*RoleDef) ProtoMessage

func (*RoleDef) ProtoMessage()

func (*RoleDef) ProtoReflect

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

func (*RoleDef) Reset

func (x *RoleDef) Reset()

func (*RoleDef) SizeVT

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

func (*RoleDef) String

func (x *RoleDef) String() string

func (*RoleDef) UnmarshalVT

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

type Schemas

type Schemas struct {
	PrincipalSchema *Schemas_Schema `protobuf:"bytes,1,opt,name=principal_schema,json=principalSchema,proto3" json:"principal_schema,omitempty"`
	ResourceSchema  *Schemas_Schema `protobuf:"bytes,2,opt,name=resource_schema,json=resourceSchema,proto3" json:"resource_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*Schemas) Descriptor deprecated

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

Deprecated: Use Schemas.ProtoReflect.Descriptor instead.

func (*Schemas) GetPrincipalSchema

func (x *Schemas) GetPrincipalSchema() *Schemas_Schema

func (*Schemas) GetResourceSchema

func (x *Schemas) GetResourceSchema() *Schemas_Schema

func (*Schemas) HashPB

func (m *Schemas) 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 (*Schemas) MarshalToSizedBufferVT

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

func (*Schemas) MarshalToVT

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

func (*Schemas) MarshalVT

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

func (*Schemas) ProtoMessage

func (*Schemas) ProtoMessage()

func (*Schemas) ProtoReflect

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

func (*Schemas) Reset

func (x *Schemas) Reset()

func (*Schemas) SizeVT

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

func (*Schemas) String

func (x *Schemas) String() string

func (*Schemas) UnmarshalVT

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

type Schemas_IgnoreWhen

type Schemas_IgnoreWhen struct {
	Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

func (*Schemas_IgnoreWhen) Descriptor deprecated

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

Deprecated: Use Schemas_IgnoreWhen.ProtoReflect.Descriptor instead.

func (*Schemas_IgnoreWhen) GetActions

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

func (*Schemas_IgnoreWhen) HashPB

func (m *Schemas_IgnoreWhen) 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 (*Schemas_IgnoreWhen) MarshalToSizedBufferVT

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

func (*Schemas_IgnoreWhen) MarshalToVT

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

func (*Schemas_IgnoreWhen) MarshalVT

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

func (*Schemas_IgnoreWhen) ProtoMessage

func (*Schemas_IgnoreWhen) ProtoMessage()

func (*Schemas_IgnoreWhen) ProtoReflect

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

func (*Schemas_IgnoreWhen) Reset

func (x *Schemas_IgnoreWhen) Reset()

func (*Schemas_IgnoreWhen) SizeVT

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

func (*Schemas_IgnoreWhen) String

func (x *Schemas_IgnoreWhen) String() string

func (*Schemas_IgnoreWhen) UnmarshalVT

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

type Schemas_Schema

type Schemas_Schema struct {
	Ref        string              `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	IgnoreWhen *Schemas_IgnoreWhen `protobuf:"bytes,2,opt,name=ignore_when,json=ignoreWhen,proto3" json:"ignore_when,omitempty"`
	// contains filtered or unexported fields
}

func (*Schemas_Schema) Descriptor deprecated

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

Deprecated: Use Schemas_Schema.ProtoReflect.Descriptor instead.

func (*Schemas_Schema) GetIgnoreWhen

func (x *Schemas_Schema) GetIgnoreWhen() *Schemas_IgnoreWhen

func (*Schemas_Schema) GetRef

func (x *Schemas_Schema) GetRef() string

func (*Schemas_Schema) HashPB

func (m *Schemas_Schema) 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 (*Schemas_Schema) MarshalToSizedBufferVT

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

func (*Schemas_Schema) MarshalToVT

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

func (*Schemas_Schema) MarshalVT

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

func (*Schemas_Schema) ProtoMessage

func (*Schemas_Schema) ProtoMessage()

func (*Schemas_Schema) ProtoReflect

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

func (*Schemas_Schema) Reset

func (x *Schemas_Schema) Reset()

func (*Schemas_Schema) SizeVT

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

func (*Schemas_Schema) String

func (x *Schemas_Schema) String() string

func (*Schemas_Schema) UnmarshalVT

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

type SourceAttributes added in v0.33.0

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

func (*SourceAttributes) Descriptor deprecated added in v0.33.0

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

Deprecated: Use SourceAttributes.ProtoReflect.Descriptor instead.

func (*SourceAttributes) GetAttributes added in v0.33.0

func (x *SourceAttributes) GetAttributes() map[string]*structpb.Value

func (*SourceAttributes) HashPB added in v0.33.0

func (m *SourceAttributes) 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 (*SourceAttributes) MarshalToSizedBufferVT added in v0.33.0

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

func (*SourceAttributes) MarshalToVT added in v0.33.0

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

func (*SourceAttributes) MarshalVT added in v0.33.0

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

func (*SourceAttributes) ProtoMessage added in v0.33.0

func (*SourceAttributes) ProtoMessage()

func (*SourceAttributes) ProtoReflect added in v0.33.0

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

func (*SourceAttributes) Reset added in v0.33.0

func (x *SourceAttributes) Reset()

func (*SourceAttributes) SizeVT added in v0.33.0

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

func (*SourceAttributes) String added in v0.33.0

func (x *SourceAttributes) String() string

func (*SourceAttributes) UnmarshalVT added in v0.33.0

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

type Test

type Test struct {
	Name            *Test_TestName                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description     string                         `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Skip            bool                           `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
	SkipReason      string                         `protobuf:"bytes,4,opt,name=skip_reason,json=skipReason,proto3" json:"skip_reason,omitempty"`
	Input           *v11.CheckInput                `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
	Expected        map[string]v1.Effect           `` /* 187-byte string literal not displayed */
	Options         *TestOptions                   `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"`
	ExpectedOutputs map[string]*Test_OutputEntries `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Test) Descriptor deprecated

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

Deprecated: Use Test.ProtoReflect.Descriptor instead.

func (*Test) GetDescription

func (x *Test) GetDescription() string

func (*Test) GetExpected

func (x *Test) GetExpected() map[string]v1.Effect

func (*Test) GetExpectedOutputs

func (x *Test) GetExpectedOutputs() map[string]*Test_OutputEntries

func (*Test) GetInput

func (x *Test) GetInput() *v11.CheckInput

func (*Test) GetName

func (x *Test) GetName() *Test_TestName

func (*Test) GetOptions

func (x *Test) GetOptions() *TestOptions

func (*Test) GetSkip

func (x *Test) GetSkip() bool

func (*Test) GetSkipReason

func (x *Test) GetSkipReason() string

func (*Test) HashPB

func (m *Test) 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 (*Test) MarshalToSizedBufferVT

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

func (*Test) MarshalToVT

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

func (*Test) MarshalVT

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

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) ProtoReflect

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

func (*Test) Reset

func (x *Test) Reset()

func (*Test) SizeVT

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

func (*Test) String

func (x *Test) String() string

func (*Test) UnmarshalVT

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

type TestFixture

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

func (*TestFixture) Descriptor deprecated

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

Deprecated: Use TestFixture.ProtoReflect.Descriptor instead.

func (*TestFixture) MarshalToSizedBufferVT

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

func (*TestFixture) MarshalToVT

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

func (*TestFixture) MarshalVT

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

func (*TestFixture) ProtoMessage

func (*TestFixture) ProtoMessage()

func (*TestFixture) ProtoReflect

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

func (*TestFixture) Reset

func (x *TestFixture) Reset()

func (*TestFixture) SizeVT

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

func (*TestFixture) String

func (x *TestFixture) String() string

func (*TestFixture) UnmarshalVT

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

type TestFixture_AuxData

type TestFixture_AuxData struct {
	AuxData    map[string]*v11.AuxData `` /* 170-byte string literal not displayed */
	JsonSchema string                  `protobuf:"bytes,2,opt,name=json_schema,json=$schema,proto3" json:"json_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*TestFixture_AuxData) Descriptor deprecated

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

Deprecated: Use TestFixture_AuxData.ProtoReflect.Descriptor instead.

func (*TestFixture_AuxData) GetAuxData

func (x *TestFixture_AuxData) GetAuxData() map[string]*v11.AuxData

func (*TestFixture_AuxData) GetJsonSchema

func (x *TestFixture_AuxData) GetJsonSchema() string

func (*TestFixture_AuxData) MarshalToSizedBufferVT

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

func (*TestFixture_AuxData) MarshalToVT

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

func (*TestFixture_AuxData) MarshalVT

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

func (*TestFixture_AuxData) ProtoMessage

func (*TestFixture_AuxData) ProtoMessage()

func (*TestFixture_AuxData) ProtoReflect

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

func (*TestFixture_AuxData) Reset

func (x *TestFixture_AuxData) Reset()

func (*TestFixture_AuxData) SizeVT

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

func (*TestFixture_AuxData) String

func (x *TestFixture_AuxData) String() string

func (*TestFixture_AuxData) UnmarshalVT

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

type TestFixture_Principals

type TestFixture_Principals struct {
	Principals map[string]*v11.Principal `` /* 161-byte string literal not displayed */
	JsonSchema string                    `protobuf:"bytes,2,opt,name=json_schema,json=$schema,proto3" json:"json_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*TestFixture_Principals) Descriptor deprecated

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

Deprecated: Use TestFixture_Principals.ProtoReflect.Descriptor instead.

func (*TestFixture_Principals) GetJsonSchema

func (x *TestFixture_Principals) GetJsonSchema() string

func (*TestFixture_Principals) GetPrincipals

func (x *TestFixture_Principals) GetPrincipals() map[string]*v11.Principal

func (*TestFixture_Principals) MarshalToSizedBufferVT

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

func (*TestFixture_Principals) MarshalToVT

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

func (*TestFixture_Principals) MarshalVT

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

func (*TestFixture_Principals) ProtoMessage

func (*TestFixture_Principals) ProtoMessage()

func (*TestFixture_Principals) ProtoReflect

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

func (*TestFixture_Principals) Reset

func (x *TestFixture_Principals) Reset()

func (*TestFixture_Principals) SizeVT

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

func (*TestFixture_Principals) String

func (x *TestFixture_Principals) String() string

func (*TestFixture_Principals) UnmarshalVT

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

type TestFixture_Resources

type TestFixture_Resources struct {
	Resources  map[string]*v11.Resource `` /* 159-byte string literal not displayed */
	JsonSchema string                   `protobuf:"bytes,2,opt,name=json_schema,json=$schema,proto3" json:"json_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*TestFixture_Resources) Descriptor deprecated

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

Deprecated: Use TestFixture_Resources.ProtoReflect.Descriptor instead.

func (*TestFixture_Resources) GetJsonSchema

func (x *TestFixture_Resources) GetJsonSchema() string

func (*TestFixture_Resources) GetResources

func (x *TestFixture_Resources) GetResources() map[string]*v11.Resource

func (*TestFixture_Resources) MarshalToSizedBufferVT

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

func (*TestFixture_Resources) MarshalToVT

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

func (*TestFixture_Resources) MarshalVT

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

func (*TestFixture_Resources) ProtoMessage

func (*TestFixture_Resources) ProtoMessage()

func (*TestFixture_Resources) ProtoReflect

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

func (*TestFixture_Resources) Reset

func (x *TestFixture_Resources) Reset()

func (*TestFixture_Resources) SizeVT

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

func (*TestFixture_Resources) String

func (x *TestFixture_Resources) String() string

func (*TestFixture_Resources) UnmarshalVT

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

type TestOptions

type TestOptions struct {
	Now                *timestamppb.Timestamp     `protobuf:"bytes,1,opt,name=now,proto3" json:"now,omitempty"`
	LenientScopeSearch bool                       `protobuf:"varint,2,opt,name=lenient_scope_search,json=lenientScopeSearch,proto3" json:"lenient_scope_search,omitempty"`
	Globals            map[string]*structpb.Value `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestOptions) Descriptor deprecated

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

Deprecated: Use TestOptions.ProtoReflect.Descriptor instead.

func (*TestOptions) GetGlobals

func (x *TestOptions) GetGlobals() map[string]*structpb.Value

func (*TestOptions) GetLenientScopeSearch

func (x *TestOptions) GetLenientScopeSearch() bool

func (*TestOptions) GetNow

func (x *TestOptions) GetNow() *timestamppb.Timestamp

func (*TestOptions) HashPB

func (m *TestOptions) 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 (*TestOptions) MarshalToSizedBufferVT

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

func (*TestOptions) MarshalToVT

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

func (*TestOptions) MarshalVT

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

func (*TestOptions) ProtoMessage

func (*TestOptions) ProtoMessage()

func (*TestOptions) ProtoReflect

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

func (*TestOptions) Reset

func (x *TestOptions) Reset()

func (*TestOptions) SizeVT

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

func (*TestOptions) String

func (x *TestOptions) String() string

func (*TestOptions) UnmarshalVT

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

type TestResults

type TestResults struct {
	Suites  []*TestResults_Suite `protobuf:"bytes,1,rep,name=suites,proto3" json:"suites,omitempty"`
	Summary *TestResults_Summary `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults) Descriptor deprecated

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

Deprecated: Use TestResults.ProtoReflect.Descriptor instead.

func (*TestResults) GetSuites

func (x *TestResults) GetSuites() []*TestResults_Suite

func (*TestResults) GetSummary

func (x *TestResults) GetSummary() *TestResults_Summary

func (*TestResults) HashPB

func (m *TestResults) 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 (*TestResults) MarshalToSizedBufferVT

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

func (*TestResults) MarshalToVT

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

func (*TestResults) MarshalVT

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

func (*TestResults) ProtoMessage

func (*TestResults) ProtoMessage()

func (*TestResults) ProtoReflect

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

func (*TestResults) Reset

func (x *TestResults) Reset()

func (*TestResults) SizeVT

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

func (*TestResults) String

func (x *TestResults) String() string

func (*TestResults) UnmarshalVT

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

type TestResults_Action

type TestResults_Action struct {
	Name    string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Details *TestResults_Details `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults_Action) Descriptor deprecated

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

Deprecated: Use TestResults_Action.ProtoReflect.Descriptor instead.

func (*TestResults_Action) GetDetails

func (x *TestResults_Action) GetDetails() *TestResults_Details

func (*TestResults_Action) GetName

func (x *TestResults_Action) GetName() string

func (*TestResults_Action) HashPB

func (m *TestResults_Action) 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 (*TestResults_Action) MarshalToSizedBufferVT

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

func (*TestResults_Action) MarshalToVT

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

func (*TestResults_Action) MarshalVT

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

func (*TestResults_Action) ProtoMessage

func (*TestResults_Action) ProtoMessage()

func (*TestResults_Action) ProtoReflect

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

func (*TestResults_Action) Reset

func (x *TestResults_Action) Reset()

func (*TestResults_Action) SizeVT

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

func (*TestResults_Action) String

func (x *TestResults_Action) String() string

func (*TestResults_Action) UnmarshalVT

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

type TestResults_Details

type TestResults_Details struct {
	Result TestResults_Result `protobuf:"varint,1,opt,name=result,proto3,enum=cerbos.policy.v1.TestResults_Result" json:"result,omitempty"`
	// Types that are assignable to Outcome:
	//
	//	*TestResults_Details_Failure
	//	*TestResults_Details_Error
	//	*TestResults_Details_Success
	Outcome     isTestResults_Details_Outcome `protobuf_oneof:"outcome"`
	EngineTrace []*v11.Trace                  `protobuf:"bytes,4,rep,name=engine_trace,json=engineTrace,proto3" json:"engine_trace,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults_Details) Descriptor deprecated

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

Deprecated: Use TestResults_Details.ProtoReflect.Descriptor instead.

func (*TestResults_Details) GetEngineTrace

func (x *TestResults_Details) GetEngineTrace() []*v11.Trace

func (*TestResults_Details) GetError

func (x *TestResults_Details) GetError() string

func (*TestResults_Details) GetFailure

func (x *TestResults_Details) GetFailure() *TestResults_Failure

func (*TestResults_Details) GetOutcome

func (m *TestResults_Details) GetOutcome() isTestResults_Details_Outcome

func (*TestResults_Details) GetResult

func (x *TestResults_Details) GetResult() TestResults_Result

func (*TestResults_Details) GetSuccess

func (x *TestResults_Details) GetSuccess() *TestResults_Success

func (*TestResults_Details) HashPB

func (m *TestResults_Details) 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 (*TestResults_Details) MarshalToSizedBufferVT

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

func (*TestResults_Details) MarshalToVT

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

func (*TestResults_Details) MarshalVT

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

func (*TestResults_Details) ProtoMessage

func (*TestResults_Details) ProtoMessage()

func (*TestResults_Details) ProtoReflect

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

func (*TestResults_Details) Reset

func (x *TestResults_Details) Reset()

func (*TestResults_Details) SizeVT

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

func (*TestResults_Details) String

func (x *TestResults_Details) String() string

func (*TestResults_Details) UnmarshalVT

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

type TestResults_Details_Error

type TestResults_Details_Error struct {
	Error string `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

func (*TestResults_Details_Error) MarshalToSizedBufferVT

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

func (*TestResults_Details_Error) MarshalToVT

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

func (*TestResults_Details_Error) SizeVT

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

type TestResults_Details_Failure

type TestResults_Details_Failure struct {
	Failure *TestResults_Failure `protobuf:"bytes,2,opt,name=failure,proto3,oneof"`
}

func (*TestResults_Details_Failure) MarshalToSizedBufferVT

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

func (*TestResults_Details_Failure) MarshalToVT

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

func (*TestResults_Details_Failure) SizeVT

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

type TestResults_Details_Success

type TestResults_Details_Success struct {
	Success *TestResults_Success `protobuf:"bytes,5,opt,name=success,proto3,oneof"`
}

func (*TestResults_Details_Success) MarshalToSizedBufferVT

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

func (*TestResults_Details_Success) MarshalToVT

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

func (*TestResults_Details_Success) SizeVT

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

type TestResults_Failure

type TestResults_Failure struct {
	Expected v1.Effect                    `protobuf:"varint,1,opt,name=expected,proto3,enum=cerbos.effect.v1.Effect" json:"expected,omitempty"`
	Actual   v1.Effect                    `protobuf:"varint,2,opt,name=actual,proto3,enum=cerbos.effect.v1.Effect" json:"actual,omitempty"`
	Outputs  []*TestResults_OutputFailure `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults_Failure) Descriptor deprecated

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

Deprecated: Use TestResults_Failure.ProtoReflect.Descriptor instead.

func (*TestResults_Failure) GetActual

func (x *TestResults_Failure) GetActual() v1.Effect

func (*TestResults_Failure) GetExpected

func (x *TestResults_Failure) GetExpected() v1.Effect

func (*TestResults_Failure) GetOutputs

func (*TestResults_Failure) HashPB

func (m *TestResults_Failure) 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 (*TestResults_Failure) MarshalToSizedBufferVT

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

func (*TestResults_Failure) MarshalToVT

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

func (*TestResults_Failure) MarshalVT

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

func (*TestResults_Failure) ProtoMessage

func (*TestResults_Failure) ProtoMessage()

func (*TestResults_Failure) ProtoReflect

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

func (*TestResults_Failure) Reset

func (x *TestResults_Failure) Reset()

func (*TestResults_Failure) SizeVT

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

func (*TestResults_Failure) String

func (x *TestResults_Failure) String() string

func (*TestResults_Failure) UnmarshalVT

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

type TestResults_OutputFailure

type TestResults_OutputFailure struct {
	Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"`
	// Types that are assignable to Outcome:
	//
	//	*TestResults_OutputFailure_Mismatched
	//	*TestResults_OutputFailure_Missing
	Outcome isTestResults_OutputFailure_Outcome `protobuf_oneof:"outcome"`
	// contains filtered or unexported fields
}

func (*TestResults_OutputFailure) Descriptor deprecated

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

Deprecated: Use TestResults_OutputFailure.ProtoReflect.Descriptor instead.

func (*TestResults_OutputFailure) GetMismatched

func (*TestResults_OutputFailure) GetMissing

func (*TestResults_OutputFailure) GetOutcome

func (m *TestResults_OutputFailure) GetOutcome() isTestResults_OutputFailure_Outcome

func (*TestResults_OutputFailure) GetSrc

func (x *TestResults_OutputFailure) GetSrc() string

func (*TestResults_OutputFailure) HashPB

func (m *TestResults_OutputFailure) 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 (*TestResults_OutputFailure) MarshalToSizedBufferVT

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

func (*TestResults_OutputFailure) MarshalToVT

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

func (*TestResults_OutputFailure) MarshalVT

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

func (*TestResults_OutputFailure) ProtoMessage

func (*TestResults_OutputFailure) ProtoMessage()

func (*TestResults_OutputFailure) ProtoReflect

func (*TestResults_OutputFailure) Reset

func (x *TestResults_OutputFailure) Reset()

func (*TestResults_OutputFailure) SizeVT

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

func (*TestResults_OutputFailure) String

func (x *TestResults_OutputFailure) String() string

func (*TestResults_OutputFailure) UnmarshalVT

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

type TestResults_OutputFailure_Mismatched

type TestResults_OutputFailure_Mismatched struct {
	Mismatched *TestResults_OutputFailure_MismatchedValue `protobuf:"bytes,2,opt,name=mismatched,proto3,oneof"`
}

func (*TestResults_OutputFailure_Mismatched) MarshalToSizedBufferVT

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

func (*TestResults_OutputFailure_Mismatched) MarshalToVT

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

func (*TestResults_OutputFailure_Mismatched) SizeVT

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

type TestResults_OutputFailure_MismatchedValue

type TestResults_OutputFailure_MismatchedValue struct {
	Expected *structpb.Value `protobuf:"bytes,1,opt,name=expected,proto3" json:"expected,omitempty"`
	Actual   *structpb.Value `protobuf:"bytes,2,opt,name=actual,proto3" json:"actual,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults_OutputFailure_MismatchedValue) Descriptor deprecated

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

Deprecated: Use TestResults_OutputFailure_MismatchedValue.ProtoReflect.Descriptor instead.

func (*TestResults_OutputFailure_MismatchedValue) GetActual

func (*TestResults_OutputFailure_MismatchedValue) GetExpected

func (*TestResults_OutputFailure_MismatchedValue) HashPB

func (m *TestResults_OutputFailure_MismatchedValue) 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 (*TestResults_OutputFailure_MismatchedValue) MarshalToSizedBufferVT

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

func (*TestResults_OutputFailure_MismatchedValue) MarshalToVT

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

func (*TestResults_OutputFailure_MismatchedValue) MarshalVT

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

func (*TestResults_OutputFailure_MismatchedValue) ProtoMessage

func (*TestResults_OutputFailure_MismatchedValue) ProtoReflect

func (*TestResults_OutputFailure_MismatchedValue) Reset

func (*TestResults_OutputFailure_MismatchedValue) SizeVT

func (*TestResults_OutputFailure_MismatchedValue) String

func (*TestResults_OutputFailure_MismatchedValue) UnmarshalVT

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

type TestResults_OutputFailure_Missing

type TestResults_OutputFailure_Missing struct {
	Missing *TestResults_OutputFailure_MissingValue `protobuf:"bytes,3,opt,name=missing,proto3,oneof"`
}

func (*TestResults_OutputFailure_Missing) MarshalToSizedBufferVT

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

func (*TestResults_OutputFailure_Missing) MarshalToVT

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

func (*TestResults_OutputFailure_Missing) SizeVT

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

type TestResults_OutputFailure_MissingValue

type TestResults_OutputFailure_MissingValue struct {
	Expected *structpb.Value `protobuf:"bytes,1,opt,name=expected,proto3" json:"expected,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults_OutputFailure_MissingValue) Descriptor deprecated

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

Deprecated: Use TestResults_OutputFailure_MissingValue.ProtoReflect.Descriptor instead.

func (*TestResults_OutputFailure_MissingValue) GetExpected

func (*TestResults_OutputFailure_MissingValue) HashPB

func (m *TestResults_OutputFailure_MissingValue) 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 (*TestResults_OutputFailure_MissingValue) MarshalToSizedBufferVT

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

func (*TestResults_OutputFailure_MissingValue) MarshalToVT

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

func (*TestResults_OutputFailure_MissingValue) MarshalVT

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

func (*TestResults_OutputFailure_MissingValue) ProtoMessage

func (*TestResults_OutputFailure_MissingValue) ProtoReflect

func (*TestResults_OutputFailure_MissingValue) Reset

func (*TestResults_OutputFailure_MissingValue) SizeVT

func (*TestResults_OutputFailure_MissingValue) String

func (*TestResults_OutputFailure_MissingValue) UnmarshalVT

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

type TestResults_Principal

type TestResults_Principal struct {
	Name      string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Resources []*TestResults_Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults_Principal) Descriptor deprecated

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

Deprecated: Use TestResults_Principal.ProtoReflect.Descriptor instead.

func (*TestResults_Principal) GetName

func (x *TestResults_Principal) GetName() string

func (*TestResults_Principal) GetResources

func (x *TestResults_Principal) GetResources() []*TestResults_Resource

func (*TestResults_Principal) HashPB

func (m *TestResults_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 (*TestResults_Principal) MarshalToSizedBufferVT

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

func (*TestResults_Principal) MarshalToVT

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

func (*TestResults_Principal) MarshalVT

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

func (*TestResults_Principal) ProtoMessage

func (*TestResults_Principal) ProtoMessage()

func (*TestResults_Principal) ProtoReflect

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

func (*TestResults_Principal) Reset

func (x *TestResults_Principal) Reset()

func (*TestResults_Principal) SizeVT

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

func (*TestResults_Principal) String

func (x *TestResults_Principal) String() string

func (*TestResults_Principal) UnmarshalVT

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

type TestResults_Resource

type TestResults_Resource struct {
	Name    string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Actions []*TestResults_Action `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults_Resource) Descriptor deprecated

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

Deprecated: Use TestResults_Resource.ProtoReflect.Descriptor instead.

func (*TestResults_Resource) GetActions

func (x *TestResults_Resource) GetActions() []*TestResults_Action

func (*TestResults_Resource) GetName

func (x *TestResults_Resource) GetName() string

func (*TestResults_Resource) HashPB

func (m *TestResults_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 (*TestResults_Resource) MarshalToSizedBufferVT

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

func (*TestResults_Resource) MarshalToVT

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

func (*TestResults_Resource) MarshalVT

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

func (*TestResults_Resource) ProtoMessage

func (*TestResults_Resource) ProtoMessage()

func (*TestResults_Resource) ProtoReflect

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

func (*TestResults_Resource) Reset

func (x *TestResults_Resource) Reset()

func (*TestResults_Resource) SizeVT

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

func (*TestResults_Resource) String

func (x *TestResults_Resource) String() string

func (*TestResults_Resource) UnmarshalVT

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

type TestResults_Result

type TestResults_Result int32
const (
	TestResults_RESULT_UNSPECIFIED TestResults_Result = 0
	TestResults_RESULT_SKIPPED     TestResults_Result = 1
	TestResults_RESULT_PASSED      TestResults_Result = 2
	TestResults_RESULT_FAILED      TestResults_Result = 3
	TestResults_RESULT_ERRORED     TestResults_Result = 4
)

func (TestResults_Result) Descriptor

func (TestResults_Result) Enum

func (TestResults_Result) EnumDescriptor deprecated

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

Deprecated: Use TestResults_Result.Descriptor instead.

func (TestResults_Result) Number

func (TestResults_Result) String

func (x TestResults_Result) String() string

func (TestResults_Result) Type

type TestResults_Success

type TestResults_Success struct {
	Effect  v1.Effect          `protobuf:"varint,1,opt,name=effect,proto3,enum=cerbos.effect.v1.Effect" json:"effect,omitempty"`
	Outputs []*v11.OutputEntry `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults_Success) Descriptor deprecated

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

Deprecated: Use TestResults_Success.ProtoReflect.Descriptor instead.

func (*TestResults_Success) GetEffect

func (x *TestResults_Success) GetEffect() v1.Effect

func (*TestResults_Success) GetOutputs

func (x *TestResults_Success) GetOutputs() []*v11.OutputEntry

func (*TestResults_Success) HashPB

func (m *TestResults_Success) 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 (*TestResults_Success) MarshalToSizedBufferVT

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

func (*TestResults_Success) MarshalToVT

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

func (*TestResults_Success) MarshalVT

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

func (*TestResults_Success) ProtoMessage

func (*TestResults_Success) ProtoMessage()

func (*TestResults_Success) ProtoReflect

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

func (*TestResults_Success) Reset

func (x *TestResults_Success) Reset()

func (*TestResults_Success) SizeVT

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

func (*TestResults_Success) String

func (x *TestResults_Success) String() string

func (*TestResults_Success) UnmarshalVT

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

type TestResults_Suite

type TestResults_Suite struct {
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Deprecated: Marked as deprecated in cerbos/policy/v1/policy.proto.
	Principals  []*TestResults_Principal `protobuf:"bytes,3,rep,name=principals,proto3" json:"principals,omitempty"`
	Summary     *TestResults_Summary     `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
	Error       string                   `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	TestCases   []*TestResults_TestCase  `protobuf:"bytes,6,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"`
	Description string                   `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults_Suite) Descriptor deprecated

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

Deprecated: Use TestResults_Suite.ProtoReflect.Descriptor instead.

func (*TestResults_Suite) GetDescription

func (x *TestResults_Suite) GetDescription() string

func (*TestResults_Suite) GetError

func (x *TestResults_Suite) GetError() string

func (*TestResults_Suite) GetFile

func (x *TestResults_Suite) GetFile() string

func (*TestResults_Suite) GetName

func (x *TestResults_Suite) GetName() string

func (*TestResults_Suite) GetPrincipals deprecated

func (x *TestResults_Suite) GetPrincipals() []*TestResults_Principal

Deprecated: Marked as deprecated in cerbos/policy/v1/policy.proto.

func (*TestResults_Suite) GetSummary

func (x *TestResults_Suite) GetSummary() *TestResults_Summary

func (*TestResults_Suite) GetTestCases

func (x *TestResults_Suite) GetTestCases() []*TestResults_TestCase

func (*TestResults_Suite) HashPB

func (m *TestResults_Suite) 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 (*TestResults_Suite) MarshalToSizedBufferVT

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

func (*TestResults_Suite) MarshalToVT

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

func (*TestResults_Suite) MarshalVT

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

func (*TestResults_Suite) ProtoMessage

func (*TestResults_Suite) ProtoMessage()

func (*TestResults_Suite) ProtoReflect

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

func (*TestResults_Suite) Reset

func (x *TestResults_Suite) Reset()

func (*TestResults_Suite) SizeVT

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

func (*TestResults_Suite) String

func (x *TestResults_Suite) String() string

func (*TestResults_Suite) UnmarshalVT

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

type TestResults_Summary

type TestResults_Summary struct {
	OverallResult TestResults_Result   `` /* 142-byte string literal not displayed */
	TestsCount    uint32               `protobuf:"varint,2,opt,name=tests_count,json=testsCount,proto3" json:"tests_count,omitempty"`
	ResultCounts  []*TestResults_Tally `protobuf:"bytes,3,rep,name=result_counts,json=resultCounts,proto3" json:"result_counts,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults_Summary) Descriptor deprecated

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

Deprecated: Use TestResults_Summary.ProtoReflect.Descriptor instead.

func (*TestResults_Summary) GetOverallResult

func (x *TestResults_Summary) GetOverallResult() TestResults_Result

func (*TestResults_Summary) GetResultCounts

func (x *TestResults_Summary) GetResultCounts() []*TestResults_Tally

func (*TestResults_Summary) GetTestsCount

func (x *TestResults_Summary) GetTestsCount() uint32

func (*TestResults_Summary) HashPB

func (m *TestResults_Summary) 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 (*TestResults_Summary) MarshalToSizedBufferVT

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

func (*TestResults_Summary) MarshalToVT

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

func (*TestResults_Summary) MarshalVT

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

func (*TestResults_Summary) ProtoMessage

func (*TestResults_Summary) ProtoMessage()

func (*TestResults_Summary) ProtoReflect

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

func (*TestResults_Summary) Reset

func (x *TestResults_Summary) Reset()

func (*TestResults_Summary) SizeVT

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

func (*TestResults_Summary) String

func (x *TestResults_Summary) String() string

func (*TestResults_Summary) UnmarshalVT

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

type TestResults_Tally

type TestResults_Tally struct {
	Result TestResults_Result `protobuf:"varint,1,opt,name=result,proto3,enum=cerbos.policy.v1.TestResults_Result" json:"result,omitempty"`
	Count  uint32             `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults_Tally) Descriptor deprecated

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

Deprecated: Use TestResults_Tally.ProtoReflect.Descriptor instead.

func (*TestResults_Tally) GetCount

func (x *TestResults_Tally) GetCount() uint32

func (*TestResults_Tally) GetResult

func (x *TestResults_Tally) GetResult() TestResults_Result

func (*TestResults_Tally) HashPB

func (m *TestResults_Tally) 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 (*TestResults_Tally) MarshalToSizedBufferVT

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

func (*TestResults_Tally) MarshalToVT

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

func (*TestResults_Tally) MarshalVT

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

func (*TestResults_Tally) ProtoMessage

func (*TestResults_Tally) ProtoMessage()

func (*TestResults_Tally) ProtoReflect

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

func (*TestResults_Tally) Reset

func (x *TestResults_Tally) Reset()

func (*TestResults_Tally) SizeVT

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

func (*TestResults_Tally) String

func (x *TestResults_Tally) String() string

func (*TestResults_Tally) UnmarshalVT

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

type TestResults_TestCase

type TestResults_TestCase struct {
	Name       string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Principals []*TestResults_Principal `protobuf:"bytes,2,rep,name=principals,proto3" json:"principals,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResults_TestCase) Descriptor deprecated

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

Deprecated: Use TestResults_TestCase.ProtoReflect.Descriptor instead.

func (*TestResults_TestCase) GetName

func (x *TestResults_TestCase) GetName() string

func (*TestResults_TestCase) GetPrincipals

func (x *TestResults_TestCase) GetPrincipals() []*TestResults_Principal

func (*TestResults_TestCase) HashPB

func (m *TestResults_TestCase) 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 (*TestResults_TestCase) MarshalToSizedBufferVT

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

func (*TestResults_TestCase) MarshalToVT

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

func (*TestResults_TestCase) MarshalVT

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

func (*TestResults_TestCase) ProtoMessage

func (*TestResults_TestCase) ProtoMessage()

func (*TestResults_TestCase) ProtoReflect

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

func (*TestResults_TestCase) Reset

func (x *TestResults_TestCase) Reset()

func (*TestResults_TestCase) SizeVT

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

func (*TestResults_TestCase) String

func (x *TestResults_TestCase) String() string

func (*TestResults_TestCase) UnmarshalVT

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

type TestSuite

type TestSuite struct {
	Name        string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string                    `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Skip        bool                      `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
	SkipReason  string                    `protobuf:"bytes,4,opt,name=skip_reason,json=skipReason,proto3" json:"skip_reason,omitempty"`
	Tests       []*TestTable              `protobuf:"bytes,5,rep,name=tests,proto3" json:"tests,omitempty"`
	Principals  map[string]*v11.Principal `` /* 161-byte string literal not displayed */
	Resources   map[string]*v11.Resource  `` /* 159-byte string literal not displayed */
	AuxData     map[string]*v11.AuxData   `` /* 170-byte string literal not displayed */
	Options     *TestOptions              `protobuf:"bytes,9,opt,name=options,proto3" json:"options,omitempty"`
	JsonSchema  string                    `protobuf:"bytes,10,opt,name=json_schema,json=$schema,proto3" json:"json_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSuite) Descriptor deprecated

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

Deprecated: Use TestSuite.ProtoReflect.Descriptor instead.

func (*TestSuite) GetAuxData

func (x *TestSuite) GetAuxData() map[string]*v11.AuxData

func (*TestSuite) GetDescription

func (x *TestSuite) GetDescription() string

func (*TestSuite) GetJsonSchema

func (x *TestSuite) GetJsonSchema() string

func (*TestSuite) GetName

func (x *TestSuite) GetName() string

func (*TestSuite) GetOptions

func (x *TestSuite) GetOptions() *TestOptions

func (*TestSuite) GetPrincipals

func (x *TestSuite) GetPrincipals() map[string]*v11.Principal

func (*TestSuite) GetResources

func (x *TestSuite) GetResources() map[string]*v11.Resource

func (*TestSuite) GetSkip

func (x *TestSuite) GetSkip() bool

func (*TestSuite) GetSkipReason

func (x *TestSuite) GetSkipReason() string

func (*TestSuite) GetTests

func (x *TestSuite) GetTests() []*TestTable

func (*TestSuite) HashPB

func (m *TestSuite) 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 (*TestSuite) MarshalToSizedBufferVT

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

func (*TestSuite) MarshalToVT

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

func (*TestSuite) MarshalVT

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

func (*TestSuite) ProtoMessage

func (*TestSuite) ProtoMessage()

func (*TestSuite) ProtoReflect

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

func (*TestSuite) Reset

func (x *TestSuite) Reset()

func (*TestSuite) SizeVT

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

func (*TestSuite) String

func (x *TestSuite) String() string

func (*TestSuite) UnmarshalVT

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

type TestTable

type TestTable struct {
	Name        string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string                   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Skip        bool                     `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
	SkipReason  string                   `protobuf:"bytes,4,opt,name=skip_reason,json=skipReason,proto3" json:"skip_reason,omitempty"`
	Input       *TestTable_Input         `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
	Expected    []*TestTable_Expectation `protobuf:"bytes,6,rep,name=expected,proto3" json:"expected,omitempty"`
	Options     *TestOptions             `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*TestTable) Descriptor deprecated

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

Deprecated: Use TestTable.ProtoReflect.Descriptor instead.

func (*TestTable) GetDescription

func (x *TestTable) GetDescription() string

func (*TestTable) GetExpected

func (x *TestTable) GetExpected() []*TestTable_Expectation

func (*TestTable) GetInput

func (x *TestTable) GetInput() *TestTable_Input

func (*TestTable) GetName

func (x *TestTable) GetName() string

func (*TestTable) GetOptions

func (x *TestTable) GetOptions() *TestOptions

func (*TestTable) GetSkip

func (x *TestTable) GetSkip() bool

func (*TestTable) GetSkipReason

func (x *TestTable) GetSkipReason() string

func (*TestTable) HashPB

func (m *TestTable) 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 (*TestTable) MarshalToSizedBufferVT

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

func (*TestTable) MarshalToVT

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

func (*TestTable) MarshalVT

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

func (*TestTable) ProtoMessage

func (*TestTable) ProtoMessage()

func (*TestTable) ProtoReflect

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

func (*TestTable) Reset

func (x *TestTable) Reset()

func (*TestTable) SizeVT

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

func (*TestTable) String

func (x *TestTable) String() string

func (*TestTable) UnmarshalVT

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

type TestTable_Expectation

type TestTable_Expectation struct {
	Principal string                          `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
	Resource  string                          `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	Actions   map[string]v1.Effect            `` /* 185-byte string literal not displayed */
	Outputs   []*TestTable_OutputExpectations `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*TestTable_Expectation) Descriptor deprecated

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

Deprecated: Use TestTable_Expectation.ProtoReflect.Descriptor instead.

func (*TestTable_Expectation) GetActions

func (x *TestTable_Expectation) GetActions() map[string]v1.Effect

func (*TestTable_Expectation) GetOutputs

func (*TestTable_Expectation) GetPrincipal

func (x *TestTable_Expectation) GetPrincipal() string

func (*TestTable_Expectation) GetResource

func (x *TestTable_Expectation) GetResource() string

func (*TestTable_Expectation) HashPB

func (m *TestTable_Expectation) 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 (*TestTable_Expectation) MarshalToSizedBufferVT

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

func (*TestTable_Expectation) MarshalToVT

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

func (*TestTable_Expectation) MarshalVT

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

func (*TestTable_Expectation) ProtoMessage

func (*TestTable_Expectation) ProtoMessage()

func (*TestTable_Expectation) ProtoReflect

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

func (*TestTable_Expectation) Reset

func (x *TestTable_Expectation) Reset()

func (*TestTable_Expectation) SizeVT

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

func (*TestTable_Expectation) String

func (x *TestTable_Expectation) String() string

func (*TestTable_Expectation) UnmarshalVT

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

type TestTable_Input

type TestTable_Input struct {
	Principals []string `protobuf:"bytes,1,rep,name=principals,proto3" json:"principals,omitempty"`
	Resources  []string `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	Actions    []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
	AuxData    string   `protobuf:"bytes,4,opt,name=aux_data,json=auxData,proto3" json:"aux_data,omitempty"`
	// contains filtered or unexported fields
}

func (*TestTable_Input) Descriptor deprecated

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

Deprecated: Use TestTable_Input.ProtoReflect.Descriptor instead.

func (*TestTable_Input) GetActions

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

func (*TestTable_Input) GetAuxData

func (x *TestTable_Input) GetAuxData() string

func (*TestTable_Input) GetPrincipals

func (x *TestTable_Input) GetPrincipals() []string

func (*TestTable_Input) GetResources

func (x *TestTable_Input) GetResources() []string

func (*TestTable_Input) HashPB

func (m *TestTable_Input) 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 (*TestTable_Input) MarshalToSizedBufferVT

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

func (*TestTable_Input) MarshalToVT

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

func (*TestTable_Input) MarshalVT

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

func (*TestTable_Input) ProtoMessage

func (*TestTable_Input) ProtoMessage()

func (*TestTable_Input) ProtoReflect

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

func (*TestTable_Input) Reset

func (x *TestTable_Input) Reset()

func (*TestTable_Input) SizeVT

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

func (*TestTable_Input) String

func (x *TestTable_Input) String() string

func (*TestTable_Input) UnmarshalVT

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

type TestTable_OutputExpectations

type TestTable_OutputExpectations struct {
	Action   string             `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	Expected []*v11.OutputEntry `protobuf:"bytes,2,rep,name=expected,proto3" json:"expected,omitempty"`
	// contains filtered or unexported fields
}

func (*TestTable_OutputExpectations) Descriptor deprecated

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

Deprecated: Use TestTable_OutputExpectations.ProtoReflect.Descriptor instead.

func (*TestTable_OutputExpectations) GetAction

func (x *TestTable_OutputExpectations) GetAction() string

func (*TestTable_OutputExpectations) GetExpected

func (x *TestTable_OutputExpectations) GetExpected() []*v11.OutputEntry

func (*TestTable_OutputExpectations) HashPB

func (m *TestTable_OutputExpectations) 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 (*TestTable_OutputExpectations) MarshalToSizedBufferVT

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

func (*TestTable_OutputExpectations) MarshalToVT

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

func (*TestTable_OutputExpectations) MarshalVT

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

func (*TestTable_OutputExpectations) ProtoMessage

func (*TestTable_OutputExpectations) ProtoMessage()

func (*TestTable_OutputExpectations) ProtoReflect

func (*TestTable_OutputExpectations) Reset

func (x *TestTable_OutputExpectations) Reset()

func (*TestTable_OutputExpectations) SizeVT

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

func (*TestTable_OutputExpectations) String

func (*TestTable_OutputExpectations) UnmarshalVT

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

type Test_OutputEntries

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

func (*Test_OutputEntries) Descriptor deprecated

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

Deprecated: Use Test_OutputEntries.ProtoReflect.Descriptor instead.

func (*Test_OutputEntries) GetEntries

func (x *Test_OutputEntries) GetEntries() map[string]*structpb.Value

func (*Test_OutputEntries) HashPB

func (m *Test_OutputEntries) 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 (*Test_OutputEntries) MarshalToSizedBufferVT

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

func (*Test_OutputEntries) MarshalToVT

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

func (*Test_OutputEntries) MarshalVT

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

func (*Test_OutputEntries) ProtoMessage

func (*Test_OutputEntries) ProtoMessage()

func (*Test_OutputEntries) ProtoReflect

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

func (*Test_OutputEntries) Reset

func (x *Test_OutputEntries) Reset()

func (*Test_OutputEntries) SizeVT

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

func (*Test_OutputEntries) String

func (x *Test_OutputEntries) String() string

func (*Test_OutputEntries) UnmarshalVT

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

type Test_TestName

type Test_TestName struct {
	TestTableName string `protobuf:"bytes,1,opt,name=test_table_name,json=testTableName,proto3" json:"test_table_name,omitempty"`
	PrincipalKey  string `protobuf:"bytes,2,opt,name=principal_key,json=principalKey,proto3" json:"principal_key,omitempty"`
	ResourceKey   string `protobuf:"bytes,3,opt,name=resource_key,json=resourceKey,proto3" json:"resource_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Test_TestName) Descriptor deprecated

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

Deprecated: Use Test_TestName.ProtoReflect.Descriptor instead.

func (*Test_TestName) GetPrincipalKey

func (x *Test_TestName) GetPrincipalKey() string

func (*Test_TestName) GetResourceKey

func (x *Test_TestName) GetResourceKey() string

func (*Test_TestName) GetTestTableName

func (x *Test_TestName) GetTestTableName() string

func (*Test_TestName) HashPB

func (m *Test_TestName) 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 (*Test_TestName) MarshalToSizedBufferVT

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

func (*Test_TestName) MarshalToVT

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

func (*Test_TestName) MarshalVT

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

func (*Test_TestName) ProtoMessage

func (*Test_TestName) ProtoMessage()

func (*Test_TestName) ProtoReflect

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

func (*Test_TestName) Reset

func (x *Test_TestName) Reset()

func (*Test_TestName) SizeVT

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

func (*Test_TestName) String

func (x *Test_TestName) String() string

func (*Test_TestName) UnmarshalVT

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

type Variables

type Variables struct {
	Import []string          `protobuf:"bytes,1,rep,name=import,proto3" json:"import,omitempty"`
	Local  map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Variables) Descriptor deprecated

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

Deprecated: Use Variables.ProtoReflect.Descriptor instead.

func (*Variables) GetImport

func (x *Variables) GetImport() []string

func (*Variables) GetLocal

func (x *Variables) GetLocal() map[string]string

func (*Variables) HashPB

func (m *Variables) 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 (*Variables) MarshalToSizedBufferVT

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

func (*Variables) MarshalToVT

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

func (*Variables) MarshalVT

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

func (*Variables) ProtoMessage

func (*Variables) ProtoMessage()

func (*Variables) ProtoReflect

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

func (*Variables) Reset

func (x *Variables) Reset()

func (*Variables) SizeVT

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

func (*Variables) String

func (x *Variables) String() string

func (*Variables) UnmarshalVT

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

Jump to

Keyboard shortcuts

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