package
Version:
v0.3.5
Opens a new window with list of versions in this module.
Published: Apr 28, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Lookup interface {
Get(id string) (*Manifest, error)
}
func NewLookup(content fleetcontrollers.ContentClient) Lookup
type Manifest struct {
Commit string `json:"-"`
Resources []fleet.BundleResource `json:"resources,omitempty"`
}
func New(spec *fleet.BundleSpec) (*Manifest, error)
func ReadManifest(data []byte, digest string) (*Manifest, error)
func (m *Manifest) Content() ([]byte, string, error)
func (m *Manifest) Encode(writer io.Writer) error
func (m *Manifest) ToTarGZ() (io.Reader, error)
type Store interface {
Store(manifest *Manifest) (string, error)
}
func NewStore(content fleetcontrollers.ContentController) Store
Source Files
¶
Click to show internal directories.
Click to hide internal directories.