package shimdiag
import "github.com/Microsoft/hcsshim/internal/shimdiag"
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
- func (*Exec) Descriptor() ([]byte, []int)
- func (x *Exec) GetID() string
- func (x *Exec) GetState() string
- func (*Exec) ProtoMessage()
- func (x *Exec) ProtoReflect() protoreflect.Message
- func (x *Exec) Reset()
- func (x *Exec) String() string
- type ExecProcessRequest
- func (*ExecProcessRequest) Descriptor() ([]byte, []int)
- 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)
- 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
- func (*PidRequest) Descriptor() ([]byte, []int)
- func (*PidRequest) ProtoMessage()
- func (x *PidRequest) ProtoReflect() protoreflect.Message
- func (x *PidRequest) Reset()
- func (x *PidRequest) String() string
- type PidResponse
- func (*PidResponse) Descriptor() ([]byte, []int)
- func (x *PidResponse) GetPid() int32
- func (*PidResponse) ProtoMessage()
- func (x *PidResponse) ProtoReflect() protoreflect.Message
- func (x *PidResponse) Reset()
- func (x *PidResponse) String() string
- type ShareRequest
- func (*ShareRequest) Descriptor() ([]byte, []int)
- 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
- func (*ShareResponse) Descriptor() ([]byte, []int)
- func (*ShareResponse) ProtoMessage()
- func (x *ShareResponse) ProtoReflect() protoreflect.Message
- func (x *ShareResponse) Reset()
- func (x *ShareResponse) String() string
- type ShimDiagService
- type StacksRequest
- func (*StacksRequest) Descriptor() ([]byte, []int)
- func (*StacksRequest) ProtoMessage()
- func (x *StacksRequest) ProtoReflect() protoreflect.Message
- func (x *StacksRequest) Reset()
- func (x *StacksRequest) String() string
- type StacksResponse
- func (*StacksResponse) Descriptor() ([]byte, []int)
- 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
- func (*Task) Descriptor() ([]byte, []int)
- func (x *Task) GetExecs() []*Exec
- func (x *Task) GetID() string
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type TasksRequest
- func (*TasksRequest) Descriptor() ([]byte, []int)
- func (x *TasksRequest) GetExecs() bool
- func (*TasksRequest) ProtoMessage()
- func (x *TasksRequest) ProtoReflect() protoreflect.Message
- func (x *TasksRequest) Reset()
- func (x *TasksRequest) String() string
- type TasksResponse
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 ¶
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: Use Exec.ProtoReflect.Descriptor instead.
func (*Exec) GetID ¶
func (*Exec) GetState ¶
func (*Exec) ProtoMessage ¶
func (*Exec) ProtoMessage()
func (*Exec) ProtoReflect ¶
func (x *Exec) ProtoReflect() protoreflect.Message
func (*Exec) Reset ¶
func (x *Exec) Reset()
func (*Exec) String ¶
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 ¶
func (*ExecProcessRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecProcessRequest.ProtoReflect.Descriptor instead.
func (*ExecProcessRequest) GetArgs ¶
func (x *ExecProcessRequest) GetArgs() []string
func (*ExecProcessRequest) GetStderr ¶
func (x *ExecProcessRequest) GetStderr() string
func (*ExecProcessRequest) GetStdin ¶
func (x *ExecProcessRequest) GetStdin() string
func (*ExecProcessRequest) GetStdout ¶
func (x *ExecProcessRequest) GetStdout() string
func (*ExecProcessRequest) GetTerminal ¶
func (x *ExecProcessRequest) GetTerminal() bool
func (*ExecProcessRequest) GetWorkdir ¶
func (x *ExecProcessRequest) GetWorkdir() string
func (*ExecProcessRequest) ProtoMessage ¶
func (*ExecProcessRequest) ProtoMessage()
func (*ExecProcessRequest) ProtoReflect ¶
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 ¶
func (*ExecProcessResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecProcessResponse.ProtoReflect.Descriptor instead.
func (*ExecProcessResponse) GetExitCode ¶
func (x *ExecProcessResponse) GetExitCode() int32
func (*ExecProcessResponse) ProtoMessage ¶
func (*ExecProcessResponse) ProtoMessage()
func (*ExecProcessResponse) ProtoReflect ¶
func (x *ExecProcessResponse) ProtoReflect() protoreflect.Message
func (*ExecProcessResponse) Reset ¶
func (x *ExecProcessResponse) Reset()
func (*ExecProcessResponse) String ¶
func (x *ExecProcessResponse) String() string
type PidRequest ¶
type PidRequest struct {
// contains filtered or unexported fields
}
func (*PidRequest) Descriptor ¶
func (*PidRequest) Descriptor() ([]byte, []int)
Deprecated: Use PidRequest.ProtoReflect.Descriptor instead.
func (*PidRequest) ProtoMessage ¶
func (*PidRequest) ProtoMessage()
func (*PidRequest) ProtoReflect ¶
func (x *PidRequest) ProtoReflect() protoreflect.Message
func (*PidRequest) Reset ¶
func (x *PidRequest) Reset()
func (*PidRequest) String ¶
func (x *PidRequest) String() string
type PidResponse ¶
type PidResponse struct { Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*PidResponse) Descriptor ¶
func (*PidResponse) Descriptor() ([]byte, []int)
Deprecated: Use PidResponse.ProtoReflect.Descriptor instead.
func (*PidResponse) GetPid ¶
func (x *PidResponse) GetPid() int32
func (*PidResponse) ProtoMessage ¶
func (*PidResponse) ProtoMessage()
func (*PidResponse) ProtoReflect ¶
func (x *PidResponse) ProtoReflect() protoreflect.Message
func (*PidResponse) Reset ¶
func (x *PidResponse) Reset()
func (*PidResponse) String ¶
func (x *PidResponse) String() string
type ShareRequest ¶
type ShareRequest struct { string `protobuf:"bytes,1,opt,name=host_path,json=hostPath,proto3" json:"host_path,omitempty"` string `protobuf:"bytes,2,opt,name=uvm_path,json=uvmPath,proto3" json:"uvm_path,omitempty"` bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` // contains filtered or unexported fields }
func (*ShareRequest) Descriptor ¶
func (*ShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShareRequest.ProtoReflect.Descriptor instead.
func (*ShareRequest) GetHostPath ¶
func (x *ShareRequest) GetHostPath() string
func (*ShareRequest) GetReadOnly ¶
func (x *ShareRequest) GetReadOnly() bool
func (*ShareRequest) GetUvmPath ¶
func (x *ShareRequest) GetUvmPath() string
func (*ShareRequest) ProtoMessage ¶
func (*ShareRequest) ProtoMessage()
func (*ShareRequest) ProtoReflect ¶
func (x *ShareRequest) ProtoReflect() protoreflect.Message
func (*ShareRequest) Reset ¶
func (x *ShareRequest) Reset()
func (*ShareRequest) String ¶
func (x *ShareRequest) String() string
type ShareResponse ¶
type ShareResponse struct {
// contains filtered or unexported fields
}
func (*ShareResponse) Descriptor ¶
func (*ShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShareResponse.ProtoReflect.Descriptor instead.
func (*ShareResponse) ProtoMessage ¶
func (*ShareResponse) ProtoMessage()
func (*ShareResponse) ProtoReflect ¶
func (x *ShareResponse) ProtoReflect() protoreflect.Message
func (*ShareResponse) Reset ¶
func (x *ShareResponse) Reset()
func (*ShareResponse) String ¶
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) (context.Context, *ShareRequest) (*ShareResponse, 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 ¶
func (*StacksRequest) Descriptor() ([]byte, []int)
Deprecated: Use StacksRequest.ProtoReflect.Descriptor instead.
func (*StacksRequest) ProtoMessage ¶
func (*StacksRequest) ProtoMessage()
func (*StacksRequest) ProtoReflect ¶
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 ¶
func (*StacksResponse) Descriptor() ([]byte, []int)
Deprecated: Use StacksResponse.ProtoReflect.Descriptor instead.
func (*StacksResponse) GetGuestStacks ¶
func (x *StacksResponse) GetGuestStacks() string
func (*StacksResponse) GetStacks ¶
func (x *StacksResponse) GetStacks() string
func (*StacksResponse) ProtoMessage ¶
func (*StacksResponse) ProtoMessage()
func (*StacksResponse) ProtoReflect ¶
func (x *StacksResponse) ProtoReflect() protoreflect.Message
func (*StacksResponse) Reset ¶
func (x *StacksResponse) Reset()
func (*StacksResponse) String ¶
func (x *StacksResponse) String() string
type Task ¶
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: Use Task.ProtoReflect.Descriptor instead.
func (*Task) GetExecs ¶
func (*Task) GetID ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
func (*Task) Reset ¶
func (x *Task) Reset()
func (*Task) String ¶
type TasksRequest ¶
type TasksRequest struct { Execs bool `protobuf:"varint,1,opt,name=execs,proto3" json:"execs,omitempty"` // contains filtered or unexported fields }
func (*TasksRequest) Descriptor ¶
func (*TasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use TasksRequest.ProtoReflect.Descriptor instead.
func (*TasksRequest) GetExecs ¶
func (x *TasksRequest) GetExecs() bool
func (*TasksRequest) ProtoMessage ¶
func (*TasksRequest) ProtoMessage()
func (*TasksRequest) ProtoReflect ¶
func (x *TasksRequest) ProtoReflect() protoreflect.Message
func (*TasksRequest) Reset ¶
func (x *TasksRequest) Reset()
func (*TasksRequest) String ¶
func (x *TasksRequest) String() string
type TasksResponse ¶
type TasksResponse struct { Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` // contains filtered or unexported fields }
func (*TasksResponse) Descriptor ¶
func (*TasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use TasksResponse.ProtoReflect.Descriptor instead.
func (*TasksResponse) GetTasks ¶
func (x *TasksResponse) GetTasks() []*Task
func (*TasksResponse) ProtoMessage ¶
func (*TasksResponse) ProtoMessage()
func (*TasksResponse) ProtoReflect ¶
func (x *TasksResponse) ProtoReflect() protoreflect.Message
func (*TasksResponse) Reset ¶
func (x *TasksResponse) Reset()
func (*TasksResponse) String ¶
func (x *TasksResponse) String() string
Source Files ¶
doc.go shimdiag.pb.go shimdiag_ttrpc.pb.go
- Version
- v0.12.9 (latest)
- Published
- Oct 30, 2024
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 15 hours ago –
Tools for package owners.