Skip to content

catalog: visibility field + image-less definitions (BYO model, spore-host#392) #16

Description

@scttfrdmn

Part of the BYO-image catalog model (design: spore-host#392).

Scope (libs/catalog)

  • Add Visibility (public|private) to AppEntry, with inference helper: public.ecr.aws/*→public, *.dkr.ecr.*.amazonaws.com/*→private; explicit value wins.
  • Make image-less definitions first-class: an entry with neither image nor launch_command is valid as a definition (hardware/DCV spec) — it's launchable only once an overlay/--image supplies a binding. Update Validate()/validateApps so "not launchable" is no longer an error for a definition-only entry in isolation (the launch-time check enforces a binding).
  • Containerized() stays; add ImageRef()/visibility accessors as needed.

Out of scope

Overlay loading + launch (spawn side) and the online resolvability gate (separate issues).

Refs spore-host#392, #290.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions