plugin_config

package
v6.6.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2014 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginConfig

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

func NewPluginConfig

func NewPluginConfig(errorHandler func(error)) *PluginConfig

func (*PluginConfig) Close

func (c *PluginConfig) Close()

CLOSERS

func (*PluginConfig) GetPluginPath

func (c *PluginConfig) GetPluginPath() string

getter methods

func (*PluginConfig) Plugins

func (c *PluginConfig) Plugins() map[string]string

func (*PluginConfig) RemovePlugin

func (c *PluginConfig) RemovePlugin(name string)

func (*PluginConfig) SetPlugin

func (c *PluginConfig) SetPlugin(name, location string)

setter methods

type PluginConfiguration

type PluginConfiguration interface {
	Plugins() map[string]string
	SetPlugin(string, string)
	GetPluginPath() string
	RemovePlugin(string)
}

type PluginData

type PluginData struct {
	Plugins map[string]string
}

func NewData

func NewData() *PluginData

func (*PluginData) JsonMarshalV3

func (pd *PluginData) JsonMarshalV3() (output []byte, err error)

func (*PluginData) JsonUnmarshalV3

func (pd *PluginData) JsonUnmarshalV3(input []byte) (err error)

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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