alkasir: github.com/alkasir/alkasir/pkg/upgradebin/makepatch Index | Files

package makepatch

import "github.com/alkasir/alkasir/pkg/upgradebin/makepatch"

Index

Package Files

makepatch.go

Variables

var PatchHistoryAmountMax = 50

func RunPatchesCreate Uses

func RunPatchesCreate(queries []nexus.BuildQuery, privateKey string, publicKey string, nWorkers int) ([]CreatePatchResult, error)

type CreatePatchJob Uses

type CreatePatchJob struct {
    Artifact   string
    OldBinary  string
    NewBinary  string
    OldVersion string
    NewVersion string
    PrivateKey string
    PublicKey  string
}

patchJob .

type CreatePatchResult Uses

type CreatePatchResult struct {
    Artifact         string `json:"artifact"`
    OldVersion       string `json:"oldVersion"`
    NewVersion       string `json:"newVersion"`
    SHA256Sum        string `json:"sha256sum"`
    ED25519Signature string `json:"ed25519sig"`
    DiffFile         string `json:"-"`
    // contains filtered or unexported fields
}

Patch .

func CreatePatch Uses

func CreatePatch(job CreatePatchJob) (CreatePatchResult, error)

Package makepatch imports 19 packages (graph) and is imported by 1 packages. Updated 2016-07-24. Refresh now. Tools for package owners.