resources

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource interface {
	// Init is used to initialize the resource
	Init() error
	// Setup sets up the resource
	Setup(task *api.Task) error
	// Cleanup removes the resource
	Cleanup(task *api.Task) error
}

Resource interface to interact with platform level resource constructs Resource is exposed as a platform agnostic abstraction

func New

func New() Resource

New is used to return an object that implements the Resource interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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