Documentation ¶
Index ¶
- Variables
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (m *Condition) GetCondition() isCondition_Condition
- func (x *Condition) GetMatch() *Match
- func (x *Condition) GetScript() string
- func (m *Condition) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Condition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Condition) MarshalToVT(dAtA []byte) (int, error)
- func (m *Condition) MarshalVT() (dAtA []byte, err error)
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (m *Condition) SizeVT() (n int)
- func (x *Condition) String() string
- func (m *Condition) UnmarshalVT(dAtA []byte) error
- type Condition_Match
- type Condition_Script
- type Constants
- func (*Constants) Descriptor() ([]byte, []int)deprecated
- func (x *Constants) GetImport() []string
- func (x *Constants) GetLocal() map[string]*structpb.Value
- func (m *Constants) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Constants) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Constants) MarshalToVT(dAtA []byte) (int, error)
- func (m *Constants) MarshalVT() (dAtA []byte, err error)
- func (*Constants) ProtoMessage()
- func (x *Constants) ProtoReflect() protoreflect.Message
- func (x *Constants) Reset()
- func (m *Constants) SizeVT() (n int)
- func (x *Constants) String() string
- func (m *Constants) UnmarshalVT(dAtA []byte) error
- type DerivedRoles
- func (*DerivedRoles) Descriptor() ([]byte, []int)deprecated
- func (x *DerivedRoles) GetConstants() *Constants
- func (x *DerivedRoles) GetDefinitions() []*RoleDef
- func (x *DerivedRoles) GetName() string
- func (x *DerivedRoles) GetVariables() *Variables
- func (m *DerivedRoles) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *DerivedRoles) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DerivedRoles) MarshalToVT(dAtA []byte) (int, error)
- func (m *DerivedRoles) MarshalVT() (dAtA []byte, err error)
- func (*DerivedRoles) ProtoMessage()
- func (x *DerivedRoles) ProtoReflect() protoreflect.Message
- func (x *DerivedRoles) Reset()
- func (m *DerivedRoles) SizeVT() (n int)
- func (x *DerivedRoles) String() string
- func (m *DerivedRoles) UnmarshalVT(dAtA []byte) error
- type ExportConstants
- func (*ExportConstants) Descriptor() ([]byte, []int)deprecated
- func (x *ExportConstants) GetDefinitions() map[string]*structpb.Value
- func (x *ExportConstants) GetName() string
- func (m *ExportConstants) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *ExportConstants) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExportConstants) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExportConstants) MarshalVT() (dAtA []byte, err error)
- func (*ExportConstants) ProtoMessage()
- func (x *ExportConstants) ProtoReflect() protoreflect.Message
- func (x *ExportConstants) Reset()
- func (m *ExportConstants) SizeVT() (n int)
- func (x *ExportConstants) String() string
- func (m *ExportConstants) UnmarshalVT(dAtA []byte) error
- type ExportVariables
- func (*ExportVariables) Descriptor() ([]byte, []int)deprecated
- func (x *ExportVariables) GetDefinitions() map[string]string
- func (x *ExportVariables) GetName() string
- func (m *ExportVariables) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *ExportVariables) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExportVariables) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExportVariables) MarshalVT() (dAtA []byte, err error)
- func (*ExportVariables) ProtoMessage()
- func (x *ExportVariables) ProtoReflect() protoreflect.Message
- func (x *ExportVariables) Reset()
- func (m *ExportVariables) SizeVT() (n int)
- func (x *ExportVariables) String() string
- func (m *ExportVariables) UnmarshalVT(dAtA []byte) error
- type Kind
- type Match
- func (*Match) Descriptor() ([]byte, []int)deprecated
- func (x *Match) GetAll() *Match_ExprList
- func (x *Match) GetAny() *Match_ExprList
- func (x *Match) GetExpr() string
- func (x *Match) GetNone() *Match_ExprList
- func (m *Match) GetOp() isMatch_Op
- func (m *Match) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Match) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Match) MarshalToVT(dAtA []byte) (int, error)
- func (m *Match) MarshalVT() (dAtA []byte, err error)
- func (*Match) ProtoMessage()
- func (x *Match) ProtoReflect() protoreflect.Message
- func (x *Match) Reset()
- func (m *Match) SizeVT() (n int)
- func (x *Match) String() string
- func (m *Match) UnmarshalVT(dAtA []byte) error
- type Match_All
- type Match_Any
- type Match_Expr
- type Match_ExprList
- func (*Match_ExprList) Descriptor() ([]byte, []int)deprecated
- func (x *Match_ExprList) GetOf() []*Match
- func (m *Match_ExprList) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Match_ExprList) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Match_ExprList) MarshalToVT(dAtA []byte) (int, error)
- func (m *Match_ExprList) MarshalVT() (dAtA []byte, err error)
- func (*Match_ExprList) ProtoMessage()
- func (x *Match_ExprList) ProtoReflect() protoreflect.Message
- func (x *Match_ExprList) Reset()
- func (m *Match_ExprList) SizeVT() (n int)
- func (x *Match_ExprList) String() string
- func (m *Match_ExprList) UnmarshalVT(dAtA []byte) error
- type Match_None
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetAnnotations() map[string]string
- func (x *Metadata) GetHash() *wrapperspb.UInt64Value
- func (x *Metadata) GetSourceAttributes() *SourceAttributes
- func (x *Metadata) GetSourceFile() string
- func (x *Metadata) GetStoreIdentifer() stringdeprecated
- func (x *Metadata) GetStoreIdentifier() string
- func (m *Metadata) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Metadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *Metadata) MarshalVT() (dAtA []byte, err error)
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (m *Metadata) SizeVT() (n int)
- func (x *Metadata) String() string
- func (m *Metadata) UnmarshalVT(dAtA []byte) error
- type Output
- func (*Output) Descriptor() ([]byte, []int)deprecated
- func (x *Output) GetExpr() stringdeprecated
- func (x *Output) GetWhen() *Output_When
- func (m *Output) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Output) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Output) MarshalToVT(dAtA []byte) (int, error)
- func (m *Output) MarshalVT() (dAtA []byte, err error)
- func (*Output) ProtoMessage()
- func (x *Output) ProtoReflect() protoreflect.Message
- func (x *Output) Reset()
- func (m *Output) SizeVT() (n int)
- func (x *Output) String() string
- func (m *Output) UnmarshalVT(dAtA []byte) error
- type Output_When
- func (*Output_When) Descriptor() ([]byte, []int)deprecated
- func (x *Output_When) GetConditionNotMet() string
- func (x *Output_When) GetRuleActivated() string
- func (m *Output_When) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Output_When) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Output_When) MarshalToVT(dAtA []byte) (int, error)
- func (m *Output_When) MarshalVT() (dAtA []byte, err error)
- func (*Output_When) ProtoMessage()
- func (x *Output_When) ProtoReflect() protoreflect.Message
- func (x *Output_When) Reset()
- func (m *Output_When) SizeVT() (n int)
- func (x *Output_When) String() string
- func (m *Output_When) UnmarshalVT(dAtA []byte) error
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetApiVersion() string
- func (x *Policy) GetDerivedRoles() *DerivedRoles
- func (x *Policy) GetDescription() string
- func (x *Policy) GetDisabled() bool
- func (x *Policy) GetExportConstants() *ExportConstants
- func (x *Policy) GetExportVariables() *ExportVariables
- func (x *Policy) GetJsonSchema() string
- func (x *Policy) GetMetadata() *Metadata
- func (m *Policy) GetPolicyType() isPolicy_PolicyType
- func (x *Policy) GetPrincipalPolicy() *PrincipalPolicy
- func (x *Policy) GetResourcePolicy() *ResourcePolicy
- func (x *Policy) GetRolePolicy() *RolePolicy
- func (x *Policy) GetVariables() map[string]stringdeprecated
- func (m *Policy) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Policy) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Policy) MarshalToVT(dAtA []byte) (int, error)
- func (m *Policy) MarshalVT() (dAtA []byte, err error)
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (m *Policy) SizeVT() (n int)
- func (x *Policy) String() string
- func (m *Policy) UnmarshalVT(dAtA []byte) error
- type Policy_DerivedRoles
- type Policy_ExportConstants
- type Policy_ExportVariables
- type Policy_PrincipalPolicy
- type Policy_ResourcePolicy
- type Policy_RolePolicy
- type PrincipalPolicy
- func (*PrincipalPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *PrincipalPolicy) GetConstants() *Constants
- func (x *PrincipalPolicy) GetPrincipal() string
- func (x *PrincipalPolicy) GetRules() []*PrincipalRule
- func (x *PrincipalPolicy) GetScope() string
- func (x *PrincipalPolicy) GetScopePermissions() ScopePermissions
- func (x *PrincipalPolicy) GetVariables() *Variables
- func (x *PrincipalPolicy) GetVersion() string
- func (m *PrincipalPolicy) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *PrincipalPolicy) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PrincipalPolicy) MarshalToVT(dAtA []byte) (int, error)
- func (m *PrincipalPolicy) MarshalVT() (dAtA []byte, err error)
- func (*PrincipalPolicy) ProtoMessage()
- func (x *PrincipalPolicy) ProtoReflect() protoreflect.Message
- func (x *PrincipalPolicy) Reset()
- func (m *PrincipalPolicy) SizeVT() (n int)
- func (x *PrincipalPolicy) String() string
- func (m *PrincipalPolicy) UnmarshalVT(dAtA []byte) error
- type PrincipalRule
- func (*PrincipalRule) Descriptor() ([]byte, []int)deprecated
- func (x *PrincipalRule) GetActions() []*PrincipalRule_Action
- func (x *PrincipalRule) GetResource() string
- func (m *PrincipalRule) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *PrincipalRule) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PrincipalRule) MarshalToVT(dAtA []byte) (int, error)
- func (m *PrincipalRule) MarshalVT() (dAtA []byte, err error)
- func (*PrincipalRule) ProtoMessage()
- func (x *PrincipalRule) ProtoReflect() protoreflect.Message
- func (x *PrincipalRule) Reset()
- func (m *PrincipalRule) SizeVT() (n int)
- func (x *PrincipalRule) String() string
- func (m *PrincipalRule) UnmarshalVT(dAtA []byte) error
- type PrincipalRule_Action
- func (*PrincipalRule_Action) Descriptor() ([]byte, []int)deprecated
- func (x *PrincipalRule_Action) GetAction() string
- func (x *PrincipalRule_Action) GetCondition() *Condition
- func (x *PrincipalRule_Action) GetEffect() v1.Effect
- func (x *PrincipalRule_Action) GetName() string
- func (x *PrincipalRule_Action) GetOutput() *Output
- func (m *PrincipalRule_Action) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *PrincipalRule_Action) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PrincipalRule_Action) MarshalToVT(dAtA []byte) (int, error)
- func (m *PrincipalRule_Action) MarshalVT() (dAtA []byte, err error)
- func (*PrincipalRule_Action) ProtoMessage()
- func (x *PrincipalRule_Action) ProtoReflect() protoreflect.Message
- func (x *PrincipalRule_Action) Reset()
- func (m *PrincipalRule_Action) SizeVT() (n int)
- func (x *PrincipalRule_Action) String() string
- func (m *PrincipalRule_Action) UnmarshalVT(dAtA []byte) error
- type ResourcePolicy
- func (*ResourcePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcePolicy) GetConstants() *Constants
- func (x *ResourcePolicy) GetImportDerivedRoles() []string
- func (x *ResourcePolicy) GetResource() string
- func (x *ResourcePolicy) GetRules() []*ResourceRule
- func (x *ResourcePolicy) GetSchemas() *Schemas
- func (x *ResourcePolicy) GetScope() string
- func (x *ResourcePolicy) GetScopePermissions() ScopePermissions
- func (x *ResourcePolicy) GetVariables() *Variables
- func (x *ResourcePolicy) GetVersion() string
- func (m *ResourcePolicy) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *ResourcePolicy) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ResourcePolicy) MarshalToVT(dAtA []byte) (int, error)
- func (m *ResourcePolicy) MarshalVT() (dAtA []byte, err error)
- func (*ResourcePolicy) ProtoMessage()
- func (x *ResourcePolicy) ProtoReflect() protoreflect.Message
- func (x *ResourcePolicy) Reset()
- func (m *ResourcePolicy) SizeVT() (n int)
- func (x *ResourcePolicy) String() string
- func (m *ResourcePolicy) UnmarshalVT(dAtA []byte) error
- type ResourceRule
- func (*ResourceRule) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRule) GetActions() []string
- func (x *ResourceRule) GetCondition() *Condition
- func (x *ResourceRule) GetDerivedRoles() []string
- func (x *ResourceRule) GetEffect() v1.Effect
- func (x *ResourceRule) GetName() string
- func (x *ResourceRule) GetOutput() *Output
- func (x *ResourceRule) GetRoles() []string
- func (m *ResourceRule) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *ResourceRule) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ResourceRule) MarshalToVT(dAtA []byte) (int, error)
- func (m *ResourceRule) MarshalVT() (dAtA []byte, err error)
- func (*ResourceRule) ProtoMessage()
- func (x *ResourceRule) ProtoReflect() protoreflect.Message
- func (x *ResourceRule) Reset()
- func (m *ResourceRule) SizeVT() (n int)
- func (x *ResourceRule) String() string
- func (m *ResourceRule) UnmarshalVT(dAtA []byte) error
- type RoleDef
- func (*RoleDef) Descriptor() ([]byte, []int)deprecated
- func (x *RoleDef) GetCondition() *Condition
- func (x *RoleDef) GetName() string
- func (x *RoleDef) GetParentRoles() []string
- func (m *RoleDef) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *RoleDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RoleDef) MarshalToVT(dAtA []byte) (int, error)
- func (m *RoleDef) MarshalVT() (dAtA []byte, err error)
- func (*RoleDef) ProtoMessage()
- func (x *RoleDef) ProtoReflect() protoreflect.Message
- func (x *RoleDef) Reset()
- func (m *RoleDef) SizeVT() (n int)
- func (x *RoleDef) String() string
- func (m *RoleDef) UnmarshalVT(dAtA []byte) error
- type RolePolicy
- func (*RolePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *RolePolicy) GetParentRoles() []string
- func (m *RolePolicy) GetPolicyType() isRolePolicy_PolicyType
- func (x *RolePolicy) GetRole() string
- func (x *RolePolicy) GetRules() []*RoleRule
- func (x *RolePolicy) GetScope() string
- func (x *RolePolicy) GetScopePermissions() ScopePermissions
- func (m *RolePolicy) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *RolePolicy) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RolePolicy) MarshalToVT(dAtA []byte) (int, error)
- func (m *RolePolicy) MarshalVT() (dAtA []byte, err error)
- func (*RolePolicy) ProtoMessage()
- func (x *RolePolicy) ProtoReflect() protoreflect.Message
- func (x *RolePolicy) Reset()
- func (m *RolePolicy) SizeVT() (n int)
- func (x *RolePolicy) String() string
- func (m *RolePolicy) UnmarshalVT(dAtA []byte) error
- type RolePolicy_Role
- type RoleRule
- func (*RoleRule) Descriptor() ([]byte, []int)deprecated
- func (x *RoleRule) GetAllowActions() []string
- func (x *RoleRule) GetResource() string
- func (m *RoleRule) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *RoleRule) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RoleRule) MarshalToVT(dAtA []byte) (int, error)
- func (m *RoleRule) MarshalVT() (dAtA []byte, err error)
- func (*RoleRule) ProtoMessage()
- func (x *RoleRule) ProtoReflect() protoreflect.Message
- func (x *RoleRule) Reset()
- func (m *RoleRule) SizeVT() (n int)
- func (x *RoleRule) String() string
- func (m *RoleRule) UnmarshalVT(dAtA []byte) error
- type Schemas
- func (*Schemas) Descriptor() ([]byte, []int)deprecated
- func (x *Schemas) GetPrincipalSchema() *Schemas_Schema
- func (x *Schemas) GetResourceSchema() *Schemas_Schema
- func (m *Schemas) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Schemas) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Schemas) MarshalToVT(dAtA []byte) (int, error)
- func (m *Schemas) MarshalVT() (dAtA []byte, err error)
- func (*Schemas) ProtoMessage()
- func (x *Schemas) ProtoReflect() protoreflect.Message
- func (x *Schemas) Reset()
- func (m *Schemas) SizeVT() (n int)
- func (x *Schemas) String() string
- func (m *Schemas) UnmarshalVT(dAtA []byte) error
- type Schemas_IgnoreWhen
- func (*Schemas_IgnoreWhen) Descriptor() ([]byte, []int)deprecated
- func (x *Schemas_IgnoreWhen) GetActions() []string
- func (m *Schemas_IgnoreWhen) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Schemas_IgnoreWhen) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Schemas_IgnoreWhen) MarshalToVT(dAtA []byte) (int, error)
- func (m *Schemas_IgnoreWhen) MarshalVT() (dAtA []byte, err error)
- func (*Schemas_IgnoreWhen) ProtoMessage()
- func (x *Schemas_IgnoreWhen) ProtoReflect() protoreflect.Message
- func (x *Schemas_IgnoreWhen) Reset()
- func (m *Schemas_IgnoreWhen) SizeVT() (n int)
- func (x *Schemas_IgnoreWhen) String() string
- func (m *Schemas_IgnoreWhen) UnmarshalVT(dAtA []byte) error
- type Schemas_Schema
- func (*Schemas_Schema) Descriptor() ([]byte, []int)deprecated
- func (x *Schemas_Schema) GetIgnoreWhen() *Schemas_IgnoreWhen
- func (x *Schemas_Schema) GetRef() string
- func (m *Schemas_Schema) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Schemas_Schema) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Schemas_Schema) MarshalToVT(dAtA []byte) (int, error)
- func (m *Schemas_Schema) MarshalVT() (dAtA []byte, err error)
- func (*Schemas_Schema) ProtoMessage()
- func (x *Schemas_Schema) ProtoReflect() protoreflect.Message
- func (x *Schemas_Schema) Reset()
- func (m *Schemas_Schema) SizeVT() (n int)
- func (x *Schemas_Schema) String() string
- func (m *Schemas_Schema) UnmarshalVT(dAtA []byte) error
- type ScopePermissions
- func (ScopePermissions) Descriptor() protoreflect.EnumDescriptor
- func (x ScopePermissions) Enum() *ScopePermissions
- func (ScopePermissions) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScopePermissions) Number() protoreflect.EnumNumber
- func (x ScopePermissions) String() string
- func (ScopePermissions) Type() protoreflect.EnumType
- type SourceAttributes
- func (*SourceAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *SourceAttributes) GetAttributes() map[string]*structpb.Value
- func (m *SourceAttributes) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *SourceAttributes) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SourceAttributes) MarshalToVT(dAtA []byte) (int, error)
- func (m *SourceAttributes) MarshalVT() (dAtA []byte, err error)
- func (*SourceAttributes) ProtoMessage()
- func (x *SourceAttributes) ProtoReflect() protoreflect.Message
- func (x *SourceAttributes) Reset()
- func (m *SourceAttributes) SizeVT() (n int)
- func (x *SourceAttributes) String() string
- func (m *SourceAttributes) UnmarshalVT(dAtA []byte) error
- type Test
- func (*Test) Descriptor() ([]byte, []int)deprecated
- func (x *Test) GetDescription() string
- func (x *Test) GetExpected() map[string]v1.Effect
- func (x *Test) GetExpectedOutputs() map[string]*Test_OutputEntries
- func (x *Test) GetInput() *v11.CheckInput
- func (x *Test) GetName() *Test_TestName
- func (x *Test) GetOptions() *TestOptions
- func (x *Test) GetSkip() bool
- func (x *Test) GetSkipReason() string
- func (m *Test) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Test) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Test) MarshalToVT(dAtA []byte) (int, error)
- func (m *Test) MarshalVT() (dAtA []byte, err error)
- func (*Test) ProtoMessage()
- func (x *Test) ProtoReflect() protoreflect.Message
- func (x *Test) Reset()
- func (m *Test) SizeVT() (n int)
- func (x *Test) String() string
- func (m *Test) UnmarshalVT(dAtA []byte) error
- type TestFixture
- func (*TestFixture) Descriptor() ([]byte, []int)deprecated
- func (m *TestFixture) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestFixture) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestFixture) MarshalVT() (dAtA []byte, err error)
- func (*TestFixture) ProtoMessage()
- func (x *TestFixture) ProtoReflect() protoreflect.Message
- func (x *TestFixture) Reset()
- func (m *TestFixture) SizeVT() (n int)
- func (x *TestFixture) String() string
- func (m *TestFixture) UnmarshalVT(dAtA []byte) error
- type TestFixtureGroup
- func (*TestFixtureGroup) Descriptor() ([]byte, []int)deprecated
- func (m *TestFixtureGroup) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestFixtureGroup) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestFixtureGroup) MarshalVT() (dAtA []byte, err error)
- func (*TestFixtureGroup) ProtoMessage()
- func (x *TestFixtureGroup) ProtoReflect() protoreflect.Message
- func (x *TestFixtureGroup) Reset()
- func (m *TestFixtureGroup) SizeVT() (n int)
- func (x *TestFixtureGroup) String() string
- func (m *TestFixtureGroup) UnmarshalVT(dAtA []byte) error
- type TestFixtureGroup_Principals
- func (*TestFixtureGroup_Principals) Descriptor() ([]byte, []int)deprecated
- func (x *TestFixtureGroup_Principals) GetPrincipals() []string
- func (m *TestFixtureGroup_Principals) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestFixtureGroup_Principals) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestFixtureGroup_Principals) MarshalVT() (dAtA []byte, err error)
- func (*TestFixtureGroup_Principals) ProtoMessage()
- func (x *TestFixtureGroup_Principals) ProtoReflect() protoreflect.Message
- func (x *TestFixtureGroup_Principals) Reset()
- func (m *TestFixtureGroup_Principals) SizeVT() (n int)
- func (x *TestFixtureGroup_Principals) String() string
- func (m *TestFixtureGroup_Principals) UnmarshalVT(dAtA []byte) error
- type TestFixtureGroup_Resources
- func (*TestFixtureGroup_Resources) Descriptor() ([]byte, []int)deprecated
- func (x *TestFixtureGroup_Resources) GetResources() []string
- func (m *TestFixtureGroup_Resources) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestFixtureGroup_Resources) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestFixtureGroup_Resources) MarshalVT() (dAtA []byte, err error)
- func (*TestFixtureGroup_Resources) ProtoMessage()
- func (x *TestFixtureGroup_Resources) ProtoReflect() protoreflect.Message
- func (x *TestFixtureGroup_Resources) Reset()
- func (m *TestFixtureGroup_Resources) SizeVT() (n int)
- func (x *TestFixtureGroup_Resources) String() string
- func (m *TestFixtureGroup_Resources) UnmarshalVT(dAtA []byte) error
- type TestFixture_AuxData
- func (*TestFixture_AuxData) Descriptor() ([]byte, []int)deprecated
- func (x *TestFixture_AuxData) GetAuxData() map[string]*v11.AuxData
- func (x *TestFixture_AuxData) GetJsonSchema() string
- func (m *TestFixture_AuxData) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestFixture_AuxData) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestFixture_AuxData) MarshalVT() (dAtA []byte, err error)
- func (*TestFixture_AuxData) ProtoMessage()
- func (x *TestFixture_AuxData) ProtoReflect() protoreflect.Message
- func (x *TestFixture_AuxData) Reset()
- func (m *TestFixture_AuxData) SizeVT() (n int)
- func (x *TestFixture_AuxData) String() string
- func (m *TestFixture_AuxData) UnmarshalVT(dAtA []byte) error
- type TestFixture_Principals
- func (*TestFixture_Principals) Descriptor() ([]byte, []int)deprecated
- func (x *TestFixture_Principals) GetJsonSchema() string
- func (x *TestFixture_Principals) GetPrincipalGroups() map[string]*TestFixtureGroup_Principals
- func (x *TestFixture_Principals) GetPrincipals() map[string]*v11.Principal
- func (m *TestFixture_Principals) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestFixture_Principals) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestFixture_Principals) MarshalVT() (dAtA []byte, err error)
- func (*TestFixture_Principals) ProtoMessage()
- func (x *TestFixture_Principals) ProtoReflect() protoreflect.Message
- func (x *TestFixture_Principals) Reset()
- func (m *TestFixture_Principals) SizeVT() (n int)
- func (x *TestFixture_Principals) String() string
- func (m *TestFixture_Principals) UnmarshalVT(dAtA []byte) error
- type TestFixture_Resources
- func (*TestFixture_Resources) Descriptor() ([]byte, []int)deprecated
- func (x *TestFixture_Resources) GetJsonSchema() string
- func (x *TestFixture_Resources) GetResourceGroups() map[string]*TestFixtureGroup_Resources
- func (x *TestFixture_Resources) GetResources() map[string]*v11.Resource
- func (m *TestFixture_Resources) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestFixture_Resources) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestFixture_Resources) MarshalVT() (dAtA []byte, err error)
- func (*TestFixture_Resources) ProtoMessage()
- func (x *TestFixture_Resources) ProtoReflect() protoreflect.Message
- func (x *TestFixture_Resources) Reset()
- func (m *TestFixture_Resources) SizeVT() (n int)
- func (x *TestFixture_Resources) String() string
- func (m *TestFixture_Resources) UnmarshalVT(dAtA []byte) error
- type TestOptions
- func (*TestOptions) Descriptor() ([]byte, []int)deprecated
- func (x *TestOptions) GetDefaultPolicyVersion() string
- func (x *TestOptions) GetGlobals() map[string]*structpb.Value
- func (x *TestOptions) GetLenientScopeSearch() bool
- func (x *TestOptions) GetNow() *timestamppb.Timestamp
- func (m *TestOptions) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestOptions) MarshalVT() (dAtA []byte, err error)
- func (*TestOptions) ProtoMessage()
- func (x *TestOptions) ProtoReflect() protoreflect.Message
- func (x *TestOptions) Reset()
- func (m *TestOptions) SizeVT() (n int)
- func (x *TestOptions) String() string
- func (m *TestOptions) UnmarshalVT(dAtA []byte) error
- type TestResults
- func (*TestResults) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults) GetSuites() []*TestResults_Suite
- func (x *TestResults) GetSummary() *TestResults_Summary
- func (m *TestResults) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults) MarshalVT() (dAtA []byte, err error)
- func (*TestResults) ProtoMessage()
- func (x *TestResults) ProtoReflect() protoreflect.Message
- func (x *TestResults) Reset()
- func (m *TestResults) SizeVT() (n int)
- func (x *TestResults) String() string
- func (m *TestResults) UnmarshalVT(dAtA []byte) error
- type TestResults_Action
- func (*TestResults_Action) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_Action) GetDetails() *TestResults_Details
- func (x *TestResults_Action) GetName() string
- func (m *TestResults_Action) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_Action) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_Action) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_Action) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_Action) ProtoMessage()
- func (x *TestResults_Action) ProtoReflect() protoreflect.Message
- func (x *TestResults_Action) Reset()
- func (m *TestResults_Action) SizeVT() (n int)
- func (x *TestResults_Action) String() string
- func (m *TestResults_Action) UnmarshalVT(dAtA []byte) error
- type TestResults_Details
- func (*TestResults_Details) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_Details) GetEngineTrace() []*v11.Trace
- func (x *TestResults_Details) GetError() string
- func (x *TestResults_Details) GetFailure() *TestResults_Failure
- func (m *TestResults_Details) GetOutcome() isTestResults_Details_Outcome
- func (x *TestResults_Details) GetResult() TestResults_Result
- func (x *TestResults_Details) GetSkipReason() string
- func (x *TestResults_Details) GetSuccess() *TestResults_Success
- func (m *TestResults_Details) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_Details) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_Details) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_Details) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_Details) ProtoMessage()
- func (x *TestResults_Details) ProtoReflect() protoreflect.Message
- func (x *TestResults_Details) Reset()
- func (m *TestResults_Details) SizeVT() (n int)
- func (x *TestResults_Details) String() string
- func (m *TestResults_Details) UnmarshalVT(dAtA []byte) error
- type TestResults_Details_Error
- type TestResults_Details_Failure
- type TestResults_Details_SkipReason
- type TestResults_Details_Success
- type TestResults_Failure
- func (*TestResults_Failure) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_Failure) GetActual() v1.Effect
- func (x *TestResults_Failure) GetExpected() v1.Effect
- func (x *TestResults_Failure) GetOutputs() []*TestResults_OutputFailure
- func (m *TestResults_Failure) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_Failure) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_Failure) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_Failure) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_Failure) ProtoMessage()
- func (x *TestResults_Failure) ProtoReflect() protoreflect.Message
- func (x *TestResults_Failure) Reset()
- func (m *TestResults_Failure) SizeVT() (n int)
- func (x *TestResults_Failure) String() string
- func (m *TestResults_Failure) UnmarshalVT(dAtA []byte) error
- type TestResults_OutputFailure
- func (*TestResults_OutputFailure) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_OutputFailure) GetMismatched() *TestResults_OutputFailure_MismatchedValue
- func (x *TestResults_OutputFailure) GetMissing() *TestResults_OutputFailure_MissingValue
- func (m *TestResults_OutputFailure) GetOutcome() isTestResults_OutputFailure_Outcome
- func (x *TestResults_OutputFailure) GetSrc() string
- func (m *TestResults_OutputFailure) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_OutputFailure) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_OutputFailure) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_OutputFailure) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_OutputFailure) ProtoMessage()
- func (x *TestResults_OutputFailure) ProtoReflect() protoreflect.Message
- func (x *TestResults_OutputFailure) Reset()
- func (m *TestResults_OutputFailure) SizeVT() (n int)
- func (x *TestResults_OutputFailure) String() string
- func (m *TestResults_OutputFailure) UnmarshalVT(dAtA []byte) error
- type TestResults_OutputFailure_Mismatched
- type TestResults_OutputFailure_MismatchedValue
- func (*TestResults_OutputFailure_MismatchedValue) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_OutputFailure_MismatchedValue) GetActual() *structpb.Value
- func (x *TestResults_OutputFailure_MismatchedValue) GetExpected() *structpb.Value
- func (m *TestResults_OutputFailure_MismatchedValue) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_OutputFailure_MismatchedValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_OutputFailure_MismatchedValue) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_OutputFailure_MismatchedValue) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_OutputFailure_MismatchedValue) ProtoMessage()
- func (x *TestResults_OutputFailure_MismatchedValue) ProtoReflect() protoreflect.Message
- func (x *TestResults_OutputFailure_MismatchedValue) Reset()
- func (m *TestResults_OutputFailure_MismatchedValue) SizeVT() (n int)
- func (x *TestResults_OutputFailure_MismatchedValue) String() string
- func (m *TestResults_OutputFailure_MismatchedValue) UnmarshalVT(dAtA []byte) error
- type TestResults_OutputFailure_Missing
- type TestResults_OutputFailure_MissingValue
- func (*TestResults_OutputFailure_MissingValue) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_OutputFailure_MissingValue) GetExpected() *structpb.Value
- func (m *TestResults_OutputFailure_MissingValue) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_OutputFailure_MissingValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_OutputFailure_MissingValue) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_OutputFailure_MissingValue) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_OutputFailure_MissingValue) ProtoMessage()
- func (x *TestResults_OutputFailure_MissingValue) ProtoReflect() protoreflect.Message
- func (x *TestResults_OutputFailure_MissingValue) Reset()
- func (m *TestResults_OutputFailure_MissingValue) SizeVT() (n int)
- func (x *TestResults_OutputFailure_MissingValue) String() string
- func (m *TestResults_OutputFailure_MissingValue) UnmarshalVT(dAtA []byte) error
- type TestResults_Principal
- func (*TestResults_Principal) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_Principal) GetName() string
- func (x *TestResults_Principal) GetResources() []*TestResults_Resource
- func (m *TestResults_Principal) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_Principal) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_Principal) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_Principal) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_Principal) ProtoMessage()
- func (x *TestResults_Principal) ProtoReflect() protoreflect.Message
- func (x *TestResults_Principal) Reset()
- func (m *TestResults_Principal) SizeVT() (n int)
- func (x *TestResults_Principal) String() string
- func (m *TestResults_Principal) UnmarshalVT(dAtA []byte) error
- type TestResults_Resource
- func (*TestResults_Resource) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_Resource) GetActions() []*TestResults_Action
- func (x *TestResults_Resource) GetName() string
- func (m *TestResults_Resource) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_Resource) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_Resource) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_Resource) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_Resource) ProtoMessage()
- func (x *TestResults_Resource) ProtoReflect() protoreflect.Message
- func (x *TestResults_Resource) Reset()
- func (m *TestResults_Resource) SizeVT() (n int)
- func (x *TestResults_Resource) String() string
- func (m *TestResults_Resource) UnmarshalVT(dAtA []byte) error
- type TestResults_Result
- func (TestResults_Result) Descriptor() protoreflect.EnumDescriptor
- func (x TestResults_Result) Enum() *TestResults_Result
- func (TestResults_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestResults_Result) Number() protoreflect.EnumNumber
- func (x TestResults_Result) String() string
- func (TestResults_Result) Type() protoreflect.EnumType
- type TestResults_Success
- func (*TestResults_Success) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_Success) GetEffect() v1.Effect
- func (x *TestResults_Success) GetOutputs() []*v11.OutputEntry
- func (m *TestResults_Success) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_Success) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_Success) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_Success) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_Success) ProtoMessage()
- func (x *TestResults_Success) ProtoReflect() protoreflect.Message
- func (x *TestResults_Success) Reset()
- func (m *TestResults_Success) SizeVT() (n int)
- func (x *TestResults_Success) String() string
- func (m *TestResults_Success) UnmarshalVT(dAtA []byte) error
- type TestResults_Suite
- func (*TestResults_Suite) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_Suite) GetDescription() string
- func (x *TestResults_Suite) GetError() string
- func (x *TestResults_Suite) GetFile() string
- func (x *TestResults_Suite) GetName() string
- func (x *TestResults_Suite) GetPrincipals() []*TestResults_Principaldeprecated
- func (x *TestResults_Suite) GetSkipReason() string
- func (x *TestResults_Suite) GetSummary() *TestResults_Summary
- func (x *TestResults_Suite) GetTestCases() []*TestResults_TestCase
- func (m *TestResults_Suite) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_Suite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_Suite) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_Suite) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_Suite) ProtoMessage()
- func (x *TestResults_Suite) ProtoReflect() protoreflect.Message
- func (x *TestResults_Suite) Reset()
- func (m *TestResults_Suite) SizeVT() (n int)
- func (x *TestResults_Suite) String() string
- func (m *TestResults_Suite) UnmarshalVT(dAtA []byte) error
- type TestResults_Summary
- func (*TestResults_Summary) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_Summary) GetOverallResult() TestResults_Result
- func (x *TestResults_Summary) GetResultCounts() []*TestResults_Tally
- func (x *TestResults_Summary) GetTestsCount() uint32
- func (m *TestResults_Summary) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_Summary) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_Summary) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_Summary) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_Summary) ProtoMessage()
- func (x *TestResults_Summary) ProtoReflect() protoreflect.Message
- func (x *TestResults_Summary) Reset()
- func (m *TestResults_Summary) SizeVT() (n int)
- func (x *TestResults_Summary) String() string
- func (m *TestResults_Summary) UnmarshalVT(dAtA []byte) error
- type TestResults_Tally
- func (*TestResults_Tally) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_Tally) GetCount() uint32
- func (x *TestResults_Tally) GetResult() TestResults_Result
- func (m *TestResults_Tally) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_Tally) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_Tally) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_Tally) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_Tally) ProtoMessage()
- func (x *TestResults_Tally) ProtoReflect() protoreflect.Message
- func (x *TestResults_Tally) Reset()
- func (m *TestResults_Tally) SizeVT() (n int)
- func (x *TestResults_Tally) String() string
- func (m *TestResults_Tally) UnmarshalVT(dAtA []byte) error
- type TestResults_TestCase
- func (*TestResults_TestCase) Descriptor() ([]byte, []int)deprecated
- func (x *TestResults_TestCase) GetName() string
- func (x *TestResults_TestCase) GetPrincipals() []*TestResults_Principal
- func (m *TestResults_TestCase) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestResults_TestCase) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestResults_TestCase) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestResults_TestCase) MarshalVT() (dAtA []byte, err error)
- func (*TestResults_TestCase) ProtoMessage()
- func (x *TestResults_TestCase) ProtoReflect() protoreflect.Message
- func (x *TestResults_TestCase) Reset()
- func (m *TestResults_TestCase) SizeVT() (n int)
- func (x *TestResults_TestCase) String() string
- func (m *TestResults_TestCase) UnmarshalVT(dAtA []byte) error
- type TestSuite
- func (*TestSuite) Descriptor() ([]byte, []int)deprecated
- func (x *TestSuite) GetAuxData() map[string]*v11.AuxData
- func (x *TestSuite) GetDescription() string
- func (x *TestSuite) GetJsonSchema() string
- func (x *TestSuite) GetName() string
- func (x *TestSuite) GetOptions() *TestOptions
- func (x *TestSuite) GetPrincipalGroups() map[string]*TestFixtureGroup_Principals
- func (x *TestSuite) GetPrincipals() map[string]*v11.Principal
- func (x *TestSuite) GetResourceGroups() map[string]*TestFixtureGroup_Resources
- func (x *TestSuite) GetResources() map[string]*v11.Resource
- func (x *TestSuite) GetSkip() bool
- func (x *TestSuite) GetSkipReason() string
- func (x *TestSuite) GetTests() []*TestTable
- func (m *TestSuite) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestSuite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestSuite) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestSuite) MarshalVT() (dAtA []byte, err error)
- func (*TestSuite) ProtoMessage()
- func (x *TestSuite) ProtoReflect() protoreflect.Message
- func (x *TestSuite) Reset()
- func (m *TestSuite) SizeVT() (n int)
- func (x *TestSuite) String() string
- func (m *TestSuite) UnmarshalVT(dAtA []byte) error
- type TestTable
- func (*TestTable) Descriptor() ([]byte, []int)deprecated
- func (x *TestTable) GetDescription() string
- func (x *TestTable) GetExpected() []*TestTable_Expectation
- func (x *TestTable) GetInput() *TestTable_Input
- func (x *TestTable) GetName() string
- func (x *TestTable) GetOptions() *TestOptions
- func (x *TestTable) GetSkip() bool
- func (x *TestTable) GetSkipReason() string
- func (m *TestTable) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestTable) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestTable) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestTable) MarshalVT() (dAtA []byte, err error)
- func (*TestTable) ProtoMessage()
- func (x *TestTable) ProtoReflect() protoreflect.Message
- func (x *TestTable) Reset()
- func (m *TestTable) SizeVT() (n int)
- func (x *TestTable) String() string
- func (m *TestTable) UnmarshalVT(dAtA []byte) error
- type TestTable_Expectation
- func (*TestTable_Expectation) Descriptor() ([]byte, []int)deprecated
- func (x *TestTable_Expectation) GetActions() map[string]v1.Effect
- func (x *TestTable_Expectation) GetOutputs() []*TestTable_OutputExpectations
- func (x *TestTable_Expectation) GetPrincipal() string
- func (x *TestTable_Expectation) GetPrincipalGroups() []string
- func (x *TestTable_Expectation) GetPrincipals() []string
- func (x *TestTable_Expectation) GetResource() string
- func (x *TestTable_Expectation) GetResourceGroups() []string
- func (x *TestTable_Expectation) GetResources() []string
- func (m *TestTable_Expectation) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestTable_Expectation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestTable_Expectation) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestTable_Expectation) MarshalVT() (dAtA []byte, err error)
- func (*TestTable_Expectation) ProtoMessage()
- func (x *TestTable_Expectation) ProtoReflect() protoreflect.Message
- func (x *TestTable_Expectation) Reset()
- func (m *TestTable_Expectation) SizeVT() (n int)
- func (x *TestTable_Expectation) String() string
- func (m *TestTable_Expectation) UnmarshalVT(dAtA []byte) error
- type TestTable_Input
- func (*TestTable_Input) Descriptor() ([]byte, []int)deprecated
- func (x *TestTable_Input) GetActions() []string
- func (x *TestTable_Input) GetAuxData() string
- func (x *TestTable_Input) GetPrincipalGroups() []string
- func (x *TestTable_Input) GetPrincipals() []string
- func (x *TestTable_Input) GetResourceGroups() []string
- func (x *TestTable_Input) GetResources() []string
- func (m *TestTable_Input) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestTable_Input) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestTable_Input) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestTable_Input) MarshalVT() (dAtA []byte, err error)
- func (*TestTable_Input) ProtoMessage()
- func (x *TestTable_Input) ProtoReflect() protoreflect.Message
- func (x *TestTable_Input) Reset()
- func (m *TestTable_Input) SizeVT() (n int)
- func (x *TestTable_Input) String() string
- func (m *TestTable_Input) UnmarshalVT(dAtA []byte) error
- type TestTable_OutputExpectations
- func (*TestTable_OutputExpectations) Descriptor() ([]byte, []int)deprecated
- func (x *TestTable_OutputExpectations) GetAction() string
- func (x *TestTable_OutputExpectations) GetExpected() []*v11.OutputEntry
- func (m *TestTable_OutputExpectations) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *TestTable_OutputExpectations) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TestTable_OutputExpectations) MarshalToVT(dAtA []byte) (int, error)
- func (m *TestTable_OutputExpectations) MarshalVT() (dAtA []byte, err error)
- func (*TestTable_OutputExpectations) ProtoMessage()
- func (x *TestTable_OutputExpectations) ProtoReflect() protoreflect.Message
- func (x *TestTable_OutputExpectations) Reset()
- func (m *TestTable_OutputExpectations) SizeVT() (n int)
- func (x *TestTable_OutputExpectations) String() string
- func (m *TestTable_OutputExpectations) UnmarshalVT(dAtA []byte) error
- type Test_OutputEntries
- func (*Test_OutputEntries) Descriptor() ([]byte, []int)deprecated
- func (x *Test_OutputEntries) GetEntries() map[string]*structpb.Value
- func (m *Test_OutputEntries) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Test_OutputEntries) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Test_OutputEntries) MarshalToVT(dAtA []byte) (int, error)
- func (m *Test_OutputEntries) MarshalVT() (dAtA []byte, err error)
- func (*Test_OutputEntries) ProtoMessage()
- func (x *Test_OutputEntries) ProtoReflect() protoreflect.Message
- func (x *Test_OutputEntries) Reset()
- func (m *Test_OutputEntries) SizeVT() (n int)
- func (x *Test_OutputEntries) String() string
- func (m *Test_OutputEntries) UnmarshalVT(dAtA []byte) error
- type Test_TestName
- func (*Test_TestName) Descriptor() ([]byte, []int)deprecated
- func (x *Test_TestName) GetPrincipalKey() string
- func (x *Test_TestName) GetResourceKey() string
- func (x *Test_TestName) GetTestTableName() string
- func (m *Test_TestName) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Test_TestName) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Test_TestName) MarshalToVT(dAtA []byte) (int, error)
- func (m *Test_TestName) MarshalVT() (dAtA []byte, err error)
- func (*Test_TestName) ProtoMessage()
- func (x *Test_TestName) ProtoReflect() protoreflect.Message
- func (x *Test_TestName) Reset()
- func (m *Test_TestName) SizeVT() (n int)
- func (x *Test_TestName) String() string
- func (m *Test_TestName) UnmarshalVT(dAtA []byte) error
- type Variables
- func (*Variables) Descriptor() ([]byte, []int)deprecated
- func (x *Variables) GetImport() []string
- func (x *Variables) GetLocal() map[string]string
- func (m *Variables) HashPB(hasher hash.Hash, ignore map[string]struct{})
- func (m *Variables) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Variables) MarshalToVT(dAtA []byte) (int, error)
- func (m *Variables) MarshalVT() (dAtA []byte, err error)
- func (*Variables) ProtoMessage()
- func (x *Variables) ProtoReflect() protoreflect.Message
- func (x *Variables) Reset()
- func (m *Variables) SizeVT() (n int)
- func (x *Variables) String() string
- func (m *Variables) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
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.
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.
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.
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) GetCondition ¶
func (m *Condition) GetCondition() isCondition_Condition
func (*Condition) HashPB ¶
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 (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
func (*Condition) UnmarshalVT ¶
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) HashPB ¶ added in v0.40.0
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 (*Constants) MarshalToVT ¶ added in v0.40.0
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) UnmarshalVT ¶ added in v0.40.0
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
func (Kind) Descriptor ¶ added in v0.38.0
func (Kind) Descriptor() protoreflect.EnumDescriptor
func (Kind) EnumDescriptor
deprecated
added in
v0.38.0
func (Kind) Number ¶ added in v0.38.0
func (x Kind) Number() protoreflect.EnumNumber
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) GetAll ¶
func (x *Match) GetAll() *Match_ExprList
func (*Match) GetAny ¶
func (x *Match) GetAny() *Match_ExprList
func (*Match) GetNone ¶
func (x *Match) GetNone() *Match_ExprList
func (*Match) HashPB ¶
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 (*Match) ProtoMessage ¶
func (*Match) ProtoMessage()
func (*Match) ProtoReflect ¶
func (x *Match) ProtoReflect() protoreflect.Message
func (*Match) UnmarshalVT ¶
type Match_All ¶
type Match_All struct {
All *Match_ExprList `protobuf:"bytes,1,opt,name=all,proto3,oneof"`
}
func (*Match_All) MarshalToSizedBufferVT ¶
type Match_Any ¶
type Match_Any struct {
Any *Match_ExprList `protobuf:"bytes,2,opt,name=any,proto3,oneof"`
}
func (*Match_Any) MarshalToSizedBufferVT ¶
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) GetAnnotations ¶
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 (*Metadata) GetStoreIdentifer
deprecated
func (*Metadata) GetStoreIdentifier ¶
func (*Metadata) HashPB ¶
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 (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) UnmarshalVT ¶
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) GetWhen ¶ added in v0.33.0
func (x *Output) GetWhen() *Output_When
func (*Output) HashPB ¶
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 (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) ProtoReflect ¶
func (x *Output) ProtoReflect() protoreflect.Message
func (*Output) UnmarshalVT ¶
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) GetApiVersion ¶
func (*Policy) GetDerivedRoles ¶
func (x *Policy) GetDerivedRoles() *DerivedRoles
func (*Policy) GetDescription ¶
func (*Policy) GetDisabled ¶
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 (*Policy) GetMetadata ¶
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 (*Policy) HashPB ¶
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 (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
func (*Policy) UnmarshalVT ¶
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) GetCondition ¶
func (*RoleDef) GetParentRoles ¶
func (*RoleDef) HashPB ¶
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 (*RoleDef) ProtoMessage ¶
func (*RoleDef) ProtoMessage()
func (*RoleDef) ProtoReflect ¶
func (x *RoleDef) ProtoReflect() protoreflect.Message
func (*RoleDef) UnmarshalVT ¶
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) GetAllowActions ¶ added in v0.40.0
func (*RoleRule) GetResource ¶ added in v0.39.0
func (*RoleRule) HashPB ¶ added in v0.39.0
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 (*RoleRule) MarshalToVT ¶ added in v0.39.0
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) UnmarshalVT ¶ added in v0.39.0
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) GetPrincipalSchema ¶
func (x *Schemas) GetPrincipalSchema() *Schemas_Schema
func (*Schemas) GetResourceSchema ¶
func (x *Schemas) GetResourceSchema() *Schemas_Schema
func (*Schemas) HashPB ¶
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 (*Schemas) ProtoMessage ¶
func (*Schemas) ProtoMessage()
func (*Schemas) ProtoReflect ¶
func (x *Schemas) ProtoReflect() protoreflect.Message
func (*Schemas) UnmarshalVT ¶
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) Descriptor() protoreflect.EnumDescriptor
func (ScopePermissions) Enum ¶ added in v0.40.0
func (x ScopePermissions) Enum() *ScopePermissions
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 (x ScopePermissions) Number() protoreflect.EnumNumber
func (ScopePermissions) String ¶ added in v0.40.0
func (x ScopePermissions) String() string
func (ScopePermissions) Type ¶ added in v0.40.0
func (ScopePermissions) Type() protoreflect.EnumType
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) GetDescription ¶
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) GetSkipReason ¶
func (*Test) HashPB ¶
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 (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶
func (x *Test) ProtoReflect() protoreflect.Message
func (*Test) UnmarshalVT ¶
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 (x *TestFixtureGroup_Principals) ProtoReflect() protoreflect.Message
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 (x *TestFixtureGroup_Resources) ProtoReflect() protoreflect.Message
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 (x *TestResults_Failure) GetOutputs() []*TestResults_OutputFailure
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 (x *TestResults_OutputFailure) GetMismatched() *TestResults_OutputFailure_MismatchedValue
func (*TestResults_OutputFailure) GetMissing ¶
func (x *TestResults_OutputFailure) GetMissing() *TestResults_OutputFailure_MissingValue
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 (x *TestResults_OutputFailure) ProtoReflect() protoreflect.Message
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 (x *TestResults_OutputFailure_MismatchedValue) GetActual() *structpb.Value
func (*TestResults_OutputFailure_MismatchedValue) GetExpected ¶
func (x *TestResults_OutputFailure_MismatchedValue) GetExpected() *structpb.Value
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) ProtoMessage()
func (*TestResults_OutputFailure_MismatchedValue) ProtoReflect ¶
func (x *TestResults_OutputFailure_MismatchedValue) ProtoReflect() protoreflect.Message
func (*TestResults_OutputFailure_MismatchedValue) Reset ¶
func (x *TestResults_OutputFailure_MismatchedValue) Reset()
func (*TestResults_OutputFailure_MismatchedValue) SizeVT ¶
func (m *TestResults_OutputFailure_MismatchedValue) SizeVT() (n int)
func (*TestResults_OutputFailure_MismatchedValue) String ¶
func (x *TestResults_OutputFailure_MismatchedValue) String() 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 (x *TestResults_OutputFailure_MissingValue) GetExpected() *structpb.Value
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) ProtoMessage()
func (*TestResults_OutputFailure_MissingValue) ProtoReflect ¶
func (x *TestResults_OutputFailure_MissingValue) ProtoReflect() protoreflect.Message
func (*TestResults_OutputFailure_MissingValue) Reset ¶
func (x *TestResults_OutputFailure_MissingValue) Reset()
func (*TestResults_OutputFailure_MissingValue) SizeVT ¶
func (m *TestResults_OutputFailure_MissingValue) SizeVT() (n int)
func (*TestResults_OutputFailure_MissingValue) String ¶
func (x *TestResults_OutputFailure_MissingValue) String() 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()