Interface NodeManifest


public interface NodeManifest
Manifest that defines the state for a single node. The state is defined by the following:
  • layers : These are artifacts that contain the kernel and other squash filesystem layers that are stacked to get the os to user space.
  • sections : Named collections of artifacts that are processed by java. Applications can use the section names to provide various semantics when loading sections.
  • kmf : The os level manifest used to boot the base os. This contains the same artifacts as the layers but in a way that the os can consume.
Version:
2022-10-15
  • Method Details

    • getNodeType

      String getNodeType()
      Return the node type that this manifest can run on.
    • getKosVersion

      String getKosVersion()
      Return the kos version for this node.
    • getProperties

      Map<String,String> getProperties()
      Return the top level properties for the NodeManifest . Properties can be used on the device or can be used by tooling to make decisions about the manifest and the contents. These are developer defined and core kOS does not use them.
    • getLayers

      Collection<? extends ManifestArtifact> getLayers()
      Return the list of layers for the node.
    • getArtifacts

      Collection<? extends ManifestArtifact> getArtifacts()
      Return the list of kabs for the node, including the layers. This is all the layers and all the kabs included in all the sections. This is the full list of kabs that need to be installed for this manifest to be valid.
    • getSections

      Collection<? extends ManifestSection> getSections()
      Return the list of sections for the node.