mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 02:10:21 +00:00
d300da19b7
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
20 lines
300 B
Go
20 lines
300 B
Go
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
|
|
}
|