resource

package
v0.0.0-...-a355528 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResourcePlugin

func NewResourcePlugin(instancePluginLookup InstancePluginLookup) resource.Plugin

NewResourcePlugin creates a new resource plugin.

Types

type InstancePluginLookup

type InstancePluginLookup func(plugin_base.Name) (instance.Plugin, error)

InstancePluginLookup looks up a plugin by name.

type Spec

type Spec struct {
	Resources []struct {
		ID         string
		Plugin     plugin_base.Name
		Properties *types.Any
	}
}

Spec is the configuration schema for this plugin, provided in resource.Spec.Properties.

Jump to

Keyboard shortcuts

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