configadapter

package
v0.10.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const SchemaVersion = "v1.0.0-WD"

Variables

This section is empty.

Functions

This section is empty.

Types

type ManifestConverter

type ManifestConverter struct {
	*context.Context
	Manifest *config.Manifest
}

ManifestConverter converts from a porter manifest to a CNAB bundle definition.

func (*ManifestConverter) GenerateStamp

func (c *ManifestConverter) GenerateStamp() Stamp

func (*ManifestConverter) ToBundle

func (c *ManifestConverter) ToBundle() *bundle.Bundle

type Stamp

type Stamp struct {
	ManifestDigest string `json:"manifestDigest"`
}

func LoadStamp

func LoadStamp(bun *bundle.Bundle) (*Stamp, error)

Jump to

Keyboard shortcuts

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