manifest

package
v0.3.6-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 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 {
	Commit    string                 `json:"-"`
	Resources []fleet.BundleResource `json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func New

func New(spec *fleet.BundleSpec) (*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