Files
kubesphere/vendor/github.com/open-policy-agent/opa/ast/varset.go
2025-05-14 14:44:13 +08:00

18 lines
433 B
Go

// Copyright 2016 The OPA Authors. All rights reserved.
// Use of this source code is governed by an Apache2
// license that can be found in the LICENSE file.
package ast
import (
v1 "github.com/open-policy-agent/opa/v1/ast"
)
// VarSet represents a set of variables.
type VarSet = v1.VarSet
// NewVarSet returns a new VarSet containing the specified variables.
func NewVarSet(vs ...Var) VarSet {
return v1.NewVarSet(vs...)
}