plugin

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

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

func New

func New(getConfigValue func(string) string, metadataProvider metadata.Provider, ingestionClient client.Client) (*Plugin, error)

func (*Plugin) InitClient

func (p *Plugin) InitClient() error

func (*Plugin) Transform

func (p *Plugin) Transform(provider nextRecordProvider, tag string) map[model.Resource][]*model.Entry

func (*Plugin) WriteAll

func (p *Plugin) WriteAll(resourceToEntries map[model.Resource][]*model.Entry) (results chan error, resCount int)

Jump to

Keyboard shortcuts

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