manifest

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidSignature = errors.New("invalid signature")
	ErrInvalidKey       = errors.New("key is not deployment owner")
)
View Source
var ErrDifferentHashes = errors.New("manifest hash does not match the expected hash")

Functions

func Hash added in v0.0.9

func Hash(m proto.Message) ([]byte, error)

func SignManifest added in v0.0.8

func SignManifest(manifest *types.Manifest, signer txutil.Signer, deployment []byte) (*types.ManifestRequest, []byte, error)

func VerifyRequest added in v0.0.8

func VerifyRequest(mr *types.ManifestRequest, deployment *types.Deployment) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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