mirror of
https://github.com/Luzifer/duplicity-backup.git
synced 2024-12-21 11:01:20 +00:00
19 lines
300 B
Go
19 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
|
|
}
|