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 ¶
func ToSHA256ID ¶ added in v0.10.2
ToSHA256ID generates a valid Kubernetes name (max length of 64) from a provided SHA256 sum
Types ¶
type ContentStore ¶ added in v0.10.0
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. If necessary it loads the content resource and caches its shasum and raw data.
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.