lifecycle

package
v0.0.0-...-f47aca1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageInput

type PackageInput struct {
	Label      string
	Type       string
	Path       string
	OutputFile string
}

type PackageMetadata

type PackageMetadata struct {
	Path  string `json:"path"`
	Type  string `json:"type"`
	Label string `json:"label"`
}

type Packager

type Packager struct {
	// contains filtered or unexported fields
}

func NewPackager

func NewPackager(platform PlatformRegistry) *Packager

func (*Packager) PackageContract

func (p *Packager) PackageContract() error

func (*Packager) SetInput

func (p *Packager) SetInput(path, outputFile, label string)

type PlatformRegistry

type PlatformRegistry interface {
	GetDeploymentPayload(path string) ([]byte, error)
	NormalizePath(cType, path string) (string, error)
}

Jump to

Keyboard shortcuts

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