kasapp

package
v16.10.9 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 109 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyDefaultsToKASConfigurationFile added in v16.9.2

func ApplyDefaultsToKASConfigurationFile(cfg *kascfg.ConfigurationFile)

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 added in v16.7.0

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

func (*TraceDualWriter) ExportSpans added in v16.7.0

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

func (*TraceDualWriter) Shutdown added in v16.7.0

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