Documentation
¶
Index ¶
- type Handler
- func (h *Handler) Environment(_ context.Context, _ *executorpb.EnvironmentRequest) (*executorpb.EnvironmentResponse, error)
- func (h *Handler) GetCommandLog(request *executorpb.GetCommandLogRequest, ...) error
- func (h *Handler) GetRuntimeInfo(context.Context, *executorpb.GetRuntimeInfoRequest) (*executorpb.GetRuntimeInfoResponse, error)
- func (*Handler) Ping(context.Context, *executorpb.PingRequest) (*executorpb.PingResponse, error)
- func (h *Handler) StartCommand(ctx context.Context, request *executorpb.StartCommandRequest) (*executorpb.StartCommandResponse, error)
- func (h *Handler) WaitCommand(ctx context.Context, request *executorpb.WaitCommandRequest) (*executorpb.WaitCommandResponse, error)
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { executorpb.UnimplementedExecutorServer // contains filtered or unexported fields }
Handler is the API set of the executor.
func (*Handler) Environment ¶
func (h *Handler) Environment(_ context.Context, _ *executorpb.EnvironmentRequest) (*executorpb.EnvironmentResponse, error)
func (*Handler) GetCommandLog ¶
func (h *Handler) GetCommandLog(request *executorpb.GetCommandLogRequest, server executorpb.Executor_GetCommandLogServer) error
func (*Handler) GetRuntimeInfo ¶
func (h *Handler) GetRuntimeInfo(context.Context, *executorpb.GetRuntimeInfoRequest) (*executorpb.GetRuntimeInfoResponse, error)
func (*Handler) Ping ¶
func (*Handler) Ping(context.Context, *executorpb.PingRequest) (*executorpb.PingResponse, error)
func (*Handler) StartCommand ¶
func (h *Handler) StartCommand(ctx context.Context, request *executorpb.StartCommandRequest) (*executorpb.StartCommandResponse, error)
func (*Handler) WaitCommand ¶
func (h *Handler) WaitCommand(ctx context.Context, request *executorpb.WaitCommandRequest) (*executorpb.WaitCommandResponse, error)
Click to show internal directories.
Click to hide internal directories.