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: 1 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 {

	// DoCommit implements Commit.
	DoCommit func(spec resource.Spec, pretend bool) (string, error)

	// DoDestroy implements Destroy.
	DoDestroy func(spec resource.Spec, pretend bool) (string, error)

	// DoDescribeResources implements DescribeResources.
	DoDescribeResources func(spec resource.Spec) (string, error)
}

Plugin implements resource.Plugin.

func (*Plugin) Commit

func (t *Plugin) Commit(spec resource.Spec, pretend bool) (string, error)

Commit creates the resources in the spec that do not exist.

func (*Plugin) DescribeResources

func (t *Plugin) DescribeResources(spec resource.Spec) (string, error)

DescribeResources describes the resources in the spec that exist.

func (*Plugin) Destroy

func (t *Plugin) Destroy(spec resource.Spec, pretend bool) (string, error)

Destroy destroys all resources in the spec.

Jump to

Keyboard shortcuts

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