api

package
v0.0.0-...-149c2fc Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component interface {
	component.Instance

	// Start this component
	Start(ctx context.Instance, scope lifecycle.Scope) error
}

Component is an internal extension of the component.Instance API.

type ComponentFactory

type ComponentFactory func() (Component, error)

ComponentFactory method

type Environment

type Environment interface {
	Component

	// TODO(nmittler): Remove this.
	// Evaluate the given template with environment specific template variables.
	Evaluate(tmpl string) (string, error)

	DumpState(context string)
}

Environment internal interface for all environments.

func GetEnvironment

func GetEnvironment(r component.Repository) Environment

GetEnvironment from the repository

type Resettable

type Resettable interface {
	Reset() error
}

Resettable interface is implemented by Deployments that needs to be reset before reuse.

Jump to

Keyboard shortcuts

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