Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIRequestMaker ¶
type APIRequestMaker interface {
Request(ctx context.Context, request domain.APIRequest) (APIResponse, error)
}
type APIResponse ¶
type CommandResultReader ¶
type CommandResultReader interface { OutputReader Result() int IsComplete() bool }
type DomainPrimitiveValidator ¶
type DomainPrimitiveValidator interface {
Validate() error
}
type ExecutorOptions ¶
type GameServerCommand ¶
type OutputReader ¶
type OutputReader interface {
ReadOutput() []byte
}
type ProcessManager ¶
type ProcessManager interface { Install(ctx context.Context, server *domain.Server, out io.Writer) (domain.Result, error) Uninstall(ctx context.Context, server *domain.Server, out io.Writer) (domain.Result, error) Start(ctx context.Context, server *domain.Server, out io.Writer) (domain.Result, error) Stop(ctx context.Context, server *domain.Server, out io.Writer) (domain.Result, error) Restart(ctx context.Context, server *domain.Server, out io.Writer) (domain.Result, error) Status(ctx context.Context, server *domain.Server, out io.Writer) (domain.Result, error) GetOutput(ctx context.Context, server *domain.Server, out io.Writer) (domain.Result, error) SendInput(ctx context.Context, input string, server *domain.Server, out io.Writer) (domain.Result, error) }
Click to show internal directories.
Click to hide internal directories.