Upgrade dependent version: github.com/open-policy-agent/opa (#5315)
Upgrade dependent version: github.com/open-policy-agent/opa v0.18.0 -> v0.45.0 Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io> Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
This commit is contained in:
30
vendor/github.com/open-policy-agent/opa/internal/gqlparser/ast/operation.go
generated
vendored
Normal file
30
vendor/github.com/open-policy-agent/opa/internal/gqlparser/ast/operation.go
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
package ast
|
||||
|
||||
type Operation string
|
||||
|
||||
const (
|
||||
Query Operation = "query"
|
||||
Mutation Operation = "mutation"
|
||||
Subscription Operation = "subscription"
|
||||
)
|
||||
|
||||
type OperationDefinition struct {
|
||||
Operation Operation
|
||||
Name string
|
||||
VariableDefinitions VariableDefinitionList
|
||||
Directives DirectiveList
|
||||
SelectionSet SelectionSet
|
||||
Position *Position `dump:"-"`
|
||||
}
|
||||
|
||||
type VariableDefinition struct {
|
||||
Variable string
|
||||
Type *Type
|
||||
DefaultValue *Value
|
||||
Directives DirectiveList
|
||||
Position *Position `dump:"-"`
|
||||
|
||||
// Requires validation
|
||||
Definition *Definition
|
||||
Used bool `dump:"-"`
|
||||
}
|
||||
Reference in New Issue
Block a user