bootstrappers

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MainBootstrapper

type MainBootstrapper struct {
	Bootstrappers []bootstrap.Bootstrapper
}

MainBootstrapper holds all the bootstrapper implementations

func (*MainBootstrapper) Bootstrap

func (m *MainBootstrapper) Bootstrap(context map[string]interface{}) error

Bootstrap runs all the loaded bootstrapper implementations.

func (*MainBootstrapper) PopulateBaseBootstrappers

func (m *MainBootstrapper) PopulateBaseBootstrappers()

PopulateBaseBootstrappers adds all the bootstrapper implementations to MainBootstrapper

func (*MainBootstrapper) PopulateCommandBootstrappers

func (m *MainBootstrapper) PopulateCommandBootstrappers()

PopulateCommandBootstrappers adds all the bootstrapper implementations relevant for one off commands

func (*MainBootstrapper) PopulateRunBootstrappers

func (m *MainBootstrapper) PopulateRunBootstrappers()

PopulateRunBootstrappers adds blocking Node bootstrapper at the end. Note: Node bootstrapper must be the last bootstrapper to be invoked as it won't return until node is shutdown

Jump to

Keyboard shortcuts

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