secretplugin

package
v0.0.0-...-e0434a4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginName smith_v1.PluginName = "secret"
)

Variables

This section is empty.

Functions

func New

func New() (smith_plugin.Plugin, error)

Types

type Plugin

type Plugin struct{}

func (*Plugin) Describe

func (p *Plugin) Describe() *smith_plugin.Description

func (*Plugin) Process

func (p *Plugin) Process(rawSpec map[string]interface{}, context *smith_plugin.Context) smith_plugin.ProcessResult

type Spec

type Spec struct {
	JSONData map[string]interface{} `json:"jsondata,omitempty"`
	Data     map[string]string      `json:"data,omitempty"`
}

Jump to

Keyboard shortcuts

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