spec

package
v0.0.0-...-e6e6c42 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 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