kasapp

package
v17.1.0-rc9 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 114 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyDefaultsToKASConfigurationFile

func ApplyDefaultsToKASConfigurationFile(cfg *kascfg.ConfigurationFile)

func ErrReporterWithoutAgentInfos

func ErrReporterWithoutAgentInfos(hub SentryHub) errz.ErrReporter

func LoadConfigurationFile

func LoadConfigurationFile(ctx context.Context, configFile string) (*kascfg.ConfigurationFile, error)

func NewCommand

func NewCommand() *cobra.Command

Types

type App

type App struct {
	ConfigurationFile string
}

func (*App) Run

func (a *App) Run(ctx context.Context) (retErr error)

type ConfiguredApp

type ConfiguredApp struct {
	Log           *zap.Logger
	Configuration *kascfg.ConfigurationFile
}

func (*ConfiguredApp) Run

func (a *ConfiguredApp) Run(ctx context.Context) (retErr error)

type SentryHub

type SentryHub interface {
	CaptureEvent(event *sentry.Event) *sentry.EventID
}

type TraceDualWriter

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

func (*TraceDualWriter) ExportSpans

func (tdw *TraceDualWriter) ExportSpans(ctx context.Context, spans []tracesdk.ReadOnlySpan) error

func (*TraceDualWriter) Shutdown

func (tdw *TraceDualWriter) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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