Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecArgs ¶
type ExecArgs struct { Target string // 対象 Mapping mapping.ExampleMapping // マッピング情報 }
ExecArgs -- ExecCommand の 引数データ を表します.
func NewExecArgs ¶
func NewExecArgs(target string, m mapping.ExampleMapping) *ExecArgs
NewExecArgs -- 新しい ExecArgs を生成して返します.
type ExecCommand ¶
type ExecCommand struct {
Args *ExecArgs // 引数
}
ExecCommand -- 処理実行を行うコマンド
func NewExecCommand ¶
func NewExecCommand(args *ExecArgs) *ExecCommand
NewExecCommand -- 新しい ExecCommand を生成して返します.
type ExecError ¶
type ExecError struct { Name mapping.ExampleKey // 名称 Err error // エラー }
ExecError -- 実行時エラーを表します.
type RunLoopArgs ¶
type RunLoopArgs struct { OneTime bool // 一回実行で完了するかどうか Mapping mapping.ExampleMapping // マッピング情報 }
RunLoopArgs -- RunLoopCommand の引数データを表します.
func NewRunLoopArgs ¶
func NewRunLoopArgs(oneTime bool, m mapping.ExampleMapping) *RunLoopArgs
NewRunLoopArgs -- 新しい RunLoopArgs を生成して返します.
type RunLoopCommand ¶
type RunLoopCommand struct {
Args *RunLoopArgs
}
RunLoopCommand -- 実行をループ処理するコマンド
func NewRunLoopCommand ¶
func NewRunLoopCommand(args *RunLoopArgs) *RunLoopCommand
NewRunLoopCommand -- 新しい RunLoopCommand を生成して返します.
type RunOnceArgs ¶
type RunOnceArgs struct {
ExecArgs // 引数
}
RunOnceArgs -- RunOnceCommand の引数データを表します.
func NewRunOnceArgs ¶
func NewRunOnceArgs(target string, m mapping.ExampleMapping) *RunOnceArgs
NewRunOnceArgs -- 新しい RunOnceArgs を生成して返します.
type RunOnceCommand ¶
type RunOnceCommand struct {
Args *RunOnceArgs // 引数
}
RunOnceCommand -- 一度だけ実行するコマンド
func NewRunOnceCommand ¶
func NewRunOnceCommand(args *RunOnceArgs) *RunOnceCommand
NewRunOnceCommand -- 新しい RunOnceCommand を生成して返します.
Click to show internal directories.
Click to hide internal directories.