mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-07 03:45:53 +01:00
57 lines
1.1 KiB
Smarty
57 lines
1.1 KiB
Smarty
{{ define "packages" }}
|
|
---
|
|
title: "API reference"
|
|
description: "Prometheus operator generated API reference docs"
|
|
draft: false
|
|
images: []
|
|
menu: "operator"
|
|
weight: 151
|
|
toc: true
|
|
---
|
|
|
|
> This page is automatically generated with `gen-crd-api-reference-docs`.
|
|
|
|
{{ with .packages}}
|
|
<p>Packages:</p>
|
|
<ul>
|
|
{{ range . }}
|
|
<li>
|
|
<a href="#{{- packageAnchorID . -}}">{{ packageDisplayName . }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end}}
|
|
|
|
{{ range .packages }}
|
|
<h2 id="{{- packageAnchorID . -}}">
|
|
{{- packageDisplayName . -}}
|
|
</h2>
|
|
|
|
{{ with (index .GoPackages 0 )}}
|
|
{{ with .DocComments }}
|
|
<div>
|
|
{{ safe (renderComments .) }}
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
Resource Types:
|
|
<ul>
|
|
{{- range (visibleTypes (sortedTypes .Types)) -}}
|
|
{{ if isExportedType . -}}
|
|
<li>
|
|
<a href="{{ linkForType . }}">{{ typeDisplayName . }}</a>
|
|
</li>
|
|
{{- end }}
|
|
{{- end -}}
|
|
</ul>
|
|
|
|
{{ range (visibleTypes (sortedTypes .Types))}}
|
|
{{ template "type" . }}
|
|
{{ end }}
|
|
<hr/>
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|