loader

package
v1.501.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AspectPlugin

type AspectPlugin struct {
	Name       string                 `yaml:"name"`
	From       string                 `yaml:"from"`
	Version    string                 `yaml:"version"`
	LogLevel   string                 `yaml:"log_level"`
	Properties map[string]interface{} `yaml:"properties"`
}

AspectPlugin represents a plugin entry in the plugins file.

type Finder

type Finder interface {
	Find() (string, error)
}

Finder is the interface that wraps the simple Find method that performs the finding of the plugins file in the user system.

func NewFinder

func NewFinder() Finder

NewFinder instantiates a default internal implementation of the Finder interface.

type Parser

type Parser interface {
	Parse(aspectpluginsPath string) ([]AspectPlugin, error)
}

Parser is the interface that wraps the Parse method that performs the parsing of a plugins file.

func NewParser

func NewParser() Parser

NewParser instantiates a default internal implementation of the Parser interface.

Directories

Path Synopsis
Package mock contains generated files.
Package mock contains generated files.

Jump to

Keyboard shortcuts

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