api2local

package
v0.0.0-...-edb81cd Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	NodeName string
}

Config helps building sink with the standard flags (sinks are not required to have a stable node-name, but most will have).

Simplest usage:

type MySink struct {
    api2local.Config
}

func (*Config) BindFlags

func (c *Config) BindFlags(flags *pflag.FlagSet)

type Job

type Job struct {
	apiwatch.Watch
	Sink localsink.Sink
}

func New

func New(sink localsink.Sink) *Job

func (*Job) Run

func (j *Job) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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