Documentation
¶
Overview ¶
Package fakes contains mocks used for testing 'kubectl exec' session recording functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomBytes ¶
Types ¶
type TestConn ¶
type TestConn struct { net.Conn sync.RWMutex // protects the following // contains filtered or unexported fields }
func (*TestConn) ResetReadBuf ¶
func (tc *TestConn) ResetReadBuf()
func (*TestConn) WriteBufBytes ¶
func (*TestConn) WriteReadBufBytes ¶
type TestSessionRecorder ¶
type TestSessionRecorder struct {
// contains filtered or unexported fields
}
func (*TestSessionRecorder) Bytes ¶
func (t *TestSessionRecorder) Bytes() []byte
func (*TestSessionRecorder) Close ¶
func (t *TestSessionRecorder) Close() error
Click to show internal directories.
Click to hide internal directories.