github.com/GoogleContainerTools/skaffold/v2@v2.13.2/docs-v2/layouts/partials/info-panel.html (about) 1 {{ if .Params.featureId }} 2 {{ $data := (index .Site.Data.maturity .Params.featureId)}} 3 {{ $maturity := $data.maturity }} 4 {{ $dev := $data.dev }} 5 {{ $debug := $data.debug }} 6 {{ $run := $data.run }} 7 {{ $build := $data.build }} 8 {{ $test := $data.test }} 9 {{ $deploy := $data.deploy }} 10 {{ $render := $data.render }} 11 {{ $all := and $dev $debug $run $build $deploy $render }} 12 {{ $examples := $data.examples }} 13 14 <div class="alert infopanel" role="contentinfo"> 15 <table> 16 {{ if and $maturity (not (eq $maturity "GA")) }} 17 <tr class="maturity maturity-{{$maturity}}"> 18 <td><b>Maturity</b></td> 19 <td><a href="/docs/references/deprecation"><code>{{$maturity}}</code></a></td> 20 </tr> 21 {{ end }} 22 23 <tr> 24 <td><b>Applicable</b></td> 25 <td> 26 {{if or $dev $all}}<a href="/docs/references/cli#skaffold-dev"><code> dev</code></a>{{end}} 27 {{if or $debug $all}}<a href="/docs/references/cli#skaffold-debug"><code> debug</code></a>{{end}} 28 {{if or $run $all}} <a href="/docs/references/cli#skaffold-run"><code> run</code></a>{{end}} 29 {{if or $build $all}}<a href="/docs/references/cli#skaffold-build"><code> build</code></a>{{end}} 30 {{if or $test $all}}<a href="/docs/references/cli#skaffold-test"><code> test</code></a>{{end}} 31 {{if or $deploy $all}}<a href="/docs/references/cli#skaffold-deploy"><code> deploy</code></a>{{end}} 32 {{if or $render $all}}<a href="/docs/references/cli#skaffold-render"><code> render</code></a>{{end}} 33 </td> 34 </tr> 35 {{ if not $all}} 36 <tr> 37 <td><b>Not applicable</b></td> 38 <td> 39 {{if not $dev}}<a href="/docs/references/cli#skaffold-dev"><code> dev</code></a>{{end}} 40 {{if not $debug}}<a href="/docs/references/cli#skaffold-debug"><code> debug</code></a>{{end}} 41 {{if not $run}} <a href="/docs/references/cli#skaffold-run"><code> run</code></a>{{end}} 42 {{if not $build}}<a href="/docs/references/cli#skaffold-build"><code> build</code></a>{{end}} 43 {{if not $test}}<a href="/docs/references/cli#skaffold-test"><code> test</code></a>{{end}} 44 {{if not $deploy}}<a href="/docs/references/cli#skaffold-deploy"><code> deploy</code></a>{{end}} 45 {{if not $render}}<a href="/docs/references/cli#skaffold-render"><code> render</code></a>{{end}} 46 </td> 47 </tr> 48 {{end}} 49 50 {{ if $examples}} 51 <tr> 52 <td><b>Code Samples</b></td> 53 <td> 54 {{ range $example := $examples }} 55 <a href="{{$example.url}}"><code>{{$example.name}}</code></a> 56 {{ end }} 57 </td> 58 </tr> 59 {{ end }} 60 </table> 61 </div> 62 63 {{end}}