Documentation ¶
Index ¶
- func CloseLog(t *tail.Tail)
- func Handler(apiOp *types.APIRequest) (types.APIObjectList, error)
- func KubeHandler(apiOp *types.APIRequest) (types.APIObject, error)
- func LogHandler(apiOp *types.APIRequest) (types.APIObjectList, error)
- func NewTailLog(logFilePath string) (*tail.Tail, error)
- func WriteLastLogs(t *tail.Tail, w http.ResponseWriter, f http.Flusher, logFilePath string) error
- type BinaryReader
- type BinaryWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(apiOp *types.APIRequest) (types.APIObjectList, error)
func KubeHandler ¶
func KubeHandler(apiOp *types.APIRequest) (types.APIObject, error)
func LogHandler ¶
func LogHandler(apiOp *types.APIRequest) (types.APIObjectList, error)
func WriteLastLogs ¶
Types ¶
type BinaryReader ¶
type BinaryReader struct {
// contains filtered or unexported fields
}
func NewReader ¶
func NewReader(con *websocket.Conn) *BinaryReader
type BinaryWriter ¶
type BinaryWriter struct {
// contains filtered or unexported fields
}
func NewWriter ¶
func NewWriter(con *websocket.Conn) *BinaryWriter
Click to show internal directories.
Click to hide internal directories.