Documentation ¶
Index ¶
Constants ¶
View Source
const ( INFLUXDB_DATABASE = "fissionFunctionLog" INFLUXDB_URL = "http://influxdb:8086/query" )
View Source
const ( INFLUXDB = "influxdb" KUBERNETES = "kubernetes" )
Variables ¶
This section is empty.
Functions ¶
func GetFunctionPodLogs ¶ added in v1.18.0
func GetFunctionPodLogs(ctx context.Context, client cmd.Client, logFilter LogFilter, podLogs *bytes.Buffer) (err error)
FunctionPodLogs : Get logs for a function directly from pod
func NewKubernetesEndpoint ¶ added in v1.18.0
func NewKubernetesEndpoint(logDBOptions LogDBOptions) (kubernetesLogs, error)
Types ¶
type ByTimestampSort ¶ added in v1.13.0
type ByTimestampSort struct {
// contains filtered or unexported fields
}
func ByTimestamp ¶ added in v1.13.0
func ByTimestamp(entries []LogEntry, desc bool) ByTimestampSort
func (ByTimestampSort) Len ¶ added in v1.13.0
func (a ByTimestampSort) Len() int
func (ByTimestampSort) Less ¶ added in v1.13.0
func (a ByTimestampSort) Less(i, j int) bool
func (ByTimestampSort) Swap ¶ added in v1.13.0
func (a ByTimestampSort) Swap(i, j int)
type InfluxDB ¶
type InfluxDB struct {
// contains filtered or unexported fields
}
func NewInfluxDB ¶
func NewInfluxDB(ctx context.Context, logDBOptions LogDBOptions) (InfluxDB, error)
type LogDBOptions ¶ added in v1.18.0
type LogDatabase ¶
func GetLogDB ¶
func GetLogDB(dbType string, ctx context.Context, logDBOptions LogDBOptions) (LogDatabase, error)
Click to show internal directories.
Click to hide internal directories.