spec

package
v0.0.0-...-adb5aae Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(f SetupFunc)

Register is used to registe spec setup function.

Types

type SetupFunc

type SetupFunc func(ctx context.Context, c *types.ContainerInfo, s *specs.Spec) error

SetupFunc defines spec setup function type.

func SetupFuncs

func SetupFuncs() []SetupFunc

SetupFuncs returns all the spec setup functions.

Jump to

Keyboard shortcuts

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