streamlogsimpl

package
v0.0.0-...-2c8d60b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package streamlogsimpl implements the streamlogs component interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogParams

type LogParams struct {
	// FilePath represents the output file path to write the log stream to.
	FilePath string

	// Duration represents the duration of the log stream.
	Duration time.Duration
}

LogParams represents the parameters for streaming logs

type Provides

type Provides struct {
	compdef.Out

	FlareProvider flaretypes.Provider
}

Provides defines the output of the streamlogs component

func NewComponent

func NewComponent(reqs Requires) (Provides, error)

NewComponent creates a new streamlogs component for remote config flare component

type Requires

type Requires struct {
	compdef.In
	LogsAgent   option.Option[logsAgent.Component]
	Logger      logger.Component
	Config      config.Component
	CoreSetting coresetting.Component
}

Requires defines the dependencies for the streamlogs component

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL