session

package
v0.18.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGitcredential        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGitcredential          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGitcredential = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthH2C        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowH2C          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupH2C = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTerminal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTerminal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTerminal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ErrorInfo_ErrorType_name = map[int32]string{
	0: "UNKNOWN",
	1: "INVALID_REQUEST",
	2: "NO_GIT",
	3: "TIMEOUT",
	4: "CREDENTIAL_RETRIEVAL_FAILED",
}
View Source
var ErrorInfo_ErrorType_value = map[string]int32{
	"UNKNOWN":                     0,
	"INVALID_REQUEST":             1,
	"NO_GIT":                      2,
	"TIMEOUT":                     3,
	"CREDENTIAL_RETRIEVAL_FAILED": 4,
}

Functions

func RegisterGitCredentialServer

func RegisterGitCredentialServer(s *grpc.Server, srv GitCredentialServer)

func RegisterTerminalServer

func RegisterTerminalServer(s *grpc.Server, srv TerminalServer)

func RegisterTunnelListenerServer

func RegisterTunnelListenerServer(s *grpc.Server, srv TunnelListenerServer)

Types

type CredentialInfo

type CredentialInfo struct {
	Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Host     string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
}

func (*CredentialInfo) Descriptor

func (*CredentialInfo) Descriptor() ([]byte, []int)

func (*CredentialInfo) Equal

func (this *CredentialInfo) Equal(that interface{}) bool

func (*CredentialInfo) GetHost

func (m *CredentialInfo) GetHost() string

func (*CredentialInfo) GetPassword

func (m *CredentialInfo) GetPassword() string

func (*CredentialInfo) GetProtocol

func (m *CredentialInfo) GetProtocol() string

func (*CredentialInfo) GetUsername

func (m *CredentialInfo) GetUsername() string

func (*CredentialInfo) GoString

func (this *CredentialInfo) GoString() string

func (*CredentialInfo) Marshal

func (m *CredentialInfo) Marshal() (dAtA []byte, err error)

func (*CredentialInfo) MarshalTo

func (m *CredentialInfo) MarshalTo(dAtA []byte) (int, error)

func (*CredentialInfo) MarshalToSizedBuffer

func (m *CredentialInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CredentialInfo) ProtoMessage

func (*CredentialInfo) ProtoMessage()

func (*CredentialInfo) Reset

func (m *CredentialInfo) Reset()

func (*CredentialInfo) Size

func (m *CredentialInfo) Size() (n int)

func (*CredentialInfo) String

func (this *CredentialInfo) String() string

func (*CredentialInfo) Unmarshal

func (m *CredentialInfo) Unmarshal(dAtA []byte) error

func (*CredentialInfo) XXX_DiscardUnknown

func (m *CredentialInfo) XXX_DiscardUnknown()

func (*CredentialInfo) XXX_Marshal

func (m *CredentialInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CredentialInfo) XXX_Merge

func (m *CredentialInfo) XXX_Merge(src proto.Message)

func (*CredentialInfo) XXX_Size

func (m *CredentialInfo) XXX_Size() int

func (*CredentialInfo) XXX_Unmarshal

func (m *CredentialInfo) XXX_Unmarshal(b []byte) error

type ErrorInfo

type ErrorInfo struct {
	Type    ErrorInfo_ErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=ErrorInfo_ErrorType" json:"type,omitempty"`
	Message string              `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

func (*ErrorInfo) Descriptor

func (*ErrorInfo) Descriptor() ([]byte, []int)

func (*ErrorInfo) Equal

func (this *ErrorInfo) Equal(that interface{}) bool

func (*ErrorInfo) GetMessage

func (m *ErrorInfo) GetMessage() string

func (*ErrorInfo) GetType

func (m *ErrorInfo) GetType() ErrorInfo_ErrorType

func (*ErrorInfo) GoString

func (this *ErrorInfo) GoString() string

func (*ErrorInfo) Marshal

func (m *ErrorInfo) Marshal() (dAtA []byte, err error)

func (*ErrorInfo) MarshalTo

func (m *ErrorInfo) MarshalTo(dAtA []byte) (int, error)

func (*ErrorInfo) MarshalToSizedBuffer

func (m *ErrorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ErrorInfo) ProtoMessage

func (*ErrorInfo) ProtoMessage()

func (*ErrorInfo) Reset

func (m *ErrorInfo) Reset()

func (*ErrorInfo) Size

func (m *ErrorInfo) Size() (n int)

func (*ErrorInfo) String

func (this *ErrorInfo) String() string

func (*ErrorInfo) Unmarshal

func (m *ErrorInfo) Unmarshal(dAtA []byte) error

func (*ErrorInfo) XXX_DiscardUnknown

func (m *ErrorInfo) XXX_DiscardUnknown()

func (*ErrorInfo) XXX_Marshal

func (m *ErrorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ErrorInfo) XXX_Merge

func (m *ErrorInfo) XXX_Merge(src proto.Message)

func (*ErrorInfo) XXX_Size

func (m *ErrorInfo) XXX_Size() int

func (*ErrorInfo) XXX_Unmarshal

func (m *ErrorInfo) XXX_Unmarshal(b []byte) error

type ErrorInfo_ErrorType

type ErrorInfo_ErrorType int32
const (
	UNKNOWN                     ErrorInfo_ErrorType = 0
	INVALID_REQUEST             ErrorInfo_ErrorType = 1
	NO_GIT                      ErrorInfo_ErrorType = 2
	TIMEOUT                     ErrorInfo_ErrorType = 3
	CREDENTIAL_RETRIEVAL_FAILED ErrorInfo_ErrorType = 4
)

func (ErrorInfo_ErrorType) EnumDescriptor

func (ErrorInfo_ErrorType) EnumDescriptor() ([]byte, []int)

func (ErrorInfo_ErrorType) String

func (x ErrorInfo_ErrorType) String() string

type GitCredentialClient

type GitCredentialClient interface {
	GetCredential(ctx context.Context, in *GitCredentialRequest, opts ...grpc.CallOption) (*GitCredentialResponse, error)
}

GitCredentialClient is the client API for GitCredential service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewGitCredentialClient

func NewGitCredentialClient(cc *grpc.ClientConn) GitCredentialClient

type GitCredentialRequest

type GitCredentialRequest struct {
	Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Host     string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	Path     string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
}

func (*GitCredentialRequest) Descriptor

func (*GitCredentialRequest) Descriptor() ([]byte, []int)

func (*GitCredentialRequest) Equal

func (this *GitCredentialRequest) Equal(that interface{}) bool

func (*GitCredentialRequest) GetHost

func (m *GitCredentialRequest) GetHost() string

func (*GitCredentialRequest) GetPath

func (m *GitCredentialRequest) GetPath() string

func (*GitCredentialRequest) GetProtocol

func (m *GitCredentialRequest) GetProtocol() string

func (*GitCredentialRequest) GoString

func (this *GitCredentialRequest) GoString() string

func (*GitCredentialRequest) Marshal

func (m *GitCredentialRequest) Marshal() (dAtA []byte, err error)

func (*GitCredentialRequest) MarshalTo

func (m *GitCredentialRequest) MarshalTo(dAtA []byte) (int, error)

func (*GitCredentialRequest) MarshalToSizedBuffer

func (m *GitCredentialRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitCredentialRequest) ProtoMessage

func (*GitCredentialRequest) ProtoMessage()

func (*GitCredentialRequest) Reset

func (m *GitCredentialRequest) Reset()

func (*GitCredentialRequest) Size

func (m *GitCredentialRequest) Size() (n int)

func (*GitCredentialRequest) String

func (this *GitCredentialRequest) String() string

func (*GitCredentialRequest) Unmarshal

func (m *GitCredentialRequest) Unmarshal(dAtA []byte) error

func (*GitCredentialRequest) XXX_DiscardUnknown

func (m *GitCredentialRequest) XXX_DiscardUnknown()

func (*GitCredentialRequest) XXX_Marshal

func (m *GitCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitCredentialRequest) XXX_Merge

func (m *GitCredentialRequest) XXX_Merge(src proto.Message)

func (*GitCredentialRequest) XXX_Size

func (m *GitCredentialRequest) XXX_Size() int

func (*GitCredentialRequest) XXX_Unmarshal

func (m *GitCredentialRequest) XXX_Unmarshal(b []byte) error

type GitCredentialResponse

type GitCredentialResponse struct {
	// Types that are valid to be assigned to Result:
	//	*GitCredentialResponse_Credential
	//	*GitCredentialResponse_Error
	Result isGitCredentialResponse_Result `protobuf_oneof:"result"`
}

func (*GitCredentialResponse) Descriptor

func (*GitCredentialResponse) Descriptor() ([]byte, []int)

func (*GitCredentialResponse) Equal

func (this *GitCredentialResponse) Equal(that interface{}) bool

func (*GitCredentialResponse) GetCredential

func (m *GitCredentialResponse) GetCredential() *CredentialInfo

func (*GitCredentialResponse) GetError

func (m *GitCredentialResponse) GetError() *ErrorInfo

func (*GitCredentialResponse) GetResult

func (m *GitCredentialResponse) GetResult() isGitCredentialResponse_Result

func (*GitCredentialResponse) GoString

func (this *GitCredentialResponse) GoString() string

func (*GitCredentialResponse) Marshal

func (m *GitCredentialResponse) Marshal() (dAtA []byte, err error)

func (*GitCredentialResponse) MarshalTo

func (m *GitCredentialResponse) MarshalTo(dAtA []byte) (int, error)

func (*GitCredentialResponse) MarshalToSizedBuffer

func (m *GitCredentialResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitCredentialResponse) ProtoMessage

func (*GitCredentialResponse) ProtoMessage()

func (*GitCredentialResponse) Reset

func (m *GitCredentialResponse) Reset()

func (*GitCredentialResponse) Size

func (m *GitCredentialResponse) Size() (n int)

func (*GitCredentialResponse) String

func (this *GitCredentialResponse) String() string

func (*GitCredentialResponse) Unmarshal

func (m *GitCredentialResponse) Unmarshal(dAtA []byte) error

func (*GitCredentialResponse) XXX_DiscardUnknown

func (m *GitCredentialResponse) XXX_DiscardUnknown()

func (*GitCredentialResponse) XXX_Marshal

func (m *GitCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitCredentialResponse) XXX_Merge

func (m *GitCredentialResponse) XXX_Merge(src proto.Message)

func (*GitCredentialResponse) XXX_OneofWrappers

func (*GitCredentialResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GitCredentialResponse) XXX_Size

func (m *GitCredentialResponse) XXX_Size() int

func (*GitCredentialResponse) XXX_Unmarshal

func (m *GitCredentialResponse) XXX_Unmarshal(b []byte) error

type GitCredentialResponse_Credential

type GitCredentialResponse_Credential struct {
	Credential *CredentialInfo `protobuf:"bytes,1,opt,name=credential,proto3,oneof" json:"credential,omitempty"`
}

func (*GitCredentialResponse_Credential) Equal

func (this *GitCredentialResponse_Credential) Equal(that interface{}) bool

func (*GitCredentialResponse_Credential) GoString

func (this *GitCredentialResponse_Credential) GoString() string

func (*GitCredentialResponse_Credential) MarshalTo

func (m *GitCredentialResponse_Credential) MarshalTo(dAtA []byte) (int, error)

func (*GitCredentialResponse_Credential) MarshalToSizedBuffer

func (m *GitCredentialResponse_Credential) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitCredentialResponse_Credential) Size

func (m *GitCredentialResponse_Credential) Size() (n int)

func (*GitCredentialResponse_Credential) String

type GitCredentialResponse_Error

type GitCredentialResponse_Error struct {
	Error *ErrorInfo `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"`
}

func (*GitCredentialResponse_Error) Equal

func (this *GitCredentialResponse_Error) Equal(that interface{}) bool

func (*GitCredentialResponse_Error) GoString

func (this *GitCredentialResponse_Error) GoString() string

func (*GitCredentialResponse_Error) MarshalTo

func (m *GitCredentialResponse_Error) MarshalTo(dAtA []byte) (int, error)

func (*GitCredentialResponse_Error) MarshalToSizedBuffer

func (m *GitCredentialResponse_Error) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitCredentialResponse_Error) Size

func (m *GitCredentialResponse_Error) Size() (n int)

func (*GitCredentialResponse_Error) String

func (this *GitCredentialResponse_Error) String() string

type GitCredentialServer

type GitCredentialServer interface {
	GetCredential(context.Context, *GitCredentialRequest) (*GitCredentialResponse, error)
}

GitCredentialServer is the server API for GitCredential service.

type ListenRequest

type ListenRequest struct {
	Addr     string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	ConnId   string `protobuf:"bytes,3,opt,name=connId,proto3" json:"connId,omitempty"`
	Data     []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	Close    bool   `protobuf:"varint,5,opt,name=close,proto3" json:"close,omitempty"`
}

func (*ListenRequest) Descriptor

func (*ListenRequest) Descriptor() ([]byte, []int)

func (*ListenRequest) Equal

func (this *ListenRequest) Equal(that interface{}) bool

func (*ListenRequest) GetAddr

func (m *ListenRequest) GetAddr() string

func (*ListenRequest) GetClose

func (m *ListenRequest) GetClose() bool

func (*ListenRequest) GetConnId

func (m *ListenRequest) GetConnId() string

func (*ListenRequest) GetData

func (m *ListenRequest) GetData() []byte

func (*ListenRequest) GetProtocol

func (m *ListenRequest) GetProtocol() string

func (*ListenRequest) GoString

func (this *ListenRequest) GoString() string

func (*ListenRequest) Marshal

func (m *ListenRequest) Marshal() (dAtA []byte, err error)

func (*ListenRequest) MarshalTo

func (m *ListenRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListenRequest) MarshalToSizedBuffer

func (m *ListenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListenRequest) ProtoMessage

func (*ListenRequest) ProtoMessage()

func (*ListenRequest) Reset

func (m *ListenRequest) Reset()

func (*ListenRequest) Size

func (m *ListenRequest) Size() (n int)

func (*ListenRequest) String

func (this *ListenRequest) String() string

func (*ListenRequest) Unmarshal

func (m *ListenRequest) Unmarshal(dAtA []byte) error

func (*ListenRequest) XXX_DiscardUnknown

func (m *ListenRequest) XXX_DiscardUnknown()

func (*ListenRequest) XXX_Marshal

func (m *ListenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListenRequest) XXX_Merge

func (m *ListenRequest) XXX_Merge(src proto.Message)

func (*ListenRequest) XXX_Size

func (m *ListenRequest) XXX_Size() int

func (*ListenRequest) XXX_Unmarshal

func (m *ListenRequest) XXX_Unmarshal(b []byte) error

type ListenResponse

type ListenResponse struct {
	Addr   string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	ConnId string `protobuf:"bytes,2,opt,name=connId,proto3" json:"connId,omitempty"`
	Data   []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Close  bool   `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"`
}

func (*ListenResponse) Descriptor

func (*ListenResponse) Descriptor() ([]byte, []int)

func (*ListenResponse) Equal

func (this *ListenResponse) Equal(that interface{}) bool

func (*ListenResponse) GetAddr

func (m *ListenResponse) GetAddr() string

func (*ListenResponse) GetClose

func (m *ListenResponse) GetClose() bool

func (*ListenResponse) GetConnId

func (m *ListenResponse) GetConnId() string

func (*ListenResponse) GetData

func (m *ListenResponse) GetData() []byte

func (*ListenResponse) GoString

func (this *ListenResponse) GoString() string

func (*ListenResponse) Marshal

func (m *ListenResponse) Marshal() (dAtA []byte, err error)

func (*ListenResponse) MarshalTo

func (m *ListenResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListenResponse) MarshalToSizedBuffer

func (m *ListenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListenResponse) ProtoMessage

func (*ListenResponse) ProtoMessage()

func (*ListenResponse) Reset

func (m *ListenResponse) Reset()

func (*ListenResponse) Size

func (m *ListenResponse) Size() (n int)

func (*ListenResponse) String

func (this *ListenResponse) String() string

func (*ListenResponse) Unmarshal

func (m *ListenResponse) Unmarshal(dAtA []byte) error

func (*ListenResponse) XXX_DiscardUnknown

func (m *ListenResponse) XXX_DiscardUnknown()

func (*ListenResponse) XXX_Marshal

func (m *ListenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListenResponse) XXX_Merge

func (m *ListenResponse) XXX_Merge(src proto.Message)

func (*ListenResponse) XXX_Size

func (m *ListenResponse) XXX_Size() int

func (*ListenResponse) XXX_Unmarshal

func (m *ListenResponse) XXX_Unmarshal(b []byte) error

type Resize

type Resize struct {
	Width  int32 `protobuf:"varint,1,opt,name=Width,proto3" json:"Width,omitempty"`
	Height int32 `protobuf:"varint,2,opt,name=Height,proto3" json:"Height,omitempty"`
}

func (*Resize) Descriptor

func (*Resize) Descriptor() ([]byte, []int)

func (*Resize) Equal

func (this *Resize) Equal(that interface{}) bool

func (*Resize) GetHeight

func (m *Resize) GetHeight() int32

func (*Resize) GetWidth

func (m *Resize) GetWidth() int32

func (*Resize) GoString

func (this *Resize) GoString() string

func (*Resize) Marshal

func (m *Resize) Marshal() (dAtA []byte, err error)

func (*Resize) MarshalTo

func (m *Resize) MarshalTo(dAtA []byte) (int, error)

func (*Resize) MarshalToSizedBuffer

func (m *Resize) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Resize) ProtoMessage

func (*Resize) ProtoMessage()

func (*Resize) Reset

func (m *Resize) Reset()

func (*Resize) Size

func (m *Resize) Size() (n int)

func (*Resize) String

func (this *Resize) String() string

func (*Resize) Unmarshal

func (m *Resize) Unmarshal(dAtA []byte) error

func (*Resize) XXX_DiscardUnknown

func (m *Resize) XXX_DiscardUnknown()

func (*Resize) XXX_Marshal

func (m *Resize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resize) XXX_Merge

func (m *Resize) XXX_Merge(src proto.Message)

func (*Resize) XXX_Size

func (m *Resize) XXX_Size() int

func (*Resize) XXX_Unmarshal

func (m *Resize) XXX_Unmarshal(b []byte) error

type SessionRequest

type SessionRequest struct {
	// Types that are valid to be assigned to Msg:
	//	*SessionRequest_Stdout
	//	*SessionRequest_Stderr
	//	*SessionRequest_Exit
	Msg isSessionRequest_Msg `protobuf_oneof:"msg"`
}

func (*SessionRequest) Descriptor

func (*SessionRequest) Descriptor() ([]byte, []int)

func (*SessionRequest) Equal

func (this *SessionRequest) Equal(that interface{}) bool

func (*SessionRequest) GetExit

func (m *SessionRequest) GetExit() int32

func (*SessionRequest) GetMsg

func (m *SessionRequest) GetMsg() isSessionRequest_Msg

func (*SessionRequest) GetStderr

func (m *SessionRequest) GetStderr() []byte

func (*SessionRequest) GetStdout

func (m *SessionRequest) GetStdout() []byte

func (*SessionRequest) GoString

func (this *SessionRequest) GoString() string

func (*SessionRequest) Marshal

func (m *SessionRequest) Marshal() (dAtA []byte, err error)

func (*SessionRequest) MarshalTo

func (m *SessionRequest) MarshalTo(dAtA []byte) (int, error)

func (*SessionRequest) MarshalToSizedBuffer

func (m *SessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionRequest) ProtoMessage

func (*SessionRequest) ProtoMessage()

func (*SessionRequest) Reset

func (m *SessionRequest) Reset()

func (*SessionRequest) Size

func (m *SessionRequest) Size() (n int)

func (*SessionRequest) String

func (this *SessionRequest) String() string

func (*SessionRequest) Unmarshal

func (m *SessionRequest) Unmarshal(dAtA []byte) error

func (*SessionRequest) XXX_DiscardUnknown

func (m *SessionRequest) XXX_DiscardUnknown()

func (*SessionRequest) XXX_Marshal

func (m *SessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionRequest) XXX_Merge

func (m *SessionRequest) XXX_Merge(src proto.Message)

func (*SessionRequest) XXX_OneofWrappers

func (*SessionRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SessionRequest) XXX_Size

func (m *SessionRequest) XXX_Size() int

func (*SessionRequest) XXX_Unmarshal

func (m *SessionRequest) XXX_Unmarshal(b []byte) error

type SessionRequest_Exit

type SessionRequest_Exit struct {
	Exit int32 `protobuf:"varint,3,opt,name=exit,proto3,oneof" json:"exit,omitempty"`
}

func (*SessionRequest_Exit) Equal

func (this *SessionRequest_Exit) Equal(that interface{}) bool

func (*SessionRequest_Exit) GoString

func (this *SessionRequest_Exit) GoString() string

func (*SessionRequest_Exit) MarshalTo

func (m *SessionRequest_Exit) MarshalTo(dAtA []byte) (int, error)

func (*SessionRequest_Exit) MarshalToSizedBuffer

func (m *SessionRequest_Exit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionRequest_Exit) Size

func (m *SessionRequest_Exit) Size() (n int)

func (*SessionRequest_Exit) String

func (this *SessionRequest_Exit) String() string

type SessionRequest_Stderr

type SessionRequest_Stderr struct {
	Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3,oneof" json:"stderr,omitempty"`
}

func (*SessionRequest_Stderr) Equal

func (this *SessionRequest_Stderr) Equal(that interface{}) bool

func (*SessionRequest_Stderr) GoString

func (this *SessionRequest_Stderr) GoString() string

func (*SessionRequest_Stderr) MarshalTo

func (m *SessionRequest_Stderr) MarshalTo(dAtA []byte) (int, error)

func (*SessionRequest_Stderr) MarshalToSizedBuffer

func (m *SessionRequest_Stderr) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionRequest_Stderr) Size

func (m *SessionRequest_Stderr) Size() (n int)

func (*SessionRequest_Stderr) String

func (this *SessionRequest_Stderr) String() string

type SessionRequest_Stdout

type SessionRequest_Stdout struct {
	Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3,oneof" json:"stdout,omitempty"`
}

func (*SessionRequest_Stdout) Equal

func (this *SessionRequest_Stdout) Equal(that interface{}) bool

func (*SessionRequest_Stdout) GoString

func (this *SessionRequest_Stdout) GoString() string

func (*SessionRequest_Stdout) MarshalTo

func (m *SessionRequest_Stdout) MarshalTo(dAtA []byte) (int, error)

func (*SessionRequest_Stdout) MarshalToSizedBuffer

func (m *SessionRequest_Stdout) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionRequest_Stdout) Size

func (m *SessionRequest_Stdout) Size() (n int)

func (*SessionRequest_Stdout) String

func (this *SessionRequest_Stdout) String() string

type SessionResponse

type SessionResponse struct {
	// Types that are valid to be assigned to Msg:
	//	*SessionResponse_Stdin
	//	*SessionResponse_Resize
	Msg isSessionResponse_Msg `protobuf_oneof:"msg"`
}

func (*SessionResponse) Descriptor

func (*SessionResponse) Descriptor() ([]byte, []int)

func (*SessionResponse) Equal

func (this *SessionResponse) Equal(that interface{}) bool

func (*SessionResponse) GetMsg

func (m *SessionResponse) GetMsg() isSessionResponse_Msg

func (*SessionResponse) GetResize

func (m *SessionResponse) GetResize() *Resize

func (*SessionResponse) GetStdin

func (m *SessionResponse) GetStdin() []byte

func (*SessionResponse) GoString

func (this *SessionResponse) GoString() string

func (*SessionResponse) Marshal

func (m *SessionResponse) Marshal() (dAtA []byte, err error)

func (*SessionResponse) MarshalTo

func (m *SessionResponse) MarshalTo(dAtA []byte) (int, error)

func (*SessionResponse) MarshalToSizedBuffer

func (m *SessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionResponse) ProtoMessage

func (*SessionResponse) ProtoMessage()

func (*SessionResponse) Reset

func (m *SessionResponse) Reset()

func (*SessionResponse) Size

func (m *SessionResponse) Size() (n int)

func (*SessionResponse) String

func (this *SessionResponse) String() string

func (*SessionResponse) Unmarshal

func (m *SessionResponse) Unmarshal(dAtA []byte) error

func (*SessionResponse) XXX_DiscardUnknown

func (m *SessionResponse) XXX_DiscardUnknown()

func (*SessionResponse) XXX_Marshal

func (m *SessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionResponse) XXX_Merge

func (m *SessionResponse) XXX_Merge(src proto.Message)

func (*SessionResponse) XXX_OneofWrappers

func (*SessionResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SessionResponse) XXX_Size

func (m *SessionResponse) XXX_Size() int

func (*SessionResponse) XXX_Unmarshal

func (m *SessionResponse) XXX_Unmarshal(b []byte) error

type SessionResponse_Resize

type SessionResponse_Resize struct {
	Resize *Resize `protobuf:"bytes,2,opt,name=resize,proto3,oneof" json:"resize,omitempty"`
}

func (*SessionResponse_Resize) Equal

func (this *SessionResponse_Resize) Equal(that interface{}) bool

func (*SessionResponse_Resize) GoString

func (this *SessionResponse_Resize) GoString() string

func (*SessionResponse_Resize) MarshalTo

func (m *SessionResponse_Resize) MarshalTo(dAtA []byte) (int, error)

func (*SessionResponse_Resize) MarshalToSizedBuffer

func (m *SessionResponse_Resize) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionResponse_Resize) Size

func (m *SessionResponse_Resize) Size() (n int)

func (*SessionResponse_Resize) String

func (this *SessionResponse_Resize) String() string

type SessionResponse_Stdin

type SessionResponse_Stdin struct {
	Stdin []byte `protobuf:"bytes,1,opt,name=stdin,proto3,oneof" json:"stdin,omitempty"`
}

func (*SessionResponse_Stdin) Equal

func (this *SessionResponse_Stdin) Equal(that interface{}) bool

func (*SessionResponse_Stdin) GoString

func (this *SessionResponse_Stdin) GoString() string

func (*SessionResponse_Stdin) MarshalTo

func (m *SessionResponse_Stdin) MarshalTo(dAtA []byte) (int, error)

func (*SessionResponse_Stdin) MarshalToSizedBuffer

func (m *SessionResponse_Stdin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionResponse_Stdin) Size

func (m *SessionResponse_Stdin) Size() (n int)

func (*SessionResponse_Stdin) String

func (this *SessionResponse_Stdin) String() string

type TerminalClient

type TerminalClient interface {
	Session(ctx context.Context, opts ...grpc.CallOption) (Terminal_SessionClient, error)
}

TerminalClient is the client API for Terminal service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTerminalClient

func NewTerminalClient(cc *grpc.ClientConn) TerminalClient

type TerminalServer

type TerminalServer interface {
	Session(Terminal_SessionServer) error
}

TerminalServer is the server API for Terminal service.

type Terminal_SessionClient

type Terminal_SessionClient interface {
	Send(*SessionRequest) error
	Recv() (*SessionResponse, error)
	grpc.ClientStream
}

type Terminal_SessionServer

type Terminal_SessionServer interface {
	Send(*SessionResponse) error
	Recv() (*SessionRequest, error)
	grpc.ServerStream
}

type TunnelListenerClient

type TunnelListenerClient interface {
	Listen(ctx context.Context, opts ...grpc.CallOption) (TunnelListener_ListenClient, error)
}

TunnelListenerClient is the client API for TunnelListener service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTunnelListenerClient

func NewTunnelListenerClient(cc *grpc.ClientConn) TunnelListenerClient

type TunnelListenerServer

type TunnelListenerServer interface {
	Listen(TunnelListener_ListenServer) error
}

TunnelListenerServer is the server API for TunnelListener service.

type TunnelListener_ListenClient

type TunnelListener_ListenClient interface {
	Send(*ListenRequest) error
	Recv() (*ListenResponse, error)
	grpc.ClientStream
}

type TunnelListener_ListenServer

type TunnelListener_ListenServer interface {
	Send(*ListenResponse) error
	Recv() (*ListenRequest, error)
	grpc.ServerStream
}

type UnimplementedGitCredentialServer

type UnimplementedGitCredentialServer struct {
}

UnimplementedGitCredentialServer can be embedded to have forward compatible implementations.

func (*UnimplementedGitCredentialServer) GetCredential

type UnimplementedTerminalServer

type UnimplementedTerminalServer struct {
}

UnimplementedTerminalServer can be embedded to have forward compatible implementations.

func (*UnimplementedTerminalServer) Session

type UnimplementedTunnelListenerServer

type UnimplementedTunnelListenerServer struct {
}

UnimplementedTunnelListenerServer can be embedded to have forward compatible implementations.

func (*UnimplementedTunnelListenerServer) Listen

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL