package
Version:
v0.7.1
Opens a new window with list of versions in this module.
Published: Aug 8, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package manifest manages content resources, which contain all the resources for a deployed bundle.
Content resources are not namespaced.
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(resources []fleet.BundleResource) (*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.