ceph-csi/vendor/github.com/onsi/ginkgo/internal/leafnodes/interfaces.go

20 lines
300 B
Go
Raw Normal View History

package leafnodes
import (
"github.com/onsi/ginkgo/types"
)
type BasicNode interface {
Type() types.SpecComponentType
Run() (types.SpecState, types.SpecFailure)
CodeLocation() types.CodeLocation
}
type SubjectNode interface {
BasicNode
Text() string
Flag() types.FlagType
Samples() int
}