policyv1

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 21 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "KIND_DERIVED_ROLES",
		2: "KIND_EXPORT_VARIABLES",
		3: "KIND_PRINCIPAL",
		4: "KIND_RESOURCE",
		5: "KIND_ROLE_POLICY",
		6: "KIND_EXPORT_CONSTANTS",
	}
	Kind_value = map[string]int32{
		"KIND_UNSPECIFIED":      0,
		"KIND_DERIVED_ROLES":    1,
		"KIND_EXPORT_VARIABLES": 2,
		"KIND_PRINCIPAL":        3,
		"KIND_RESOURCE":         4,
		"KIND_ROLE_POLICY":      5,
		"KIND_EXPORT_CONSTANTS": 6,
	}
)

Enum value maps for Kind.

View Source
var (
	ScopePermissions_name = map[int32]string{
		0: "SCOPE_PERMISSIONS_UNSPECIFIED",
		1: "SCOPE_PERMISSIONS_OVERRIDE_PARENT",
		2: "SCOPE_PERMISSIONS_REQUIRE_PARENTAL_CONSENT_FOR_ALLOWS",
	}
	ScopePermissions_value = map[string]int32{
		"SCOPE_PERMISSIONS_UNSPECIFIED":                         0,
		"SCOPE_PERMISSIONS_OVERRIDE_PARENT":                     1,
		"SCOPE_PERMISSIONS_REQUIRE_PARENTAL_CONSENT_FOR_ALLOWS": 2,
	}
)

Enum value maps for ScopePermissions.

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 Constants added in v0.40.0

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

func (*Constants) Descriptor deprecated added in v0.40.0

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

Deprecated: Use Constants.ProtoReflect.Descriptor instead.

func (*Constants) GetImport added in v0.40.0

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

func (*Constants) GetLocal added in v0.40.0

func (x *Constants) GetLocal() map[string]*structpb.Value

func (*Constants) HashPB added in v0.40.0

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

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

func (*Constants) MarshalToVT added in v0.40.0

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

func (*Constants) MarshalVT added in v0.40.0

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

func (*Constants) ProtoMessage added in v0.40.0

func (*Constants) ProtoMessage()

func (*Constants) ProtoReflect added in v0.40.0

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

func (*Constants) Reset added in v0.40.0

func (x *Constants) Reset()

func (*Constants) SizeVT added in v0.40.0

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

func (*Constants) String added in v0.40.0

func (x *Constants) String() string

func (*Constants) UnmarshalVT added in v0.40.0

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

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"`
	Constants   *Constants `protobuf:"bytes,4,opt,name=constants,proto3" json:"constants,omitempty"`
	// contains filtered or unexported fields
}

func (*DerivedRoles) Descriptor deprecated

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

Deprecated: Use DerivedRoles.ProtoReflect.Descriptor instead.

func (*DerivedRoles) GetConstants added in v0.40.0

func (x *DerivedRoles) GetConstants() *Constants

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 ExportConstants added in v0.40.0

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

func (*ExportConstants) Descriptor deprecated added in v0.40.0

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

Deprecated: Use ExportConstants.ProtoReflect.Descriptor instead.

func (*ExportConstants) GetDefinitions added in v0.40.0

func (x *ExportConstants) GetDefinitions() map[string]*structpb.Value

func (*ExportConstants) GetName added in v0.40.0

func (x *ExportConstants) GetName() string

func (*ExportConstants) HashPB added in v0.40.0

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

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

func (*ExportConstants) MarshalToVT added in v0.40.0

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

func (*ExportConstants) MarshalVT added in v0.40.0

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

func (*ExportConstants) ProtoMessage added in v0.40.0

func (*ExportConstants) ProtoMessage()

func (*ExportConstants) ProtoReflect added in v0.40.0

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

func (*ExportConstants) Reset added in v0.40.0

func (x *ExportConstants) Reset()

func (*ExportConstants) SizeVT added in v0.40.0

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

func (*ExportConstants) String added in v0.40.0

func (x *ExportConstants) String() string

func (*ExportConstants) UnmarshalVT added in v0.40.0

func (m *ExportConstants) 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 Kind added in v0.38.0

type Kind int32
const (
	Kind_KIND_UNSPECIFIED      Kind = 0
	Kind_KIND_DERIVED_ROLES    Kind = 1
	Kind_KIND_EXPORT_VARIABLES Kind = 2
	Kind_KIND_PRINCIPAL        Kind = 3
	Kind_KIND_RESOURCE         Kind = 4
	Kind_KIND_ROLE_POLICY      Kind = 5
	Kind_KIND_EXPORT_CONSTANTS Kind = 6
)

func (Kind) Descriptor added in v0.38.0

func (Kind) Descriptor() protoreflect.EnumDescriptor

func (Kind) Enum added in v0.38.0

func (x Kind) Enum() *Kind

func (Kind) EnumDescriptor deprecated added in v0.38.0

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

Deprecated: Use Kind.Descriptor instead.

func (Kind) Number added in v0.38.0

func (x Kind) Number() protoreflect.EnumNumber

func (Kind) String added in v0.38.0

func (x Kind) String() string

func (Kind) Type added in v0.38.0

func (Kind) Type() protoreflect.EnumType

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
	//	*Policy_RolePolicy
	//	*Policy_ExportConstants
	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) GetExportConstants added in v0.40.0

func (x *Policy) GetExportConstants() *ExportConstants

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) GetRolePolicy added in v0.39.0

func (x *Policy) GetRolePolicy() *RolePolicy

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_ExportConstants added in v0.40.0

type Policy_ExportConstants struct {
	ExportConstants *ExportConstants `protobuf:"bytes,12,opt,name=export_constants,json=exportConstants,proto3,oneof"`
}

func (*Policy_ExportConstants) MarshalToSizedBufferVT added in v0.40.0

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

func (*Policy_ExportConstants) MarshalToVT added in v0.40.0

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

func (*Policy_ExportConstants) SizeVT added in v0.40.0

func (m *Policy_ExportConstants) 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 Policy_RolePolicy added in v0.39.0

type Policy_RolePolicy struct {
	RolePolicy *RolePolicy `protobuf:"bytes,11,opt,name=role_policy,json=rolePolicy,proto3,oneof"`
}

func (*Policy_RolePolicy) MarshalToSizedBufferVT added in v0.39.0

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

func (*Policy_RolePolicy) MarshalToVT added in v0.39.0

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

func (*Policy_RolePolicy) SizeVT added in v0.39.0

func (m *Policy_RolePolicy) 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"`
	ScopePermissions ScopePermissions `` /* 149-byte string literal not displayed */
	Constants        *Constants       `protobuf:"bytes,7,opt,name=constants,proto3" json:"constants,omitempty"`
	// contains filtered or unexported fields
}

func (*PrincipalPolicy) Descriptor deprecated

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

Deprecated: Use PrincipalPolicy.ProtoReflect.Descriptor instead.

func (*PrincipalPolicy) GetConstants added in v0.40.0

func (x *PrincipalPolicy) GetConstants() *Constants

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) GetScopePermissions added in v0.40.0

func (x *PrincipalPolicy) GetScopePermissions() ScopePermissions

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"`
	ScopePermissions   ScopePermissions `` /* 149-byte string literal not displayed */
	Constants          *Constants       `protobuf:"bytes,9,opt,name=constants,proto3" json:"constants,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourcePolicy) Descriptor deprecated

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

Deprecated: Use ResourcePolicy.ProtoReflect.Descriptor instead.

func (*ResourcePolicy) GetConstants added in v0.40.0

func (x *ResourcePolicy) GetConstants() *Constants

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) GetScopePermissions added in v0.40.0

func (x *ResourcePolicy) GetScopePermissions() ScopePermissions

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 RolePolicy added in v0.39.0

type RolePolicy struct {

	// Types that are assignable to PolicyType:
	//
	//	*RolePolicy_Role
	PolicyType       isRolePolicy_PolicyType `protobuf_oneof:"policy_type"`
	ParentRoles      []string                `protobuf:"bytes,5,rep,name=parent_roles,json=parentRoles,proto3" json:"parent_roles,omitempty"`
	Scope            string                  `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	Rules            []*RoleRule             `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
	ScopePermissions ScopePermissions        `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RolePolicy) Descriptor deprecated added in v0.39.0

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

Deprecated: Use RolePolicy.ProtoReflect.Descriptor instead.

func (*RolePolicy) GetParentRoles added in v0.40.0

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

func (*RolePolicy) GetPolicyType added in v0.39.0

func (m *RolePolicy) GetPolicyType() isRolePolicy_PolicyType

func (*RolePolicy) GetRole added in v0.39.0

func (x *RolePolicy) GetRole() string

func (*RolePolicy) GetRules added in v0.39.0

func (x *RolePolicy) GetRules() []*RoleRule

func (*RolePolicy) GetScope added in v0.39.0

func (x *RolePolicy) GetScope() string

func (*RolePolicy) GetScopePermissions added in v0.40.0

func (x *RolePolicy) GetScopePermissions() ScopePermissions

func (*RolePolicy) HashPB added in v0.39.0

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

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

func (*RolePolicy) MarshalToVT added in v0.39.0

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

func (*RolePolicy) MarshalVT added in v0.39.0

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

func (*RolePolicy) ProtoMessage added in v0.39.0

func (*RolePolicy) ProtoMessage()

func (*RolePolicy) ProtoReflect added in v0.39.0

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

func (*RolePolicy) Reset added in v0.39.0

func (x *RolePolicy) Reset()

func (*RolePolicy) SizeVT added in v0.39.0

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

func (*RolePolicy) String added in v0.39.0

func (x *RolePolicy) String() string

func (*RolePolicy) UnmarshalVT added in v0.39.0

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

type RolePolicy_Role added in v0.39.0

type RolePolicy_Role struct {
	Role string `protobuf:"bytes,1,opt,name=role,proto3,oneof"`
}

func (*RolePolicy_Role) MarshalToSizedBufferVT added in v0.39.0

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

func (*RolePolicy_Role) MarshalToVT added in v0.39.0

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

func (*RolePolicy_Role) SizeVT added in v0.39.0

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

type RoleRule added in v0.39.0

type RoleRule struct {
	Resource     string   `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	AllowActions []string `protobuf:"bytes,2,rep,name=allow_actions,json=allowActions,proto3" json:"allow_actions,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleRule) Descriptor deprecated added in v0.39.0

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

Deprecated: Use RoleRule.ProtoReflect.Descriptor instead.

func (*RoleRule) GetAllowActions added in v0.40.0

func (x *RoleRule) GetAllowActions() []string

func (*RoleRule) GetResource added in v0.39.0

func (x *RoleRule) GetResource() string

func (*RoleRule) HashPB added in v0.39.0

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

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

func (*RoleRule) MarshalToVT added in v0.39.0

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

func (*RoleRule) MarshalVT added in v0.39.0

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

func (*RoleRule) ProtoMessage added in v0.39.0

func (*RoleRule) ProtoMessage()

func (*RoleRule) ProtoReflect added in v0.39.0

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

func (*RoleRule) Reset added in v0.39.0

func (x *RoleRule) Reset()

func (*RoleRule) SizeVT added in v0.39.0

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

func (*RoleRule) String added in v0.39.0

func (x *RoleRule) String() string

func (*RoleRule) UnmarshalVT added in v0.39.0

func (m *RoleRule) 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 ScopePermissions added in v0.40.0

type ScopePermissions int32
const (
	ScopePermissions_SCOPE_PERMISSIONS_UNSPECIFIED                         ScopePermissions = 0
	ScopePermissions_SCOPE_PERMISSIONS_OVERRIDE_PARENT                     ScopePermissions = 1
	ScopePermissions_SCOPE_PERMISSIONS_REQUIRE_PARENTAL_CONSENT_FOR_ALLOWS ScopePermissions = 2
)

func (ScopePermissions) Descriptor added in v0.40.0

func (ScopePermissions) Enum added in v0.40.0

func (ScopePermissions) EnumDescriptor deprecated added in v0.40.0

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

Deprecated: Use ScopePermissions.Descriptor instead.

func (ScopePermissions) Number added in v0.40.0

func (ScopePermissions) String added in v0.40.0

func (x ScopePermissions) String() string

func (ScopePermissions) Type added in v0.40.0

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 TestFixtureGroup added in v0.40.0

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

func (*TestFixtureGroup) Descriptor deprecated added in v0.40.0

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

Deprecated: Use TestFixtureGroup.ProtoReflect.Descriptor instead.

func (*TestFixtureGroup) MarshalToSizedBufferVT added in v0.40.0

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

func (*TestFixtureGroup) MarshalToVT added in v0.40.0

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

func (*TestFixtureGroup) MarshalVT added in v0.40.0

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

func (*TestFixtureGroup) ProtoMessage added in v0.40.0

func (*TestFixtureGroup) ProtoMessage()

func (*TestFixtureGroup) ProtoReflect added in v0.40.0

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

func (*TestFixtureGroup) Reset added in v0.40.0

func (x *TestFixtureGroup) Reset()

func (*TestFixtureGroup) SizeVT added in v0.40.0

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

func (*TestFixtureGroup) String added in v0.40.0

func (x *TestFixtureGroup) String() string

func (*TestFixtureGroup) UnmarshalVT added in v0.40.0

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

type TestFixtureGroup_Principals added in v0.40.0

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

func (*TestFixtureGroup_Principals) Descriptor deprecated added in v0.40.0

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

Deprecated: Use TestFixtureGroup_Principals.ProtoReflect.Descriptor instead.

func (*TestFixtureGroup_Principals) GetPrincipals added in v0.40.0

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

func (*TestFixtureGroup_Principals) MarshalToSizedBufferVT added in v0.40.0

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

func (*TestFixtureGroup_Principals) MarshalToVT added in v0.40.0

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

func (*TestFixtureGroup_Principals) MarshalVT added in v0.40.0

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

func (*TestFixtureGroup_Principals) ProtoMessage added in v0.40.0

func (*TestFixtureGroup_Principals) ProtoMessage()

func (*TestFixtureGroup_Principals) ProtoReflect added in v0.40.0

func (*TestFixtureGroup_Principals) Reset added in v0.40.0

func (x *TestFixtureGroup_Principals) Reset()

func (*TestFixtureGroup_Principals) SizeVT added in v0.40.0

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

func (*TestFixtureGroup_Principals) String added in v0.40.0

func (x *TestFixtureGroup_Principals) String() string

func (*TestFixtureGroup_Principals) UnmarshalVT added in v0.40.0

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

type TestFixtureGroup_Resources added in v0.40.0

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

func (*TestFixtureGroup_Resources) Descriptor deprecated added in v0.40.0

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

Deprecated: Use TestFixtureGroup_Resources.ProtoReflect.Descriptor instead.

func (*TestFixtureGroup_Resources) GetResources added in v0.40.0

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

func (*TestFixtureGroup_Resources) MarshalToSizedBufferVT added in v0.40.0

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

func (*TestFixtureGroup_Resources) MarshalToVT added in v0.40.0

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

func (*TestFixtureGroup_Resources) MarshalVT added in v0.40.0

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

func (*TestFixtureGroup_Resources) ProtoMessage added in v0.40.0

func (*TestFixtureGroup_Resources) ProtoMessage()

func (*TestFixtureGroup_Resources) ProtoReflect added in v0.40.0

func (*TestFixtureGroup_Resources) Reset added in v0.40.0

func (x *TestFixtureGroup_Resources) Reset()

func (*TestFixtureGroup_Resources) SizeVT added in v0.40.0

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

func (*TestFixtureGroup_Resources) String added in v0.40.0

func (x *TestFixtureGroup_Resources) String() string

func (*TestFixtureGroup_Resources) UnmarshalVT added in v0.40.0

func (m *TestFixtureGroup_Resources) 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"`
	PrincipalGroups map[string]*TestFixtureGroup_Principals `` /* 194-byte string literal not displayed */
	// 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) GetPrincipalGroups added in v0.40.0

func (x *TestFixture_Principals) GetPrincipalGroups() map[string]*TestFixtureGroup_Principals

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"`
	ResourceGroups map[string]*TestFixtureGroup_Resources `` /* 191-byte string literal not displayed */
	// 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) GetResourceGroups added in v0.40.0

func (x *TestFixture_Resources) GetResourceGroups() map[string]*TestFixtureGroup_Resources

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 */
	DefaultPolicyVersion string                     `protobuf:"bytes,4,opt,name=default_policy_version,json=defaultPolicyVersion,proto3" json:"default_policy_version,omitempty"`
	// contains filtered or unexported fields
}

func (*TestOptions) Descriptor deprecated

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

Deprecated: Use TestOptions.ProtoReflect.Descriptor instead.

func (*TestOptions) GetDefaultPolicyVersion added in v0.40.0

func (x *TestOptions) GetDefaultPolicyVersion() string

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
	//	*TestResults_Details_SkipReason
	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) GetSkipReason added in v0.40.0

func (x *TestResults_Details) GetSkipReason() string

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_SkipReason added in v0.40.0

type TestResults_Details_SkipReason struct {
	SkipReason string `protobuf:"bytes,6,opt,name=skip_reason,json=skipReason,proto3,oneof"`
}

func (*TestResults_Details_SkipReason) MarshalToSizedBufferVT added in v0.40.0

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

func (*TestResults_Details_SkipReason) MarshalToVT added in v0.40.0

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

func (*TestResults_Details_SkipReason) SizeVT added in v0.40.0

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