Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 505 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 505 Bytes

Kubernetes-like record contract

This is an illustrative (thus incomplete and maybe incorrect) example of a Kubernetes configuration. It demonstrates how you can write contracts for simple elements (such as Port), and assemble them into a schema for your end configuration.

Run

$ nickel -f record-contract.ncl export

Playground

You can try to break any of the previous contracts to see what happens: provide a non supported flag, a pathLibC that doesn't end in ".so", and so on.