manifest

package
v0.3.0-alpha7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lookup

type Lookup interface {
	Get(id string) (*Manifest, error)
}

func NewLookup

func NewLookup(content fleetcontrollers.ContentClient) Lookup

type Manifest

type Manifest struct {
	Resources []fleet.BundleResource `json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func New

func New(spec *fleet.BundleSpec, overlays ...string) (*Manifest, error)

func ReadManifest

func ReadManifest(data []byte, digest string) (*Manifest, error)

func (*Manifest) Content

func (m *Manifest) Content() ([]byte, string, error)

func (*Manifest) Encode

func (m *Manifest) Encode(writer io.Writer) error

func (*Manifest) ToTarGZ

func (m *Manifest) ToTarGZ() (io.Reader, error)

type Store

type Store interface {
	Store(manifest *Manifest) (string, error)
}

func NewStore

func NewStore(content fleetcontrollers.ContentController) Store

Jump to

Keyboard shortcuts

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