integration

package
v0.0.0-...-45a9bcf Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package integration creates a launcher to track logs from integrations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Launcher

type Launcher struct {
	// contains filtered or unexported fields
}

Launcher checks for launcher integrations, creates files for integrations to write logs to, then creates file sources for the file launcher to tail

func NewLauncher

func NewLauncher(fs afero.Fs, sources *sources.LogSources, integrationsLogsComp integrations.Component) *Launcher

NewLauncher creates and returns an integrations launcher, and creates the path for integrations files to run in

func (*Launcher) Start

Start starts the launcher and launches the run loop in a go function

func (*Launcher) Stop

func (s *Launcher) Stop()

Stop stops the launcher

Jump to

Keyboard shortcuts

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