$ soultec get partner/partners/red-hat -o yaml$ soultec get partner/partners/red-hat -o json$ soultec get partner/partners/red-hat -o toml$ soultec get partner/partners/red-hat -o xml$ python3 partners/red-hat.pyPS> ./partners/red-hat.ps1$ go run partners/red-hat.go$ node partners/red-hat.js
apiVersion: soultec.ch/v1kind: Partnermetadata:name: partners/red-hatlocale: enlabels:written: "false"annotations:source: src/data/partners.en.jsonroute: /en/solutions/red-hat/spec:slug: red-hatname: Red Hatorder: 14blurb: Linux for the enterprisestatus:page: not writtensearch: /en/search.json
<?xml version="1.0" encoding="UTF-8"?><manifestkind="Partner"><apiVersion>soultec.ch/v1</apiVersion><metadata><name>partners/red-hat</name><locale>en</locale><labels><written>false</written></labels><annotations><source>src/data/partners.en.json</source><route>/en/solutions/red-hat/</route></annotations></metadata><spec><slug>red-hat</slug><name>Red Hat</name><order>14</order><blurb>Linux for the enterprise</blurb></spec><status><page>not written</page><search>/en/search.json</search></status></manifest>
# Code generated by the soultec.ch build. DO NOT EDIT.importjsonPAGE = {"apiVersion": "soultec.ch/v1","kind": "Partner","metadata": {"name": "partners/red-hat","locale": "en","labels": {"written": "false",},"annotations": {"source": "src/data/partners.en.json","route": "/en/solutions/red-hat/",},},"spec": {"slug": "red-hat","name": "Red Hat","order": 14,"blurb": "Linux for the enterprise",},"status": {"page": "not written","search": "/en/search.json",},}if__name__ == "__main__":print(json.dumps(PAGE, indent=2, ensure_ascii=False))
# Code generated by the soultec.ch build. DO NOT EDIT.$Page = [ordered]@{apiVersion = 'soultec.ch/v1'kind = 'Partner'metadata = [ordered]@{name = 'partners/red-hat'locale = 'en'labels = [ordered]@{written = 'false'}annotations = [ordered]@{source = 'src/data/partners.en.json'route = '/en/solutions/red-hat/'}}spec = [ordered]@{slug = 'red-hat'name = 'Red Hat'order = 14blurb = 'Linux for the enterprise'}status = [ordered]@{page = 'not written'search = '/en/search.json'}}$Page | ConvertTo-Json -Depth32
// Code generated by the soultec.ch build. DO NOT EDIT.packagemainimport ("encoding/json""os")varpage = map[string]any{"apiVersion": "soultec.ch/v1","kind": "Partner","metadata": map[string]any{"name": "partners/red-hat","locale": "en","labels": map[string]any{"written": "false",},"annotations": map[string]any{"source": "src/data/partners.en.json","route": "/en/solutions/red-hat/",},},"spec": map[string]any{"slug": "red-hat","name": "Red Hat","order": 14,"blurb": "Linux for the enterprise",},"status": map[string]any{"page": "not written","search": "/en/search.json",},}funcmain() {enc := json.NewEncoder(os.Stdout)enc.SetEscapeHTML(false)enc.SetIndent("", " ")iferr := enc.Encode(page); err != nil {os.Exit(1)}}
// Code generated by the soultec.ch build. DO NOT EDIT.constpage = {apiVersion: "soultec.ch/v1",kind: "Partner",metadata: {name: "partners/red-hat",locale: "en",labels: {written: "false",},annotations: {source: "src/data/partners.en.json",route: "/en/solutions/red-hat/",},},spec: {slug: "red-hat",name: "Red Hat",order: 14,blurb: "Linux for the enterprise",},status: {page: "not written",search: "/en/search.json",},};console.log(JSON.stringify(page, null, 2));
# 18 lines · YAML · validated at build# 25 lines · JSON · validated at build# 23 lines · TOML · validated at build# 25 lines · XML · validated at build# 31 lines · Python · read back at build, equals the JSON record# 28 lines · PowerShell · read back at build, equals the JSON record# 43 lines · Go · read back at build, equals the JSON record# 28 lines · JavaScript · read back at build, equals the JSON record
Partner
Red Hat
Linux for the enterprise
This page has not been written yet. What we do with Red Hat will be here soon.