xzs

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package xzs provides the use-case to make an executable, archive and digest for a platform.

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Input

type Input struct {
	OutputDir             string // optional
	OutputName            string
	Platform              build.Platform
	GoBuildArgs           []string
	ArchiveExtraFilenames []string
	DigestAlgorithm       *digest.Algorithm
}

type Interface

type Interface interface {
	Do(in Input) (*build.Artifact, error)
}

type XZS

type XZS struct {
	CrossBuild crossbuild.Interface
	Archive    archive.Interface
	Digest     digestUseCase.Interface
}

func (*XZS) Do

func (u *XZS) Do(in Input) (*build.Artifact, error)

Directories

Path Synopsis
Package mock_xzs is a generated GoMock package.
Package mock_xzs is a generated GoMock package.

Jump to

Keyboard shortcuts

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