dister

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetRootCmd

func AssetRootCmd(creator Creator, upgradeConfigFn pluginapi.UpgradeConfigFn, short string) *cobra.Command

Types

type Creator

type Creator interface {
	TypeName() string
	Creator() CreatorFunction
}

func AssetDisterCreators

func AssetDisterCreators(assetPaths ...string) ([]Creator, []distgo.ConfigUpgrader, error)

func NewCreator

func NewCreator(typeName string, creatorFn CreatorFunction) Creator

type CreatorFunction

type CreatorFunction func(cfgYML []byte) (distgo.Dister, error)

Directories

Path Synopsis
bin
integration_test
Package integration contains the integration tests for distgo.
Package integration contains the integration tests for distgo.
integration_test
Package integration contains the integration tests for distgo.
Package integration contains the integration tests for distgo.
integration_test
Package integration contains the integration tests for distgo.
Package integration contains the integration tests for distgo.

Jump to

Keyboard shortcuts

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