What are regions?

I am new to cockpit and I saw this

{
  region(name:"test"),
  collection(name:"posts", filter:{published:true})
}

can someone tell me what regions are and how I can use them properly ?

Regions were removed from the cockpit core a while ago. If you want to use them, install them as addon: https://github.com/agentejo/regions

The readme doesn’t provide much info, but here are some outdated docs: https://github.com/agentejo/cockpit-docs/tree/2687589b9645464d1ea45ec1733761235cd14820/modules/regions

1 Like