Documentation
¶
Index ¶
- func MatchesPath(matcher gitignore.IgnoreParser, relativePath string, isDir bool) bool
- func NewClientConnection(reader io.Reader, writer io.Writer) (*grpc.ClientConn, error)
- type StdStreamJoint
- func (s *StdStreamJoint) Close() error
- func (s *StdStreamJoint) LocalAddr() net.Addr
- func (s *StdStreamJoint) Read(b []byte) (n int, err error)
- func (s *StdStreamJoint) RemoteAddr() net.Addr
- func (s *StdStreamJoint) SetDeadline(t time.Time) error
- func (s *StdStreamJoint) SetReadDeadline(t time.Time) error
- func (s *StdStreamJoint) SetWriteDeadline(t time.Time) error
- func (s *StdStreamJoint) Write(b []byte) (n int, err error)
- type StdinAddr
- type StdinListener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchesPath ¶
func MatchesPath(matcher gitignore.IgnoreParser, relativePath string, isDir bool) bool
MatchesPath evaluates if the given relative path matches the matcher
func NewClientConnection ¶
NewClientConnection creates a new client connection for the given reader and writer
Types ¶
type StdStreamJoint ¶
type StdStreamJoint struct {
// contains filtered or unexported fields
}
StdStreamJoint is the struct that implements the net.Conn interface
func NewStdStreamJoint ¶
NewStdStreamJoint is used to implement the connection interface so we can connect to the rpc server
func (*StdStreamJoint) LocalAddr ¶
func (s *StdStreamJoint) LocalAddr() net.Addr
LocalAddr implements interface
func (*StdStreamJoint) Read ¶
func (s *StdStreamJoint) Read(b []byte) (n int, err error)
Read impements interface
func (*StdStreamJoint) RemoteAddr ¶
func (s *StdStreamJoint) RemoteAddr() net.Addr
RemoteAddr implements interface
func (*StdStreamJoint) SetDeadline ¶
func (s *StdStreamJoint) SetDeadline(t time.Time) error
SetDeadline implements interface
func (*StdStreamJoint) SetReadDeadline ¶
func (s *StdStreamJoint) SetReadDeadline(t time.Time) error
SetReadDeadline implements interface
func (*StdStreamJoint) SetWriteDeadline ¶
func (s *StdStreamJoint) SetWriteDeadline(t time.Time) error
SetWriteDeadline implements interface
type StdinAddr ¶
type StdinAddr struct {
// contains filtered or unexported fields
}
StdinAddr is the struct for the stdi
type StdinListener ¶
type StdinListener struct {
// contains filtered or unexported fields
}
StdinListener implements the listener interface
func NewStdinListener ¶
func NewStdinListener() *StdinListener
NewStdinListener creates a new stdin listener
func (*StdinListener) Accept ¶
func (lis *StdinListener) Accept() (net.Conn, error)
Accept implements interface
func (*StdinListener) Ready ¶
func (lis *StdinListener) Ready(conn net.Conn)
Ready implements interface