extconfig

package
v0.5.19 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSoloSha256

func GenerateSoloSha256(file *os.File) (string, error)

TODO(mitchdraft) get this from go-utils GenerateSoloSha256 produces a sha256 hash of the given file in a standard way for use in Solo.io's build artifact management.

func MustCreateDevResources

func MustCreateDevResources(ctx context.Context, version string)

func MustDownloadSha

func MustDownloadSha(ctx context.Context, version, osId string) string

func MustGetSha

func MustGetSha(ctx context.Context, path string) string

func MustPrepareReleaseConfigFile

func MustPrepareReleaseConfigFile(ctx context.Context, version string)

func MustPrepareReleaseJsPackage

func MustPrepareReleaseJsPackage(ctx context.Context, version string)

Types

type Binaries

type Binaries struct {
	Win32  string `json:"win32"`
	Linux  string `json:"linux"`
	Darwin string `json:"darwin"`
}

type SquashSpec

type SquashSpec struct {
	Version  string   `json:"version"`
	BaseName string   `json:"baseName"`
	Binaries Binaries `json:"binaries"`
}

Jump to

Keyboard shortcuts

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