gitlab.com/evatix-go/core@v1.3.55/coreinterface/baseactioninf/all-executors.go (about) 1 package baseactioninf 2 3 import ( 4 "fmt" 5 ) 6 7 type SimpleExecutor interface { 8 Namer 9 10 CategoryTypeNamer 11 12 Executor 13 IsApply() (isSuccess bool) 14 15 fmt.Stringer 16 } 17 18 type StandardExecutor interface { 19 SimpleExecutor 20 21 Initializer 22 DefaultsInjector 23 ValidationErrorGetter 24 Strings() []string 25 } 26 27 type SimpleResulter interface { 28 Namer 29 30 CategoryTypeNamer 31 32 Exec() ([]byte, error) 33 ExecAny() (anyItem interface{}, err error) 34 35 IsApply() (isSuccess bool) 36 } 37 38 type StandardResulter interface { 39 SimpleResulter 40 41 Initializer 42 DefaultsInjector 43 ValidationErrorGetter 44 45 Strings() []string 46 } 47 48 type ConditionStandardResulter interface { 49 StandardResulter 50 51 IsExecutableChecker 52 IsExecutableUsingMapChecker 53 } 54 55 type ConditionSimpleResulter interface { 56 SimpleResulter 57 58 IsExecutableChecker 59 IsExecutableUsingMapChecker 60 } 61 62 type ConditionSimpleExecutor interface { 63 SimpleExecutor 64 65 IsExecutableChecker 66 IsExecutableUsingMapChecker 67 } 68 69 type ConditionStandardExecutor interface { 70 StandardExecutor 71 72 IsExecutableChecker 73 IsExecutableUsingMapChecker 74 }