Documentation ¶
Index ¶
- Variables
- type Biscuit
- func (*Biscuit) Descriptor() ([]byte, []int)deprecated
- func (x *Biscuit) GetAuthority() *SignedBlock
- func (x *Biscuit) GetBlocks() []*SignedBlock
- func (x *Biscuit) GetProof() *Proof
- func (x *Biscuit) GetRootKeyId() uint32
- func (*Biscuit) ProtoMessage()
- func (x *Biscuit) ProtoReflect() protoreflect.Message
- func (x *Biscuit) Reset()
- func (x *Biscuit) String() string
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetChecksV2() []*CheckV2
- func (x *Block) GetContext() string
- func (x *Block) GetFactsV2() []*FactV2
- func (x *Block) GetRulesV2() []*RuleV2
- func (x *Block) GetSymbols() []string
- func (x *Block) GetVersion() uint32
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type BytesConstraintV2
- func (*BytesConstraintV2) Descriptor() ([]byte, []int)deprecated
- func (m *BytesConstraintV2) GetConstraint() isBytesConstraintV2_Constraint
- func (x *BytesConstraintV2) GetEqual() []byte
- func (x *BytesConstraintV2) GetInSet() *BytesSet
- func (x *BytesConstraintV2) GetNotInSet() *BytesSet
- func (*BytesConstraintV2) ProtoMessage()
- func (x *BytesConstraintV2) ProtoReflect() protoreflect.Message
- func (x *BytesConstraintV2) Reset()
- func (x *BytesConstraintV2) String() string
- type BytesConstraintV2_Equal
- type BytesConstraintV2_InSet
- type BytesConstraintV2_NotInSet
- type BytesSet
- type CheckV2
- type ConstraintV2
- func (*ConstraintV2) Descriptor() ([]byte, []int)deprecated
- func (x *ConstraintV2) GetBytes() *BytesConstraintV2
- func (m *ConstraintV2) GetConstraint() isConstraintV2_Constraint
- func (x *ConstraintV2) GetDate() *DateConstraintV2
- func (x *ConstraintV2) GetInt() *IntConstraintV2
- func (x *ConstraintV2) GetString_() *StringConstraintV2
- func (x *ConstraintV2) GetTerm() uint32
- func (*ConstraintV2) ProtoMessage()
- func (x *ConstraintV2) ProtoReflect() protoreflect.Message
- func (x *ConstraintV2) Reset()
- func (x *ConstraintV2) String() string
- type ConstraintV2_Bytes
- type ConstraintV2_Date
- type ConstraintV2_Int
- type ConstraintV2_String_
- type DateConstraintV2
- func (*DateConstraintV2) Descriptor() ([]byte, []int)deprecated
- func (x *DateConstraintV2) GetAfter() uint64
- func (x *DateConstraintV2) GetBefore() uint64
- func (m *DateConstraintV2) GetConstraint() isDateConstraintV2_Constraint
- func (*DateConstraintV2) ProtoMessage()
- func (x *DateConstraintV2) ProtoReflect() protoreflect.Message
- func (x *DateConstraintV2) Reset()
- func (x *DateConstraintV2) String() string
- type DateConstraintV2_After
- type DateConstraintV2_Before
- type ExpressionV2
- type FactV2
- type IntConstraintV2
- func (*IntConstraintV2) Descriptor() ([]byte, []int)deprecated
- func (m *IntConstraintV2) GetConstraint() isIntConstraintV2_Constraint
- func (x *IntConstraintV2) GetEqual() int64
- func (x *IntConstraintV2) GetGreaterOrEqual() int64
- func (x *IntConstraintV2) GetGreaterThan() int64
- func (x *IntConstraintV2) GetInSet() *IntSet
- func (x *IntConstraintV2) GetLessOrEqual() int64
- func (x *IntConstraintV2) GetLessThan() int64
- func (x *IntConstraintV2) GetNotInSet() *IntSet
- func (*IntConstraintV2) ProtoMessage()
- func (x *IntConstraintV2) ProtoReflect() protoreflect.Message
- func (x *IntConstraintV2) Reset()
- func (x *IntConstraintV2) String() string
- type IntConstraintV2_Equal
- type IntConstraintV2_GreaterOrEqual
- type IntConstraintV2_GreaterThan
- type IntConstraintV2_InSet
- type IntConstraintV2_LessOrEqual
- type IntConstraintV2_LessThan
- type IntConstraintV2_NotInSet
- type IntSet
- type Op
- func (*Op) Descriptor() ([]byte, []int)deprecated
- func (x *Op) GetBinary() *OpBinary
- func (m *Op) GetContent() isOp_Content
- func (x *Op) GetUnary() *OpUnary
- func (x *Op) GetValue() *TermV2
- func (*Op) ProtoMessage()
- func (x *Op) ProtoReflect() protoreflect.Message
- func (x *Op) Reset()
- func (x *Op) String() string
- type OpBinary
- type OpBinary_Kind
- func (OpBinary_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x OpBinary_Kind) Enum() *OpBinary_Kind
- func (OpBinary_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x OpBinary_Kind) Number() protoreflect.EnumNumber
- func (x OpBinary_Kind) String() string
- func (OpBinary_Kind) Type() protoreflect.EnumType
- func (x *OpBinary_Kind) UnmarshalJSON(b []byte) errordeprecated
- type OpUnary
- type OpUnary_Kind
- func (OpUnary_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x OpUnary_Kind) Enum() *OpUnary_Kind
- func (OpUnary_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x OpUnary_Kind) Number() protoreflect.EnumNumber
- func (x OpUnary_Kind) String() string
- func (OpUnary_Kind) Type() protoreflect.EnumType
- func (x *OpUnary_Kind) UnmarshalJSON(b []byte) errordeprecated
- type Op_Binary
- type Op_Unary
- type Op_Value
- type Policy
- type Policy_Kind
- func (Policy_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x Policy_Kind) Enum() *Policy_Kind
- func (Policy_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Policy_Kind) Number() protoreflect.EnumNumber
- func (x Policy_Kind) String() string
- func (Policy_Kind) Type() protoreflect.EnumType
- func (x *Policy_Kind) UnmarshalJSON(b []byte) errordeprecated
- type PredicateV2
- func (*PredicateV2) Descriptor() ([]byte, []int)deprecated
- func (x *PredicateV2) GetName() uint64
- func (x *PredicateV2) GetTerms() []*TermV2
- func (*PredicateV2) ProtoMessage()
- func (x *PredicateV2) ProtoReflect() protoreflect.Message
- func (x *PredicateV2) Reset()
- func (x *PredicateV2) String() string
- type Proof
- func (*Proof) Descriptor() ([]byte, []int)deprecated
- func (m *Proof) GetContent() isProof_Content
- func (x *Proof) GetFinalSignature() []byte
- func (x *Proof) GetNextSecret() []byte
- func (*Proof) ProtoMessage()
- func (x *Proof) ProtoReflect() protoreflect.Message
- func (x *Proof) Reset()
- func (x *Proof) String() string
- type Proof_FinalSignature
- type Proof_NextSecret
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKey) GetAlgorithm() PublicKey_Algorithm
- func (x *PublicKey) GetKey() []byte
- func (*PublicKey) ProtoMessage()
- func (x *PublicKey) ProtoReflect() protoreflect.Message
- func (x *PublicKey) Reset()
- func (x *PublicKey) String() string
- type PublicKey_Algorithm
- func (PublicKey_Algorithm) Descriptor() protoreflect.EnumDescriptor
- func (x PublicKey_Algorithm) Enum() *PublicKey_Algorithm
- func (PublicKey_Algorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x PublicKey_Algorithm) Number() protoreflect.EnumNumber
- func (x PublicKey_Algorithm) String() string
- func (PublicKey_Algorithm) Type() protoreflect.EnumType
- func (x *PublicKey_Algorithm) UnmarshalJSON(b []byte) errordeprecated
- type RuleV2
- func (*RuleV2) Descriptor() ([]byte, []int)deprecated
- func (x *RuleV2) GetBody() []*PredicateV2
- func (x *RuleV2) GetExpressions() []*ExpressionV2
- func (x *RuleV2) GetHead() *PredicateV2
- func (*RuleV2) ProtoMessage()
- func (x *RuleV2) ProtoReflect() protoreflect.Message
- func (x *RuleV2) Reset()
- func (x *RuleV2) String() string
- type SignedBlock
- func (*SignedBlock) Descriptor() ([]byte, []int)deprecated
- func (x *SignedBlock) GetBlock() []byte
- func (x *SignedBlock) GetNextKey() *PublicKey
- func (x *SignedBlock) GetSignature() []byte
- func (*SignedBlock) ProtoMessage()
- func (x *SignedBlock) ProtoReflect() protoreflect.Message
- func (x *SignedBlock) Reset()
- func (x *SignedBlock) String() string
- type StringConstraintV2
- func (*StringConstraintV2) Descriptor() ([]byte, []int)deprecated
- func (m *StringConstraintV2) GetConstraint() isStringConstraintV2_Constraint
- func (x *StringConstraintV2) GetEqual() string
- func (x *StringConstraintV2) GetInSet() *StringSet
- func (x *StringConstraintV2) GetNotInSet() *StringSet
- func (x *StringConstraintV2) GetPrefix() string
- func (x *StringConstraintV2) GetRegex() string
- func (x *StringConstraintV2) GetSuffix() string
- func (*StringConstraintV2) ProtoMessage()
- func (x *StringConstraintV2) ProtoReflect() protoreflect.Message
- func (x *StringConstraintV2) Reset()
- func (x *StringConstraintV2) String() string
- type StringConstraintV2_Equal
- type StringConstraintV2_InSet
- type StringConstraintV2_NotInSet
- type StringConstraintV2_Prefix
- type StringConstraintV2_Regex
- type StringConstraintV2_Suffix
- type StringSet
- type TermSet
- type TermV2
- func (*TermV2) Descriptor() ([]byte, []int)deprecated
- func (x *TermV2) GetBool() bool
- func (x *TermV2) GetBytes() []byte
- func (m *TermV2) GetContent() isTermV2_Content
- func (x *TermV2) GetDate() uint64
- func (x *TermV2) GetInteger() int64
- func (x *TermV2) GetSet() *TermSet
- func (x *TermV2) GetString_() uint64
- func (x *TermV2) GetVariable() uint32
- func (*TermV2) ProtoMessage()
- func (x *TermV2) ProtoReflect() protoreflect.Message
- func (x *TermV2) Reset()
- func (x *TermV2) String() string
- type TermV2_Bool
- type TermV2_Bytes
- type TermV2_Date
- type TermV2_Integer
- type TermV2_Set
- type TermV2_String_
- type TermV2_Variable
- type VerifierPolicies
- func (*VerifierPolicies) Descriptor() ([]byte, []int)deprecated
- func (x *VerifierPolicies) GetChecks() []*CheckV2
- func (x *VerifierPolicies) GetFacts() []*FactV2
- func (x *VerifierPolicies) GetPolicies() []*Policy
- func (x *VerifierPolicies) GetRules() []*RuleV2
- func (x *VerifierPolicies) GetSymbols() []string
- func (x *VerifierPolicies) GetVersion() uint32
- func (*VerifierPolicies) ProtoMessage()
- func (x *VerifierPolicies) ProtoReflect() protoreflect.Message
- func (x *VerifierPolicies) Reset()
- func (x *VerifierPolicies) String() string
Constants ¶
This section is empty.
Variables ¶
var ( PublicKey_Algorithm_name = map[int32]string{ 0: "Ed25519", } PublicKey_Algorithm_value = map[string]int32{ "Ed25519": 0, } )
Enum value maps for PublicKey_Algorithm.
var ( OpUnary_Kind_name = map[int32]string{ 0: "Negate", 1: "Parens", 2: "Length", } OpUnary_Kind_value = map[string]int32{ "Negate": 0, "Parens": 1, "Length": 2, } )
Enum value maps for OpUnary_Kind.
var ( OpBinary_Kind_name = map[int32]string{ 0: "LessThan", 1: "GreaterThan", 2: "LessOrEqual", 3: "GreaterOrEqual", 4: "Equal", 5: "Contains", 6: "Prefix", 7: "Suffix", 8: "Regex", 9: "Add", 10: "Sub", 11: "Mul", 12: "Div", 13: "And", 14: "Or", 15: "Intersection", 16: "Union", } OpBinary_Kind_value = map[string]int32{ "LessThan": 0, "GreaterThan": 1, "LessOrEqual": 2, "GreaterOrEqual": 3, "Equal": 4, "Contains": 5, "Prefix": 6, "Suffix": 7, "Regex": 8, "Add": 9, "Sub": 10, "Mul": 11, "Div": 12, "And": 13, "Or": 14, "Intersection": 15, "Union": 16, } )
Enum value maps for OpBinary_Kind.
var ( Policy_Kind_name = map[int32]string{ 0: "Allow", 1: "Deny", } Policy_Kind_value = map[string]int32{ "Allow": 0, "Deny": 1, } )
Enum value maps for Policy_Kind.
var File_biscuit_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Biscuit ¶
type Biscuit struct { RootKeyId *uint32 `protobuf:"varint,1,opt,name=rootKeyId" json:"rootKeyId,omitempty"` Authority *SignedBlock `protobuf:"bytes,2,req,name=authority" json:"authority,omitempty"` Blocks []*SignedBlock `protobuf:"bytes,3,rep,name=blocks" json:"blocks,omitempty"` Proof *Proof `protobuf:"bytes,4,req,name=proof" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*Biscuit) Descriptor
deprecated
func (*Biscuit) GetAuthority ¶
func (x *Biscuit) GetAuthority() *SignedBlock
func (*Biscuit) GetBlocks ¶
func (x *Biscuit) GetBlocks() []*SignedBlock
func (*Biscuit) GetRootKeyId ¶
func (*Biscuit) ProtoMessage ¶
func (*Biscuit) ProtoMessage()
func (*Biscuit) ProtoReflect ¶
func (x *Biscuit) ProtoReflect() protoreflect.Message
type Block ¶
type Block struct { Symbols []string `protobuf:"bytes,1,rep,name=symbols" json:"symbols,omitempty"` Context *string `protobuf:"bytes,2,opt,name=context" json:"context,omitempty"` Version *uint32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` FactsV2 []*FactV2 `protobuf:"bytes,4,rep,name=facts_v2,json=factsV2" json:"facts_v2,omitempty"` RulesV2 []*RuleV2 `protobuf:"bytes,5,rep,name=rules_v2,json=rulesV2" json:"rules_v2,omitempty"` ChecksV2 []*CheckV2 `protobuf:"bytes,6,rep,name=checks_v2,json=checksV2" json:"checks_v2,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) GetChecksV2 ¶
func (*Block) GetContext ¶
func (*Block) GetFactsV2 ¶
func (*Block) GetRulesV2 ¶
func (*Block) GetSymbols ¶
func (*Block) GetVersion ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type BytesConstraintV2 ¶
type BytesConstraintV2 struct { // Types that are assignable to Constraint: // *BytesConstraintV2_Equal // *BytesConstraintV2_InSet // *BytesConstraintV2_NotInSet Constraint isBytesConstraintV2_Constraint `protobuf_oneof:"Constraint"` // contains filtered or unexported fields }
func (*BytesConstraintV2) Descriptor
deprecated
func (*BytesConstraintV2) Descriptor() ([]byte, []int)
Deprecated: Use BytesConstraintV2.ProtoReflect.Descriptor instead.
func (*BytesConstraintV2) GetConstraint ¶
func (m *BytesConstraintV2) GetConstraint() isBytesConstraintV2_Constraint
func (*BytesConstraintV2) GetEqual ¶
func (x *BytesConstraintV2) GetEqual() []byte
func (*BytesConstraintV2) GetInSet ¶
func (x *BytesConstraintV2) GetInSet() *BytesSet
func (*BytesConstraintV2) GetNotInSet ¶
func (x *BytesConstraintV2) GetNotInSet() *BytesSet
func (*BytesConstraintV2) ProtoMessage ¶
func (*BytesConstraintV2) ProtoMessage()
func (*BytesConstraintV2) ProtoReflect ¶
func (x *BytesConstraintV2) ProtoReflect() protoreflect.Message
func (*BytesConstraintV2) Reset ¶
func (x *BytesConstraintV2) Reset()
func (*BytesConstraintV2) String ¶
func (x *BytesConstraintV2) String() string
type BytesConstraintV2_Equal ¶
type BytesConstraintV2_Equal struct {
Equal []byte `protobuf:"bytes,1,opt,name=equal,oneof"`
}
type BytesConstraintV2_InSet ¶
type BytesConstraintV2_InSet struct {
InSet *BytesSet `protobuf:"bytes,2,opt,name=in_set,json=inSet,oneof"`
}
type BytesConstraintV2_NotInSet ¶
type BytesConstraintV2_NotInSet struct {
NotInSet *BytesSet `protobuf:"bytes,3,opt,name=not_in_set,json=notInSet,oneof"`
}
type BytesSet ¶
type BytesSet struct { Set [][]byte `protobuf:"bytes,1,rep,name=set" json:"set,omitempty"` // contains filtered or unexported fields }
func (*BytesSet) Descriptor
deprecated
func (*BytesSet) ProtoMessage ¶
func (*BytesSet) ProtoMessage()
func (*BytesSet) ProtoReflect ¶
func (x *BytesSet) ProtoReflect() protoreflect.Message
type CheckV2 ¶
type CheckV2 struct { Queries []*RuleV2 `protobuf:"bytes,1,rep,name=queries" json:"queries,omitempty"` // contains filtered or unexported fields }
func (*CheckV2) Descriptor
deprecated
func (*CheckV2) GetQueries ¶
func (*CheckV2) ProtoMessage ¶
func (*CheckV2) ProtoMessage()
func (*CheckV2) ProtoReflect ¶
func (x *CheckV2) ProtoReflect() protoreflect.Message
type ConstraintV2 ¶
type ConstraintV2 struct { Term *uint32 `protobuf:"varint,1,req,name=term" json:"term,omitempty"` // Types that are assignable to Constraint: // *ConstraintV2_Int // *ConstraintV2_String_ // *ConstraintV2_Date // *ConstraintV2_Bytes Constraint isConstraintV2_Constraint `protobuf_oneof:"Constraint"` // contains filtered or unexported fields }
func (*ConstraintV2) Descriptor
deprecated
func (*ConstraintV2) Descriptor() ([]byte, []int)
Deprecated: Use ConstraintV2.ProtoReflect.Descriptor instead.
func (*ConstraintV2) GetBytes ¶
func (x *ConstraintV2) GetBytes() *BytesConstraintV2
func (*ConstraintV2) GetConstraint ¶
func (m *ConstraintV2) GetConstraint() isConstraintV2_Constraint
func (*ConstraintV2) GetDate ¶
func (x *ConstraintV2) GetDate() *DateConstraintV2
func (*ConstraintV2) GetInt ¶
func (x *ConstraintV2) GetInt() *IntConstraintV2
func (*ConstraintV2) GetString_ ¶
func (x *ConstraintV2) GetString_() *StringConstraintV2
func (*ConstraintV2) GetTerm ¶
func (x *ConstraintV2) GetTerm() uint32
func (*ConstraintV2) ProtoMessage ¶
func (*ConstraintV2) ProtoMessage()
func (*ConstraintV2) ProtoReflect ¶
func (x *ConstraintV2) ProtoReflect() protoreflect.Message
func (*ConstraintV2) Reset ¶
func (x *ConstraintV2) Reset()
func (*ConstraintV2) String ¶
func (x *ConstraintV2) String() string
type ConstraintV2_Bytes ¶
type ConstraintV2_Bytes struct {
Bytes *BytesConstraintV2 `protobuf:"bytes,5,opt,name=bytes,oneof"`
}
type ConstraintV2_Date ¶
type ConstraintV2_Date struct {
Date *DateConstraintV2 `protobuf:"bytes,4,opt,name=date,oneof"`
}
type ConstraintV2_Int ¶
type ConstraintV2_Int struct {
Int *IntConstraintV2 `protobuf:"bytes,2,opt,name=int,oneof"`
}
type ConstraintV2_String_ ¶
type ConstraintV2_String_ struct {
String_ *StringConstraintV2 `protobuf:"bytes,3,opt,name=string,oneof"`
}
type DateConstraintV2 ¶
type DateConstraintV2 struct { // Types that are assignable to Constraint: // *DateConstraintV2_Before // *DateConstraintV2_After Constraint isDateConstraintV2_Constraint `protobuf_oneof:"Constraint"` // contains filtered or unexported fields }
func (*DateConstraintV2) Descriptor
deprecated
func (*DateConstraintV2) Descriptor() ([]byte, []int)
Deprecated: Use DateConstraintV2.ProtoReflect.Descriptor instead.
func (*DateConstraintV2) GetAfter ¶
func (x *DateConstraintV2) GetAfter() uint64
func (*DateConstraintV2) GetBefore ¶
func (x *DateConstraintV2) GetBefore() uint64
func (*DateConstraintV2) GetConstraint ¶
func (m *DateConstraintV2) GetConstraint() isDateConstraintV2_Constraint
func (*DateConstraintV2) ProtoMessage ¶
func (*DateConstraintV2) ProtoMessage()
func (*DateConstraintV2) ProtoReflect ¶
func (x *DateConstraintV2) ProtoReflect() protoreflect.Message
func (*DateConstraintV2) Reset ¶
func (x *DateConstraintV2) Reset()
func (*DateConstraintV2) String ¶
func (x *DateConstraintV2) String() string
type DateConstraintV2_After ¶
type DateConstraintV2_After struct {
After uint64 `protobuf:"varint,2,opt,name=after,oneof"`
}
type DateConstraintV2_Before ¶
type DateConstraintV2_Before struct {
Before uint64 `protobuf:"varint,1,opt,name=before,oneof"`
}
type ExpressionV2 ¶
type ExpressionV2 struct { Ops []*Op `protobuf:"bytes,1,rep,name=ops" json:"ops,omitempty"` // contains filtered or unexported fields }
func (*ExpressionV2) Descriptor
deprecated
func (*ExpressionV2) Descriptor() ([]byte, []int)
Deprecated: Use ExpressionV2.ProtoReflect.Descriptor instead.
func (*ExpressionV2) GetOps ¶
func (x *ExpressionV2) GetOps() []*Op
func (*ExpressionV2) ProtoMessage ¶
func (*ExpressionV2) ProtoMessage()
func (*ExpressionV2) ProtoReflect ¶
func (x *ExpressionV2) ProtoReflect() protoreflect.Message
func (*ExpressionV2) Reset ¶
func (x *ExpressionV2) Reset()
func (*ExpressionV2) String ¶
func (x *ExpressionV2) String() string
type FactV2 ¶
type FactV2 struct { Predicate *PredicateV2 `protobuf:"bytes,1,req,name=predicate" json:"predicate,omitempty"` // contains filtered or unexported fields }
func (*FactV2) Descriptor
deprecated
func (*FactV2) GetPredicate ¶
func (x *FactV2) GetPredicate() *PredicateV2
func (*FactV2) ProtoMessage ¶
func (*FactV2) ProtoMessage()
func (*FactV2) ProtoReflect ¶
func (x *FactV2) ProtoReflect() protoreflect.Message
type IntConstraintV2 ¶
type IntConstraintV2 struct { // Types that are assignable to Constraint: // *IntConstraintV2_LessThan // *IntConstraintV2_GreaterThan // *IntConstraintV2_LessOrEqual // *IntConstraintV2_GreaterOrEqual // *IntConstraintV2_Equal // *IntConstraintV2_InSet // *IntConstraintV2_NotInSet Constraint isIntConstraintV2_Constraint `protobuf_oneof:"Constraint"` // contains filtered or unexported fields }
func (*IntConstraintV2) Descriptor
deprecated
func (*IntConstraintV2) Descriptor() ([]byte, []int)
Deprecated: Use IntConstraintV2.ProtoReflect.Descriptor instead.
func (*IntConstraintV2) GetConstraint ¶
func (m *IntConstraintV2) GetConstraint() isIntConstraintV2_Constraint
func (*IntConstraintV2) GetEqual ¶
func (x *IntConstraintV2) GetEqual() int64
func (*IntConstraintV2) GetGreaterOrEqual ¶
func (x *IntConstraintV2) GetGreaterOrEqual() int64
func (*IntConstraintV2) GetGreaterThan ¶
func (x *IntConstraintV2) GetGreaterThan() int64
func (*IntConstraintV2) GetInSet ¶
func (x *IntConstraintV2) GetInSet() *IntSet
func (*IntConstraintV2) GetLessOrEqual ¶
func (x *IntConstraintV2) GetLessOrEqual() int64
func (*IntConstraintV2) GetLessThan ¶
func (x *IntConstraintV2) GetLessThan() int64
func (*IntConstraintV2) GetNotInSet ¶
func (x *IntConstraintV2) GetNotInSet() *IntSet
func (*IntConstraintV2) ProtoMessage ¶
func (*IntConstraintV2) ProtoMessage()
func (*IntConstraintV2) ProtoReflect ¶
func (x *IntConstraintV2) ProtoReflect() protoreflect.Message
func (*IntConstraintV2) Reset ¶
func (x *IntConstraintV2) Reset()
func (*IntConstraintV2) String ¶
func (x *IntConstraintV2) String() string
type IntConstraintV2_Equal ¶
type IntConstraintV2_Equal struct {
Equal int64 `protobuf:"varint,5,opt,name=equal,oneof"`
}
type IntConstraintV2_GreaterOrEqual ¶
type IntConstraintV2_GreaterOrEqual struct {
GreaterOrEqual int64 `protobuf:"varint,4,opt,name=greater_or_equal,json=greaterOrEqual,oneof"`
}
type IntConstraintV2_GreaterThan ¶
type IntConstraintV2_GreaterThan struct {
GreaterThan int64 `protobuf:"varint,2,opt,name=greater_than,json=greaterThan,oneof"`
}
type IntConstraintV2_InSet ¶
type IntConstraintV2_InSet struct {
InSet *IntSet `protobuf:"bytes,6,opt,name=in_set,json=inSet,oneof"`
}
type IntConstraintV2_LessOrEqual ¶
type IntConstraintV2_LessOrEqual struct {
LessOrEqual int64 `protobuf:"varint,3,opt,name=less_or_equal,json=lessOrEqual,oneof"`
}
type IntConstraintV2_LessThan ¶
type IntConstraintV2_LessThan struct {
LessThan int64 `protobuf:"varint,1,opt,name=less_than,json=lessThan,oneof"`
}
type IntConstraintV2_NotInSet ¶
type IntConstraintV2_NotInSet struct {
NotInSet *IntSet `protobuf:"bytes,7,opt,name=not_in_set,json=notInSet,oneof"`
}
type IntSet ¶
type IntSet struct { Set []int64 `protobuf:"varint,7,rep,packed,name=set" json:"set,omitempty"` // contains filtered or unexported fields }
func (*IntSet) Descriptor
deprecated
func (*IntSet) ProtoMessage ¶
func (*IntSet) ProtoMessage()
func (*IntSet) ProtoReflect ¶
func (x *IntSet) ProtoReflect() protoreflect.Message
type Op ¶
type Op struct { // Types that are assignable to Content: // *Op_Value // *Op_Unary // *Op_Binary Content isOp_Content `protobuf_oneof:"Content"` // contains filtered or unexported fields }
func (*Op) Descriptor
deprecated
func (*Op) GetContent ¶
func (m *Op) GetContent() isOp_Content
func (*Op) ProtoMessage ¶
func (*Op) ProtoMessage()
func (*Op) ProtoReflect ¶
func (x *Op) ProtoReflect() protoreflect.Message
type OpBinary ¶
type OpBinary struct { Kind *OpBinary_Kind `protobuf:"varint,1,req,name=kind,enum=OpBinary_Kind" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*OpBinary) Descriptor
deprecated
func (*OpBinary) GetKind ¶
func (x *OpBinary) GetKind() OpBinary_Kind
func (*OpBinary) ProtoMessage ¶
func (*OpBinary) ProtoMessage()
func (*OpBinary) ProtoReflect ¶
func (x *OpBinary) ProtoReflect() protoreflect.Message
type OpBinary_Kind ¶
type OpBinary_Kind int32
const ( OpBinary_LessThan OpBinary_Kind = 0 OpBinary_GreaterThan OpBinary_Kind = 1 OpBinary_LessOrEqual OpBinary_Kind = 2 OpBinary_GreaterOrEqual OpBinary_Kind = 3 OpBinary_Equal OpBinary_Kind = 4 OpBinary_Contains OpBinary_Kind = 5 OpBinary_Prefix OpBinary_Kind = 6 OpBinary_Suffix OpBinary_Kind = 7 OpBinary_Regex OpBinary_Kind = 8 OpBinary_Add OpBinary_Kind = 9 OpBinary_Sub OpBinary_Kind = 10 OpBinary_Mul OpBinary_Kind = 11 OpBinary_Div OpBinary_Kind = 12 OpBinary_And OpBinary_Kind = 13 OpBinary_Or OpBinary_Kind = 14 OpBinary_Intersection OpBinary_Kind = 15 OpBinary_Union OpBinary_Kind = 16 )
func (OpBinary_Kind) Descriptor ¶
func (OpBinary_Kind) Descriptor() protoreflect.EnumDescriptor
func (OpBinary_Kind) Enum ¶
func (x OpBinary_Kind) Enum() *OpBinary_Kind
func (OpBinary_Kind) EnumDescriptor
deprecated
func (OpBinary_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use OpBinary_Kind.Descriptor instead.
func (OpBinary_Kind) Number ¶
func (x OpBinary_Kind) Number() protoreflect.EnumNumber
func (OpBinary_Kind) String ¶
func (x OpBinary_Kind) String() string
func (OpBinary_Kind) Type ¶
func (OpBinary_Kind) Type() protoreflect.EnumType
func (*OpBinary_Kind) UnmarshalJSON
deprecated
func (x *OpBinary_Kind) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type OpUnary ¶
type OpUnary struct { Kind *OpUnary_Kind `protobuf:"varint,1,req,name=kind,enum=OpUnary_Kind" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*OpUnary) Descriptor
deprecated
func (*OpUnary) GetKind ¶
func (x *OpUnary) GetKind() OpUnary_Kind
func (*OpUnary) ProtoMessage ¶
func (*OpUnary) ProtoMessage()
func (*OpUnary) ProtoReflect ¶
func (x *OpUnary) ProtoReflect() protoreflect.Message
type OpUnary_Kind ¶
type OpUnary_Kind int32
const ( OpUnary_Negate OpUnary_Kind = 0 OpUnary_Parens OpUnary_Kind = 1 OpUnary_Length OpUnary_Kind = 2 )
func (OpUnary_Kind) Descriptor ¶
func (OpUnary_Kind) Descriptor() protoreflect.EnumDescriptor
func (OpUnary_Kind) Enum ¶
func (x OpUnary_Kind) Enum() *OpUnary_Kind
func (OpUnary_Kind) EnumDescriptor
deprecated
func (OpUnary_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use OpUnary_Kind.Descriptor instead.
func (OpUnary_Kind) Number ¶
func (x OpUnary_Kind) Number() protoreflect.EnumNumber
func (OpUnary_Kind) String ¶
func (x OpUnary_Kind) String() string
func (OpUnary_Kind) Type ¶
func (OpUnary_Kind) Type() protoreflect.EnumType
func (*OpUnary_Kind) UnmarshalJSON
deprecated
func (x *OpUnary_Kind) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Op_Binary ¶
type Op_Binary struct {
Binary *OpBinary `protobuf:"bytes,3,opt,name=Binary,oneof"`
}
type Policy ¶
type Policy struct { Queries []*RuleV2 `protobuf:"bytes,1,rep,name=queries" json:"queries,omitempty"` Kind *Policy_Kind `protobuf:"varint,2,req,name=kind,enum=Policy_Kind" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*Policy) Descriptor
deprecated
func (*Policy) GetKind ¶
func (x *Policy) GetKind() Policy_Kind
func (*Policy) GetQueries ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
type Policy_Kind ¶
type Policy_Kind int32
const ( Policy_Allow Policy_Kind = 0 Policy_Deny Policy_Kind = 1 )
func (Policy_Kind) Descriptor ¶
func (Policy_Kind) Descriptor() protoreflect.EnumDescriptor
func (Policy_Kind) Enum ¶
func (x Policy_Kind) Enum() *Policy_Kind
func (Policy_Kind) EnumDescriptor
deprecated
func (Policy_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Policy_Kind.Descriptor instead.
func (Policy_Kind) Number ¶
func (x Policy_Kind) Number() protoreflect.EnumNumber
func (Policy_Kind) String ¶
func (x Policy_Kind) String() string
func (Policy_Kind) Type ¶
func (Policy_Kind) Type() protoreflect.EnumType
func (*Policy_Kind) UnmarshalJSON
deprecated
func (x *Policy_Kind) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type PredicateV2 ¶
type PredicateV2 struct { Name *uint64 `protobuf:"varint,1,req,name=name" json:"name,omitempty"` Terms []*TermV2 `protobuf:"bytes,2,rep,name=terms" json:"terms,omitempty"` // contains filtered or unexported fields }
func (*PredicateV2) Descriptor
deprecated
func (*PredicateV2) Descriptor() ([]byte, []int)
Deprecated: Use PredicateV2.ProtoReflect.Descriptor instead.
func (*PredicateV2) GetName ¶
func (x *PredicateV2) GetName() uint64
func (*PredicateV2) GetTerms ¶
func (x *PredicateV2) GetTerms() []*TermV2
func (*PredicateV2) ProtoMessage ¶
func (*PredicateV2) ProtoMessage()
func (*PredicateV2) ProtoReflect ¶
func (x *PredicateV2) ProtoReflect() protoreflect.Message
func (*PredicateV2) Reset ¶
func (x *PredicateV2) Reset()
func (*PredicateV2) String ¶
func (x *PredicateV2) String() string
type Proof ¶
type Proof struct { // Types that are assignable to Content: // *Proof_NextSecret // *Proof_FinalSignature Content isProof_Content `protobuf_oneof:"Content"` // contains filtered or unexported fields }
func (*Proof) Descriptor
deprecated
func (*Proof) GetContent ¶
func (m *Proof) GetContent() isProof_Content
func (*Proof) GetFinalSignature ¶
func (*Proof) GetNextSecret ¶
func (*Proof) ProtoMessage ¶
func (*Proof) ProtoMessage()
func (*Proof) ProtoReflect ¶
func (x *Proof) ProtoReflect() protoreflect.Message
type Proof_FinalSignature ¶
type Proof_FinalSignature struct {
FinalSignature []byte `protobuf:"bytes,2,opt,name=finalSignature,oneof"`
}
type Proof_NextSecret ¶
type Proof_NextSecret struct {
NextSecret []byte `protobuf:"bytes,1,opt,name=nextSecret,oneof"`
}
type PublicKey ¶
type PublicKey struct { Algorithm *PublicKey_Algorithm `protobuf:"varint,1,req,name=algorithm,enum=PublicKey_Algorithm" json:"algorithm,omitempty"` Key []byte `protobuf:"bytes,2,req,name=key" json:"key,omitempty"` // contains filtered or unexported fields }
func (*PublicKey) Descriptor
deprecated
func (*PublicKey) GetAlgorithm ¶
func (x *PublicKey) GetAlgorithm() PublicKey_Algorithm
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) ProtoReflect ¶
func (x *PublicKey) ProtoReflect() protoreflect.Message
type PublicKey_Algorithm ¶
type PublicKey_Algorithm int32
const (
PublicKey_Ed25519 PublicKey_Algorithm = 0
)
func (PublicKey_Algorithm) Descriptor ¶
func (PublicKey_Algorithm) Descriptor() protoreflect.EnumDescriptor
func (PublicKey_Algorithm) Enum ¶
func (x PublicKey_Algorithm) Enum() *PublicKey_Algorithm
func (PublicKey_Algorithm) EnumDescriptor
deprecated
func (PublicKey_Algorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use PublicKey_Algorithm.Descriptor instead.
func (PublicKey_Algorithm) Number ¶
func (x PublicKey_Algorithm) Number() protoreflect.EnumNumber
func (PublicKey_Algorithm) String ¶
func (x PublicKey_Algorithm) String() string
func (PublicKey_Algorithm) Type ¶
func (PublicKey_Algorithm) Type() protoreflect.EnumType
func (*PublicKey_Algorithm) UnmarshalJSON
deprecated
func (x *PublicKey_Algorithm) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type RuleV2 ¶
type RuleV2 struct { Head *PredicateV2 `protobuf:"bytes,1,req,name=head" json:"head,omitempty"` Body []*PredicateV2 `protobuf:"bytes,2,rep,name=body" json:"body,omitempty"` Expressions []*ExpressionV2 `protobuf:"bytes,3,rep,name=expressions" json:"expressions,omitempty"` // contains filtered or unexported fields }
func (*RuleV2) Descriptor
deprecated
func (*RuleV2) GetBody ¶
func (x *RuleV2) GetBody() []*PredicateV2
func (*RuleV2) GetExpressions ¶
func (x *RuleV2) GetExpressions() []*ExpressionV2
func (*RuleV2) GetHead ¶
func (x *RuleV2) GetHead() *PredicateV2
func (*RuleV2) ProtoMessage ¶
func (*RuleV2) ProtoMessage()
func (*RuleV2) ProtoReflect ¶
func (x *RuleV2) ProtoReflect() protoreflect.Message
type SignedBlock ¶
type SignedBlock struct { Block []byte `protobuf:"bytes,1,req,name=block" json:"block,omitempty"` NextKey *PublicKey `protobuf:"bytes,2,req,name=nextKey" json:"nextKey,omitempty"` Signature []byte `protobuf:"bytes,3,req,name=signature" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SignedBlock) Descriptor
deprecated
func (*SignedBlock) Descriptor() ([]byte, []int)
Deprecated: Use SignedBlock.ProtoReflect.Descriptor instead.
func (*SignedBlock) GetBlock ¶
func (x *SignedBlock) GetBlock() []byte
func (*SignedBlock) GetNextKey ¶
func (x *SignedBlock) GetNextKey() *PublicKey
func (*SignedBlock) GetSignature ¶
func (x *SignedBlock) GetSignature() []byte
func (*SignedBlock) ProtoMessage ¶
func (*SignedBlock) ProtoMessage()
func (*SignedBlock) ProtoReflect ¶
func (x *SignedBlock) ProtoReflect() protoreflect.Message
func (*SignedBlock) Reset ¶
func (x *SignedBlock) Reset()
func (*SignedBlock) String ¶
func (x *SignedBlock) String() string
type StringConstraintV2 ¶
type StringConstraintV2 struct { // Types that are assignable to Constraint: // *StringConstraintV2_Prefix // *StringConstraintV2_Suffix // *StringConstraintV2_Equal // *StringConstraintV2_InSet // *StringConstraintV2_NotInSet // *StringConstraintV2_Regex Constraint isStringConstraintV2_Constraint `protobuf_oneof:"Constraint"` // contains filtered or unexported fields }
func (*StringConstraintV2) Descriptor
deprecated
func (*StringConstraintV2) Descriptor() ([]byte, []int)
Deprecated: Use StringConstraintV2.ProtoReflect.Descriptor instead.
func (*StringConstraintV2) GetConstraint ¶
func (m *StringConstraintV2) GetConstraint() isStringConstraintV2_Constraint
func (*StringConstraintV2) GetEqual ¶
func (x *StringConstraintV2) GetEqual() string
func (*StringConstraintV2) GetInSet ¶
func (x *StringConstraintV2) GetInSet() *StringSet
func (*StringConstraintV2) GetNotInSet ¶
func (x *StringConstraintV2) GetNotInSet() *StringSet
func (*StringConstraintV2) GetPrefix ¶
func (x *StringConstraintV2) GetPrefix() string
func (*StringConstraintV2) GetRegex ¶
func (x *StringConstraintV2) GetRegex() string
func (*StringConstraintV2) GetSuffix ¶
func (x *StringConstraintV2) GetSuffix() string
func (*StringConstraintV2) ProtoMessage ¶
func (*StringConstraintV2) ProtoMessage()
func (*StringConstraintV2) ProtoReflect ¶
func (x *StringConstraintV2) ProtoReflect() protoreflect.Message
func (*StringConstraintV2) Reset ¶
func (x *StringConstraintV2) Reset()
func (*StringConstraintV2) String ¶
func (x *StringConstraintV2) String() string
type StringConstraintV2_Equal ¶
type StringConstraintV2_Equal struct {
Equal string `protobuf:"bytes,3,opt,name=equal,oneof"`
}
type StringConstraintV2_InSet ¶
type StringConstraintV2_InSet struct {
InSet *StringSet `protobuf:"bytes,4,opt,name=in_set,json=inSet,oneof"`
}
type StringConstraintV2_NotInSet ¶
type StringConstraintV2_NotInSet struct {
NotInSet *StringSet `protobuf:"bytes,5,opt,name=not_in_set,json=notInSet,oneof"`
}
type StringConstraintV2_Prefix ¶
type StringConstraintV2_Prefix struct {
Prefix string `protobuf:"bytes,1,opt,name=prefix,oneof"`
}
type StringConstraintV2_Regex ¶
type StringConstraintV2_Regex struct {
Regex string `protobuf:"bytes,6,opt,name=regex,oneof"`
}
type StringConstraintV2_Suffix ¶
type StringConstraintV2_Suffix struct {
Suffix string `protobuf:"bytes,2,opt,name=suffix,oneof"`
}
type StringSet ¶
type StringSet struct { Set []uint64 `protobuf:"varint,1,rep,packed,name=set" json:"set,omitempty"` // contains filtered or unexported fields }
func (*StringSet) Descriptor
deprecated
func (*StringSet) ProtoMessage ¶
func (*StringSet) ProtoMessage()
func (*StringSet) ProtoReflect ¶
func (x *StringSet) ProtoReflect() protoreflect.Message
type TermSet ¶
type TermSet struct { Set []*TermV2 `protobuf:"bytes,1,rep,name=set" json:"set,omitempty"` // contains filtered or unexported fields }
func (*TermSet) Descriptor
deprecated
func (*TermSet) ProtoMessage ¶
func (*TermSet) ProtoMessage()
func (*TermSet) ProtoReflect ¶
func (x *TermSet) ProtoReflect() protoreflect.Message
type TermV2 ¶
type TermV2 struct { // Types that are assignable to Content: // *TermV2_Variable // *TermV2_Integer // *TermV2_String_ // *TermV2_Date // *TermV2_Bytes // *TermV2_Bool // *TermV2_Set Content isTermV2_Content `protobuf_oneof:"Content"` // contains filtered or unexported fields }
func (*TermV2) Descriptor
deprecated
func (*TermV2) GetContent ¶
func (m *TermV2) GetContent() isTermV2_Content
func (*TermV2) GetInteger ¶
func (*TermV2) GetString_ ¶
func (*TermV2) GetVariable ¶
func (*TermV2) ProtoMessage ¶
func (*TermV2) ProtoMessage()
func (*TermV2) ProtoReflect ¶
func (x *TermV2) ProtoReflect() protoreflect.Message
type TermV2_Bool ¶
type TermV2_Bool struct {
Bool bool `protobuf:"varint,6,opt,name=bool,oneof"`
}
type TermV2_Bytes ¶
type TermV2_Bytes struct {
Bytes []byte `protobuf:"bytes,5,opt,name=bytes,oneof"`
}
type TermV2_Date ¶
type TermV2_Date struct {
Date uint64 `protobuf:"varint,4,opt,name=date,oneof"`
}
type TermV2_Integer ¶
type TermV2_Integer struct {
Integer int64 `protobuf:"varint,2,opt,name=integer,oneof"`
}
type TermV2_Set ¶
type TermV2_Set struct {
Set *TermSet `protobuf:"bytes,7,opt,name=set,oneof"`
}
type TermV2_String_ ¶
type TermV2_String_ struct {
String_ uint64 `protobuf:"varint,3,opt,name=string,oneof"`
}
type TermV2_Variable ¶
type TermV2_Variable struct {
Variable uint32 `protobuf:"varint,1,opt,name=variable,oneof"`
}
type VerifierPolicies ¶
type VerifierPolicies struct { Symbols []string `protobuf:"bytes,1,rep,name=symbols" json:"symbols,omitempty"` Version *uint32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"` Facts []*FactV2 `protobuf:"bytes,3,rep,name=facts" json:"facts,omitempty"` Rules []*RuleV2 `protobuf:"bytes,4,rep,name=rules" json:"rules,omitempty"` Checks []*CheckV2 `protobuf:"bytes,5,rep,name=checks" json:"checks,omitempty"` Policies []*Policy `protobuf:"bytes,6,rep,name=policies" json:"policies,omitempty"` // contains filtered or unexported fields }
func (*VerifierPolicies) Descriptor
deprecated
func (*VerifierPolicies) Descriptor() ([]byte, []int)
Deprecated: Use VerifierPolicies.ProtoReflect.Descriptor instead.
func (*VerifierPolicies) GetChecks ¶
func (x *VerifierPolicies) GetChecks() []*CheckV2
func (*VerifierPolicies) GetFacts ¶
func (x *VerifierPolicies) GetFacts() []*FactV2
func (*VerifierPolicies) GetPolicies ¶
func (x *VerifierPolicies) GetPolicies() []*Policy
func (*VerifierPolicies) GetRules ¶
func (x *VerifierPolicies) GetRules() []*RuleV2
func (*VerifierPolicies) GetSymbols ¶
func (x *VerifierPolicies) GetSymbols() []string
func (*VerifierPolicies) GetVersion ¶
func (x *VerifierPolicies) GetVersion() uint32
func (*VerifierPolicies) ProtoMessage ¶
func (*VerifierPolicies) ProtoMessage()
func (*VerifierPolicies) ProtoReflect ¶
func (x *VerifierPolicies) ProtoReflect() protoreflect.Message
func (*VerifierPolicies) Reset ¶
func (x *VerifierPolicies) Reset()
func (*VerifierPolicies) String ¶
func (x *VerifierPolicies) String() string