runnerimpl

package
v0.0.0-...-9905116 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fxutil.Module

Module defines the fx options for this component.

Types

type MetadataProvider

type MetadataProvider func(context.Context) time.Duration

MetadataProvider is the provider for metadata

type Provider

type Provider struct {
	fx.Out

	Callback MetadataProvider `group:"metadata_provider"`
}

Provider represents the callback from a metada provider. This is returned by 'NewProvider' helper.

func NewProvider

func NewProvider(callback MetadataProvider) Provider

NewProvider registers a new metadata provider by adding a callback to the runner.

Jump to

Keyboard shortcuts

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