Documentation ¶
Index ¶
Constants ¶
View Source
const MaxLogBytes = 2000000
Variables ¶
This section is empty.
Functions ¶
func ConvertLogs ¶
func ConvertLogs(rawLog []byte) ([]*binoculars.LogLine, []error)
Types ¶
type KubernetesLogService ¶
type KubernetesLogService struct {
// contains filtered or unexported fields
}
func NewKubernetesLogService ¶
func NewKubernetesLogService(clientProvider cluster.KubernetesClientProvider) *KubernetesLogService
func (*KubernetesLogService) GetLogs ¶
func (l *KubernetesLogService) GetLogs(ctx context.Context, params *LogParams) ([]*binoculars.LogLine, error)
type LogParams ¶
type LogParams struct { Principal authorization.Principal Namespace string PodName string SinceTime string LogOptions *v1.PodLogOptions }
type LogService ¶
Click to show internal directories.
Click to hide internal directories.