Documentation ¶
Index ¶
- Variables
- func RegisterShimDiagService(srv *github_com_containerd_ttrpc.Server, svc ShimDiagService)
- type ExecProcessRequest
- func (*ExecProcessRequest) Descriptor() ([]byte, []int)
- func (m *ExecProcessRequest) Marshal() (dAtA []byte, err error)
- func (m *ExecProcessRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ExecProcessRequest) ProtoMessage()
- func (m *ExecProcessRequest) Reset()
- func (m *ExecProcessRequest) Size() (n int)
- func (this *ExecProcessRequest) String() string
- func (m *ExecProcessRequest) Unmarshal(dAtA []byte) error
- func (m *ExecProcessRequest) XXX_DiscardUnknown()
- func (m *ExecProcessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecProcessRequest) XXX_Merge(src proto.Message)
- func (m *ExecProcessRequest) XXX_Size() int
- func (m *ExecProcessRequest) XXX_Unmarshal(b []byte) error
- type ExecProcessResponse
- func (*ExecProcessResponse) Descriptor() ([]byte, []int)
- func (m *ExecProcessResponse) Marshal() (dAtA []byte, err error)
- func (m *ExecProcessResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ExecProcessResponse) ProtoMessage()
- func (m *ExecProcessResponse) Reset()
- func (m *ExecProcessResponse) Size() (n int)
- func (this *ExecProcessResponse) String() string
- func (m *ExecProcessResponse) Unmarshal(dAtA []byte) error
- func (m *ExecProcessResponse) XXX_DiscardUnknown()
- func (m *ExecProcessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecProcessResponse) XXX_Merge(src proto.Message)
- func (m *ExecProcessResponse) XXX_Size() int
- func (m *ExecProcessResponse) XXX_Unmarshal(b []byte) error
- type ShimDiagService
- type StacksRequest
- func (*StacksRequest) Descriptor() ([]byte, []int)
- func (m *StacksRequest) Marshal() (dAtA []byte, err error)
- func (m *StacksRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StacksRequest) ProtoMessage()
- func (m *StacksRequest) Reset()
- func (m *StacksRequest) Size() (n int)
- func (this *StacksRequest) String() string
- func (m *StacksRequest) Unmarshal(dAtA []byte) error
- func (m *StacksRequest) XXX_DiscardUnknown()
- func (m *StacksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StacksRequest) XXX_Merge(src proto.Message)
- func (m *StacksRequest) XXX_Size() int
- func (m *StacksRequest) XXX_Unmarshal(b []byte) error
- type StacksResponse
- func (*StacksResponse) Descriptor() ([]byte, []int)
- func (m *StacksResponse) Marshal() (dAtA []byte, err error)
- func (m *StacksResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StacksResponse) ProtoMessage()
- func (m *StacksResponse) Reset()
- func (m *StacksResponse) Size() (n int)
- func (this *StacksResponse) String() string
- func (m *StacksResponse) Unmarshal(dAtA []byte) error
- func (m *StacksResponse) XXX_DiscardUnknown()
- func (m *StacksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StacksResponse) XXX_Merge(src proto.Message)
- func (m *StacksResponse) XXX_Size() int
- func (m *StacksResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthShimdiag = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowShimdiag = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterShimDiagService ¶
func RegisterShimDiagService(srv *github_com_containerd_ttrpc.Server, svc ShimDiagService)
Types ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecProcessRequest) Descriptor ¶
func (*ExecProcessRequest) Descriptor() ([]byte, []int)
func (*ExecProcessRequest) Marshal ¶
func (m *ExecProcessRequest) Marshal() (dAtA []byte, err error)
func (*ExecProcessRequest) MarshalTo ¶
func (m *ExecProcessRequest) MarshalTo(dAtA []byte) (int, error)
func (*ExecProcessRequest) ProtoMessage ¶
func (*ExecProcessRequest) ProtoMessage()
func (*ExecProcessRequest) Reset ¶
func (m *ExecProcessRequest) Reset()
func (*ExecProcessRequest) Size ¶
func (m *ExecProcessRequest) Size() (n int)
func (*ExecProcessRequest) String ¶
func (this *ExecProcessRequest) String() string
func (*ExecProcessRequest) Unmarshal ¶
func (m *ExecProcessRequest) Unmarshal(dAtA []byte) error
func (*ExecProcessRequest) XXX_DiscardUnknown ¶
func (m *ExecProcessRequest) XXX_DiscardUnknown()
func (*ExecProcessRequest) XXX_Marshal ¶
func (m *ExecProcessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecProcessRequest) XXX_Merge ¶
func (m *ExecProcessRequest) XXX_Merge(src proto.Message)
func (*ExecProcessRequest) XXX_Size ¶
func (m *ExecProcessRequest) XXX_Size() int
func (*ExecProcessRequest) XXX_Unmarshal ¶
func (m *ExecProcessRequest) XXX_Unmarshal(b []byte) error
type ExecProcessResponse ¶
type ExecProcessResponse struct { ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecProcessResponse) Descriptor ¶
func (*ExecProcessResponse) Descriptor() ([]byte, []int)
func (*ExecProcessResponse) Marshal ¶
func (m *ExecProcessResponse) Marshal() (dAtA []byte, err error)
func (*ExecProcessResponse) MarshalTo ¶
func (m *ExecProcessResponse) MarshalTo(dAtA []byte) (int, error)
func (*ExecProcessResponse) ProtoMessage ¶
func (*ExecProcessResponse) ProtoMessage()
func (*ExecProcessResponse) Reset ¶
func (m *ExecProcessResponse) Reset()
func (*ExecProcessResponse) Size ¶
func (m *ExecProcessResponse) Size() (n int)
func (*ExecProcessResponse) String ¶
func (this *ExecProcessResponse) String() string
func (*ExecProcessResponse) Unmarshal ¶
func (m *ExecProcessResponse) Unmarshal(dAtA []byte) error
func (*ExecProcessResponse) XXX_DiscardUnknown ¶
func (m *ExecProcessResponse) XXX_DiscardUnknown()
func (*ExecProcessResponse) XXX_Marshal ¶
func (m *ExecProcessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecProcessResponse) XXX_Merge ¶
func (m *ExecProcessResponse) XXX_Merge(src proto.Message)
func (*ExecProcessResponse) XXX_Size ¶
func (m *ExecProcessResponse) XXX_Size() int
func (*ExecProcessResponse) XXX_Unmarshal ¶
func (m *ExecProcessResponse) XXX_Unmarshal(b []byte) error
type ShimDiagService ¶
type ShimDiagService interface { DiagExecInHost(ctx context.Context, req *ExecProcessRequest) (*ExecProcessResponse, error) DiagStacks(ctx context.Context, req *StacksRequest) (*StacksResponse, error) }
func NewShimDiagClient ¶
func NewShimDiagClient(client *github_com_containerd_ttrpc.Client) ShimDiagService
type StacksRequest ¶
type StacksRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StacksRequest) Descriptor ¶
func (*StacksRequest) Descriptor() ([]byte, []int)
func (*StacksRequest) Marshal ¶
func (m *StacksRequest) Marshal() (dAtA []byte, err error)
func (*StacksRequest) ProtoMessage ¶
func (*StacksRequest) ProtoMessage()
func (*StacksRequest) Reset ¶
func (m *StacksRequest) Reset()
func (*StacksRequest) Size ¶
func (m *StacksRequest) Size() (n int)
func (*StacksRequest) String ¶
func (this *StacksRequest) String() string
func (*StacksRequest) Unmarshal ¶
func (m *StacksRequest) Unmarshal(dAtA []byte) error
func (*StacksRequest) XXX_DiscardUnknown ¶
func (m *StacksRequest) XXX_DiscardUnknown()
func (*StacksRequest) XXX_Marshal ¶
func (m *StacksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StacksRequest) XXX_Merge ¶
func (m *StacksRequest) XXX_Merge(src proto.Message)
func (*StacksRequest) XXX_Size ¶
func (m *StacksRequest) XXX_Size() int
func (*StacksRequest) XXX_Unmarshal ¶
func (m *StacksRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StacksResponse) Descriptor ¶
func (*StacksResponse) Descriptor() ([]byte, []int)
func (*StacksResponse) Marshal ¶
func (m *StacksResponse) Marshal() (dAtA []byte, err error)
func (*StacksResponse) ProtoMessage ¶
func (*StacksResponse) ProtoMessage()
func (*StacksResponse) Reset ¶
func (m *StacksResponse) Reset()
func (*StacksResponse) Size ¶
func (m *StacksResponse) Size() (n int)
func (*StacksResponse) String ¶
func (this *StacksResponse) String() string
func (*StacksResponse) Unmarshal ¶
func (m *StacksResponse) Unmarshal(dAtA []byte) error
func (*StacksResponse) XXX_DiscardUnknown ¶
func (m *StacksResponse) XXX_DiscardUnknown()
func (*StacksResponse) XXX_Marshal ¶
func (m *StacksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StacksResponse) XXX_Merge ¶
func (m *StacksResponse) XXX_Merge(src proto.Message)
func (*StacksResponse) XXX_Size ¶
func (m *StacksResponse) XXX_Size() int
func (*StacksResponse) XXX_Unmarshal ¶
func (m *StacksResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.