Documentation ¶
Overview ¶
Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: github.com/Microsoft/hcsshim/internal/shimdiag/shimdiag.proto
Index ¶
- Variables
- func RegisterShimDiagService(srv *ttrpc.Server, svc ShimDiagService)
- type Exec
- type ExecProcessRequest
- func (*ExecProcessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecProcessRequest) GetArgs() []string
- func (x *ExecProcessRequest) GetStderr() string
- func (x *ExecProcessRequest) GetStdin() string
- func (x *ExecProcessRequest) GetStdout() string
- func (x *ExecProcessRequest) GetTerminal() bool
- func (x *ExecProcessRequest) GetWorkdir() string
- func (*ExecProcessRequest) ProtoMessage()
- func (x *ExecProcessRequest) ProtoReflect() protoreflect.Message
- func (x *ExecProcessRequest) Reset()
- func (x *ExecProcessRequest) String() string
- type ExecProcessResponse
- func (*ExecProcessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecProcessResponse) GetExitCode() int32
- func (*ExecProcessResponse) ProtoMessage()
- func (x *ExecProcessResponse) ProtoReflect() protoreflect.Message
- func (x *ExecProcessResponse) Reset()
- func (x *ExecProcessResponse) String() string
- type PidRequest
- type PidResponse
- type ShareRequest
- func (*ShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShareRequest) GetHostPath() string
- func (x *ShareRequest) GetReadOnly() bool
- func (x *ShareRequest) GetUvmPath() string
- func (*ShareRequest) ProtoMessage()
- func (x *ShareRequest) ProtoReflect() protoreflect.Message
- func (x *ShareRequest) Reset()
- func (x *ShareRequest) String() string
- type ShareResponse
- type ShimDiagService
- type StacksRequest
- type StacksResponse
- func (*StacksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StacksResponse) GetGuestStacks() string
- func (x *StacksResponse) GetStacks() string
- func (*StacksResponse) ProtoMessage()
- func (x *StacksResponse) ProtoReflect() protoreflect.Message
- func (x *StacksResponse) Reset()
- func (x *StacksResponse) String() string
- type Task
- type TasksRequest
- type TasksResponse
Constants ¶
This section is empty.
Variables ¶
var File_github_com_Microsoft_hcsshim_internal_shimdiag_shimdiag_proto protoreflect.FileDescriptor
Functions ¶
func RegisterShimDiagService ¶
func RegisterShimDiagService(srv *ttrpc.Server, svc ShimDiagService)
Types ¶
type Exec ¶ added in v0.10.0
type Exec struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*Exec) Descriptor
deprecated
added in
v0.10.0
func (*Exec) ProtoMessage ¶ added in v0.10.0
func (*Exec) ProtoMessage()
func (*Exec) ProtoReflect ¶ added in v0.10.0
func (x *Exec) ProtoReflect() protoreflect.Message
type ExecProcessRequest ¶
type ExecProcessRequest struct { Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` Workdir string `protobuf:"bytes,2,opt,name=workdir,proto3" json:"workdir,omitempty"` Terminal bool `protobuf:"varint,3,opt,name=terminal,proto3" json:"terminal,omitempty"` Stdin string `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"` Stdout string `protobuf:"bytes,5,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr string `protobuf:"bytes,6,opt,name=stderr,proto3" json:"stderr,omitempty"` // contains filtered or unexported fields }
func (*ExecProcessRequest) Descriptor
deprecated
func (*ExecProcessRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecProcessRequest.ProtoReflect.Descriptor instead.
func (*ExecProcessRequest) GetArgs ¶ added in v0.10.0
func (x *ExecProcessRequest) GetArgs() []string
func (*ExecProcessRequest) GetStderr ¶ added in v0.10.0
func (x *ExecProcessRequest) GetStderr() string
func (*ExecProcessRequest) GetStdin ¶ added in v0.10.0
func (x *ExecProcessRequest) GetStdin() string
func (*ExecProcessRequest) GetStdout ¶ added in v0.10.0
func (x *ExecProcessRequest) GetStdout() string
func (*ExecProcessRequest) GetTerminal ¶ added in v0.10.0
func (x *ExecProcessRequest) GetTerminal() bool
func (*ExecProcessRequest) GetWorkdir ¶ added in v0.10.0
func (x *ExecProcessRequest) GetWorkdir() string
func (*ExecProcessRequest) ProtoMessage ¶
func (*ExecProcessRequest) ProtoMessage()
func (*ExecProcessRequest) ProtoReflect ¶ added in v0.10.0
func (x *ExecProcessRequest) ProtoReflect() protoreflect.Message
func (*ExecProcessRequest) Reset ¶
func (x *ExecProcessRequest) Reset()
func (*ExecProcessRequest) String ¶
func (x *ExecProcessRequest) String() string
type ExecProcessResponse ¶
type ExecProcessResponse struct { ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` // contains filtered or unexported fields }
func (*ExecProcessResponse) Descriptor
deprecated
func (*ExecProcessResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecProcessResponse.ProtoReflect.Descriptor instead.
func (*ExecProcessResponse) GetExitCode ¶ added in v0.10.0
func (x *ExecProcessResponse) GetExitCode() int32
func (*ExecProcessResponse) ProtoMessage ¶
func (*ExecProcessResponse) ProtoMessage()
func (*ExecProcessResponse) ProtoReflect ¶ added in v0.10.0
func (x *ExecProcessResponse) ProtoReflect() protoreflect.Message
func (*ExecProcessResponse) Reset ¶
func (x *ExecProcessResponse) Reset()
func (*ExecProcessResponse) String ¶
func (x *ExecProcessResponse) String() string
type PidRequest ¶ added in v0.8.15
type PidRequest struct {
// contains filtered or unexported fields
}
func (*PidRequest) Descriptor
deprecated
added in
v0.8.15
func (*PidRequest) Descriptor() ([]byte, []int)
Deprecated: Use PidRequest.ProtoReflect.Descriptor instead.
func (*PidRequest) ProtoMessage ¶ added in v0.8.15
func (*PidRequest) ProtoMessage()
func (*PidRequest) ProtoReflect ¶ added in v0.10.0
func (x *PidRequest) ProtoReflect() protoreflect.Message
func (*PidRequest) Reset ¶ added in v0.8.15
func (x *PidRequest) Reset()
func (*PidRequest) String ¶ added in v0.8.15
func (x *PidRequest) String() string
type PidResponse ¶ added in v0.8.15
type PidResponse struct { Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*PidResponse) Descriptor
deprecated
added in
v0.8.15
func (*PidResponse) Descriptor() ([]byte, []int)
Deprecated: Use PidResponse.ProtoReflect.Descriptor instead.
func (*PidResponse) GetPid ¶ added in v0.10.0
func (x *PidResponse) GetPid() int32
func (*PidResponse) ProtoMessage ¶ added in v0.8.15
func (*PidResponse) ProtoMessage()
func (*PidResponse) ProtoReflect ¶ added in v0.10.0
func (x *PidResponse) ProtoReflect() protoreflect.Message
func (*PidResponse) Reset ¶ added in v0.8.15
func (x *PidResponse) Reset()
func (*PidResponse) String ¶ added in v0.8.15
func (x *PidResponse) String() string
type ShareRequest ¶ added in v0.8.10
type ShareRequest struct { // contains filtered or unexported fields }
func (*ShareRequest) Descriptor
deprecated
added in
v0.8.10
func (*ShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShareRequest.ProtoReflect.Descriptor instead.
func (*ShareRequest) GetHostPath ¶ added in v0.10.0
func (x *ShareRequest) GetHostPath() string
func (*ShareRequest) GetReadOnly ¶ added in v0.10.0
func (x *ShareRequest) GetReadOnly() bool
func (*ShareRequest) GetUvmPath ¶ added in v0.10.0
func (x *ShareRequest) GetUvmPath() string
func (*ShareRequest) ProtoMessage ¶ added in v0.8.10
func (*ShareRequest) ProtoMessage()
func (*ShareRequest) ProtoReflect ¶ added in v0.10.0
func (x *ShareRequest) ProtoReflect() protoreflect.Message
func (*ShareRequest) Reset ¶ added in v0.8.10
func (x *ShareRequest) Reset()
func (*ShareRequest) String ¶ added in v0.8.10
func (x *ShareRequest) String() string
type ShareResponse ¶ added in v0.8.10
type ShareResponse struct {
// contains filtered or unexported fields
}
func (*ShareResponse) Descriptor
deprecated
added in
v0.8.10
func (*ShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShareResponse.ProtoReflect.Descriptor instead.
func (*ShareResponse) ProtoMessage ¶ added in v0.8.10
func (*ShareResponse) ProtoMessage()
func (*ShareResponse) ProtoReflect ¶ added in v0.10.0
func (x *ShareResponse) ProtoReflect() protoreflect.Message
func (*ShareResponse) Reset ¶ added in v0.8.10
func (x *ShareResponse) Reset()
func (*ShareResponse) String ¶ added in v0.8.10
func (x *ShareResponse) String() string
type ShimDiagService ¶
type ShimDiagService interface { DiagExecInHost(context.Context, *ExecProcessRequest) (*ExecProcessResponse, error) DiagStacks(context.Context, *StacksRequest) (*StacksResponse, error) DiagTasks(context.Context, *TasksRequest) (*TasksResponse, error) DiagPid(context.Context, *PidRequest) (*PidResponse, error) }
func NewShimDiagClient ¶
func NewShimDiagClient(client *ttrpc.Client) ShimDiagService
type StacksRequest ¶
type StacksRequest struct {
// contains filtered or unexported fields
}
func (*StacksRequest) Descriptor
deprecated
func (*StacksRequest) Descriptor() ([]byte, []int)
Deprecated: Use StacksRequest.ProtoReflect.Descriptor instead.
func (*StacksRequest) ProtoMessage ¶
func (*StacksRequest) ProtoMessage()
func (*StacksRequest) ProtoReflect ¶ added in v0.10.0
func (x *StacksRequest) ProtoReflect() protoreflect.Message
func (*StacksRequest) Reset ¶
func (x *StacksRequest) Reset()
func (*StacksRequest) String ¶
func (x *StacksRequest) String() string
type StacksResponse ¶
type StacksResponse struct { Stacks string `protobuf:"bytes,1,opt,name=stacks,proto3" json:"stacks,omitempty"` GuestStacks string `protobuf:"bytes,2,opt,name=guest_stacks,json=guestStacks,proto3" json:"guest_stacks,omitempty"` // contains filtered or unexported fields }
func (*StacksResponse) Descriptor
deprecated
func (*StacksResponse) Descriptor() ([]byte, []int)
Deprecated: Use StacksResponse.ProtoReflect.Descriptor instead.
func (*StacksResponse) GetGuestStacks ¶ added in v0.10.0
func (x *StacksResponse) GetGuestStacks() string
func (*StacksResponse) GetStacks ¶ added in v0.10.0
func (x *StacksResponse) GetStacks() string
func (*StacksResponse) ProtoMessage ¶
func (*StacksResponse) ProtoMessage()
func (*StacksResponse) ProtoReflect ¶ added in v0.10.0
func (x *StacksResponse) ProtoReflect() protoreflect.Message
func (*StacksResponse) Reset ¶
func (x *StacksResponse) Reset()
func (*StacksResponse) String ¶
func (x *StacksResponse) String() string
type Task ¶ added in v0.10.0
type Task struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Execs []*Exec `protobuf:"bytes,2,rep,name=execs,proto3" json:"execs,omitempty"` // contains filtered or unexported fields }
func (*Task) Descriptor
deprecated
added in
v0.10.0
func (*Task) ProtoMessage ¶ added in v0.10.0
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶ added in v0.10.0
func (x *Task) ProtoReflect() protoreflect.Message
type TasksRequest ¶ added in v0.10.0
type TasksRequest struct { Execs bool `protobuf:"varint,1,opt,name=execs,proto3" json:"execs,omitempty"` // contains filtered or unexported fields }
func (*TasksRequest) Descriptor
deprecated
added in
v0.10.0
func (*TasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use TasksRequest.ProtoReflect.Descriptor instead.
func (*TasksRequest) GetExecs ¶ added in v0.10.0
func (x *TasksRequest) GetExecs() bool
func (*TasksRequest) ProtoMessage ¶ added in v0.10.0
func (*TasksRequest) ProtoMessage()
func (*TasksRequest) ProtoReflect ¶ added in v0.10.0
func (x *TasksRequest) ProtoReflect() protoreflect.Message
func (*TasksRequest) Reset ¶ added in v0.10.0
func (x *TasksRequest) Reset()
func (*TasksRequest) String ¶ added in v0.10.0
func (x *TasksRequest) String() string
type TasksResponse ¶ added in v0.10.0
type TasksResponse struct { Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` // contains filtered or unexported fields }
func (*TasksResponse) Descriptor
deprecated
added in
v0.10.0
func (*TasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use TasksResponse.ProtoReflect.Descriptor instead.
func (*TasksResponse) GetTasks ¶ added in v0.10.0
func (x *TasksResponse) GetTasks() []*Task
func (*TasksResponse) ProtoMessage ¶ added in v0.10.0
func (*TasksResponse) ProtoMessage()
func (*TasksResponse) ProtoReflect ¶ added in v0.10.0
func (x *TasksResponse) ProtoReflect() protoreflect.Message
func (*TasksResponse) Reset ¶ added in v0.10.0
func (x *TasksResponse) Reset()
func (*TasksResponse) String ¶ added in v0.10.0
func (x *TasksResponse) String() string