mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-15 19:00:19 +00:00
aa698bc3e1
Kubernetes v1.22 version has been released and this update ceph csi dependencies to use the same version. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
23 lines
623 B
Go
23 lines
623 B
Go
package utilities
|
|
|
|
// An OpCode is a opcode of compiled path patterns.
|
|
type OpCode int
|
|
|
|
// These constants are the valid values of OpCode.
|
|
const (
|
|
// OpNop does nothing
|
|
OpNop = OpCode(iota)
|
|
// OpPush pushes a component to stack
|
|
OpPush
|
|
// OpLitPush pushes a component to stack if it matches to the literal
|
|
OpLitPush
|
|
// OpPushM concatenates the remaining components and pushes it to stack
|
|
OpPushM
|
|
// OpConcatN pops N items from stack, concatenates them and pushes it back to stack
|
|
OpConcatN
|
|
// OpCapture pops an item and binds it to the variable
|
|
OpCapture
|
|
// OpEnd is the least positive invalid opcode.
|
|
OpEnd
|
|
)
|