publishertest

package
v1.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustMapSlicePtr

func MustMapSlicePtr(in interface{}) *yaml.MapSlice

func MustOSArch

func MustOSArch(in string) osarch.OSArch

func Run

func Run(t *testing.T, publisherImpl distgo.Publisher, dryRun bool, testCases ...TestCase)

func StringPtr

func StringPtr(in string) *string

Types

type TestCase

type TestCase struct {
	Name            string
	ProjectCfg      config.ProjectConfig
	WantOutput      func(projectDir string) string
	WantErrorRegexp string
}

Jump to

Keyboard shortcuts

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