Documentation ¶
Overview ¶
Package manifest manages content resources, which contain all the resources for a deployed bundle.
Content resources are not namespaced.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentStore ¶ added in v0.10.0
type ContentStore struct {
// contains filtered or unexported fields
}
func NewStore ¶
func NewStore(client client.Client) *ContentStore
type Manifest ¶
type Manifest struct { Commit string `json:"-"` Resources []fleet.BundleResource `json:"resources,omitempty"` // contains filtered or unexported fields }
func FromBundle ¶ added in v0.10.0
func New ¶
func New(resources []fleet.BundleResource) *Manifest
func (*Manifest) ID ¶ added in v0.10.0
ID returns the name of the Content resource produced from this Manifest
func (*Manifest) ResetSHASum ¶ added in v0.10.0
func (m *Manifest) ResetSHASum()
ResetSHASum removes stored data about calculated SHASum, forcing a recalculation on the next call to SHASum()
Click to show internal directories.
Click to hide internal directories.