├── .github ├── dependabot.yml └── workflows │ ├── golangci-lint.yml │ ├── jsonnetfmt.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── .golangci.toml ├── .goreleaser.yml ├── CODEOWNERS ├── LICENSE ├── README.md ├── RELEASES.md ├── editor ├── emacs │ └── jsonnet-language-server.el ├── helix │ └── languages.toml └── vim │ ├── README.md │ ├── coc-settings.json │ └── jsonnet-language-server.vim ├── examples ├── dollar-support.jsonnet └── self-support.jsonnet ├── go.mod ├── go.sum ├── main.go ├── nix ├── default.nix ├── flake.lock ├── flake.nix ├── release ├── shell.nix └── snitch.nix ├── pkg ├── ast │ └── processing │ │ ├── find_bind.go │ │ ├── find_field.go │ │ ├── find_param.go │ │ ├── find_position.go │ │ ├── object.go │ │ ├── object_range.go │ │ ├── processor.go │ │ ├── range.go │ │ └── top_level_objects.go ├── cache │ └── cache.go ├── nodestack │ └── nodestack.go ├── position_conversion │ ├── point.go │ └── range.go ├── server │ ├── completion.go │ ├── completion_test.go │ ├── configuration.go │ ├── configuration_test.go │ ├── definition.go │ ├── definition_test.go │ ├── diagnostics.go │ ├── diagnostics_test.go │ ├── execute.go │ ├── formatting.go │ ├── formatting_test.go │ ├── hover.go │ ├── hover_test.go │ ├── references.go │ ├── references_test.go │ ├── server.go │ ├── symbols.go │ ├── symbols_test.go │ ├── testdata │ │ ├── assert-var.jsonnet │ │ ├── basic-object.jsonnet │ │ ├── builder-pattern.jsonnet │ │ ├── comment.jsonnet │ │ ├── computed-field-names.jsonnet │ │ ├── conditional-fields.jsonnet │ │ ├── dollar-no-follow.jsonnet │ │ ├── dollar-simple.jsonnet │ │ ├── doubled-index-bug-1.jsonnet │ │ ├── doubled-index-bug-2.jsonnet │ │ ├── doubled-index-bug-3.jsonnet │ │ ├── doubled-index-bug-4.jsonnet │ │ ├── functions-advanced.libsonnet │ │ ├── functions.libsonnet │ │ ├── grafonnet-eval-variable-options.jsonnet │ │ ├── hover-error.jsonnet │ │ ├── hover-locals.jsonnet │ │ ├── hover-std.jsonnet │ │ ├── import-attribute.jsonnet │ │ ├── import-intermediary.libsonnet │ │ ├── import-nested-main.jsonnet │ │ ├── import-nested-obj.libsonnet │ │ ├── import-nested1.libsonnet │ │ ├── import-nested2.libsonnet │ │ ├── import-nested3.libsonnet │ │ ├── import-no-obj.libsonnet │ │ ├── imported-file.jsonnet │ │ ├── indexes.jsonnet │ │ ├── infinite-recursion-bug-1.jsonnet │ │ ├── infinite-recursion-bug-2.libsonnet │ │ ├── infinite-recursion-bug-3.libsonnet │ │ ├── jsonnetfile.json │ │ ├── jsonnetfile.lock.json │ │ ├── k.libsonnet │ │ ├── local-at-root-2.jsonnet │ │ ├── local-at-root-3.jsonnet │ │ ├── local-at-root-4.jsonnet │ │ ├── local-at-root.jsonnet │ │ ├── local-function.libsonnet │ │ ├── map-comprehension.jsonnet │ │ ├── multilevel-library-main.jsonnet │ │ ├── multilevel-library-sub-1.1.libsonnet │ │ ├── multilevel-library-sub-1.2.libsonnet │ │ ├── multilevel-library-sub-1.libsonnet │ │ ├── multilevel-library-sub-2.libsonnet │ │ ├── multilevel-library-top.libsonnet │ │ ├── nested-import-file-no-inter-obj.jsonnet │ │ ├── nested-imported-file.jsonnet │ │ ├── oo-contrived.jsonnet │ │ ├── overrides-base.jsonnet │ │ ├── overrides-imported.jsonnet │ │ ├── overrides-imported2.jsonnet │ │ ├── overrides.jsonnet │ │ ├── quote_label.jsonnet │ │ ├── root-function-lib.libsonnet │ │ ├── root-function.jsonnet │ │ ├── self-complex-scoping.jsonnet │ │ ├── self-in-local.jsonnet │ │ ├── self-within-binary.jsonnet │ │ ├── std.jsonnet │ │ ├── test_basic_lib.libsonnet │ │ ├── test_combined_object.jsonnet │ │ ├── test_goto_definition.jsonnet │ │ ├── test_goto_definition_multi_locals.jsonnet │ │ ├── test_import_helper.jsonnet │ │ ├── use-ksonnet-util.jsonnet │ │ └── vendor │ │ │ ├── doc-util │ │ │ ├── github.com │ │ │ ├── grafana │ │ │ │ ├── grafonnet │ │ │ │ │ └── gen │ │ │ │ │ │ ├── grafonnet-latest │ │ │ │ │ │ ├── jsonnetfile.json │ │ │ │ │ │ └── main.libsonnet │ │ │ │ │ │ └── grafonnet-v11.4.0 │ │ │ │ │ │ ├── accesspolicy.libsonnet │ │ │ │ │ │ ├── alerting.libsonnet │ │ │ │ │ │ ├── clean │ │ │ │ │ │ └── alerting │ │ │ │ │ │ │ ├── contactPoint.libsonnet │ │ │ │ │ │ │ ├── muteTiming.libsonnet │ │ │ │ │ │ │ ├── notificationPolicy.libsonnet │ │ │ │ │ │ │ ├── notificationTemplate.libsonnet │ │ │ │ │ │ │ └── ruleGroup.libsonnet │ │ │ │ │ │ ├── custom │ │ │ │ │ │ ├── alerting │ │ │ │ │ │ │ ├── contactPoint.libsonnet │ │ │ │ │ │ │ ├── muteTiming.libsonnet │ │ │ │ │ │ │ ├── notificationPolicy.libsonnet │ │ │ │ │ │ │ └── ruleGroup.libsonnet │ │ │ │ │ │ ├── dashboard.libsonnet │ │ │ │ │ │ ├── dashboard │ │ │ │ │ │ │ ├── annotation.libsonnet │ │ │ │ │ │ │ ├── link.libsonnet │ │ │ │ │ │ │ └── variable.libsonnet │ │ │ │ │ │ ├── panel.libsonnet │ │ │ │ │ │ ├── query │ │ │ │ │ │ │ ├── azureMonitor.libsonnet │ │ │ │ │ │ │ ├── cloudWatch.libsonnet │ │ │ │ │ │ │ ├── elasticsearch.libsonnet │ │ │ │ │ │ │ ├── expr.libsonnet │ │ │ │ │ │ │ ├── googleCloudMonitoring.libsonnet │ │ │ │ │ │ │ ├── grafanaPyroscope.libsonnet │ │ │ │ │ │ │ ├── loki.libsonnet │ │ │ │ │ │ │ ├── parca.libsonnet │ │ │ │ │ │ │ ├── prometheus.libsonnet │ │ │ │ │ │ │ ├── tempo.libsonnet │ │ │ │ │ │ │ └── testData.libsonnet │ │ │ │ │ │ ├── row.libsonnet │ │ │ │ │ │ └── util │ │ │ │ │ │ │ ├── dashboard.libsonnet │ │ │ │ │ │ │ ├── grid.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── panel.libsonnet │ │ │ │ │ │ │ └── string.libsonnet │ │ │ │ │ │ ├── dashboard.libsonnet │ │ │ │ │ │ ├── docs │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── accesspolicy │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ └── rules.md │ │ │ │ │ │ ├── alerting │ │ │ │ │ │ │ ├── contactPoint.md │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ ├── muteTiming │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ └── interval │ │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ │ └── time_intervals │ │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ │ └── times.md │ │ │ │ │ │ │ ├── notificationPolicy │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ └── matcher.md │ │ │ │ │ │ │ ├── notificationTemplate.md │ │ │ │ │ │ │ └── ruleGroup │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ └── rule │ │ │ │ │ │ │ │ ├── data.md │ │ │ │ │ │ │ │ └── index.md │ │ │ │ │ │ ├── dashboard │ │ │ │ │ │ │ ├── annotation.md │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ ├── link.md │ │ │ │ │ │ │ └── variable.md │ │ │ │ │ │ ├── folder.md │ │ │ │ │ │ ├── librarypanel │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ └── model │ │ │ │ │ │ │ │ ├── fieldConfig │ │ │ │ │ │ │ │ ├── defaults │ │ │ │ │ │ │ │ │ ├── links.md │ │ │ │ │ │ │ │ │ └── thresholds │ │ │ │ │ │ │ │ │ │ └── steps.md │ │ │ │ │ │ │ │ └── overrides │ │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ │ └── properties.md │ │ │ │ │ │ │ │ ├── links.md │ │ │ │ │ │ │ │ └── transformations.md │ │ │ │ │ │ ├── panel │ │ │ │ │ │ │ ├── alertList │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── annotationsList │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── barChart │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── barGauge │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── candlestick │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── canvas │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── options │ │ │ │ │ │ │ │ │ └── root │ │ │ │ │ │ │ │ │ │ └── elements │ │ │ │ │ │ │ │ │ │ ├── connections │ │ │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ │ │ └── vertices.md │ │ │ │ │ │ │ │ │ │ └── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── dashboardList │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── datagrid │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── debug │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── gauge │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── geomap │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── options │ │ │ │ │ │ │ │ │ └── layers.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── heatmap │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── histogram │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ ├── logs │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── news │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── nodeGraph │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── options │ │ │ │ │ │ │ │ │ └── nodes │ │ │ │ │ │ │ │ │ │ └── arcs.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── pieChart │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── row.md │ │ │ │ │ │ │ ├── stat │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── stateTimeline │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── statusHistory │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── table │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── options │ │ │ │ │ │ │ │ │ └── sortBy.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── text │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── timeSeries │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ ├── trend │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ │ └── xyChart │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── options │ │ │ │ │ │ │ │ └── series.md │ │ │ │ │ │ │ │ ├── panelOptions │ │ │ │ │ │ │ │ └── link.md │ │ │ │ │ │ │ │ ├── queryOptions │ │ │ │ │ │ │ │ └── transformation.md │ │ │ │ │ │ │ │ └── standardOptions │ │ │ │ │ │ │ │ ├── mapping.md │ │ │ │ │ │ │ │ ├── override.md │ │ │ │ │ │ │ │ └── threshold │ │ │ │ │ │ │ │ └── step.md │ │ │ │ │ │ ├── preferences.md │ │ │ │ │ │ ├── publicdashboard.md │ │ │ │ │ │ ├── query │ │ │ │ │ │ │ ├── athena.md │ │ │ │ │ │ │ ├── azureMonitor │ │ │ │ │ │ │ │ ├── azureMonitor │ │ │ │ │ │ │ │ │ ├── dimensionFilters.md │ │ │ │ │ │ │ │ │ └── resources.md │ │ │ │ │ │ │ │ ├── azureTraces │ │ │ │ │ │ │ │ │ └── filters.md │ │ │ │ │ │ │ │ └── index.md │ │ │ │ │ │ │ ├── bigquery │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ └── sql │ │ │ │ │ │ │ │ │ ├── columns │ │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ │ └── parameters.md │ │ │ │ │ │ │ │ │ └── groupBy.md │ │ │ │ │ │ │ ├── cloudWatch │ │ │ │ │ │ │ │ ├── CloudWatchLogsQuery │ │ │ │ │ │ │ │ │ └── logGroups.md │ │ │ │ │ │ │ │ ├── CloudWatchMetricsQuery │ │ │ │ │ │ │ │ │ └── sql │ │ │ │ │ │ │ │ │ │ ├── from │ │ │ │ │ │ │ │ │ │ └── QueryEditorFunctionExpression │ │ │ │ │ │ │ │ │ │ │ └── parameters.md │ │ │ │ │ │ │ │ │ │ ├── orderBy │ │ │ │ │ │ │ │ │ │ └── parameters.md │ │ │ │ │ │ │ │ │ │ └── select │ │ │ │ │ │ │ │ │ │ └── parameters.md │ │ │ │ │ │ │ │ └── index.md │ │ │ │ │ │ │ ├── elasticsearch │ │ │ │ │ │ │ │ ├── bucketAggs │ │ │ │ │ │ │ │ │ ├── Filters │ │ │ │ │ │ │ │ │ │ └── settings │ │ │ │ │ │ │ │ │ │ │ └── filters.md │ │ │ │ │ │ │ │ │ └── index.md │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ └── metrics │ │ │ │ │ │ │ │ │ ├── MetricAggregationWithSettings │ │ │ │ │ │ │ │ │ └── BucketScript │ │ │ │ │ │ │ │ │ │ └── pipelineVariables.md │ │ │ │ │ │ │ │ │ ├── PipelineMetricAggregation │ │ │ │ │ │ │ │ │ └── BucketScript │ │ │ │ │ │ │ │ │ │ └── pipelineVariables.md │ │ │ │ │ │ │ │ │ └── index.md │ │ │ │ │ │ │ ├── expr │ │ │ │ │ │ │ │ ├── TypeClassicConditions │ │ │ │ │ │ │ │ │ ├── conditions.md │ │ │ │ │ │ │ │ │ └── index.md │ │ │ │ │ │ │ │ ├── TypeMath.md │ │ │ │ │ │ │ │ ├── TypeReduce.md │ │ │ │ │ │ │ │ ├── TypeResample.md │ │ │ │ │ │ │ │ ├── TypeSql.md │ │ │ │ │ │ │ │ ├── TypeThreshold │ │ │ │ │ │ │ │ │ ├── conditions.md │ │ │ │ │ │ │ │ │ └── index.md │ │ │ │ │ │ │ │ └── index.md │ │ │ │ │ │ │ ├── googleCloudMonitoring.md │ │ │ │ │ │ │ ├── grafanaPyroscope.md │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ ├── loki.md │ │ │ │ │ │ │ ├── parca.md │ │ │ │ │ │ │ ├── prometheus.md │ │ │ │ │ │ │ ├── tempo │ │ │ │ │ │ │ │ ├── filters.md │ │ │ │ │ │ │ │ ├── groupBy.md │ │ │ │ │ │ │ │ └── index.md │ │ │ │ │ │ │ └── testData │ │ │ │ │ │ │ │ ├── csvWave.md │ │ │ │ │ │ │ │ └── index.md │ │ │ │ │ │ ├── role.md │ │ │ │ │ │ ├── rolebinding.md │ │ │ │ │ │ ├── team.md │ │ │ │ │ │ └── util.md │ │ │ │ │ │ ├── folder.libsonnet │ │ │ │ │ │ ├── jsonnetfile.json │ │ │ │ │ │ ├── librarypanel.libsonnet │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ ├── panel.libsonnet │ │ │ │ │ │ ├── panel │ │ │ │ │ │ ├── alertList.libsonnet │ │ │ │ │ │ ├── annotationsList.libsonnet │ │ │ │ │ │ ├── barChart.libsonnet │ │ │ │ │ │ ├── barGauge.libsonnet │ │ │ │ │ │ ├── candlestick.libsonnet │ │ │ │ │ │ ├── canvas.libsonnet │ │ │ │ │ │ ├── dashboardList.libsonnet │ │ │ │ │ │ ├── datagrid.libsonnet │ │ │ │ │ │ ├── debug.libsonnet │ │ │ │ │ │ ├── gauge.libsonnet │ │ │ │ │ │ ├── geomap.libsonnet │ │ │ │ │ │ ├── heatmap.libsonnet │ │ │ │ │ │ ├── histogram.libsonnet │ │ │ │ │ │ ├── logs.libsonnet │ │ │ │ │ │ ├── news.libsonnet │ │ │ │ │ │ ├── nodeGraph.libsonnet │ │ │ │ │ │ ├── pieChart.libsonnet │ │ │ │ │ │ ├── row.libsonnet │ │ │ │ │ │ ├── stat.libsonnet │ │ │ │ │ │ ├── stateTimeline.libsonnet │ │ │ │ │ │ ├── statusHistory.libsonnet │ │ │ │ │ │ ├── table.libsonnet │ │ │ │ │ │ ├── text.libsonnet │ │ │ │ │ │ ├── timeSeries.libsonnet │ │ │ │ │ │ ├── trend.libsonnet │ │ │ │ │ │ └── xyChart.libsonnet │ │ │ │ │ │ ├── panelindex.libsonnet │ │ │ │ │ │ ├── preferences.libsonnet │ │ │ │ │ │ ├── publicdashboard.libsonnet │ │ │ │ │ │ ├── query.libsonnet │ │ │ │ │ │ ├── query │ │ │ │ │ │ ├── athena.libsonnet │ │ │ │ │ │ ├── azureMonitor.libsonnet │ │ │ │ │ │ ├── bigquery.libsonnet │ │ │ │ │ │ ├── cloudWatch.libsonnet │ │ │ │ │ │ ├── elasticsearch.libsonnet │ │ │ │ │ │ ├── expr.libsonnet │ │ │ │ │ │ ├── googleCloudMonitoring.libsonnet │ │ │ │ │ │ ├── grafanaPyroscope.libsonnet │ │ │ │ │ │ ├── loki.libsonnet │ │ │ │ │ │ ├── parca.libsonnet │ │ │ │ │ │ ├── prometheus.libsonnet │ │ │ │ │ │ ├── tempo.libsonnet │ │ │ │ │ │ └── testData.libsonnet │ │ │ │ │ │ ├── role.libsonnet │ │ │ │ │ │ ├── rolebinding.libsonnet │ │ │ │ │ │ └── team.libsonnet │ │ │ │ └── jsonnet-libs │ │ │ │ │ └── ksonnet-util │ │ │ │ │ ├── grafana.libsonnet │ │ │ │ │ ├── k-compat.libsonnet │ │ │ │ │ ├── kausal.libsonnet │ │ │ │ │ ├── legacy-custom.libsonnet │ │ │ │ │ ├── legacy-noname.libsonnet │ │ │ │ │ ├── legacy-subtypes.libsonnet │ │ │ │ │ ├── legacy-types.libsonnet │ │ │ │ │ └── util.libsonnet │ │ │ └── jsonnet-libs │ │ │ │ ├── docsonnet │ │ │ │ └── doc-util │ │ │ │ │ ├── README.md │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ └── render.libsonnet │ │ │ │ ├── k8s-libsonnet │ │ │ │ └── 1.30 │ │ │ │ │ ├── _custom │ │ │ │ │ ├── apps.libsonnet │ │ │ │ │ ├── autoscaling.libsonnet │ │ │ │ │ ├── batch.libsonnet │ │ │ │ │ ├── core.libsonnet │ │ │ │ │ ├── list.libsonnet │ │ │ │ │ ├── mapContainers.libsonnet │ │ │ │ │ ├── rbac.libsonnet │ │ │ │ │ └── volumeMounts.libsonnet │ │ │ │ │ ├── _gen │ │ │ │ │ ├── admissionregistration │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── auditAnnotation.libsonnet │ │ │ │ │ │ │ ├── expressionWarning.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── matchCondition.libsonnet │ │ │ │ │ │ │ ├── matchResources.libsonnet │ │ │ │ │ │ │ ├── mutatingWebhook.libsonnet │ │ │ │ │ │ │ ├── mutatingWebhookConfiguration.libsonnet │ │ │ │ │ │ │ ├── namedRuleWithOperations.libsonnet │ │ │ │ │ │ │ ├── paramKind.libsonnet │ │ │ │ │ │ │ ├── paramRef.libsonnet │ │ │ │ │ │ │ ├── ruleWithOperations.libsonnet │ │ │ │ │ │ │ ├── serviceReference.libsonnet │ │ │ │ │ │ │ ├── typeChecking.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicy.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicyBinding.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicyBindingSpec.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicySpec.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicyStatus.libsonnet │ │ │ │ │ │ │ ├── validatingWebhook.libsonnet │ │ │ │ │ │ │ ├── validatingWebhookConfiguration.libsonnet │ │ │ │ │ │ │ ├── validation.libsonnet │ │ │ │ │ │ │ ├── variable.libsonnet │ │ │ │ │ │ │ └── webhookClientConfig.libsonnet │ │ │ │ │ │ ├── v1alpha1 │ │ │ │ │ │ │ ├── auditAnnotation.libsonnet │ │ │ │ │ │ │ ├── expressionWarning.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── matchCondition.libsonnet │ │ │ │ │ │ │ ├── matchResources.libsonnet │ │ │ │ │ │ │ ├── namedRuleWithOperations.libsonnet │ │ │ │ │ │ │ ├── paramKind.libsonnet │ │ │ │ │ │ │ ├── paramRef.libsonnet │ │ │ │ │ │ │ ├── typeChecking.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicy.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicyBinding.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicyBindingSpec.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicySpec.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicyStatus.libsonnet │ │ │ │ │ │ │ ├── validation.libsonnet │ │ │ │ │ │ │ └── variable.libsonnet │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ ├── auditAnnotation.libsonnet │ │ │ │ │ │ │ ├── expressionWarning.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── matchCondition.libsonnet │ │ │ │ │ │ │ ├── matchResources.libsonnet │ │ │ │ │ │ │ ├── namedRuleWithOperations.libsonnet │ │ │ │ │ │ │ ├── paramKind.libsonnet │ │ │ │ │ │ │ ├── paramRef.libsonnet │ │ │ │ │ │ │ ├── typeChecking.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicy.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicyBinding.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicyBindingSpec.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicySpec.libsonnet │ │ │ │ │ │ │ ├── validatingAdmissionPolicyStatus.libsonnet │ │ │ │ │ │ │ ├── validation.libsonnet │ │ │ │ │ │ │ └── variable.libsonnet │ │ │ │ │ ├── apiregistration │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── apiService.libsonnet │ │ │ │ │ │ │ ├── apiServiceCondition.libsonnet │ │ │ │ │ │ │ ├── apiServiceSpec.libsonnet │ │ │ │ │ │ │ ├── apiServiceStatus.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ └── serviceReference.libsonnet │ │ │ │ │ ├── apiserverinternal │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── serverStorageVersion.libsonnet │ │ │ │ │ │ │ ├── storageVersion.libsonnet │ │ │ │ │ │ │ ├── storageVersionCondition.libsonnet │ │ │ │ │ │ │ ├── storageVersionSpec.libsonnet │ │ │ │ │ │ │ └── storageVersionStatus.libsonnet │ │ │ │ │ ├── apps │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── controllerRevision.libsonnet │ │ │ │ │ │ │ ├── daemonSet.libsonnet │ │ │ │ │ │ │ ├── daemonSetCondition.libsonnet │ │ │ │ │ │ │ ├── daemonSetSpec.libsonnet │ │ │ │ │ │ │ ├── daemonSetStatus.libsonnet │ │ │ │ │ │ │ ├── daemonSetUpdateStrategy.libsonnet │ │ │ │ │ │ │ ├── deployment.libsonnet │ │ │ │ │ │ │ ├── deploymentCondition.libsonnet │ │ │ │ │ │ │ ├── deploymentSpec.libsonnet │ │ │ │ │ │ │ ├── deploymentStatus.libsonnet │ │ │ │ │ │ │ ├── deploymentStrategy.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── replicaSet.libsonnet │ │ │ │ │ │ │ ├── replicaSetCondition.libsonnet │ │ │ │ │ │ │ ├── replicaSetSpec.libsonnet │ │ │ │ │ │ │ ├── replicaSetStatus.libsonnet │ │ │ │ │ │ │ ├── rollingUpdateDaemonSet.libsonnet │ │ │ │ │ │ │ ├── rollingUpdateDeployment.libsonnet │ │ │ │ │ │ │ ├── rollingUpdateStatefulSetStrategy.libsonnet │ │ │ │ │ │ │ ├── statefulSet.libsonnet │ │ │ │ │ │ │ ├── statefulSetCondition.libsonnet │ │ │ │ │ │ │ ├── statefulSetOrdinals.libsonnet │ │ │ │ │ │ │ ├── statefulSetPersistentVolumeClaimRetentionPolicy.libsonnet │ │ │ │ │ │ │ ├── statefulSetSpec.libsonnet │ │ │ │ │ │ │ ├── statefulSetStatus.libsonnet │ │ │ │ │ │ │ └── statefulSetUpdateStrategy.libsonnet │ │ │ │ │ ├── authentication │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── boundObjectReference.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── selfSubjectReview.libsonnet │ │ │ │ │ │ │ ├── selfSubjectReviewStatus.libsonnet │ │ │ │ │ │ │ ├── tokenRequest.libsonnet │ │ │ │ │ │ │ ├── tokenRequestSpec.libsonnet │ │ │ │ │ │ │ ├── tokenRequestStatus.libsonnet │ │ │ │ │ │ │ ├── tokenReview.libsonnet │ │ │ │ │ │ │ ├── tokenReviewSpec.libsonnet │ │ │ │ │ │ │ ├── tokenReviewStatus.libsonnet │ │ │ │ │ │ │ └── userInfo.libsonnet │ │ │ │ │ │ ├── v1alpha1 │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── selfSubjectReview.libsonnet │ │ │ │ │ │ │ └── selfSubjectReviewStatus.libsonnet │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── selfSubjectReview.libsonnet │ │ │ │ │ │ │ └── selfSubjectReviewStatus.libsonnet │ │ │ │ │ ├── authorization │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── localSubjectAccessReview.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── nonResourceAttributes.libsonnet │ │ │ │ │ │ │ ├── nonResourceRule.libsonnet │ │ │ │ │ │ │ ├── resourceAttributes.libsonnet │ │ │ │ │ │ │ ├── resourceRule.libsonnet │ │ │ │ │ │ │ ├── selfSubjectAccessReview.libsonnet │ │ │ │ │ │ │ ├── selfSubjectAccessReviewSpec.libsonnet │ │ │ │ │ │ │ ├── selfSubjectRulesReview.libsonnet │ │ │ │ │ │ │ ├── selfSubjectRulesReviewSpec.libsonnet │ │ │ │ │ │ │ ├── subjectAccessReview.libsonnet │ │ │ │ │ │ │ ├── subjectAccessReviewSpec.libsonnet │ │ │ │ │ │ │ ├── subjectAccessReviewStatus.libsonnet │ │ │ │ │ │ │ └── subjectRulesReviewStatus.libsonnet │ │ │ │ │ ├── autoscaling │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── crossVersionObjectReference.libsonnet │ │ │ │ │ │ │ ├── horizontalPodAutoscaler.libsonnet │ │ │ │ │ │ │ ├── horizontalPodAutoscalerSpec.libsonnet │ │ │ │ │ │ │ ├── horizontalPodAutoscalerStatus.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── scale.libsonnet │ │ │ │ │ │ │ ├── scaleSpec.libsonnet │ │ │ │ │ │ │ └── scaleStatus.libsonnet │ │ │ │ │ │ └── v2 │ │ │ │ │ │ │ ├── containerResourceMetricSource.libsonnet │ │ │ │ │ │ │ ├── containerResourceMetricStatus.libsonnet │ │ │ │ │ │ │ ├── crossVersionObjectReference.libsonnet │ │ │ │ │ │ │ ├── externalMetricSource.libsonnet │ │ │ │ │ │ │ ├── externalMetricStatus.libsonnet │ │ │ │ │ │ │ ├── horizontalPodAutoscaler.libsonnet │ │ │ │ │ │ │ ├── horizontalPodAutoscalerBehavior.libsonnet │ │ │ │ │ │ │ ├── horizontalPodAutoscalerCondition.libsonnet │ │ │ │ │ │ │ ├── horizontalPodAutoscalerSpec.libsonnet │ │ │ │ │ │ │ ├── horizontalPodAutoscalerStatus.libsonnet │ │ │ │ │ │ │ ├── hpaScalingPolicy.libsonnet │ │ │ │ │ │ │ ├── hpaScalingRules.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── metricIdentifier.libsonnet │ │ │ │ │ │ │ ├── metricSpec.libsonnet │ │ │ │ │ │ │ ├── metricStatus.libsonnet │ │ │ │ │ │ │ ├── metricTarget.libsonnet │ │ │ │ │ │ │ ├── metricValueStatus.libsonnet │ │ │ │ │ │ │ ├── objectMetricSource.libsonnet │ │ │ │ │ │ │ ├── objectMetricStatus.libsonnet │ │ │ │ │ │ │ ├── podsMetricSource.libsonnet │ │ │ │ │ │ │ ├── podsMetricStatus.libsonnet │ │ │ │ │ │ │ ├── resourceMetricSource.libsonnet │ │ │ │ │ │ │ └── resourceMetricStatus.libsonnet │ │ │ │ │ ├── batch │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── cronJob.libsonnet │ │ │ │ │ │ │ ├── cronJobSpec.libsonnet │ │ │ │ │ │ │ ├── cronJobStatus.libsonnet │ │ │ │ │ │ │ ├── job.libsonnet │ │ │ │ │ │ │ ├── jobCondition.libsonnet │ │ │ │ │ │ │ ├── jobSpec.libsonnet │ │ │ │ │ │ │ ├── jobStatus.libsonnet │ │ │ │ │ │ │ ├── jobTemplateSpec.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── podFailurePolicy.libsonnet │ │ │ │ │ │ │ ├── podFailurePolicyOnExitCodesRequirement.libsonnet │ │ │ │ │ │ │ ├── podFailurePolicyOnPodConditionsPattern.libsonnet │ │ │ │ │ │ │ ├── podFailurePolicyRule.libsonnet │ │ │ │ │ │ │ ├── successPolicy.libsonnet │ │ │ │ │ │ │ ├── successPolicyRule.libsonnet │ │ │ │ │ │ │ └── uncountedTerminatedPods.libsonnet │ │ │ │ │ ├── certificates │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── certificateSigningRequest.libsonnet │ │ │ │ │ │ │ ├── certificateSigningRequestCondition.libsonnet │ │ │ │ │ │ │ ├── certificateSigningRequestSpec.libsonnet │ │ │ │ │ │ │ ├── certificateSigningRequestStatus.libsonnet │ │ │ │ │ │ │ └── main.libsonnet │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ │ ├── clusterTrustBundle.libsonnet │ │ │ │ │ │ │ ├── clusterTrustBundleSpec.libsonnet │ │ │ │ │ │ │ └── main.libsonnet │ │ │ │ │ ├── coordination │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── lease.libsonnet │ │ │ │ │ │ │ ├── leaseSpec.libsonnet │ │ │ │ │ │ │ └── main.libsonnet │ │ │ │ │ ├── core │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── affinity.libsonnet │ │ │ │ │ │ │ ├── appArmorProfile.libsonnet │ │ │ │ │ │ │ ├── attachedVolume.libsonnet │ │ │ │ │ │ │ ├── awsElasticBlockStoreVolumeSource.libsonnet │ │ │ │ │ │ │ ├── azureDiskVolumeSource.libsonnet │ │ │ │ │ │ │ ├── azureFilePersistentVolumeSource.libsonnet │ │ │ │ │ │ │ ├── azureFileVolumeSource.libsonnet │ │ │ │ │ │ │ ├── binding.libsonnet │ │ │ │ │ │ │ ├── capabilities.libsonnet │ │ │ │ │ │ │ ├── cephFSPersistentVolumeSource.libsonnet │ │ │ │ │ │ │ ├── cephFSVolumeSource.libsonnet │ │ │ │ │ │ │ ├── cinderPersistentVolumeSource.libsonnet │ │ │ │ │ │ │ ├── cinderVolumeSource.libsonnet │ │ │ │ │ │ │ ├── claimSource.libsonnet │ │ │ │ │ │ │ ├── clientIPConfig.libsonnet │ │ │ │ │ │ │ ├── clusterTrustBundleProjection.libsonnet │ │ │ │ │ │ │ ├── componentCondition.libsonnet │ │ │ │ │ │ │ ├── componentStatus.libsonnet │ │ │ │ │ │ │ ├── configMap.libsonnet │ │ │ │ │ │ │ ├── configMapEnvSource.libsonnet │ │ │ │ │ │ │ ├── configMapKeySelector.libsonnet │ │ │ │ │ │ │ ├── configMapNodeConfigSource.libsonnet │ │ │ │ │ │ │ ├── configMapProjection.libsonnet │ │ │ │ │ │ │ ├── configMapVolumeSource.libsonnet │ │ │ │ │ │ │ ├── container.libsonnet │ │ │ │ │ │ │ ├── containerImage.libsonnet │ │ │ │ │ │ │ ├── containerPort.libsonnet │ │ │ │ │ │ │ ├── containerResizePolicy.libsonnet │ │ │ │ │ │ │ ├── containerState.libsonnet │ │ │ │ │ │ │ ├── containerStateRunning.libsonnet │ │ │ │ │ │ │ ├── containerStateTerminated.libsonnet │ │ │ │ │ │ │ ├── containerStateWaiting.libsonnet │ │ │ │ │ │ │ ├── containerStatus.libsonnet │ │ │ │ │ │ │ ├── csiPersistentVolumeSource.libsonnet │ │ │ │ │ │ │ ├── csiVolumeSource.libsonnet │ │ │ │ │ │ │ ├── daemonEndpoint.libsonnet │ │ │ │ │ │ │ ├── downwardAPIProjection.libsonnet │ │ │ │ │ │ │ ├── downwardAPIVolumeFile.libsonnet │ │ │ │ │ │ │ ├── downwardAPIVolumeSource.libsonnet │ │ │ │ │ │ │ ├── emptyDirVolumeSource.libsonnet │ │ │ │ │ │ │ ├── endpointAddress.libsonnet │ │ │ │ │ │ │ ├── endpointPort.libsonnet │ │ │ │ │ │ │ ├── endpointSubset.libsonnet │ │ │ │ │ │ │ ├── endpoints.libsonnet │ │ │ │ │ │ │ ├── envFromSource.libsonnet │ │ │ │ │ │ │ ├── envVar.libsonnet │ │ │ │ │ │ │ ├── envVarSource.libsonnet │ │ │ │ │ │ │ ├── ephemeralContainer.libsonnet │ │ │ │ │ │ │ ├── ephemeralVolumeSource.libsonnet │ │ │ │ │ │ │ ├── event.libsonnet │ │ │ │ │ │ │ ├── eventSeries.libsonnet │ │ │ │ │ │ │ ├── eventSource.libsonnet │ │ │ │ │ │ │ ├── execAction.libsonnet │ │ │ │ │ │ │ ├── fcVolumeSource.libsonnet │ │ │ │ │ │ │ ├── flexPersistentVolumeSource.libsonnet │ │ │ │ │ │ │ ├── flexVolumeSource.libsonnet │ │ │ │ │ │ │ ├── flockerVolumeSource.libsonnet │ │ │ │ │ │ │ ├── gcePersistentDiskVolumeSource.libsonnet │ │ │ │ │ │ │ ├── gitRepoVolumeSource.libsonnet │ │ │ │ │ │ │ ├── glusterfsPersistentVolumeSource.libsonnet │ │ │ │ │ │ │ ├── glusterfsVolumeSource.libsonnet │ │ │ │ │ │ │ ├── grpcAction.libsonnet │ │ │ │ │ │ │ ├── hostAlias.libsonnet │ │ │ │ │ │ │ ├── hostIP.libsonnet │ │ │ │ │ │ │ ├── hostPathVolumeSource.libsonnet │ │ │ │ │ │ │ ├── httpGetAction.libsonnet │ │ │ │ │ │ │ ├── httpHeader.libsonnet │ │ │ │ │ │ │ ├── iscsiPersistentVolumeSource.libsonnet │ │ │ │ │ │ │ ├── iscsiVolumeSource.libsonnet │ │ │ │ │ │ │ ├── keyToPath.libsonnet │ │ │ │ │ │ │ ├── lifecycle.libsonnet │ │ │ │ │ │ │ ├── lifecycleHandler.libsonnet │ │ │ │ │ │ │ ├── limitRange.libsonnet │ │ │ │ │ │ │ ├── limitRangeItem.libsonnet │ │ │ │ │ │ │ ├── limitRangeSpec.libsonnet │ │ │ │ │ │ │ ├── loadBalancerIngress.libsonnet │ │ │ │ │ │ │ ├── loadBalancerStatus.libsonnet │ │ │ │ │ │ │ ├── localObjectReference.libsonnet │ │ │ │ │ │ │ ├── localVolumeSource.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── modifyVolumeStatus.libsonnet │ │ │ │ │ │ │ ├── namespace.libsonnet │ │ │ │ │ │ │ ├── namespaceCondition.libsonnet │ │ │ │ │ │ │ ├── namespaceSpec.libsonnet │ │ │ │ │ │ │ ├── namespaceStatus.libsonnet │ │ │ │ │ │ │ ├── nfsVolumeSource.libsonnet │ │ │ │ │ │ │ ├── node.libsonnet │ │ │ │ │ │ │ ├── nodeAddress.libsonnet │ │ │ │ │ │ │ ├── nodeAffinity.libsonnet │ │ │ │ │ │ │ ├── nodeCondition.libsonnet │ │ │ │ │ │ │ ├── nodeConfigSource.libsonnet │ │ │ │ │ │ │ ├── nodeConfigStatus.libsonnet │ │ │ │ │ │ │ ├── nodeDaemonEndpoints.libsonnet │ │ │ │ │ │ │ ├── nodeRuntimeHandler.libsonnet │ │ │ │ │ │ │ ├── nodeRuntimeHandlerFeatures.libsonnet │ │ │ │ │ │ │ ├── nodeSelector.libsonnet │ │ │ │ │ │ │ ├── nodeSelectorRequirement.libsonnet │ │ │ │ │ │ │ ├── nodeSelectorTerm.libsonnet │ │ │ │ │ │ │ ├── nodeSpec.libsonnet │ │ │ │ │ │ │ ├── nodeStatus.libsonnet │ │ │ │ │ │ │ ├── nodeSystemInfo.libsonnet │ │ │ │ │ │ │ ├── objectFieldSelector.libsonnet │ │ │ │ │ │ │ ├── objectReference.libsonnet │ │ │ │ │ │ │ ├── persistentVolume.libsonnet │ │ │ │ │ │ │ ├── persistentVolumeClaim.libsonnet │ │ │ │ │ │ │ ├── persistentVolumeClaimCondition.libsonnet │ │ │ │ │ │ │ ├── persistentVolumeClaimSpec.libsonnet │ │ │ │ │ │ │ ├── persistentVolumeClaimStatus.libsonnet │ │ │ │ │ │ │ ├── persistentVolumeClaimTemplate.libsonnet │ │ │ │ │ │ │ ├── persistentVolumeClaimVolumeSource.libsonnet │ │ │ │ │ │ │ ├── persistentVolumeSpec.libsonnet │ │ │ │ │ │ │ ├── persistentVolumeStatus.libsonnet │ │ │ │ │ │ │ ├── photonPersistentDiskVolumeSource.libsonnet │ │ │ │ │ │ │ ├── pod.libsonnet │ │ │ │ │ │ │ ├── podAffinity.libsonnet │ │ │ │ │ │ │ ├── podAffinityTerm.libsonnet │ │ │ │ │ │ │ ├── podAntiAffinity.libsonnet │ │ │ │ │ │ │ ├── podCondition.libsonnet │ │ │ │ │ │ │ ├── podDNSConfig.libsonnet │ │ │ │ │ │ │ ├── podDNSConfigOption.libsonnet │ │ │ │ │ │ │ ├── podIP.libsonnet │ │ │ │ │ │ │ ├── podOS.libsonnet │ │ │ │ │ │ │ ├── podReadinessGate.libsonnet │ │ │ │ │ │ │ ├── podResourceClaim.libsonnet │ │ │ │ │ │ │ ├── podResourceClaimStatus.libsonnet │ │ │ │ │ │ │ ├── podSchedulingGate.libsonnet │ │ │ │ │ │ │ ├── podSecurityContext.libsonnet │ │ │ │ │ │ │ ├── podSpec.libsonnet │ │ │ │ │ │ │ ├── podStatus.libsonnet │ │ │ │ │ │ │ ├── podTemplate.libsonnet │ │ │ │ │ │ │ ├── podTemplateSpec.libsonnet │ │ │ │ │ │ │ ├── portStatus.libsonnet │ │ │ │ │ │ │ ├── portworxVolumeSource.libsonnet │ │ │ │ │ │ │ ├── preferredSchedulingTerm.libsonnet │ │ │ │ │ │ │ ├── probe.libsonnet │ │ │ │ │ │ │ ├── projectedVolumeSource.libsonnet │ │ │ │ │ │ │ ├── quobyteVolumeSource.libsonnet │ │ │ │ │ │ │ ├── rbdPersistentVolumeSource.libsonnet │ │ │ │ │ │ │ ├── rbdVolumeSource.libsonnet │ │ │ │ │ │ │ ├── replicationController.libsonnet │ │ │ │ │ │ │ ├── replicationControllerCondition.libsonnet │ │ │ │ │ │ │ ├── replicationControllerSpec.libsonnet │ │ │ │ │ │ │ ├── replicationControllerStatus.libsonnet │ │ │ │ │ │ │ ├── resourceClaim.libsonnet │ │ │ │ │ │ │ ├── resourceFieldSelector.libsonnet │ │ │ │ │ │ │ ├── resourceQuota.libsonnet │ │ │ │ │ │ │ ├── resourceQuotaSpec.libsonnet │ │ │ │ │ │ │ ├── resourceQuotaStatus.libsonnet │ │ │ │ │ │ │ ├── resourceRequirements.libsonnet │ │ │ │ │ │ │ ├── scaleIOPersistentVolumeSource.libsonnet │ │ │ │ │ │ │ ├── scaleIOVolumeSource.libsonnet │ │ │ │ │ │ │ ├── scopeSelector.libsonnet │ │ │ │ │ │ │ ├── scopedResourceSelectorRequirement.libsonnet │ │ │ │ │ │ │ ├── seLinuxOptions.libsonnet │ │ │ │ │ │ │ ├── seccompProfile.libsonnet │ │ │ │ │ │ │ ├── secret.libsonnet │ │ │ │ │ │ │ ├── secretEnvSource.libsonnet │ │ │ │ │ │ │ ├── secretKeySelector.libsonnet │ │ │ │ │ │ │ ├── secretProjection.libsonnet │ │ │ │ │ │ │ ├── secretReference.libsonnet │ │ │ │ │ │ │ ├── secretVolumeSource.libsonnet │ │ │ │ │ │ │ ├── securityContext.libsonnet │ │ │ │ │ │ │ ├── service.libsonnet │ │ │ │ │ │ │ ├── serviceAccount.libsonnet │ │ │ │ │ │ │ ├── serviceAccountTokenProjection.libsonnet │ │ │ │ │ │ │ ├── servicePort.libsonnet │ │ │ │ │ │ │ ├── serviceSpec.libsonnet │ │ │ │ │ │ │ ├── serviceStatus.libsonnet │ │ │ │ │ │ │ ├── sessionAffinityConfig.libsonnet │ │ │ │ │ │ │ ├── sleepAction.libsonnet │ │ │ │ │ │ │ ├── storageOSPersistentVolumeSource.libsonnet │ │ │ │ │ │ │ ├── storageOSVolumeSource.libsonnet │ │ │ │ │ │ │ ├── sysctl.libsonnet │ │ │ │ │ │ │ ├── taint.libsonnet │ │ │ │ │ │ │ ├── tcpSocketAction.libsonnet │ │ │ │ │ │ │ ├── toleration.libsonnet │ │ │ │ │ │ │ ├── topologySelectorLabelRequirement.libsonnet │ │ │ │ │ │ │ ├── topologySelectorTerm.libsonnet │ │ │ │ │ │ │ ├── topologySpreadConstraint.libsonnet │ │ │ │ │ │ │ ├── typedLocalObjectReference.libsonnet │ │ │ │ │ │ │ ├── typedObjectReference.libsonnet │ │ │ │ │ │ │ ├── volume.libsonnet │ │ │ │ │ │ │ ├── volumeDevice.libsonnet │ │ │ │ │ │ │ ├── volumeMount.libsonnet │ │ │ │ │ │ │ ├── volumeMountStatus.libsonnet │ │ │ │ │ │ │ ├── volumeNodeAffinity.libsonnet │ │ │ │ │ │ │ ├── volumeProjection.libsonnet │ │ │ │ │ │ │ ├── volumeResourceRequirements.libsonnet │ │ │ │ │ │ │ ├── vsphereVirtualDiskVolumeSource.libsonnet │ │ │ │ │ │ │ ├── weightedPodAffinityTerm.libsonnet │ │ │ │ │ │ │ └── windowsSecurityContextOptions.libsonnet │ │ │ │ │ ├── discovery │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── endpoint.libsonnet │ │ │ │ │ │ │ ├── endpointConditions.libsonnet │ │ │ │ │ │ │ ├── endpointHints.libsonnet │ │ │ │ │ │ │ ├── endpointPort.libsonnet │ │ │ │ │ │ │ ├── endpointSlice.libsonnet │ │ │ │ │ │ │ ├── forZone.libsonnet │ │ │ │ │ │ │ └── main.libsonnet │ │ │ │ │ ├── events │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── event.libsonnet │ │ │ │ │ │ │ ├── eventSeries.libsonnet │ │ │ │ │ │ │ └── main.libsonnet │ │ │ │ │ ├── flowcontrol │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── exemptPriorityLevelConfiguration.libsonnet │ │ │ │ │ │ │ ├── flowDistinguisherMethod.libsonnet │ │ │ │ │ │ │ ├── flowSchema.libsonnet │ │ │ │ │ │ │ ├── flowSchemaCondition.libsonnet │ │ │ │ │ │ │ ├── flowSchemaSpec.libsonnet │ │ │ │ │ │ │ ├── flowSchemaStatus.libsonnet │ │ │ │ │ │ │ ├── groupSubject.libsonnet │ │ │ │ │ │ │ ├── limitResponse.libsonnet │ │ │ │ │ │ │ ├── limitedPriorityLevelConfiguration.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── nonResourcePolicyRule.libsonnet │ │ │ │ │ │ │ ├── policyRulesWithSubjects.libsonnet │ │ │ │ │ │ │ ├── priorityLevelConfiguration.libsonnet │ │ │ │ │ │ │ ├── priorityLevelConfigurationCondition.libsonnet │ │ │ │ │ │ │ ├── priorityLevelConfigurationReference.libsonnet │ │ │ │ │ │ │ ├── priorityLevelConfigurationSpec.libsonnet │ │ │ │ │ │ │ ├── priorityLevelConfigurationStatus.libsonnet │ │ │ │ │ │ │ ├── queuingConfiguration.libsonnet │ │ │ │ │ │ │ ├── resourcePolicyRule.libsonnet │ │ │ │ │ │ │ ├── serviceAccountSubject.libsonnet │ │ │ │ │ │ │ ├── subject.libsonnet │ │ │ │ │ │ │ └── userSubject.libsonnet │ │ │ │ │ │ └── v1beta3 │ │ │ │ │ │ │ ├── exemptPriorityLevelConfiguration.libsonnet │ │ │ │ │ │ │ ├── flowDistinguisherMethod.libsonnet │ │ │ │ │ │ │ ├── flowSchema.libsonnet │ │ │ │ │ │ │ ├── flowSchemaCondition.libsonnet │ │ │ │ │ │ │ ├── flowSchemaSpec.libsonnet │ │ │ │ │ │ │ ├── flowSchemaStatus.libsonnet │ │ │ │ │ │ │ ├── groupSubject.libsonnet │ │ │ │ │ │ │ ├── limitResponse.libsonnet │ │ │ │ │ │ │ ├── limitedPriorityLevelConfiguration.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── nonResourcePolicyRule.libsonnet │ │ │ │ │ │ │ ├── policyRulesWithSubjects.libsonnet │ │ │ │ │ │ │ ├── priorityLevelConfiguration.libsonnet │ │ │ │ │ │ │ ├── priorityLevelConfigurationCondition.libsonnet │ │ │ │ │ │ │ ├── priorityLevelConfigurationReference.libsonnet │ │ │ │ │ │ │ ├── priorityLevelConfigurationSpec.libsonnet │ │ │ │ │ │ │ ├── priorityLevelConfigurationStatus.libsonnet │ │ │ │ │ │ │ ├── queuingConfiguration.libsonnet │ │ │ │ │ │ │ ├── resourcePolicyRule.libsonnet │ │ │ │ │ │ │ ├── serviceAccountSubject.libsonnet │ │ │ │ │ │ │ ├── subject.libsonnet │ │ │ │ │ │ │ └── userSubject.libsonnet │ │ │ │ │ ├── meta │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── apiGroup.libsonnet │ │ │ │ │ │ │ ├── apiGroupList.libsonnet │ │ │ │ │ │ │ ├── apiResource.libsonnet │ │ │ │ │ │ │ ├── apiResourceList.libsonnet │ │ │ │ │ │ │ ├── apiVersions.libsonnet │ │ │ │ │ │ │ ├── condition.libsonnet │ │ │ │ │ │ │ ├── deleteOptions.libsonnet │ │ │ │ │ │ │ ├── fieldsV1.libsonnet │ │ │ │ │ │ │ ├── groupVersionForDiscovery.libsonnet │ │ │ │ │ │ │ ├── labelSelector.libsonnet │ │ │ │ │ │ │ ├── labelSelectorRequirement.libsonnet │ │ │ │ │ │ │ ├── listMeta.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── managedFieldsEntry.libsonnet │ │ │ │ │ │ │ ├── microTime.libsonnet │ │ │ │ │ │ │ ├── objectMeta.libsonnet │ │ │ │ │ │ │ ├── ownerReference.libsonnet │ │ │ │ │ │ │ ├── patch.libsonnet │ │ │ │ │ │ │ ├── preconditions.libsonnet │ │ │ │ │ │ │ ├── serverAddressByClientCIDR.libsonnet │ │ │ │ │ │ │ ├── statusCause.libsonnet │ │ │ │ │ │ │ ├── statusDetails.libsonnet │ │ │ │ │ │ │ ├── time.libsonnet │ │ │ │ │ │ │ └── watchEvent.libsonnet │ │ │ │ │ ├── networking │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── httpIngressPath.libsonnet │ │ │ │ │ │ │ ├── httpIngressRuleValue.libsonnet │ │ │ │ │ │ │ ├── ingress.libsonnet │ │ │ │ │ │ │ ├── ingressBackend.libsonnet │ │ │ │ │ │ │ ├── ingressClass.libsonnet │ │ │ │ │ │ │ ├── ingressClassParametersReference.libsonnet │ │ │ │ │ │ │ ├── ingressClassSpec.libsonnet │ │ │ │ │ │ │ ├── ingressLoadBalancerIngress.libsonnet │ │ │ │ │ │ │ ├── ingressLoadBalancerStatus.libsonnet │ │ │ │ │ │ │ ├── ingressPortStatus.libsonnet │ │ │ │ │ │ │ ├── ingressRule.libsonnet │ │ │ │ │ │ │ ├── ingressServiceBackend.libsonnet │ │ │ │ │ │ │ ├── ingressSpec.libsonnet │ │ │ │ │ │ │ ├── ingressStatus.libsonnet │ │ │ │ │ │ │ ├── ingressTLS.libsonnet │ │ │ │ │ │ │ ├── ipBlock.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── networkPolicy.libsonnet │ │ │ │ │ │ │ ├── networkPolicyEgressRule.libsonnet │ │ │ │ │ │ │ ├── networkPolicyIngressRule.libsonnet │ │ │ │ │ │ │ ├── networkPolicyPeer.libsonnet │ │ │ │ │ │ │ ├── networkPolicyPort.libsonnet │ │ │ │ │ │ │ ├── networkPolicySpec.libsonnet │ │ │ │ │ │ │ └── serviceBackendPort.libsonnet │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ │ ├── ipAddress.libsonnet │ │ │ │ │ │ │ ├── ipAddressSpec.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── parentReference.libsonnet │ │ │ │ │ │ │ ├── serviceCIDR.libsonnet │ │ │ │ │ │ │ ├── serviceCIDRSpec.libsonnet │ │ │ │ │ │ │ └── serviceCIDRStatus.libsonnet │ │ │ │ │ ├── node │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── overhead.libsonnet │ │ │ │ │ │ │ ├── runtimeClass.libsonnet │ │ │ │ │ │ │ └── scheduling.libsonnet │ │ │ │ │ ├── policy │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── eviction.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── podDisruptionBudget.libsonnet │ │ │ │ │ │ │ ├── podDisruptionBudgetSpec.libsonnet │ │ │ │ │ │ │ └── podDisruptionBudgetStatus.libsonnet │ │ │ │ │ ├── rbac │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── aggregationRule.libsonnet │ │ │ │ │ │ │ ├── clusterRole.libsonnet │ │ │ │ │ │ │ ├── clusterRoleBinding.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── policyRule.libsonnet │ │ │ │ │ │ │ ├── role.libsonnet │ │ │ │ │ │ │ ├── roleBinding.libsonnet │ │ │ │ │ │ │ ├── roleRef.libsonnet │ │ │ │ │ │ │ └── subject.libsonnet │ │ │ │ │ ├── resource │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1alpha2 │ │ │ │ │ │ │ ├── allocationResult.libsonnet │ │ │ │ │ │ │ ├── driverAllocationResult.libsonnet │ │ │ │ │ │ │ ├── driverRequests.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── namedResourcesAllocationResult.libsonnet │ │ │ │ │ │ │ ├── namedResourcesAttribute.libsonnet │ │ │ │ │ │ │ ├── namedResourcesFilter.libsonnet │ │ │ │ │ │ │ ├── namedResourcesInstance.libsonnet │ │ │ │ │ │ │ ├── namedResourcesIntSlice.libsonnet │ │ │ │ │ │ │ ├── namedResourcesRequest.libsonnet │ │ │ │ │ │ │ ├── namedResourcesResources.libsonnet │ │ │ │ │ │ │ ├── namedResourcesStringSlice.libsonnet │ │ │ │ │ │ │ ├── podSchedulingContext.libsonnet │ │ │ │ │ │ │ ├── podSchedulingContextSpec.libsonnet │ │ │ │ │ │ │ ├── podSchedulingContextStatus.libsonnet │ │ │ │ │ │ │ ├── resourceClaim.libsonnet │ │ │ │ │ │ │ ├── resourceClaimConsumerReference.libsonnet │ │ │ │ │ │ │ ├── resourceClaimParameters.libsonnet │ │ │ │ │ │ │ ├── resourceClaimParametersReference.libsonnet │ │ │ │ │ │ │ ├── resourceClaimSchedulingStatus.libsonnet │ │ │ │ │ │ │ ├── resourceClaimSpec.libsonnet │ │ │ │ │ │ │ ├── resourceClaimStatus.libsonnet │ │ │ │ │ │ │ ├── resourceClaimTemplate.libsonnet │ │ │ │ │ │ │ ├── resourceClaimTemplateSpec.libsonnet │ │ │ │ │ │ │ ├── resourceClass.libsonnet │ │ │ │ │ │ │ ├── resourceClassParameters.libsonnet │ │ │ │ │ │ │ ├── resourceClassParametersReference.libsonnet │ │ │ │ │ │ │ ├── resourceFilter.libsonnet │ │ │ │ │ │ │ ├── resourceHandle.libsonnet │ │ │ │ │ │ │ ├── resourceRequest.libsonnet │ │ │ │ │ │ │ ├── resourceSlice.libsonnet │ │ │ │ │ │ │ ├── structuredResourceHandle.libsonnet │ │ │ │ │ │ │ └── vendorParameters.libsonnet │ │ │ │ │ ├── scheduling │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ └── priorityClass.libsonnet │ │ │ │ │ ├── storage │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── csiDriver.libsonnet │ │ │ │ │ │ │ ├── csiDriverSpec.libsonnet │ │ │ │ │ │ │ ├── csiNode.libsonnet │ │ │ │ │ │ │ ├── csiNodeDriver.libsonnet │ │ │ │ │ │ │ ├── csiNodeSpec.libsonnet │ │ │ │ │ │ │ ├── csiStorageCapacity.libsonnet │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ ├── storageClass.libsonnet │ │ │ │ │ │ │ ├── tokenRequest.libsonnet │ │ │ │ │ │ │ ├── volumeAttachment.libsonnet │ │ │ │ │ │ │ ├── volumeAttachmentSource.libsonnet │ │ │ │ │ │ │ ├── volumeAttachmentSpec.libsonnet │ │ │ │ │ │ │ ├── volumeAttachmentStatus.libsonnet │ │ │ │ │ │ │ ├── volumeError.libsonnet │ │ │ │ │ │ │ └── volumeNodeResources.libsonnet │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ │ └── volumeAttributesClass.libsonnet │ │ │ │ │ └── storagemigration │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ ├── groupVersionResource.libsonnet │ │ │ │ │ │ ├── main.libsonnet │ │ │ │ │ │ ├── migrationCondition.libsonnet │ │ │ │ │ │ ├── storageVersionMigration.libsonnet │ │ │ │ │ │ ├── storageVersionMigrationSpec.libsonnet │ │ │ │ │ │ └── storageVersionMigrationStatus.libsonnet │ │ │ │ │ ├── gen.libsonnet │ │ │ │ │ └── main.libsonnet │ │ │ │ └── xtd │ │ │ │ ├── .github │ │ │ │ └── workflows │ │ │ │ │ └── tests.yml │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── aggregate.libsonnet │ │ │ │ ├── array.libsonnet │ │ │ │ ├── ascii.libsonnet │ │ │ │ ├── camelcase.libsonnet │ │ │ │ ├── date.libsonnet │ │ │ │ ├── docs │ │ │ │ ├── .gitignore │ │ │ │ ├── Gemfile │ │ │ │ ├── README.md │ │ │ │ ├── _config.yml │ │ │ │ ├── aggregate.md │ │ │ │ ├── array.md │ │ │ │ ├── ascii.md │ │ │ │ ├── camelcase.md │ │ │ │ ├── date.md │ │ │ │ ├── inspect.md │ │ │ │ ├── jsonpath.md │ │ │ │ ├── number.md │ │ │ │ ├── string.md │ │ │ │ └── url.md │ │ │ │ ├── inspect.libsonnet │ │ │ │ ├── jsonpath.libsonnet │ │ │ │ ├── main.libsonnet │ │ │ │ ├── number.libsonnet │ │ │ │ ├── string.libsonnet │ │ │ │ ├── test │ │ │ │ ├── array_test.jsonnet │ │ │ │ ├── ascii_test.jsonnet │ │ │ │ ├── camelcase_test.jsonnet │ │ │ │ ├── date_test.jsonnet │ │ │ │ ├── inspect_test.jsonnet │ │ │ │ ├── jsonnetfile.json │ │ │ │ ├── jsonpath_test.jsonnet │ │ │ │ └── url_test.jsonnet │ │ │ │ └── url.libsonnet │ │ │ ├── grafonnet-latest │ │ │ ├── grafonnet-v11.4.0 │ │ │ ├── k8s-libsonnet │ │ │ ├── ksonnet-util │ │ │ └── xtd │ ├── unused.go │ └── utils_test.go ├── stdlib │ ├── html.libsonnet │ ├── pull.sh │ ├── stdlib-content.jsonnet │ ├── stdlib.go │ └── stdlib_test.go └── utils │ ├── errors.go │ ├── stdio.go │ └── strings.go └── scripts └── jsonnetfmt.sh /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: github-actions 4 | directory: '/' 5 | schedule: 6 | interval: 'weekly' 7 | open-pull-requests-limit: 5 8 | - package-ecosystem: 'gomod' 9 | directory: '/' 10 | schedule: 11 | interval: 'weekly' 12 | open-pull-requests-limit: 5 13 | -------------------------------------------------------------------------------- /.github/workflows/golangci-lint.yml: -------------------------------------------------------------------------------- 1 | name: golangci-lint 2 | on: 3 | push: 4 | branches: 5 | - main 6 | pull_request: {} 7 | permissions: 8 | contents: read 9 | jobs: 10 | golangci: 11 | name: lint 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 15 | with: 16 | persist-credentials: false 17 | - name: golangci-lint 18 | uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0 19 | with: 20 | version: latest 21 | -------------------------------------------------------------------------------- /.github/workflows/jsonnetfmt.yml: -------------------------------------------------------------------------------- 1 | name: jsonnetfmt 2 | on: 3 | push: 4 | branches: 5 | - main 6 | pull_request: {} 7 | permissions: 8 | contents: read 9 | 10 | jobs: 11 | jsonnetfmt: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 15 | with: 16 | persist-credentials: false 17 | - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 18 | with: 19 | go-version-file: go.mod 20 | - name: Format 21 | run: | 22 | go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest 23 | ./scripts/jsonnetfmt.sh 24 | - run: | 25 | STATUS="$(git status --porcelain)" 26 | test -z "${STATUS}" || { 27 | echo "Found changes after formatting. Run jsonnetfmt on the following files:" 28 | echo "${STATUS}" 29 | exit 1 30 | } 31 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: release 2 | 3 | on: 4 | push: 5 | tags: 6 | - '*' 7 | permissions: 8 | contents: read 9 | 10 | jobs: 11 | goreleaser: 12 | permissions: 13 | contents: write # for goreleaser/goreleaser-action to create a GitHub release 14 | runs-on: ubuntu-latest 15 | steps: 16 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 17 | with: 18 | persist-credentials: false 19 | - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 20 | with: 21 | go-version-file: go.mod 22 | cache: false 23 | - uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0 24 | with: 25 | version: latest 26 | args: release --clean 27 | env: 28 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 29 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: go test 2 | on: 3 | push: 4 | branches: 5 | - main 6 | pull_request: {} 7 | permissions: 8 | contents: read 9 | jobs: 10 | test: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 14 | with: 15 | persist-credentials: false 16 | - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 17 | with: 18 | go-version-file: go.mod 19 | - run: go test ./... -bench=. -benchmem 20 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.direnv/ 2 | /flake-profile* 3 | jsonnet-language-server 4 | result 5 | -------------------------------------------------------------------------------- /.golangci.toml: -------------------------------------------------------------------------------- 1 | version = '2' 2 | 3 | [linters] 4 | enable = [ 5 | 'copyloopvar', 6 | 'dogsled', 7 | 'forcetypeassert', 8 | 'goconst', 9 | 'gocritic', 10 | 'gocyclo', 11 | 'goprintffuncname', 12 | 'misspell', 13 | 'nakedret', 14 | 'revive', 15 | 'staticcheck', 16 | 'unconvert', 17 | 'unparam', 18 | 'whitespace' 19 | ] 20 | 21 | [linters.exclusions] 22 | generated = 'lax' 23 | presets = [ 24 | 'comments', 25 | 'common-false-positives', 26 | 'legacy', 27 | 'std-error-handling' 28 | ] 29 | paths = [ 30 | 'third_party$', 31 | 'builtin$', 32 | 'examples$' 33 | ] 34 | 35 | [formatters] 36 | enable = [ 37 | 'goimports' 38 | ] 39 | 40 | [formatters.exclusions] 41 | generated = 'lax' 42 | paths = [ 43 | 'third_party$', 44 | 'builtin$', 45 | 'examples$' 46 | ] 47 | -------------------------------------------------------------------------------- /.goreleaser.yml: -------------------------------------------------------------------------------- 1 | builds: 2 | - env: 3 | - CGO_ENABLED=0 4 | goos: 5 | - darwin 6 | - linux 7 | - windows 8 | goarch: 9 | - amd64 10 | - arm 11 | - arm64 12 | # GOARM to build for when GOARCH is arm. 13 | # For more info refer to: https://golang.org/doc/install/source#environment 14 | # Default is only 6. 15 | goarm: 16 | - '6' 17 | - '7' 18 | archives: 19 | - format: binary 20 | release: 21 | draft: true 22 | changelog: 23 | disable: true 24 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | # https://help.github.com/articles/about-codeowners/ 2 | # https://git-scm.com/docs/gitignore#_pattern_format 3 | 4 | # See the following docs for more details about order in CODEOWNERS 5 | # https://github.community/t/order-of-owners-in-codeowners-file/143073 6 | # https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-syntax 7 | 8 | # These owners will be the default owners for everything in 9 | # the repo. 10 | * @julienduchesne @jdbaldry @zzehring 11 | -------------------------------------------------------------------------------- /RELEASES.md: -------------------------------------------------------------------------------- 1 | # Releases 2 | 3 | ## Nix flake 4 | 5 | A [Nix Flake](https://nixos.wiki/wiki/Flakes) is provided that can be installed using the Nix package manager. 6 | On each release, the derivation `version` attribute needs to be updated with the release tag and the `vendorSha256` attribute with 7 | the checksum for the fixed output derivation for the vendored Go packages. 8 | 9 | > **Note:** The following steps require a 2.X release of the `nix` command. 10 | 11 | ```console 12 | cd nix 13 | nix develop 14 | ./release .. 15 | ``` 16 | 17 | You can also do it with Docker: 18 | 19 | ```console 20 | docker run -it -v /tmp:/tmp -v $(pwd):/workdir -w /workdir nixos/nix 21 | cd nix 22 | nix develop --extra-experimental-features nix-command --extra-experimental-features flakes 23 | ./release .. 24 | ``` 25 | -------------------------------------------------------------------------------- /editor/helix/languages.toml: -------------------------------------------------------------------------------- 1 | [language-server.jsonnet-language-server] 2 | args = ["--tanka"] -------------------------------------------------------------------------------- /editor/vim/coc-settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "languageserver": { 3 | "jsonnet": { 4 | "command": "jsonnet-language-server", 5 | "args": ["-t"], 6 | "rootPatterns": [".git/", "jsonnetfile.json"], 7 | "filetypes": ["jsonnet","libsonnet"] 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /examples/dollar-support.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | // Support of $ within the same structure 3 | my_attribute: 'value', 4 | my_other_attribute: $.my_attribute, 5 | } 6 | + { 7 | // Support of $ in merged structures 8 | from_merge: $.my_attribute, 9 | } 10 | -------------------------------------------------------------------------------- /examples/self-support.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | // Support of self within the same structure 3 | my_attribute: 'value', 4 | my_other_attribute: self.my_attribute, 5 | } 6 | + { 7 | // Support of self in merged structures 8 | from_merge: self.my_attribute, 9 | } 10 | + { 11 | // Support of self as a local reference 12 | local this = self, 13 | from_local: this.my_attribute, 14 | } 15 | -------------------------------------------------------------------------------- /nix/default.nix: -------------------------------------------------------------------------------- 1 | { pkgs ? import }: 2 | 3 | with pkgs; 4 | buildGoModule rec { 5 | pname = "jsonnet-language-server"; 6 | version = "0.13.1"; 7 | 8 | ldflags = [ 9 | "-X main.version=${version}" 10 | ]; 11 | src = lib.cleanSource ../.; 12 | vendorHash = "sha256-+9Eh40kkyZc9mS4m6BqK5PweFRUA0iWgsG/h2jZJr5w="; 13 | 14 | meta = with lib; { 15 | description = "A Language Server Protocol server for Jsonnet"; 16 | homepage = "https://github.com/grafana/jsonnet-language-server"; 17 | license = licenses.agpl3Only; 18 | maintainers = with maintainers; [ jdbaldry trevorwhitney ]; 19 | }; 20 | } 21 | -------------------------------------------------------------------------------- /nix/flake.nix: -------------------------------------------------------------------------------- 1 | { 2 | description = "jsonnet-language-server shell development tooling"; 3 | 4 | inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 5 | inputs.flake-utils.url = "github:numtide/flake-utils"; 6 | 7 | outputs = { self, nixpkgs, flake-utils }: 8 | { 9 | overlay = 10 | final: prev: { 11 | jsonnet-language-server = prev.callPackage ./default.nix { pkgs = prev; }; 12 | snitch = prev.callPackage ./snitch.nix { pkgs = prev; }; 13 | }; 14 | } // ( 15 | flake-utils.lib.eachDefaultSystem ( 16 | system: 17 | let 18 | pkgs = import nixpkgs { inherit system; overlays = [ self.overlay ]; }; 19 | in 20 | { 21 | defaultPackage = pkgs.jsonnet-language-server; 22 | devShell = import ./shell.nix { inherit pkgs; }; 23 | packages = { 24 | jsonnet-tool = pkgs.jsonnet-language-server; 25 | }; 26 | } 27 | ) 28 | ); 29 | } 30 | -------------------------------------------------------------------------------- /nix/release: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -euf -o pipefail 4 | 5 | cd "$(dirname "${BASH_SOURCE[0]}")" 6 | 7 | function show_help { 8 | cat <.. 13 | 14 | Examples: 15 | $0 0.6.4 16 | EOF 17 | } 18 | 19 | if [[ $# -ne 1 ]]; then 20 | show_help && exit 1 21 | fi 22 | 23 | vendorSha256="$(NIX_PATH="nixpkgs=https://github.com/nixos/nixpkgs/archive/nixos-unstable.tar.gz" \ 24 | nix-prefetch '{ sha256 }: (callPackage (import ./default.nix) { }).go-modules.overrideAttrs (_: { modSha256 = sha256; })')" 25 | 26 | sed -i \ 27 | -e "s/version =.*;/version = \"${1}\";/" \ 28 | -e "s~vendorSha256 =.*;~vendorSha256 = \"${vendorSha256}\";~" \ 29 | default.nix 30 | -------------------------------------------------------------------------------- /nix/shell.nix: -------------------------------------------------------------------------------- 1 | { pkgs ? import }: 2 | 3 | with pkgs; 4 | mkShell { 5 | buildInputs = [ 6 | gnused 7 | go_1_22 8 | golangci-lint 9 | gopls 10 | jsonnet-language-server 11 | nix-prefetch 12 | snitch 13 | ]; 14 | } 15 | -------------------------------------------------------------------------------- /nix/snitch.nix: -------------------------------------------------------------------------------- 1 | { pkgs ? import }: 2 | 3 | with pkgs; 4 | buildGoModule rec { 5 | pname = "snitch"; 6 | version = "7c727e0b7919ea504c07c8af0e65b48f07a9e87c"; 7 | 8 | src = fetchFromGitHub { 9 | owner = "tsoding"; 10 | repo = pname; 11 | rev = version; 12 | sha256 = "sha256-bflHSWN/BH4TSTTP4M3DldVwkV8MUSVCO15eYJTtTi0="; 13 | }; 14 | vendorHash = "sha256-QAbxld0UY7jO9ommX7VrPKOWEiFPmD/xw02EZL6628A="; 15 | 16 | meta = with lib; { 17 | description = "Language agnostic tool that collects TODOs in the source code and reports them as Issues"; 18 | homepage = "https://github.com/tsoding/snitch"; 19 | license = licenses.mit; 20 | maintainers = with maintainers; [ jdbaldry ]; 21 | }; 22 | } 23 | -------------------------------------------------------------------------------- /pkg/ast/processing/find_bind.go: -------------------------------------------------------------------------------- 1 | package processing 2 | 3 | import ( 4 | "github.com/google/go-jsonnet/ast" 5 | "github.com/grafana/jsonnet-language-server/pkg/nodestack" 6 | ) 7 | 8 | func FindBindByIDViaStack(stack *nodestack.NodeStack, id ast.Identifier) *ast.LocalBind { 9 | nodes := append([]ast.Node{}, stack.From) 10 | nodes = append(nodes, stack.Stack...) 11 | for _, node := range nodes { 12 | switch curr := node.(type) { 13 | case *ast.Local: 14 | for _, bind := range curr.Binds { 15 | if bind.Variable == id { 16 | return &bind 17 | } 18 | } 19 | case *ast.DesugaredObject: 20 | for _, bind := range curr.Locals { 21 | if bind.Variable == id { 22 | return &bind 23 | } 24 | } 25 | } 26 | } 27 | return nil 28 | } 29 | -------------------------------------------------------------------------------- /pkg/ast/processing/find_param.go: -------------------------------------------------------------------------------- 1 | package processing 2 | 3 | import ( 4 | "strings" 5 | 6 | "github.com/google/go-jsonnet/ast" 7 | "github.com/grafana/jsonnet-language-server/pkg/nodestack" 8 | ) 9 | 10 | func FindParameterByIDViaStack(stack *nodestack.NodeStack, id ast.Identifier, partialMatchFields bool) *ast.Parameter { 11 | for _, node := range stack.Stack { 12 | if f, ok := node.(*ast.Function); ok { 13 | for _, param := range f.Parameters { 14 | if param.Name == id || (partialMatchFields && strings.HasPrefix(string(param.Name), string(id))) { 15 | return ¶m 16 | } 17 | } 18 | } 19 | } 20 | return nil 21 | } 22 | -------------------------------------------------------------------------------- /pkg/ast/processing/processor.go: -------------------------------------------------------------------------------- 1 | package processing 2 | 3 | import ( 4 | "github.com/google/go-jsonnet" 5 | "github.com/grafana/jsonnet-language-server/pkg/cache" 6 | ) 7 | 8 | type Processor struct { 9 | cache *cache.Cache 10 | vm *jsonnet.VM 11 | } 12 | 13 | func NewProcessor(cache *cache.Cache, vm *jsonnet.VM) *Processor { 14 | return &Processor{ 15 | cache: cache, 16 | vm: vm, 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /pkg/position_conversion/point.go: -------------------------------------------------------------------------------- 1 | package position 2 | 3 | import ( 4 | "github.com/google/go-jsonnet/ast" 5 | "github.com/jdbaldry/go-language-server-protocol/lsp/protocol" 6 | ) 7 | 8 | func ProtocolToAST(point protocol.Position) ast.Location { 9 | return ast.Location{ 10 | Line: int(point.Line) + 1, 11 | Column: int(point.Character) + 1, 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /pkg/server/testdata/assert-var.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local var1 = true, 3 | var2: 'string', 4 | assert var1 : self.var2, 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/basic-object.jsonnet: -------------------------------------------------------------------------------- 1 | local somevar = 'hello'; 2 | 3 | { 4 | foo: 'bar', 5 | } + { 6 | local somevar2 = 'world', 7 | bar: 'foo', 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/builder-pattern.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | util:: { 3 | new():: { 4 | local this = self, 5 | 6 | attr: 'unset1', 7 | attr2: 'unset2', 8 | 9 | withAttr(v):: self { // Intentionally using `self` instead of `this` 10 | attr: v, 11 | }, 12 | 13 | withAttr2(v):: this { // Intentionally using `this` instead of `self` 14 | attr2: v, 15 | }, 16 | 17 | build():: '%s + %s' % [self.attr, this.attr2], 18 | }, 19 | }, 20 | 21 | 22 | test: self.util.new().withAttr('hello').withAttr2('world').build(), 23 | } 24 | -------------------------------------------------------------------------------- /pkg/server/testdata/comment.jsonnet: -------------------------------------------------------------------------------- 1 | // This is a comment 2 | { 3 | foo: 'bar', 4 | } 5 | -------------------------------------------------------------------------------- /pkg/server/testdata/computed-field-names.jsonnet: -------------------------------------------------------------------------------- 1 | local obj = { bar: 'hello', nested: { bar: 'hello' } }; 2 | 3 | { 4 | [obj.bar]: 'world!', 5 | [obj.nested.bar]: 'world!', 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/conditional-fields.jsonnet: -------------------------------------------------------------------------------- 1 | local flag = true; 2 | { 3 | [if flag then 'hello']: 'world!', 4 | [if flag then 'hello1' else 'hello2']: 'world!', 5 | [if false == flag then 'hello3' else (function() 'test')()]: 'world!', 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/dollar-no-follow.jsonnet: -------------------------------------------------------------------------------- 1 | local imported = import 'dollar-simple.jsonnet'; 2 | 3 | { 4 | test: imported.attribute.sub, 5 | } 6 | + { 7 | // Go to def on $.test should go to the attribute in this file, not follow through to the imported file. 8 | test2: $.test, 9 | } 10 | -------------------------------------------------------------------------------- /pkg/server/testdata/dollar-simple.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | attribute: { 3 | sub: 'test', 4 | }, 5 | } 6 | + { 7 | attribute2: { 8 | test: $.attribute, 9 | test_sub: $.attribute.sub, 10 | }, 11 | } 12 | -------------------------------------------------------------------------------- /pkg/server/testdata/doubled-index-bug-1.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | hello: { 3 | to: { 4 | the: 'world', 5 | }, 6 | }, 7 | } 8 | -------------------------------------------------------------------------------- /pkg/server/testdata/doubled-index-bug-2.jsonnet: -------------------------------------------------------------------------------- 1 | { hello: (import 'doubled-index-bug-1.jsonnet').hello } 2 | -------------------------------------------------------------------------------- /pkg/server/testdata/doubled-index-bug-3.jsonnet: -------------------------------------------------------------------------------- 1 | import 'doubled-index-bug-2.jsonnet' 2 | -------------------------------------------------------------------------------- /pkg/server/testdata/doubled-index-bug-4.jsonnet: -------------------------------------------------------------------------------- 1 | local g = import 'doubled-index-bug-3.jsonnet'; 2 | { 3 | // completing fields of `g.hello` should get use `g.hello.to`, not `g.hello.hello` 4 | a: g.hello, 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/functions-advanced.libsonnet: -------------------------------------------------------------------------------- 1 | local myfunc(arg1, arg2) = { 2 | arg1: arg1, 3 | arg2: arg2, 4 | 5 | builderPattern(arg3):: self + { 6 | arg3: arg3, 7 | }, 8 | }; 9 | 10 | { 11 | withMixin(arg4):: { 12 | arg4: arg4, 13 | }, 14 | funcCreatedObj: myfunc('test1', 'test2').builderPattern('test3') + self.withMixin('test4'), 15 | 16 | accessThroughFunc: myfunc('test1', 'test2').arg1, 17 | accessThroughFuncCreatedObj: self.funcCreatedObj.arg2, 18 | accessBuilderPatternThroughFuncCreatedObj: self.funcCreatedObj.arg3, 19 | accessMixinThroughFuncCreatedObj: self.funcCreatedObj.arg4, 20 | 21 | } 22 | -------------------------------------------------------------------------------- /pkg/server/testdata/functions.libsonnet: -------------------------------------------------------------------------------- 1 | local myfunc(arg1, arg2) = { 2 | atb1: arg1, 3 | atb2: arg2, 4 | }; 5 | 6 | { 7 | objFunc(arg1, arg2, arg3): { 8 | a: arg1, 9 | b: arg2, 10 | c: 'hello', 11 | test: myfunc(arg1, arg2), 12 | }, 13 | } 14 | -------------------------------------------------------------------------------- /pkg/server/testdata/grafonnet-eval-variable-options.jsonnet: -------------------------------------------------------------------------------- 1 | local g = import 'vendor/grafonnet-latest/main.libsonnet'; 2 | 3 | g.dashboard.new('title') 4 | + g.dashboard.withVariables([ 5 | g.dashboard.variable.custom.new('var', ['a']) 6 | + g.dashboard.variable.custom.selectionOptions.withMulti(), 7 | ]) 8 | -------------------------------------------------------------------------------- /pkg/server/testdata/hover-error.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | [ 3 | item for item 4 | in std.objectFields({test:'test'}) 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/hover-locals.jsonnet: -------------------------------------------------------------------------------- 1 | local test = { 2 | local targets = [ 3 | i 4 | for i in std.objectFields({ test: 'test' }) 5 | ], 6 | }; 7 | 8 | local get_sentinel_id(i) = 9 | local hash = std.md5('%s\nindex: %d' % ['redis-master.svc.cluster.local', i]); 10 | std.objectFields(''); 11 | 12 | {} 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/hover-std.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | thisFile: std.thisFile, 3 | fields: std.objectFields({ test: 'test' }), 4 | myFunc(): { 5 | spec+: { 6 | templates: std.map(function(v) if std.objectHas(v, 'container') then v { container: { 7 | image: 'alpine:3.13', 8 | command: ['echo', "Would've run the following container: %s" % std.manifestJson(v.container)], 9 | } } else v, super.templates), 10 | }, 11 | }, 12 | listComprehension: [ 13 | item 14 | for item 15 | in std.objectFields({ test: 'test' }) 16 | if std.map({ test: 'test' }, item) 17 | ], 18 | 19 | local util = {}, 20 | no_match: util.map(), 21 | } 22 | -------------------------------------------------------------------------------- /pkg/server/testdata/import-attribute.jsonnet: -------------------------------------------------------------------------------- 1 | local foo = (import 'basic-object.jsonnet').bar; 2 | {} 3 | -------------------------------------------------------------------------------- /pkg/server/testdata/import-intermediary.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | otherFile: (import 'basic-object.jsonnet'), 3 | } 4 | -------------------------------------------------------------------------------- /pkg/server/testdata/import-nested-main.jsonnet: -------------------------------------------------------------------------------- 1 | local imported = import 'import-nested3.libsonnet'; 2 | local obj = imported.api.v1.obj; 3 | 4 | { 5 | my_obj: 6 | obj.new('test') + 7 | obj.withAttribute('hello') + 8 | obj.nestedSelf.withAttribute('hello'), 9 | 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/import-nested-obj.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | new(name):: {}, 3 | withAttribute(attr):: {}, 4 | nestedSelf:: self, 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/import-nested1.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | api:: { 3 | v1:: { 4 | obj:: import 'import-nested-obj.libsonnet', 5 | }, 6 | }, 7 | } 8 | -------------------------------------------------------------------------------- /pkg/server/testdata/import-nested2.libsonnet: -------------------------------------------------------------------------------- 1 | local base = import 'import-nested1.libsonnet'; 2 | 3 | base { 4 | api+:: { 5 | v1+:: { 6 | other_obj+:: {}, 7 | }, 8 | }, 9 | } 10 | -------------------------------------------------------------------------------- /pkg/server/testdata/import-nested3.libsonnet: -------------------------------------------------------------------------------- 1 | (import 'import-nested2.libsonnet') 2 | + { 3 | local this = self, 4 | _config+:: { 5 | some: true, 6 | attributes: this.util, 7 | }, 8 | 9 | util+:: { 10 | // other stuff 11 | }, 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/import-no-obj.libsonnet: -------------------------------------------------------------------------------- 1 | (import 'basic-object.jsonnet') 2 | -------------------------------------------------------------------------------- /pkg/server/testdata/imported-file.jsonnet: -------------------------------------------------------------------------------- 1 | local otherfile = import 'basic-object.jsonnet'; 2 | 3 | { 4 | a: otherfile.foo, 5 | b: otherfile.bar, 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/indexes.jsonnet: -------------------------------------------------------------------------------- 1 | local obj = { 2 | foo: { 3 | bar: 'innerfoo', 4 | }, 5 | bar: 'foo', 6 | }; 7 | 8 | { 9 | attr: obj.foo, 10 | s: self.attr.bar, 11 | } 12 | -------------------------------------------------------------------------------- /pkg/server/testdata/infinite-recursion-bug-1.jsonnet: -------------------------------------------------------------------------------- 1 | local drone = import './infinite-recursion-bug-2.libsonnet'; 2 | { 3 | steps: drone.step.withCommands([ 4 | 'blabla', 5 | ]), 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/infinite-recursion-bug-2.libsonnet: -------------------------------------------------------------------------------- 1 | local drone = import './infinite-recursion-bug-3.libsonnet'; 2 | { 3 | pipeline: 4 | drone.pipeline.docker { 5 | new(name): 6 | super.new(name) 7 | + super.clone.withRetries(3) 8 | + super.clone.withDepth(10000) 9 | + super.platform.withArch('amd64') 10 | + super.withImagePullSecrets(['dockerconfigjson']), 11 | }, 12 | 13 | step: 14 | drone.pipeline.docker.step, 15 | } 16 | -------------------------------------------------------------------------------- /pkg/server/testdata/infinite-recursion-bug-3.libsonnet: -------------------------------------------------------------------------------- 1 | local lib = 2 | { 3 | pipeline: { 4 | docker: { 5 | step: { 6 | withCommands(commands): {}, 7 | }, 8 | }, 9 | }, 10 | }; 11 | 12 | 13 | lib 14 | -------------------------------------------------------------------------------- /pkg/server/testdata/jsonnetfile.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dependencies": [ 4 | { 5 | "source": { 6 | "git": { 7 | "remote": "https://github.com/grafana/jsonnet-libs.git", 8 | "subdir": "ksonnet-util" 9 | } 10 | }, 11 | "version": "master" 12 | }, 13 | { 14 | "source": { 15 | "git": { 16 | "remote": "https://github.com/jsonnet-libs/k8s-libsonnet.git", 17 | "subdir": "1.30" 18 | } 19 | }, 20 | "version": "main" 21 | }, 22 | { 23 | "source": { 24 | "git": { 25 | "remote": "https://github.com/grafana/grafonnet.git", 26 | "subdir": "gen/grafonnet-latest" 27 | } 28 | }, 29 | "version": "main" 30 | } 31 | ], 32 | "legacyImports": true 33 | } 34 | -------------------------------------------------------------------------------- /pkg/server/testdata/k.libsonnet: -------------------------------------------------------------------------------- 1 | (import 'k8s-libsonnet/main.libsonnet') 2 | + { 3 | core+:: { v1+:: { namespace+:: { 4 | new(name, create=false):: 5 | // Namespace creation is handled by environments/cluster-resources. 6 | // https://github.com/grafana/deployment_tools/blob/master/docs/platform/kubernetes/namespaces.md 7 | if create 8 | then super.new(name) 9 | else {}, 10 | } } }, 11 | } 12 | -------------------------------------------------------------------------------- /pkg/server/testdata/local-at-root-2.jsonnet: -------------------------------------------------------------------------------- 1 | local hello = import 'local-at-root.jsonnet'; 2 | 3 | hello.to 4 | -------------------------------------------------------------------------------- /pkg/server/testdata/local-at-root-3.jsonnet: -------------------------------------------------------------------------------- 1 | local hello2 = import 'local-at-root-2.jsonnet'; 2 | 3 | hello2.the 4 | -------------------------------------------------------------------------------- /pkg/server/testdata/local-at-root-4.jsonnet: -------------------------------------------------------------------------------- 1 | local hello3 = import 'local-at-root-3.jsonnet'; 2 | 3 | hello3.world 4 | -------------------------------------------------------------------------------- /pkg/server/testdata/local-at-root.jsonnet: -------------------------------------------------------------------------------- 1 | // hello.jsonnet 2 | local hello = { 3 | hel: { 4 | wel: 'test', 5 | }, 6 | hello: { 7 | to: { 8 | the: { 9 | world: 'hello', 10 | }, 11 | }, 12 | }, 13 | }; 14 | 15 | hello.hello 16 | -------------------------------------------------------------------------------- /pkg/server/testdata/map-comprehension.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | mapComprehension: { 3 | [item]: item 4 | for item 5 | in std.objectFields({ test: 'test' }) 6 | if std.map({ test: 'test' }, item) 7 | }, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/multilevel-library-main.jsonnet: -------------------------------------------------------------------------------- 1 | local library = import 'multilevel-library-top.libsonnet'; 2 | { 3 | my_item: library.sub1.subsub1.new(name='test'), 4 | } 5 | -------------------------------------------------------------------------------- /pkg/server/testdata/multilevel-library-sub-1.1.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | new(name='lib-1.1'):: name, 3 | } 4 | -------------------------------------------------------------------------------- /pkg/server/testdata/multilevel-library-sub-1.2.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | new(name='lib-1.2'):: name, 3 | } 4 | -------------------------------------------------------------------------------- /pkg/server/testdata/multilevel-library-sub-1.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | subsub1: import 'multilevel-library-sub-1.1.libsonnet', 3 | subsub2: import 'multilevel-library-sub-1.2.libsonnet', 4 | } 5 | -------------------------------------------------------------------------------- /pkg/server/testdata/multilevel-library-sub-2.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | new(name='lib-2'):: name, 3 | } 4 | -------------------------------------------------------------------------------- /pkg/server/testdata/multilevel-library-top.libsonnet: -------------------------------------------------------------------------------- 1 | local sub1 = import 'multilevel-library-sub-1.libsonnet'; 2 | local sub2 = import 'multilevel-library-sub-2.libsonnet'; 3 | 4 | { 5 | sub1:: sub1, 6 | sub2:: sub2, 7 | } 8 | -------------------------------------------------------------------------------- /pkg/server/testdata/nested-import-file-no-inter-obj.jsonnet: -------------------------------------------------------------------------------- 1 | local file = (import 'import-no-obj.libsonnet'); 2 | { 3 | foo: file.foo, 4 | } 5 | -------------------------------------------------------------------------------- /pkg/server/testdata/nested-imported-file.jsonnet: -------------------------------------------------------------------------------- 1 | local file = (import 'import-intermediary.libsonnet').otherFile; 2 | { 3 | foo: file.foo, 4 | } 5 | -------------------------------------------------------------------------------- /pkg/server/testdata/oo-contrived.jsonnet: -------------------------------------------------------------------------------- 1 | local Base = { 2 | foo: 2, 3 | g: self.foo + 100, 4 | }; 5 | 6 | local WrapperBase = { 7 | Base: Base, 8 | }; 9 | 10 | { 11 | Derived: Base { 12 | f: 5, 13 | old_f: super.foo, 14 | old_g: super.g, 15 | }, 16 | WrapperDerived: WrapperBase { 17 | Base+: { f: 5 }, 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /pkg/server/testdata/overrides-base.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | a: { 3 | hello: 'this will be clobbered', 4 | nested1: { 5 | hello: 'this will be clobbered', 6 | }, 7 | nested2: {}, 8 | }, 9 | 10 | } 11 | + { 12 | local extensionFromLocal = { 13 | nested1+: { 14 | from_local: 'hey!', 15 | }, 16 | }, 17 | a+: extensionFromLocal, 18 | } 19 | + { 20 | a+: (import 'overrides-imported.jsonnet') + (import 'overrides-imported2.jsonnet'), 21 | } 22 | -------------------------------------------------------------------------------- /pkg/server/testdata/overrides-imported.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | nested1+: { 3 | from_import: 'hey!', 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/overrides-imported2.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | nested1+: { 3 | from_second_import: 'hey!', 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/quote_label.jsonnet: -------------------------------------------------------------------------------- 1 | local lib = { 2 | '1num': 'val', 3 | 'abc#func'(param=1): param, 4 | 'abc#var': 'val', 5 | }; 6 | 7 | lib 8 | -------------------------------------------------------------------------------- /pkg/server/testdata/root-function-lib.libsonnet: -------------------------------------------------------------------------------- 1 | function(attribute) { 2 | attribute: attribute, 3 | 4 | nestedFunc(nestedAttribute):: { 5 | nestedAttribute: nestedAttribute, 6 | }, 7 | } 8 | -------------------------------------------------------------------------------- /pkg/server/testdata/root-function.jsonnet: -------------------------------------------------------------------------------- 1 | local lib = import 'root-function-lib.libsonnet'; 2 | local libResolved = (import 'root-function-lib.libsonnet')('test'); 3 | 4 | { 5 | 6 | fromImport: (import 'root-function-lib.libsonnet')('test').attribute, 7 | fromLib: lib('test').attribute, 8 | fromResolvedLib: libResolved.attribute, 9 | 10 | nestedFromImport: (import 'root-function-lib.libsonnet')('test').nestedFunc('test').nestedAttribute, 11 | nestedFromLib: lib('test').nestedFunc('test').nestedAttribute, 12 | nestedFromResolvedLib: libResolved.nestedFunc('test').nestedAttribute, 13 | } 14 | -------------------------------------------------------------------------------- /pkg/server/testdata/self-complex-scoping.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | test: 'test', 3 | sub: { 4 | test2: self.test, // Should not be found 5 | }, 6 | 7 | sub2: { 8 | test3: 'test3', 9 | }, 10 | 11 | sub3: self.sub2 { // sub2 should be found 12 | test4: self.test3, // test3 should be found 13 | }, 14 | } 15 | -------------------------------------------------------------------------------- /pkg/server/testdata/self-in-local.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local this = self, 3 | attribute1: 'value', 4 | attribute2: this.attribute1, 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/self-within-binary.jsonnet: -------------------------------------------------------------------------------- 1 | (import 'basic-object.jsonnet') + 2 | { 3 | aaa: 'hello', 4 | } + { 5 | bar: self.foo, 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/std.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | foo: std.objectFields({ test: 'test' })[0], 3 | } 4 | -------------------------------------------------------------------------------- /pkg/server/testdata/test_basic_lib.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | greet(name):: 3 | local greeting = 'Hello, '; 4 | greeting + name, 5 | message: self.greet('Zack'), 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/test_combined_object.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | a: { 3 | b: 'something', 4 | }, 5 | } + { 6 | b: super.a.b.s.x, 7 | } 8 | -------------------------------------------------------------------------------- /pkg/server/testdata/test_goto_definition.jsonnet: -------------------------------------------------------------------------------- 1 | local myvar = 2; 2 | local helper(x) = x * 2; 3 | 4 | { 5 | b: myvar, 6 | a: std.max(x=myvar), 7 | } + { 8 | c: helper(myvar), 9 | } 10 | -------------------------------------------------------------------------------- /pkg/server/testdata/test_goto_definition_multi_locals.jsonnet: -------------------------------------------------------------------------------- 1 | local var = 'hello'; 2 | 3 | { 4 | local var = 'goodbye', 5 | local innervar = 'inner', 6 | a: var, 7 | b: innervar, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/test_import_helper.jsonnet: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /pkg/server/testdata/use-ksonnet-util.jsonnet: -------------------------------------------------------------------------------- 1 | local k = import 'ksonnet-util/kausal.libsonnet'; 2 | 3 | { 4 | my_deploy: k.apps.v1.deployment.new( 5 | 'my-deploy', 6 | 1, 7 | k.core.v1.container.new('test', 'alpine:latest'), 8 | ), 9 | } 10 | 11 | { 12 | my_deploy+: k.util.resourcesRequestsMixin('100m', '100Mi'), 13 | } 14 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/doc-util: -------------------------------------------------------------------------------- 1 | github.com/jsonnet-libs/docsonnet/doc-util -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-latest/jsonnetfile.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": [ 3 | { 4 | "source": { 5 | "git": { 6 | "remote": "https://github.com/grafana/grafonnet.git", 7 | "subdir": "gen/grafonnet-v11.4.0" 8 | } 9 | }, 10 | "version": "main" 11 | } 12 | ], 13 | "legacyImports": false, 14 | "version": 1 15 | } -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-latest/main.libsonnet: -------------------------------------------------------------------------------- 1 | import 'github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/main.libsonnet' 2 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/alerting.libsonnet: -------------------------------------------------------------------------------- 1 | // This file is generated, do not manually edit. 2 | { 3 | '#': { help: 'grafonnet.alerting', name: 'alerting' }, 4 | contactPoint: import 'clean/alerting/contactPoint.libsonnet', 5 | notificationPolicy: import 'clean/alerting/notificationPolicy.libsonnet', 6 | muteTiming: import 'clean/alerting/muteTiming.libsonnet', 7 | ruleGroup: import 'clean/alerting/ruleGroup.libsonnet', 8 | notificationTemplate: import 'clean/alerting/notificationTemplate.libsonnet', 9 | } 10 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/clean/alerting/notificationTemplate.libsonnet: -------------------------------------------------------------------------------- 1 | // This file is generated, do not manually edit. 2 | { 3 | '#': { help: 'grafonnet.alerting.notificationTemplate', name: 'notificationTemplate' }, 4 | '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, 5 | withName(value): { 6 | name: value, 7 | }, 8 | '#withProvenance': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, 9 | withProvenance(value): { 10 | provenance: value, 11 | }, 12 | '#withTemplate': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, 13 | withTemplate(value): { 14 | template: value, 15 | }, 16 | '#withVersion': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, 17 | withVersion(value): { 18 | version: value, 19 | }, 20 | } 21 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/alerting/contactPoint.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | '#'+:: { 5 | help+: 6 | ||| 7 | 8 | 9 | **NOTE**: The schemas for all different contact points is under development, this means we can't properly express them in Grafonnet yet. The way this works now may change heavily. 10 | |||, 11 | }, 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/alerting/muteTiming.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | '#withTimeIntervals': { ignore: true }, 3 | '#withIntervals': super['#withTimeIntervals'], 4 | withIntervals: super.withTimeIntervals, 5 | '#withTimeIntervalsMixin': { ignore: true }, 6 | '#withIntervalsMixin': super['#withTimeIntervalsMixin'], 7 | withIntervalsMixin: super.withTimeIntervalsMixin, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/alerting/notificationPolicy.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | '#withReceiver': { ignore: true }, 3 | '#withContactPoint': super['#withReceiver'], 4 | withContactPoint: super.withReceiver, 5 | 6 | '#withRoutes': { ignore: true }, 7 | '#withPolicy': super['#withRoutes'], 8 | withPolicy: super.withRoutes, 9 | '#withRoutesMixin': { ignore: true }, 10 | '#withPolicyMixin': super['#withRoutesMixin'], 11 | withPolicyMixin: super.withRoutesMixin, 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/alerting/ruleGroup.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | '#withTitle': { ignore: true }, 5 | '#withName': super['#withTitle'], 6 | withName: super.withTitle, 7 | rule+: { 8 | '#':: d.package.newSub('rule', ''), 9 | '#withTitle': { ignore: true }, 10 | '#withName': super['#withTitle'], 11 | withName: super.withTitle, 12 | }, 13 | } 14 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/query/azureMonitor.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | '#withDatasource':: d.func.new( 5 | 'Set the datasource for this query.', 6 | args=[ 7 | d.arg('value', d.T.string), 8 | ] 9 | ), 10 | withDatasource(value): { 11 | datasource+: { 12 | type: 'grafana-azure-monitor-datasource', 13 | uid: value, 14 | }, 15 | }, 16 | '#withDatasourceMixin':: { ignore: true }, 17 | } 18 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/query/cloudWatch.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | local withDatasourceStub = { 5 | '#withDatasource':: d.func.new( 6 | 'Set the datasource for this query.', 7 | args=[ 8 | d.arg('value', d.T.string), 9 | ] 10 | ), 11 | withDatasource(value): { 12 | datasource+: { 13 | type: 'cloudwatch', 14 | uid: value, 15 | }, 16 | }, 17 | '#withDatasourceMixin':: { ignore: true }, 18 | }, 19 | 20 | CloudWatchAnnotationQuery+: withDatasourceStub, 21 | CloudWatchLogsQuery+: withDatasourceStub, 22 | CloudWatchMetricsQuery+: withDatasourceStub, 23 | } 24 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/query/elasticsearch.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | bucketAggs+: { '#': { help: '', name: 'bucketAggs' } }, 5 | metrics+: { '#': { help: '', name: 'metrics' } }, 6 | 7 | '#withDatasource':: d.func.new( 8 | 'Set the datasource for this query.', 9 | args=[ 10 | d.arg('value', d.T.string), 11 | ] 12 | ), 13 | withDatasource(value): { 14 | datasource+: { 15 | type: 'elasticsearch', 16 | uid: value, 17 | }, 18 | }, 19 | '#withDatasourceMixin':: { ignore: true }, 20 | } 21 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/query/expr.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | '#': { 3 | help: 'Server Side Expression operations for grafonnet.alerting.ruleGroup.rule', 4 | name: 'expr', 5 | }, 6 | TypeMath+: { '#': { help: 'grafonnet.query.expr.TypeMath', name: 'TypeMath' } }, 7 | TypeReduce+: { '#': { help: 'grafonnet.query.expr.TypeReduce', name: 'TypeReduce' } }, 8 | TypeResample+: { '#': { help: 'grafonnet.query.expr.TypeResample', name: 'TypeResample' } }, 9 | TypeClassicConditions+: { '#': { help: 'grafonnet.query.expr.TypeClassicConditions', name: 'TypeClassicConditions' } }, 10 | TypeThreshold+: { '#': { help: 'grafonnet.query.expr.TypeThreshold', name: 'TypeThreshold' } }, 11 | TypeSql+: { '#': { help: 'grafonnet.query.expr.TypeSql', name: 'TypeSql' } }, 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/query/googleCloudMonitoring.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | '#withDatasource':: d.func.new( 5 | 'Set the datasource for this query.', 6 | args=[ 7 | d.arg('value', d.T.string), 8 | ] 9 | ), 10 | withDatasource(value): { 11 | datasource+: { 12 | type: 'cloud-monitoring', 13 | uid: value, 14 | }, 15 | }, 16 | '#withDatasourceMixin':: { ignore: true }, 17 | } 18 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/query/grafanaPyroscope.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | '#withDatasource':: d.func.new( 5 | 'Set the datasource for this query.', 6 | args=[ 7 | d.arg('value', d.T.string), 8 | ] 9 | ), 10 | withDatasource(value): { 11 | datasource+: { 12 | type: 'grafanapyroscope', 13 | uid: value, 14 | }, 15 | }, 16 | '#withDatasourceMixin':: { ignore: true }, 17 | } 18 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/query/loki.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | '#new':: d.func.new( 5 | 'Creates a new loki query target for panels.', 6 | args=[ 7 | d.arg('datasource', d.T.string), 8 | d.arg('expr', d.T.string), 9 | ] 10 | ), 11 | new(datasource, expr): 12 | self.withDatasource(datasource) 13 | + self.withExpr(expr), 14 | 15 | '#withDatasource':: d.func.new( 16 | 'Set the datasource for this query.', 17 | args=[ 18 | d.arg('value', d.T.string), 19 | ] 20 | ), 21 | withDatasource(value): { 22 | datasource+: { 23 | type: 'loki', 24 | uid: value, 25 | }, 26 | }, 27 | '#withDatasourceMixin':: { ignore: true }, 28 | } 29 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/query/parca.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | '#withDatasource':: d.func.new( 5 | 'Set the datasource for this query.', 6 | args=[ 7 | d.arg('value', d.T.string), 8 | ] 9 | ), 10 | withDatasource(value): { 11 | datasource+: { 12 | type: 'parca', 13 | uid: value, 14 | }, 15 | }, 16 | '#withDatasourceMixin':: { ignore: true }, 17 | } 18 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/query/tempo.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | '#new':: d.func.new( 5 | 'Creates a new tempo query target for panels.', 6 | args=[ 7 | d.arg('datasource', d.T.string), 8 | d.arg('query', d.T.string), 9 | d.arg('filters', d.T.array), 10 | ] 11 | ), 12 | new(datasource, query, filters): 13 | self.withDatasource(datasource) 14 | + self.withQuery(query) 15 | + self.withFilters(filters), 16 | 17 | '#withDatasource':: d.func.new( 18 | 'Set the datasource for this query.', 19 | args=[ 20 | d.arg('value', d.T.string), 21 | ] 22 | ), 23 | withDatasource(value): { 24 | datasource+: { 25 | type: 'tempo', 26 | uid: value, 27 | }, 28 | }, 29 | '#withDatasourceMixin':: { ignore: true }, 30 | } 31 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/query/testData.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | '#withDatasource':: d.func.new( 5 | 'Set the datasource for this query.', 6 | args=[ 7 | d.arg('value', d.T.string), 8 | ] 9 | ), 10 | withDatasource(): { 11 | datasource+: { 12 | type: 'datasource', 13 | uid: 'grafana', 14 | }, 15 | }, 16 | '#withDatasourceMixin':: { ignore: true }, 17 | } 18 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/row.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | '#new':: d.func.new( 5 | 'Creates a new row panel with a title.', 6 | args=[d.arg('title', d.T.string)] 7 | ), 8 | new(title): 9 | self.withTitle(title) 10 | + self.withType() 11 | + self.withCollapsed(false) 12 | + self.gridPos.withX(0) 13 | + self.gridPos.withH(1) 14 | + self.gridPos.withW(24), 15 | 16 | '#gridPos':: {}, // use withGridPos instead 17 | '#withGridPos':: d.func.new( 18 | '`withGridPos` sets the Y-axis on a row panel. x, width and height are fixed values.', 19 | args=[d.arg('y', d.T.number)] 20 | ), 21 | withGridPos(y): 22 | self.gridPos.withX(0) 23 | + self.gridPos.withY(y) 24 | + self.gridPos.withH(1) 25 | + self.gridPos.withW(24), 26 | } 27 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/util/main.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | 3 | { 4 | '#': d.package.newSub('util', 'Helper functions that work well with Grafonnet.'), 5 | dashboard: (import './dashboard.libsonnet'), 6 | grid: (import './grid.libsonnet'), 7 | panel: (import './panel.libsonnet'), 8 | string: (import './string.libsonnet'), 9 | } 10 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/custom/util/string.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'; 2 | local xtd = import 'github.com/jsonnet-libs/xtd/main.libsonnet'; 3 | 4 | { 5 | '#slugify':: d.func.new( 6 | ||| 7 | `slugify` will create a simple slug from `string`, keeping only alphanumeric 8 | characters and replacing spaces with dashes. 9 | |||, 10 | args=[d.arg('string', d.T.string)] 11 | ), 12 | slugify(string): 13 | std.strReplace( 14 | std.asciiLower( 15 | std.join('', [ 16 | string[i] 17 | for i in std.range(0, std.length(string) - 1) 18 | if xtd.ascii.isUpper(string[i]) 19 | || xtd.ascii.isLower(string[i]) 20 | || xtd.ascii.isNumber(string[i]) 21 | || string[i] == ' ' 22 | ]) 23 | ), 24 | ' ', 25 | '-', 26 | ), 27 | } 28 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/README.md: -------------------------------------------------------------------------------- 1 | # grafonnet 2 | 3 | Jsonnet library for rendering Grafana resources 4 | ## Install 5 | 6 | ``` 7 | jb install github.com/grafana/grafonnet/gen/grafonnet-v11.4.0@main 8 | ``` 9 | 10 | ## Usage 11 | 12 | ```jsonnet 13 | local grafonnet = import "github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/main.libsonnet" 14 | ``` 15 | 16 | 17 | ## Subpackages 18 | 19 | * [accesspolicy](accesspolicy/index.md) 20 | * [alerting](alerting/index.md) 21 | * [dashboard](dashboard/index.md) 22 | * [folder](folder.md) 23 | * [librarypanel](librarypanel/index.md) 24 | * [panel](panel/index.md) 25 | * [preferences](preferences.md) 26 | * [publicdashboard](publicdashboard.md) 27 | * [query](query/index.md) 28 | * [role](role.md) 29 | * [rolebinding](rolebinding.md) 30 | * [team](team.md) 31 | * [util](util.md) 32 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/alerting/index.md: -------------------------------------------------------------------------------- 1 | # alerting 2 | 3 | grafonnet.alerting 4 | 5 | ## Subpackages 6 | 7 | * [contactPoint](contactPoint.md) 8 | * [muteTiming](muteTiming/index.md) 9 | * [notificationPolicy](notificationPolicy/index.md) 10 | * [notificationTemplate](notificationTemplate.md) 11 | * [ruleGroup](ruleGroup/index.md) 12 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/alerting/muteTiming/index.md: -------------------------------------------------------------------------------- 1 | # muteTiming 2 | 3 | grafonnet.alerting.muteTiming 4 | 5 | ## Subpackages 6 | 7 | * [interval](interval/index.md) 8 | 9 | ## Index 10 | 11 | * [`fn withIntervals(value)`](#fn-withintervals) 12 | * [`fn withIntervalsMixin(value)`](#fn-withintervalsmixin) 13 | * [`fn withName(value)`](#fn-withname) 14 | 15 | ## Fields 16 | 17 | ### fn withIntervals 18 | 19 | ```jsonnet 20 | withIntervals(value) 21 | ``` 22 | 23 | PARAMETERS: 24 | 25 | * **value** (`array`) 26 | 27 | 28 | ### fn withIntervalsMixin 29 | 30 | ```jsonnet 31 | withIntervalsMixin(value) 32 | ``` 33 | 34 | PARAMETERS: 35 | 36 | * **value** (`array`) 37 | 38 | 39 | ### fn withName 40 | 41 | ```jsonnet 42 | withName(value) 43 | ``` 44 | 45 | PARAMETERS: 46 | 47 | * **value** (`string`) 48 | 49 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/alerting/muteTiming/interval/index.md: -------------------------------------------------------------------------------- 1 | # interval 2 | 3 | 4 | 5 | ## Subpackages 6 | 7 | * [time_intervals](time_intervals/index.md) 8 | 9 | ## Index 10 | 11 | * [`fn withName(value)`](#fn-withname) 12 | * [`fn withTimeIntervals(value)`](#fn-withtimeintervals) 13 | * [`fn withTimeIntervalsMixin(value)`](#fn-withtimeintervalsmixin) 14 | 15 | ## Fields 16 | 17 | ### fn withName 18 | 19 | ```jsonnet 20 | withName(value) 21 | ``` 22 | 23 | PARAMETERS: 24 | 25 | * **value** (`string`) 26 | 27 | 28 | ### fn withTimeIntervals 29 | 30 | ```jsonnet 31 | withTimeIntervals(value) 32 | ``` 33 | 34 | PARAMETERS: 35 | 36 | * **value** (`array`) 37 | 38 | 39 | ### fn withTimeIntervalsMixin 40 | 41 | ```jsonnet 42 | withTimeIntervalsMixin(value) 43 | ``` 44 | 45 | PARAMETERS: 46 | 47 | * **value** (`array`) 48 | 49 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/alerting/muteTiming/interval/time_intervals/times.md: -------------------------------------------------------------------------------- 1 | # times 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withEndTime(value)`](#fn-withendtime) 8 | * [`fn withStartTime(value)`](#fn-withstarttime) 9 | 10 | ## Fields 11 | 12 | ### fn withEndTime 13 | 14 | ```jsonnet 15 | withEndTime(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | 23 | ### fn withStartTime 24 | 25 | ```jsonnet 26 | withStartTime(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`string`) 32 | 33 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/alerting/notificationPolicy/matcher.md: -------------------------------------------------------------------------------- 1 | # matcher 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withName(value)`](#fn-withname) 8 | * [`fn withType(value)`](#fn-withtype) 9 | * [`fn withValue(value)`](#fn-withvalue) 10 | 11 | ## Fields 12 | 13 | ### fn withName 14 | 15 | ```jsonnet 16 | withName(value) 17 | ``` 18 | 19 | PARAMETERS: 20 | 21 | * **value** (`string`) 22 | 23 | 24 | ### fn withType 25 | 26 | ```jsonnet 27 | withType(value) 28 | ``` 29 | 30 | PARAMETERS: 31 | 32 | * **value** (`string`) 33 | - valid values: `"="`, `"!="`, `"=~"`, `"!~"` 34 | 35 | 36 | ### fn withValue 37 | 38 | ```jsonnet 39 | withValue(value) 40 | ``` 41 | 42 | PARAMETERS: 43 | 44 | * **value** (`string`) 45 | 46 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/alerting/notificationTemplate.md: -------------------------------------------------------------------------------- 1 | # notificationTemplate 2 | 3 | grafonnet.alerting.notificationTemplate 4 | 5 | ## Index 6 | 7 | * [`fn withName(value)`](#fn-withname) 8 | * [`fn withProvenance(value)`](#fn-withprovenance) 9 | * [`fn withTemplate(value)`](#fn-withtemplate) 10 | * [`fn withVersion(value)`](#fn-withversion) 11 | 12 | ## Fields 13 | 14 | ### fn withName 15 | 16 | ```jsonnet 17 | withName(value) 18 | ``` 19 | 20 | PARAMETERS: 21 | 22 | * **value** (`string`) 23 | 24 | 25 | ### fn withProvenance 26 | 27 | ```jsonnet 28 | withProvenance(value) 29 | ``` 30 | 31 | PARAMETERS: 32 | 33 | * **value** (`string`) 34 | 35 | 36 | ### fn withTemplate 37 | 38 | ```jsonnet 39 | withTemplate(value) 40 | ``` 41 | 42 | PARAMETERS: 43 | 44 | * **value** (`string`) 45 | 46 | 47 | ### fn withVersion 48 | 49 | ```jsonnet 50 | withVersion(value) 51 | ``` 52 | 53 | PARAMETERS: 54 | 55 | * **value** (`string`) 56 | 57 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/folder.md: -------------------------------------------------------------------------------- 1 | # folder 2 | 3 | grafonnet.folder 4 | 5 | ## Index 6 | 7 | * [`fn withParentUid(value)`](#fn-withparentuid) 8 | * [`fn withTitle(value)`](#fn-withtitle) 9 | * [`fn withUid(value)`](#fn-withuid) 10 | 11 | ## Fields 12 | 13 | ### fn withParentUid 14 | 15 | ```jsonnet 16 | withParentUid(value) 17 | ``` 18 | 19 | PARAMETERS: 20 | 21 | * **value** (`string`) 22 | 23 | only used if nested folders are enabled 24 | ### fn withTitle 25 | 26 | ```jsonnet 27 | withTitle(value) 28 | ``` 29 | 30 | PARAMETERS: 31 | 32 | * **value** (`string`) 33 | 34 | Folder title 35 | ### fn withUid 36 | 37 | ```jsonnet 38 | withUid(value) 39 | ``` 40 | 41 | PARAMETERS: 42 | 43 | * **value** (`string`) 44 | 45 | Unique folder id -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/librarypanel/model/fieldConfig/defaults/thresholds/steps.md: -------------------------------------------------------------------------------- 1 | # steps 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/librarypanel/model/fieldConfig/overrides/properties.md: -------------------------------------------------------------------------------- 1 | # properties 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withId(value="")`](#fn-withid) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | * [`fn withValueMixin(value)`](#fn-withvaluemixin) 10 | 11 | ## Fields 12 | 13 | ### fn withId 14 | 15 | ```jsonnet 16 | withId(value="") 17 | ``` 18 | 19 | PARAMETERS: 20 | 21 | * **value** (`string`) 22 | - default value: `""` 23 | 24 | 25 | ### fn withValue 26 | 27 | ```jsonnet 28 | withValue(value) 29 | ``` 30 | 31 | PARAMETERS: 32 | 33 | * **value** (`object`) 34 | 35 | 36 | ### fn withValueMixin 37 | 38 | ```jsonnet 39 | withValueMixin(value) 40 | ``` 41 | 42 | PARAMETERS: 43 | 44 | * **value** (`object`) 45 | 46 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/alertList/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/annotationsList/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/barChart/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/barGauge/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/candlestick/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/canvas/options/root/elements/connections/vertices.md: -------------------------------------------------------------------------------- 1 | # vertices 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withX(value)`](#fn-withx) 8 | * [`fn withY(value)`](#fn-withy) 9 | 10 | ## Fields 11 | 12 | ### fn withX 13 | 14 | ```jsonnet 15 | withX(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`number`) 21 | 22 | 23 | ### fn withY 24 | 25 | ```jsonnet 26 | withY(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/canvas/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/dashboardList/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/datagrid/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/debug/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/gauge/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/geomap/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/heatmap/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/histogram/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/logs/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/news/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/nodeGraph/options/nodes/arcs.md: -------------------------------------------------------------------------------- 1 | # arcs 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withField(value)`](#fn-withfield) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | The color of the arc. 23 | ### fn withField 24 | 25 | ```jsonnet 26 | withField(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`string`) 32 | 33 | Field from which to get the value. Values should be less than 1, representing fraction of a circle. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/nodeGraph/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/pieChart/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/stat/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/stateTimeline/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/statusHistory/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/table/options/sortBy.md: -------------------------------------------------------------------------------- 1 | # sortBy 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withDesc(value=true)`](#fn-withdesc) 8 | * [`fn withDisplayName(value)`](#fn-withdisplayname) 9 | 10 | ## Fields 11 | 12 | ### fn withDesc 13 | 14 | ```jsonnet 15 | withDesc(value=true) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`boolean`) 21 | - default value: `true` 22 | 23 | Flag used to indicate descending sort order 24 | ### fn withDisplayName 25 | 26 | ```jsonnet 27 | withDisplayName(value) 28 | ``` 29 | 30 | PARAMETERS: 31 | 32 | * **value** (`string`) 33 | 34 | Sets the display name of the field to sort by -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/table/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/text/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/timeSeries/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/trend/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/panel/xyChart/standardOptions/threshold/step.md: -------------------------------------------------------------------------------- 1 | # threshold.step 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withColor(value)`](#fn-withcolor) 8 | * [`fn withValue(value)`](#fn-withvalue) 9 | 10 | ## Fields 11 | 12 | ### fn withColor 13 | 14 | ```jsonnet 15 | withColor(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded. 23 | ### fn withValue 24 | 25 | ```jsonnet 26 | withValue(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`number`) 32 | 33 | Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded. 34 | Nulls currently appear here when serializing -Infinity to JSON. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/query/bigquery/sql/columns/index.md: -------------------------------------------------------------------------------- 1 | # columns 2 | 3 | 4 | 5 | ## Subpackages 6 | 7 | * [parameters](parameters.md) 8 | 9 | ## Index 10 | 11 | * [`fn withName(value)`](#fn-withname) 12 | * [`fn withParameters(value)`](#fn-withparameters) 13 | * [`fn withParametersMixin(value)`](#fn-withparametersmixin) 14 | * [`fn withType()`](#fn-withtype) 15 | 16 | ## Fields 17 | 18 | ### fn withName 19 | 20 | ```jsonnet 21 | withName(value) 22 | ``` 23 | 24 | PARAMETERS: 25 | 26 | * **value** (`string`) 27 | 28 | 29 | ### fn withParameters 30 | 31 | ```jsonnet 32 | withParameters(value) 33 | ``` 34 | 35 | PARAMETERS: 36 | 37 | * **value** (`array`) 38 | 39 | 40 | ### fn withParametersMixin 41 | 42 | ```jsonnet 43 | withParametersMixin(value) 44 | ``` 45 | 46 | PARAMETERS: 47 | 48 | * **value** (`array`) 49 | 50 | 51 | ### fn withType 52 | 53 | ```jsonnet 54 | withType() 55 | ``` 56 | 57 | 58 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/query/bigquery/sql/columns/parameters.md: -------------------------------------------------------------------------------- 1 | # parameters 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withName(value)`](#fn-withname) 8 | * [`fn withType()`](#fn-withtype) 9 | 10 | ## Fields 11 | 12 | ### fn withName 13 | 14 | ```jsonnet 15 | withName(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | 23 | ### fn withType 24 | 25 | ```jsonnet 26 | withType() 27 | ``` 28 | 29 | 30 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/from/QueryEditorFunctionExpression/parameters.md: -------------------------------------------------------------------------------- 1 | # parameters 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withName(value)`](#fn-withname) 8 | * [`fn withType()`](#fn-withtype) 9 | 10 | ## Fields 11 | 12 | ### fn withName 13 | 14 | ```jsonnet 15 | withName(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | 23 | ### fn withType 24 | 25 | ```jsonnet 26 | withType() 27 | ``` 28 | 29 | 30 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/orderBy/parameters.md: -------------------------------------------------------------------------------- 1 | # parameters 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withName(value)`](#fn-withname) 8 | * [`fn withType()`](#fn-withtype) 9 | 10 | ## Fields 11 | 12 | ### fn withName 13 | 14 | ```jsonnet 15 | withName(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | 23 | ### fn withType 24 | 25 | ```jsonnet 26 | withType() 27 | ``` 28 | 29 | 30 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/query/cloudWatch/CloudWatchMetricsQuery/sql/select/parameters.md: -------------------------------------------------------------------------------- 1 | # parameters 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withName(value)`](#fn-withname) 8 | * [`fn withType()`](#fn-withtype) 9 | 10 | ## Fields 11 | 12 | ### fn withName 13 | 14 | ```jsonnet 15 | withName(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | 23 | ### fn withType 24 | 25 | ```jsonnet 26 | withType() 27 | ``` 28 | 29 | 30 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/query/elasticsearch/bucketAggs/Filters/settings/filters.md: -------------------------------------------------------------------------------- 1 | # filters 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withLabel(value)`](#fn-withlabel) 8 | * [`fn withQuery(value)`](#fn-withquery) 9 | 10 | ## Fields 11 | 12 | ### fn withLabel 13 | 14 | ```jsonnet 15 | withLabel(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | 23 | ### fn withQuery 24 | 25 | ```jsonnet 26 | withQuery(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`string`) 32 | 33 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/query/elasticsearch/metrics/MetricAggregationWithSettings/BucketScript/pipelineVariables.md: -------------------------------------------------------------------------------- 1 | # pipelineVariables 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withName(value)`](#fn-withname) 8 | * [`fn withPipelineAgg(value)`](#fn-withpipelineagg) 9 | 10 | ## Fields 11 | 12 | ### fn withName 13 | 14 | ```jsonnet 15 | withName(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | 23 | ### fn withPipelineAgg 24 | 25 | ```jsonnet 26 | withPipelineAgg(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`string`) 32 | 33 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/query/elasticsearch/metrics/PipelineMetricAggregation/BucketScript/pipelineVariables.md: -------------------------------------------------------------------------------- 1 | # pipelineVariables 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withName(value)`](#fn-withname) 8 | * [`fn withPipelineAgg(value)`](#fn-withpipelineagg) 9 | 10 | ## Fields 11 | 12 | ### fn withName 13 | 14 | ```jsonnet 15 | withName(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | 23 | ### fn withPipelineAgg 24 | 25 | ```jsonnet 26 | withPipelineAgg(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`string`) 32 | 33 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/query/expr/index.md: -------------------------------------------------------------------------------- 1 | # expr 2 | 3 | Server Side Expression operations for grafonnet.alerting.ruleGroup.rule 4 | 5 | ## Subpackages 6 | 7 | * [TypeClassicConditions](TypeClassicConditions/index.md) 8 | * [TypeMath](TypeMath.md) 9 | * [TypeReduce](TypeReduce.md) 10 | * [TypeResample](TypeResample.md) 11 | * [TypeSql](TypeSql.md) 12 | * [TypeThreshold](TypeThreshold/index.md) 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/query/index.md: -------------------------------------------------------------------------------- 1 | # query 2 | 3 | grafonnet.query 4 | 5 | ## Subpackages 6 | 7 | * [athena](athena.md) 8 | * [azureMonitor](azureMonitor/index.md) 9 | * [bigquery](bigquery/index.md) 10 | * [cloudWatch](cloudWatch/index.md) 11 | * [elasticsearch](elasticsearch/index.md) 12 | * [expr](expr/index.md) 13 | * [googleCloudMonitoring](googleCloudMonitoring.md) 14 | * [grafanaPyroscope](grafanaPyroscope.md) 15 | * [loki](loki.md) 16 | * [parca](parca.md) 17 | * [prometheus](prometheus.md) 18 | * [tempo](tempo/index.md) 19 | * [testData](testData/index.md) 20 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/query/testData/csvWave.md: -------------------------------------------------------------------------------- 1 | # csvWave 2 | 3 | 4 | 5 | ## Index 6 | 7 | * [`fn withLabels(value)`](#fn-withlabels) 8 | * [`fn withName(value)`](#fn-withname) 9 | * [`fn withTimeStep(value)`](#fn-withtimestep) 10 | * [`fn withValuesCSV(value)`](#fn-withvaluescsv) 11 | 12 | ## Fields 13 | 14 | ### fn withLabels 15 | 16 | ```jsonnet 17 | withLabels(value) 18 | ``` 19 | 20 | PARAMETERS: 21 | 22 | * **value** (`string`) 23 | 24 | 25 | ### fn withName 26 | 27 | ```jsonnet 28 | withName(value) 29 | ``` 30 | 31 | PARAMETERS: 32 | 33 | * **value** (`string`) 34 | 35 | 36 | ### fn withTimeStep 37 | 38 | ```jsonnet 39 | withTimeStep(value) 40 | ``` 41 | 42 | PARAMETERS: 43 | 44 | * **value** (`integer`) 45 | 46 | 47 | ### fn withValuesCSV 48 | 49 | ```jsonnet 50 | withValuesCSV(value) 51 | ``` 52 | 53 | PARAMETERS: 54 | 55 | * **value** (`string`) 56 | 57 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/docs/team.md: -------------------------------------------------------------------------------- 1 | # team 2 | 3 | grafonnet.team 4 | 5 | ## Index 6 | 7 | * [`fn withEmail(value)`](#fn-withemail) 8 | * [`fn withName(value)`](#fn-withname) 9 | 10 | ## Fields 11 | 12 | ### fn withEmail 13 | 14 | ```jsonnet 15 | withEmail(value) 16 | ``` 17 | 18 | PARAMETERS: 19 | 20 | * **value** (`string`) 21 | 22 | 23 | ### fn withName 24 | 25 | ```jsonnet 26 | withName(value) 27 | ``` 28 | 29 | PARAMETERS: 30 | 31 | * **value** (`string`) 32 | 33 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/folder.libsonnet: -------------------------------------------------------------------------------- 1 | // This file is generated, do not manually edit. 2 | { 3 | '#': { help: 'grafonnet.folder', name: 'folder' }, 4 | '#withParentUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'only used if nested folders are enabled' } }, 5 | withParentUid(value): { 6 | parentUid: value, 7 | }, 8 | '#withTitle': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Folder title' } }, 9 | withTitle(value): { 10 | title: value, 11 | }, 12 | '#withUid': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: 'Unique folder id' } }, 13 | withUid(value): { 14 | uid: value, 15 | }, 16 | } 17 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/jsonnetfile.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": [ 3 | { 4 | "source": { 5 | "git": { 6 | "remote": "https://github.com/jsonnet-libs/docsonnet.git", 7 | "subdir": "doc-util" 8 | } 9 | }, 10 | "version": "master" 11 | }, 12 | { 13 | "source": { 14 | "git": { 15 | "remote": "https://github.com/jsonnet-libs/xtd.git", 16 | "subdir": "" 17 | } 18 | }, 19 | "version": "master" 20 | } 21 | ], 22 | "legacyImports": true, 23 | "version": 1 24 | } -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/panel/datagrid.libsonnet: -------------------------------------------------------------------------------- 1 | // This file is generated, do not manually edit. 2 | (import '../panel.libsonnet') 3 | + { 4 | '#': { help: 'grafonnet.panel.datagrid', name: 'datagrid' }, 5 | panelOptions+: 6 | { 7 | '#withType': { 'function': { args: [], help: '' } }, 8 | withType(): { 9 | type: 'datagrid', 10 | }, 11 | }, 12 | options+: 13 | { 14 | '#withSelectedSeries': { 'function': { args: [{ default: 0, enums: null, name: 'value', type: ['integer'] }], help: '' } }, 15 | withSelectedSeries(value=0): { 16 | options+: { 17 | selectedSeries: value, 18 | }, 19 | }, 20 | }, 21 | } 22 | + { 23 | panelOptions+: { 24 | '#withType':: { 25 | ignore: true, 26 | }, 27 | }, 28 | } 29 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/query.libsonnet: -------------------------------------------------------------------------------- 1 | // This file is generated, do not manually edit. 2 | { 3 | '#': { help: 'grafonnet.query', name: 'query' }, 4 | athena: import 'query/athena.libsonnet', 5 | azureMonitor: import 'query/azureMonitor.libsonnet', 6 | bigquery: import 'query/bigquery.libsonnet', 7 | cloudWatch: import 'query/cloudWatch.libsonnet', 8 | elasticsearch: import 'query/elasticsearch.libsonnet', 9 | expr: import 'query/expr.libsonnet', 10 | googleCloudMonitoring: import 'query/googleCloudMonitoring.libsonnet', 11 | grafanaPyroscope: import 'query/grafanaPyroscope.libsonnet', 12 | loki: import 'query/loki.libsonnet', 13 | parca: import 'query/parca.libsonnet', 14 | prometheus: import 'query/prometheus.libsonnet', 15 | tempo: import 'query/tempo.libsonnet', 16 | testData: import 'query/testData.libsonnet', 17 | } 18 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/team.libsonnet: -------------------------------------------------------------------------------- 1 | // This file is generated, do not manually edit. 2 | { 3 | '#': { help: 'grafonnet.team', name: 'team' }, 4 | '#withEmail': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, 5 | withEmail(value): { 6 | email: value, 7 | }, 8 | '#withName': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '' } }, 9 | withName(value): { 10 | name: value, 11 | }, 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/k-compat.libsonnet: -------------------------------------------------------------------------------- 1 | // k-compat.libsonnet provides a compatibility layer between k8s-libsonnet and ksonnet-lib. As ksonnet-lib has been 2 | // abandoned, we consider it deprecated. This layer will generate a deprecation warning to those that still use it. 3 | local k = import 'k.libsonnet'; 4 | 5 | k 6 | + ( 7 | if std.objectHas(k, '__ksonnet') 8 | then 9 | std.trace( 10 | 'Deprecated: ksonnet-lib has been abandoned, please consider using https://github.com/jsonnet-libs/k8s-libsonnet.', 11 | (import 'legacy-types.libsonnet') 12 | + (import 'legacy-custom.libsonnet') 13 | + (import 'legacy-noname.libsonnet')({ 14 | new(name=''):: super.new() + (if name != '' then super.mixin.metadata.withName(name) else {}), 15 | }) 16 | ) 17 | else 18 | (import 'legacy-subtypes.libsonnet') 19 | + (import 'legacy-noname.libsonnet')({ 20 | new(name=''):: super.new(name), 21 | }) 22 | ) 23 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/kausal.libsonnet: -------------------------------------------------------------------------------- 1 | // kausal.libsonnet provides a backwards compatible way as many libraries leverage kausal.libsonnet. 2 | // Ideally util.libsonnet is consumed separately. 3 | 4 | (import 'grafana.libsonnet') 5 | + { 6 | local this = self, 7 | _config+:: { 8 | enable_rbac: true, 9 | enable_pod_priorities: false, 10 | namespace: error 'Must define a namespace', 11 | }, 12 | 13 | util+:: 14 | (import 'util.libsonnet').withK(this) 15 | + { 16 | rbac(name, rules):: 17 | if $._config.enable_rbac 18 | then super.rbac(name, rules, $._config.namespace) 19 | else {}, 20 | namespacedRBAC(name, rules):: 21 | if $._config.enable_rbac 22 | then super.namespacedRBAC(name, rules, $._config.namespace) 23 | else {}, 24 | podPriority(p): 25 | if $._config.enable_pod_priorities 26 | then super.podPriority(p) 27 | else {}, 28 | }, 29 | } 30 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_custom/autoscaling.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'doc-util/main.libsonnet'; 2 | 3 | local withApiVersion = { 4 | '#withApiVersion':: d.fn(help='API version of the referent', args=[d.arg(name='apiversion', type=d.T.string)]), 5 | withApiVersion(apiversion): { apiVersion: apiversion }, 6 | }; 7 | 8 | 9 | local withScaleTargetRef = { 10 | '#withScaleTargetRef':: d.fn(help='Set spec.ScaleTargetRef to `object`', args=[d.arg(name='object', type=d.T.object)]), 11 | withScaleTargetRef(object): 12 | { spec+: { scaleTargetRef+: { 13 | apiVersion: object.apiVersion, 14 | kind: object.kind, 15 | name: object.metadata.name, 16 | } } }, 17 | }; 18 | 19 | local patch = { 20 | crossVersionObjectReference+: withApiVersion, 21 | horizontalPodAutoscaler+: { 22 | spec+: withScaleTargetRef, 23 | }, 24 | }; 25 | 26 | { 27 | autoscaling+: { 28 | v1+: patch, 29 | v2+: patch, 30 | }, 31 | } 32 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_custom/batch.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'doc-util/main.libsonnet'; 2 | 3 | local patch = { 4 | cronJob+: { 5 | '#new'+: d.func.withArgs([ 6 | d.arg('name', d.T.string), 7 | d.arg('schedule', d.T.string), 8 | d.arg('containers', d.T.array), 9 | ]), 10 | new( 11 | name, 12 | schedule='', 13 | containers=[] 14 | ):: 15 | super.new(name) 16 | + super.spec.withSchedule(schedule) 17 | + super.spec.jobTemplate.spec.template.spec.withContainers(containers) 18 | + super.spec.jobTemplate.spec.template.metadata.withLabels({ name: name }), 19 | }, 20 | }; 21 | 22 | { 23 | batch+: { 24 | v1+: patch, 25 | }, 26 | } 27 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_custom/list.libsonnet: -------------------------------------------------------------------------------- 1 | local d = import 'doc-util/main.libsonnet'; 2 | 3 | { 4 | core+: { 5 | v1+: { 6 | list: { 7 | '#':: d.pkg(name='list', url='', help='List represents a generic list of items.'), 8 | '#new': d.fn( 9 | '`new` returns an instance of List.', 10 | [d.arg('items', d.T.array)] 11 | ), 12 | new(items):: { 13 | apiVersion: 'v1', 14 | kind: 'List', 15 | } + self.withItems(items), 16 | '#withItems': d.fn( 17 | '`withItems` List of items to populate the items in a list.', 18 | [d.arg('items', d.T.array)] 19 | ), 20 | withItems(items):: 21 | if std.isArray(v=items) 22 | then { items+: items } 23 | else { items+: [items] }, 24 | }, 25 | }, 26 | }, 27 | } 28 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/admissionregistration/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='admissionregistration', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | v1alpha1: (import 'v1alpha1/main.libsonnet'), 6 | v1beta1: (import 'v1beta1/main.libsonnet'), 7 | } 8 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/admissionregistration/v1/expressionWarning.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='expressionWarning', url='', help='"ExpressionWarning is a warning information that targets a specific expression."'), 4 | '#withFieldRef':: d.fn(help='"The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \\"spec.validations[0].expression\\', args=[d.arg(name='fieldRef', type=d.T.string)]), 5 | withFieldRef(fieldRef): { fieldRef: fieldRef }, 6 | '#withWarning':: d.fn(help='"The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler."', args=[d.arg(name='warning', type=d.T.string)]), 7 | withWarning(warning): { warning: warning }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/admissionregistration/v1/paramKind.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='paramKind', url='', help='"ParamKind is a tuple of Group Kind and Version."'), 4 | '#withKind':: d.fn(help='"Kind is the API kind the resources belong to. Required."', args=[d.arg(name='kind', type=d.T.string)]), 5 | withKind(kind): { kind: kind }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/admissionregistration/v1alpha1/expressionWarning.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='expressionWarning', url='', help='"ExpressionWarning is a warning information that targets a specific expression."'), 4 | '#withFieldRef':: d.fn(help='"The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \\"spec.validations[0].expression\\', args=[d.arg(name='fieldRef', type=d.T.string)]), 5 | withFieldRef(fieldRef): { fieldRef: fieldRef }, 6 | '#withWarning':: d.fn(help='"The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler."', args=[d.arg(name='warning', type=d.T.string)]), 7 | withWarning(warning): { warning: warning }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/admissionregistration/v1alpha1/paramKind.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='paramKind', url='', help='"ParamKind is a tuple of Group Kind and Version."'), 4 | '#withKind':: d.fn(help='"Kind is the API kind the resources belong to. Required."', args=[d.arg(name='kind', type=d.T.string)]), 5 | withKind(kind): { kind: kind }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/admissionregistration/v1alpha1/variable.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='variable', url='', help='"Variable is the definition of a variable that is used for composition."'), 4 | '#withExpression':: d.fn(help='"Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation."', args=[d.arg(name='expression', type=d.T.string)]), 5 | withExpression(expression): { expression: expression }, 6 | '#withName':: d.fn(help='"Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \\"foo\\", the variable will be available as `variables.foo`"', args=[d.arg(name='name', type=d.T.string)]), 7 | withName(name): { name: name }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/admissionregistration/v1beta1/expressionWarning.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='expressionWarning', url='', help='"ExpressionWarning is a warning information that targets a specific expression."'), 4 | '#withFieldRef':: d.fn(help='"The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \\"spec.validations[0].expression\\', args=[d.arg(name='fieldRef', type=d.T.string)]), 5 | withFieldRef(fieldRef): { fieldRef: fieldRef }, 6 | '#withWarning':: d.fn(help='"The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler."', args=[d.arg(name='warning', type=d.T.string)]), 7 | withWarning(warning): { warning: warning }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/admissionregistration/v1beta1/paramKind.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='paramKind', url='', help='"ParamKind is a tuple of Group Kind and Version."'), 4 | '#withKind':: d.fn(help='"Kind is the API kind the resources belong to. Required."', args=[d.arg(name='kind', type=d.T.string)]), 5 | withKind(kind): { kind: kind }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/apiregistration/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='apiregistration', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/apiregistration/v1/apiServiceStatus.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='apiServiceStatus', url='', help='"APIServiceStatus contains derived information about an API server"'), 4 | '#withConditions':: d.fn(help='"Current service state of apiService."', args=[d.arg(name='conditions', type=d.T.array)]), 5 | withConditions(conditions): { conditions: if std.isArray(v=conditions) then conditions else [conditions] }, 6 | '#withConditionsMixin':: d.fn(help='"Current service state of apiService."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='conditions', type=d.T.array)]), 7 | withConditionsMixin(conditions): { conditions+: if std.isArray(v=conditions) then conditions else [conditions] }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/apiregistration/v1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1', url='', help=''), 4 | apiService: (import 'apiService.libsonnet'), 5 | apiServiceCondition: (import 'apiServiceCondition.libsonnet'), 6 | apiServiceSpec: (import 'apiServiceSpec.libsonnet'), 7 | apiServiceStatus: (import 'apiServiceStatus.libsonnet'), 8 | serviceReference: (import 'serviceReference.libsonnet'), 9 | } 10 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/apiregistration/v1/serviceReference.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='serviceReference', url='', help='"ServiceReference holds a reference to Service.legacy.k8s.io"'), 4 | '#withName':: d.fn(help='"Name is the name of the service"', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#withNamespace':: d.fn(help='"Namespace is the namespace of the service"', args=[d.arg(name='namespace', type=d.T.string)]), 7 | withNamespace(namespace): { namespace: namespace }, 8 | '#withPort':: d.fn(help='"If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."', args=[d.arg(name='port', type=d.T.integer)]), 9 | withPort(port): { port: port }, 10 | '#mixin': 'ignore', 11 | mixin: self, 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/apiserverinternal/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='apiserverinternal', url='', help=''), 4 | v1alpha1: (import 'v1alpha1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/apiserverinternal/v1alpha1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1alpha1', url='', help=''), 4 | serverStorageVersion: (import 'serverStorageVersion.libsonnet'), 5 | storageVersion: (import 'storageVersion.libsonnet'), 6 | storageVersionCondition: (import 'storageVersionCondition.libsonnet'), 7 | storageVersionSpec: (import 'storageVersionSpec.libsonnet'), 8 | storageVersionStatus: (import 'storageVersionStatus.libsonnet'), 9 | } 10 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/apiserverinternal/v1alpha1/storageVersionSpec.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='storageVersionSpec', url='', help='"StorageVersionSpec is an empty spec."'), 4 | '#mixin': 'ignore', 5 | mixin: self, 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/apps/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='apps', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/apps/v1/statefulSetOrdinals.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='statefulSetOrdinals', url='', help='"StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet."'), 4 | '#withStart':: d.fn(help="\"start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:\\n [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).\\nIf unset, defaults to 0. Replica indices will be in the range:\\n [0, .spec.replicas).\"", args=[d.arg(name='start', type=d.T.integer)]), 5 | withStart(start): { start: start }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/authentication/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='authentication', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | v1alpha1: (import 'v1alpha1/main.libsonnet'), 6 | v1beta1: (import 'v1beta1/main.libsonnet'), 7 | } 8 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/authentication/v1/boundObjectReference.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='boundObjectReference', url='', help='"BoundObjectReference is a reference to an object that a token is bound to."'), 4 | '#withKind':: d.fn(help="\"Kind of the referent. Valid kinds are 'Pod' and 'Secret'.\"", args=[d.arg(name='kind', type=d.T.string)]), 5 | withKind(kind): { kind: kind }, 6 | '#withName':: d.fn(help='"Name of the referent."', args=[d.arg(name='name', type=d.T.string)]), 7 | withName(name): { name: name }, 8 | '#withUid':: d.fn(help='"UID of the referent."', args=[d.arg(name='uid', type=d.T.string)]), 9 | withUid(uid): { uid: uid }, 10 | '#mixin': 'ignore', 11 | mixin: self, 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/authentication/v1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1', url='', help=''), 4 | boundObjectReference: (import 'boundObjectReference.libsonnet'), 5 | selfSubjectReview: (import 'selfSubjectReview.libsonnet'), 6 | selfSubjectReviewStatus: (import 'selfSubjectReviewStatus.libsonnet'), 7 | tokenRequest: (import 'tokenRequest.libsonnet'), 8 | tokenRequestSpec: (import 'tokenRequestSpec.libsonnet'), 9 | tokenRequestStatus: (import 'tokenRequestStatus.libsonnet'), 10 | tokenReview: (import 'tokenReview.libsonnet'), 11 | tokenReviewSpec: (import 'tokenReviewSpec.libsonnet'), 12 | tokenReviewStatus: (import 'tokenReviewStatus.libsonnet'), 13 | userInfo: (import 'userInfo.libsonnet'), 14 | } 15 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/authentication/v1/tokenRequestStatus.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='tokenRequestStatus', url='', help='"TokenRequestStatus is the result of a token request."'), 4 | '#withExpirationTimestamp':: d.fn(help='"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."', args=[d.arg(name='expirationTimestamp', type=d.T.string)]), 5 | withExpirationTimestamp(expirationTimestamp): { expirationTimestamp: expirationTimestamp }, 6 | '#withToken':: d.fn(help='"Token is the opaque bearer token."', args=[d.arg(name='token', type=d.T.string)]), 7 | withToken(token): { token: token }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/authentication/v1alpha1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1alpha1', url='', help=''), 4 | selfSubjectReview: (import 'selfSubjectReview.libsonnet'), 5 | selfSubjectReviewStatus: (import 'selfSubjectReviewStatus.libsonnet'), 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/authentication/v1beta1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1beta1', url='', help=''), 4 | selfSubjectReview: (import 'selfSubjectReview.libsonnet'), 5 | selfSubjectReviewStatus: (import 'selfSubjectReviewStatus.libsonnet'), 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/authorization/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='authorization', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/authorization/v1/nonResourceAttributes.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='nonResourceAttributes', url='', help='"NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface"'), 4 | '#withPath':: d.fn(help='"Path is the URL path of the request"', args=[d.arg(name='path', type=d.T.string)]), 5 | withPath(path): { path: path }, 6 | '#withVerb':: d.fn(help='"Verb is the standard HTTP verb"', args=[d.arg(name='verb', type=d.T.string)]), 7 | withVerb(verb): { verb: verb }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/authorization/v1/selfSubjectRulesReviewSpec.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='selfSubjectRulesReviewSpec', url='', help='"SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview."'), 4 | '#withNamespace':: d.fn(help='"Namespace to evaluate rules for. Required."', args=[d.arg(name='namespace', type=d.T.string)]), 5 | withNamespace(namespace): { namespace: namespace }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/autoscaling/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='autoscaling', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | v2: (import 'v2/main.libsonnet'), 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/autoscaling/v1/crossVersionObjectReference.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='crossVersionObjectReference', url='', help='"CrossVersionObjectReference contains enough information to let you identify the referred resource."'), 4 | '#withKind':: d.fn(help='"kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"', args=[d.arg(name='kind', type=d.T.string)]), 5 | withKind(kind): { kind: kind }, 6 | '#withName':: d.fn(help='"name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"', args=[d.arg(name='name', type=d.T.string)]), 7 | withName(name): { name: name }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/autoscaling/v1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1', url='', help=''), 4 | crossVersionObjectReference: (import 'crossVersionObjectReference.libsonnet'), 5 | horizontalPodAutoscaler: (import 'horizontalPodAutoscaler.libsonnet'), 6 | horizontalPodAutoscalerSpec: (import 'horizontalPodAutoscalerSpec.libsonnet'), 7 | horizontalPodAutoscalerStatus: (import 'horizontalPodAutoscalerStatus.libsonnet'), 8 | scale: (import 'scale.libsonnet'), 9 | scaleSpec: (import 'scaleSpec.libsonnet'), 10 | scaleStatus: (import 'scaleStatus.libsonnet'), 11 | } 12 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/autoscaling/v1/scaleSpec.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='scaleSpec', url='', help='"ScaleSpec describes the attributes of a scale subresource."'), 4 | '#withReplicas':: d.fn(help='"replicas is the desired number of instances for the scaled object."', args=[d.arg(name='replicas', type=d.T.integer)]), 5 | withReplicas(replicas): { replicas: replicas }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/autoscaling/v1/scaleStatus.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='scaleStatus', url='', help='"ScaleStatus represents the current status of a scale subresource."'), 4 | '#withReplicas':: d.fn(help='"replicas is the actual number of observed instances of the scaled object."', args=[d.arg(name='replicas', type=d.T.integer)]), 5 | withReplicas(replicas): { replicas: replicas }, 6 | '#withSelector':: d.fn(help='"selector is the label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/"', args=[d.arg(name='selector', type=d.T.string)]), 7 | withSelector(selector): { selector: selector }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/autoscaling/v2/crossVersionObjectReference.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='crossVersionObjectReference', url='', help='"CrossVersionObjectReference contains enough information to let you identify the referred resource."'), 4 | '#withKind':: d.fn(help='"kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"', args=[d.arg(name='kind', type=d.T.string)]), 5 | withKind(kind): { kind: kind }, 6 | '#withName':: d.fn(help='"name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"', args=[d.arg(name='name', type=d.T.string)]), 7 | withName(name): { name: name }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/batch/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='batch', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/batch/v1/podFailurePolicyOnPodConditionsPattern.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='podFailurePolicyOnPodConditionsPattern', url='', help='"PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type."'), 4 | '#withType':: d.fn(help='"Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type."', args=[d.arg(name='type', type=d.T.string)]), 5 | withType(type): { type: type }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/certificates/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='certificates', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | v1alpha1: (import 'v1alpha1/main.libsonnet'), 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/certificates/v1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1', url='', help=''), 4 | certificateSigningRequest: (import 'certificateSigningRequest.libsonnet'), 5 | certificateSigningRequestCondition: (import 'certificateSigningRequestCondition.libsonnet'), 6 | certificateSigningRequestSpec: (import 'certificateSigningRequestSpec.libsonnet'), 7 | certificateSigningRequestStatus: (import 'certificateSigningRequestStatus.libsonnet'), 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/certificates/v1alpha1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1alpha1', url='', help=''), 4 | clusterTrustBundle: (import 'clusterTrustBundle.libsonnet'), 5 | clusterTrustBundleSpec: (import 'clusterTrustBundleSpec.libsonnet'), 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/coordination/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='coordination', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/coordination/v1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1', url='', help=''), 4 | lease: (import 'lease.libsonnet'), 5 | leaseSpec: (import 'leaseSpec.libsonnet'), 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='core', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/attachedVolume.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='attachedVolume', url='', help='"AttachedVolume describes a volume attached to a node"'), 4 | '#withDevicePath':: d.fn(help='"DevicePath represents the device path where the volume should be available"', args=[d.arg(name='devicePath', type=d.T.string)]), 5 | withDevicePath(devicePath): { devicePath: devicePath }, 6 | '#withName':: d.fn(help='"Name of the attached volume"', args=[d.arg(name='name', type=d.T.string)]), 7 | withName(name): { name: name }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/azureFileVolumeSource.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='azureFileVolumeSource', url='', help='"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."'), 4 | '#withReadOnly':: d.fn(help='"readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."', args=[d.arg(name='readOnly', type=d.T.boolean)]), 5 | withReadOnly(readOnly): { readOnly: readOnly }, 6 | '#withSecretName':: d.fn(help='"secretName is the name of secret that contains Azure Storage Account Name and Key"', args=[d.arg(name='secretName', type=d.T.string)]), 7 | withSecretName(secretName): { secretName: secretName }, 8 | '#withShareName':: d.fn(help='"shareName is the azure share Name"', args=[d.arg(name='shareName', type=d.T.string)]), 9 | withShareName(shareName): { shareName: shareName }, 10 | '#mixin': 'ignore', 11 | mixin: self, 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/clientIPConfig.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='clientIPConfig', url='', help='"ClientIPConfig represents the configurations of Client IP based session affinity."'), 4 | '#withTimeoutSeconds':: d.fn(help='"timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \\"ClientIP\\". Default value is 10800(for 3 hours)."', args=[d.arg(name='timeoutSeconds', type=d.T.integer)]), 5 | withTimeoutSeconds(timeoutSeconds): { timeoutSeconds: timeoutSeconds }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/componentCondition.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='componentCondition', url='', help='"Information about the condition of a component."'), 4 | '#withError':: d.fn(help='"Condition error code for a component. For example, a health check error code."', args=[d.arg(name='err', type=d.T.string)]), 5 | withError(err): { 'error': err }, 6 | '#withMessage':: d.fn(help='"Message about the condition for a component. For example, information about a health check."', args=[d.arg(name='message', type=d.T.string)]), 7 | withMessage(message): { message: message }, 8 | '#withType':: d.fn(help='"Type of condition for a component. Valid value: \\"Healthy\\', args=[d.arg(name='type', type=d.T.string)]), 9 | withType(type): { type: type }, 10 | '#mixin': 'ignore', 11 | mixin: self, 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/configMapKeySelector.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='configMapKeySelector', url='', help='"Selects a key from a ConfigMap."'), 4 | '#withKey':: d.fn(help='"The key to select."', args=[d.arg(name='key', type=d.T.string)]), 5 | withKey(key): { key: key }, 6 | '#withName':: d.fn(help='"Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"', args=[d.arg(name='name', type=d.T.string)]), 7 | withName(name): { name: name }, 8 | '#withOptional':: d.fn(help='"Specify whether the ConfigMap or its key must be defined"', args=[d.arg(name='optional', type=d.T.boolean)]), 9 | withOptional(optional): { optional: optional }, 10 | '#mixin': 'ignore', 11 | mixin: self, 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/containerResizePolicy.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='containerResizePolicy', url='', help='"ContainerResizePolicy represents resource resize policy for the container."'), 4 | '#withResourceName':: d.fn(help='"Name of the resource to which this resource resize policy applies. Supported values: cpu, memory."', args=[d.arg(name='resourceName', type=d.T.string)]), 5 | withResourceName(resourceName): { resourceName: resourceName }, 6 | '#withRestartPolicy':: d.fn(help='"Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired."', args=[d.arg(name='restartPolicy', type=d.T.string)]), 7 | withRestartPolicy(restartPolicy): { restartPolicy: restartPolicy }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/containerStateRunning.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='containerStateRunning', url='', help='"ContainerStateRunning is a running state of a container."'), 4 | '#withStartedAt':: d.fn(help='"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."', args=[d.arg(name='startedAt', type=d.T.string)]), 5 | withStartedAt(startedAt): { startedAt: startedAt }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/containerStateWaiting.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='containerStateWaiting', url='', help='"ContainerStateWaiting is a waiting state of a container."'), 4 | '#withMessage':: d.fn(help='"Message regarding why the container is not yet running."', args=[d.arg(name='message', type=d.T.string)]), 5 | withMessage(message): { message: message }, 6 | '#withReason':: d.fn(help='"(brief) reason the container is not yet running."', args=[d.arg(name='reason', type=d.T.string)]), 7 | withReason(reason): { reason: reason }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/daemonEndpoint.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='daemonEndpoint', url='', help='"DaemonEndpoint contains information about a single Daemon endpoint."'), 4 | '#withPort':: d.fn(help='"Port number of the given endpoint."', args=[d.arg(name='port', type=d.T.integer)]), 5 | withPort(port): { port: port }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/downwardAPIProjection.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='downwardAPIProjection', url='', help='"Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode."'), 4 | '#withItems':: d.fn(help='"Items is a list of DownwardAPIVolume file"', args=[d.arg(name='items', type=d.T.array)]), 5 | withItems(items): { items: if std.isArray(v=items) then items else [items] }, 6 | '#withItemsMixin':: d.fn(help='"Items is a list of DownwardAPIVolume file"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='items', type=d.T.array)]), 7 | withItemsMixin(items): { items+: if std.isArray(v=items) then items else [items] }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/eventSeries.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='eventSeries', url='', help='"EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time."'), 4 | '#withCount':: d.fn(help='"Number of occurrences in this series up to the last heartbeat time"', args=[d.arg(name='count', type=d.T.integer)]), 5 | withCount(count): { count: count }, 6 | '#withLastObservedTime':: d.fn(help='"MicroTime is version of Time with microsecond level precision."', args=[d.arg(name='lastObservedTime', type=d.T.string)]), 7 | withLastObservedTime(lastObservedTime): { lastObservedTime: lastObservedTime }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/eventSource.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='eventSource', url='', help='"EventSource contains information for an event."'), 4 | '#withComponent':: d.fn(help='"Component from which the event is generated."', args=[d.arg(name='component', type=d.T.string)]), 5 | withComponent(component): { component: component }, 6 | '#withHost':: d.fn(help='"Node name on which the event is generated."', args=[d.arg(name='host', type=d.T.string)]), 7 | withHost(host): { host: host }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/flockerVolumeSource.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='flockerVolumeSource', url='', help='"Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling."'), 4 | '#withDatasetName':: d.fn(help='"datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"', args=[d.arg(name='datasetName', type=d.T.string)]), 5 | withDatasetName(datasetName): { datasetName: datasetName }, 6 | '#withDatasetUUID':: d.fn(help='"datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset"', args=[d.arg(name='datasetUUID', type=d.T.string)]), 7 | withDatasetUUID(datasetUUID): { datasetUUID: datasetUUID }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/grpcAction.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='grpcAction', url='', help=''), 4 | '#withPort':: d.fn(help='"Port number of the gRPC service. Number must be in the range 1 to 65535."', args=[d.arg(name='port', type=d.T.integer)]), 5 | withPort(port): { port: port }, 6 | '#withService':: d.fn(help='"Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\\n\\nIf this is not specified, the default behavior is defined by gRPC."', args=[d.arg(name='service', type=d.T.string)]), 7 | withService(service): { service: service }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/hostIP.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='hostIP', url='', help='"HostIP represents a single IP address allocated to the host."'), 4 | '#withIp':: d.fn(help='"IP is the IP address assigned to the host"', args=[d.arg(name='ip', type=d.T.string)]), 5 | withIp(ip): { ip: ip }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/hostPathVolumeSource.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='hostPathVolumeSource', url='', help='"Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling."'), 4 | '#withPath':: d.fn(help='"path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"', args=[d.arg(name='path', type=d.T.string)]), 5 | withPath(path): { path: path }, 6 | '#withType':: d.fn(help='"type for HostPath Volume Defaults to \\"\\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"', args=[d.arg(name='type', type=d.T.string)]), 7 | withType(type): { type: type }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/httpHeader.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='httpHeader', url='', help='"HTTPHeader describes a custom header to be used in HTTP probes"'), 4 | '#withName':: d.fn(help='"The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#withValue':: d.fn(help='"The header field value"', args=[d.arg(name='value', type=d.T.string)]), 7 | withValue(value): { value: value }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/limitRangeSpec.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='limitRangeSpec', url='', help='"LimitRangeSpec defines a min/max usage limit for resources that match on kind."'), 4 | '#withLimits':: d.fn(help='"Limits is the list of LimitRangeItem objects that are enforced."', args=[d.arg(name='limits', type=d.T.array)]), 5 | withLimits(limits): { limits: if std.isArray(v=limits) then limits else [limits] }, 6 | '#withLimitsMixin':: d.fn(help='"Limits is the list of LimitRangeItem objects that are enforced."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='limits', type=d.T.array)]), 7 | withLimitsMixin(limits): { limits+: if std.isArray(v=limits) then limits else [limits] }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/localObjectReference.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='localObjectReference', url='', help='"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."'), 4 | '#withName':: d.fn(help='"Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/localVolumeSource.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='localVolumeSource', url='', help='"Local represents directly-attached storage with node affinity (Beta feature)"'), 4 | '#withFsType':: d.fn(help='"fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \\"ext4\\", \\"xfs\\", \\"ntfs\\". The default value is to auto-select a filesystem if unspecified."', args=[d.arg(name='fsType', type=d.T.string)]), 5 | withFsType(fsType): { fsType: fsType }, 6 | '#withPath':: d.fn(help='"path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)."', args=[d.arg(name='path', type=d.T.string)]), 7 | withPath(path): { path: path }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/modifyVolumeStatus.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='modifyVolumeStatus', url='', help='"ModifyVolumeStatus represents the status object of ControllerModifyVolume operation"'), 4 | '#withTargetVolumeAttributesClassName':: d.fn(help='"targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled"', args=[d.arg(name='targetVolumeAttributesClassName', type=d.T.string)]), 5 | withTargetVolumeAttributesClassName(targetVolumeAttributesClassName): { targetVolumeAttributesClassName: targetVolumeAttributesClassName }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/nodeAddress.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='nodeAddress', url='', help="\"NodeAddress contains information for the node's address.\""), 4 | '#withAddress':: d.fn(help='"The node address."', args=[d.arg(name='address', type=d.T.string)]), 5 | withAddress(address): { address: address }, 6 | '#withType':: d.fn(help='"Node address type, one of Hostname, ExternalIP or InternalIP."', args=[d.arg(name='type', type=d.T.string)]), 7 | withType(type): { type: type }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/nodeDaemonEndpoints.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='nodeDaemonEndpoints', url='', help='"NodeDaemonEndpoints lists ports opened by daemons running on the Node."'), 4 | '#kubeletEndpoint':: d.obj(help='"DaemonEndpoint contains information about a single Daemon endpoint."'), 5 | kubeletEndpoint: { 6 | '#withPort':: d.fn(help='"Port number of the given endpoint."', args=[d.arg(name='port', type=d.T.integer)]), 7 | withPort(port): { kubeletEndpoint+: { port: port } }, 8 | }, 9 | '#mixin': 'ignore', 10 | mixin: self, 11 | } 12 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/nodeRuntimeHandler.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='nodeRuntimeHandler', url='', help='"NodeRuntimeHandler is a set of runtime handler information."'), 4 | '#features':: d.obj(help='"NodeRuntimeHandlerFeatures is a set of runtime features."'), 5 | features: { 6 | '#withRecursiveReadOnlyMounts':: d.fn(help='"RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts."', args=[d.arg(name='recursiveReadOnlyMounts', type=d.T.boolean)]), 7 | withRecursiveReadOnlyMounts(recursiveReadOnlyMounts): { features+: { recursiveReadOnlyMounts: recursiveReadOnlyMounts } }, 8 | }, 9 | '#withName':: d.fn(help='"Runtime handler name. Empty for the default runtime handler."', args=[d.arg(name='name', type=d.T.string)]), 10 | withName(name): { name: name }, 11 | '#mixin': 'ignore', 12 | mixin: self, 13 | } 14 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/nodeRuntimeHandlerFeatures.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='nodeRuntimeHandlerFeatures', url='', help='"NodeRuntimeHandlerFeatures is a set of runtime features."'), 4 | '#withRecursiveReadOnlyMounts':: d.fn(help='"RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts."', args=[d.arg(name='recursiveReadOnlyMounts', type=d.T.boolean)]), 5 | withRecursiveReadOnlyMounts(recursiveReadOnlyMounts): { recursiveReadOnlyMounts: recursiveReadOnlyMounts }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/objectFieldSelector.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='objectFieldSelector', url='', help='"ObjectFieldSelector selects an APIVersioned field of an object."'), 4 | '#withFieldPath':: d.fn(help='"Path of the field to select in the specified API version."', args=[d.arg(name='fieldPath', type=d.T.string)]), 5 | withFieldPath(fieldPath): { fieldPath: fieldPath }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/photonPersistentDiskVolumeSource.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='photonPersistentDiskVolumeSource', url='', help='"Represents a Photon Controller persistent disk resource."'), 4 | '#withFsType':: d.fn(help='"fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \\"ext4\\", \\"xfs\\", \\"ntfs\\". Implicitly inferred to be \\"ext4\\" if unspecified."', args=[d.arg(name='fsType', type=d.T.string)]), 5 | withFsType(fsType): { fsType: fsType }, 6 | '#withPdID':: d.fn(help='"pdID is the ID that identifies Photon Controller persistent disk"', args=[d.arg(name='pdID', type=d.T.string)]), 7 | withPdID(pdID): { pdID: pdID }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/podDNSConfigOption.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='podDNSConfigOption', url='', help='"PodDNSConfigOption defines DNS resolver options of a pod."'), 4 | '#withName':: d.fn(help='"Required."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#withValue':: d.fn(help='', args=[d.arg(name='value', type=d.T.string)]), 7 | withValue(value): { value: value }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/podIP.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='podIP', url='', help='"PodIP represents a single IP address allocated to the pod."'), 4 | '#withIp':: d.fn(help='"IP is the IP address assigned to the pod"', args=[d.arg(name='ip', type=d.T.string)]), 5 | withIp(ip): { ip: ip }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/podOS.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='podOS', url='', help='"PodOS defines the OS parameters of a pod."'), 4 | '#withName':: d.fn(help='"Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null"', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/podReadinessGate.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='podReadinessGate', url='', help='"PodReadinessGate contains the reference to a pod condition"'), 4 | '#withConditionType':: d.fn(help="\"ConditionType refers to a condition in the pod's condition list with matching type.\"", args=[d.arg(name='conditionType', type=d.T.string)]), 5 | withConditionType(conditionType): { conditionType: conditionType }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/podSchedulingGate.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='podSchedulingGate', url='', help='"PodSchedulingGate is associated to a Pod to guard its scheduling."'), 4 | '#withName':: d.fn(help='"Name of the scheduling gate. Each scheduling gate must have a unique name field."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/resourceClaim.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='resourceClaim', url='', help='"ResourceClaim references one entry in PodSpec.ResourceClaims."'), 4 | '#withName':: d.fn(help='"Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/seLinuxOptions.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='seLinuxOptions', url='', help='"SELinuxOptions are the labels to be applied to the container"'), 4 | '#withLevel':: d.fn(help='"Level is SELinux level label that applies to the container."', args=[d.arg(name='level', type=d.T.string)]), 5 | withLevel(level): { level: level }, 6 | '#withRole':: d.fn(help='"Role is a SELinux role label that applies to the container."', args=[d.arg(name='role', type=d.T.string)]), 7 | withRole(role): { role: role }, 8 | '#withType':: d.fn(help='"Type is a SELinux type label that applies to the container."', args=[d.arg(name='type', type=d.T.string)]), 9 | withType(type): { type: type }, 10 | '#withUser':: d.fn(help='"User is a SELinux user label that applies to the container."', args=[d.arg(name='user', type=d.T.string)]), 11 | withUser(user): { user: user }, 12 | '#mixin': 'ignore', 13 | mixin: self, 14 | } 15 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/secretEnvSource.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='secretEnvSource', url='', help="\"SecretEnvSource selects a Secret to populate the environment variables with.\\n\\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.\""), 4 | '#withName':: d.fn(help='"Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#withOptional':: d.fn(help='"Specify whether the Secret must be defined"', args=[d.arg(name='optional', type=d.T.boolean)]), 7 | withOptional(optional): { optional: optional }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/secretReference.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='secretReference', url='', help='"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"'), 4 | '#withName':: d.fn(help='"name is unique within a namespace to reference a secret resource."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#withNamespace':: d.fn(help='"namespace defines the space within which the secret name must be unique."', args=[d.arg(name='namespace', type=d.T.string)]), 7 | withNamespace(namespace): { namespace: namespace }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/sessionAffinityConfig.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='sessionAffinityConfig', url='', help='"SessionAffinityConfig represents the configurations of session affinity."'), 4 | '#clientIP':: d.obj(help='"ClientIPConfig represents the configurations of Client IP based session affinity."'), 5 | clientIP: { 6 | '#withTimeoutSeconds':: d.fn(help='"timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \\"ClientIP\\". Default value is 10800(for 3 hours)."', args=[d.arg(name='timeoutSeconds', type=d.T.integer)]), 7 | withTimeoutSeconds(timeoutSeconds): { clientIP+: { timeoutSeconds: timeoutSeconds } }, 8 | }, 9 | '#mixin': 'ignore', 10 | mixin: self, 11 | } 12 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/sleepAction.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='sleepAction', url='', help='"SleepAction describes a \\"sleep\\" action."'), 4 | '#withSeconds':: d.fn(help='"Seconds is the number of seconds to sleep."', args=[d.arg(name='seconds', type=d.T.integer)]), 5 | withSeconds(seconds): { seconds: seconds }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/sysctl.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='sysctl', url='', help='"Sysctl defines a kernel parameter to be set"'), 4 | '#withName':: d.fn(help='"Name of a property to set"', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#withValue':: d.fn(help='"Value of a property to set"', args=[d.arg(name='value', type=d.T.string)]), 7 | withValue(value): { value: value }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/tcpSocketAction.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='tcpSocketAction', url='', help='"TCPSocketAction describes an action based on opening a socket"'), 4 | '#withHost':: d.fn(help='"Optional: Host name to connect to, defaults to the pod IP."', args=[d.arg(name='host', type=d.T.string)]), 5 | withHost(host): { host: host }, 6 | '#withPort':: d.fn(help='"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."', args=[d.arg(name='port', type=d.T.string)]), 7 | withPort(port): { port: port }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/core/v1/volumeDevice.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='volumeDevice', url='', help='"volumeDevice describes a mapping of a raw block device within a container."'), 4 | '#withDevicePath':: d.fn(help='"devicePath is the path inside of the container that the device will be mapped to."', args=[d.arg(name='devicePath', type=d.T.string)]), 5 | withDevicePath(devicePath): { devicePath: devicePath }, 6 | '#withName':: d.fn(help='"name must match the name of a persistentVolumeClaim in the pod"', args=[d.arg(name='name', type=d.T.string)]), 7 | withName(name): { name: name }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/discovery/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='discovery', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/discovery/v1/endpointHints.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='endpointHints', url='', help='"EndpointHints provides hints describing how an endpoint should be consumed."'), 4 | '#withForZones':: d.fn(help='"forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing."', args=[d.arg(name='forZones', type=d.T.array)]), 5 | withForZones(forZones): { forZones: if std.isArray(v=forZones) then forZones else [forZones] }, 6 | '#withForZonesMixin':: d.fn(help='"forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='forZones', type=d.T.array)]), 7 | withForZonesMixin(forZones): { forZones+: if std.isArray(v=forZones) then forZones else [forZones] }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/discovery/v1/forZone.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='forZone', url='', help='"ForZone provides information about which zones should consume this endpoint."'), 4 | '#withName':: d.fn(help='"name represents the name of the zone."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/discovery/v1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1', url='', help=''), 4 | endpoint: (import 'endpoint.libsonnet'), 5 | endpointConditions: (import 'endpointConditions.libsonnet'), 6 | endpointHints: (import 'endpointHints.libsonnet'), 7 | endpointPort: (import 'endpointPort.libsonnet'), 8 | endpointSlice: (import 'endpointSlice.libsonnet'), 9 | forZone: (import 'forZone.libsonnet'), 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/events/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='events', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/events/v1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1', url='', help=''), 4 | event: (import 'event.libsonnet'), 5 | eventSeries: (import 'eventSeries.libsonnet'), 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='flowcontrol', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | v1beta3: (import 'v1beta3/main.libsonnet'), 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1/flowDistinguisherMethod.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='flowDistinguisherMethod', url='', help='"FlowDistinguisherMethod specifies the method of a flow distinguisher."'), 4 | '#withType':: d.fn(help='"`type` is the type of flow distinguisher method The supported types are \\"ByUser\\" and \\"ByNamespace\\". Required."', args=[d.arg(name='type', type=d.T.string)]), 5 | withType(type): { type: type }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1/flowSchemaStatus.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='flowSchemaStatus', url='', help='"FlowSchemaStatus represents the current state of a FlowSchema."'), 4 | '#withConditions':: d.fn(help='"`conditions` is a list of the current states of FlowSchema."', args=[d.arg(name='conditions', type=d.T.array)]), 5 | withConditions(conditions): { conditions: if std.isArray(v=conditions) then conditions else [conditions] }, 6 | '#withConditionsMixin':: d.fn(help='"`conditions` is a list of the current states of FlowSchema."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='conditions', type=d.T.array)]), 7 | withConditionsMixin(conditions): { conditions+: if std.isArray(v=conditions) then conditions else [conditions] }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1/groupSubject.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='groupSubject', url='', help='"GroupSubject holds detailed information for group-kind subject."'), 4 | '#withName':: d.fn(help='"name is the user group that matches, or \\"*\\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1/priorityLevelConfigurationReference.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='priorityLevelConfigurationReference', url='', help='"PriorityLevelConfigurationReference contains information that points to the \\"request-priority\\" being used."'), 4 | '#withName':: d.fn(help='"`name` is the name of the priority level configuration being referenced Required."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1/priorityLevelConfigurationStatus.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='priorityLevelConfigurationStatus', url='', help='"PriorityLevelConfigurationStatus represents the current state of a \\"request-priority\\"."'), 4 | '#withConditions':: d.fn(help='"`conditions` is the current state of \\"request-priority\\"."', args=[d.arg(name='conditions', type=d.T.array)]), 5 | withConditions(conditions): { conditions: if std.isArray(v=conditions) then conditions else [conditions] }, 6 | '#withConditionsMixin':: d.fn(help='"`conditions` is the current state of \\"request-priority\\"."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='conditions', type=d.T.array)]), 7 | withConditionsMixin(conditions): { conditions+: if std.isArray(v=conditions) then conditions else [conditions] }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1/serviceAccountSubject.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='serviceAccountSubject', url='', help='"ServiceAccountSubject holds detailed information for service-account-kind subject."'), 4 | '#withName':: d.fn(help='"`name` is the name of matching ServiceAccount objects, or \\"*\\" to match regardless of name. Required."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#withNamespace':: d.fn(help='"`namespace` is the namespace of matching ServiceAccount objects. Required."', args=[d.arg(name='namespace', type=d.T.string)]), 7 | withNamespace(namespace): { namespace: namespace }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1/userSubject.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='userSubject', url='', help='"UserSubject holds detailed information for user-kind subject."'), 4 | '#withName':: d.fn(help='"`name` is the username that matches, or \\"*\\" to match all usernames. Required."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1beta3/flowDistinguisherMethod.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='flowDistinguisherMethod', url='', help='"FlowDistinguisherMethod specifies the method of a flow distinguisher."'), 4 | '#withType':: d.fn(help='"`type` is the type of flow distinguisher method The supported types are \\"ByUser\\" and \\"ByNamespace\\". Required."', args=[d.arg(name='type', type=d.T.string)]), 5 | withType(type): { type: type }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1beta3/flowSchemaStatus.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='flowSchemaStatus', url='', help='"FlowSchemaStatus represents the current state of a FlowSchema."'), 4 | '#withConditions':: d.fn(help='"`conditions` is a list of the current states of FlowSchema."', args=[d.arg(name='conditions', type=d.T.array)]), 5 | withConditions(conditions): { conditions: if std.isArray(v=conditions) then conditions else [conditions] }, 6 | '#withConditionsMixin':: d.fn(help='"`conditions` is a list of the current states of FlowSchema."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='conditions', type=d.T.array)]), 7 | withConditionsMixin(conditions): { conditions+: if std.isArray(v=conditions) then conditions else [conditions] }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1beta3/groupSubject.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='groupSubject', url='', help='"GroupSubject holds detailed information for group-kind subject."'), 4 | '#withName':: d.fn(help='"name is the user group that matches, or \\"*\\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1beta3/priorityLevelConfigurationReference.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='priorityLevelConfigurationReference', url='', help='"PriorityLevelConfigurationReference contains information that points to the \\"request-priority\\" being used."'), 4 | '#withName':: d.fn(help='"`name` is the name of the priority level configuration being referenced Required."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1beta3/priorityLevelConfigurationStatus.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='priorityLevelConfigurationStatus', url='', help='"PriorityLevelConfigurationStatus represents the current state of a \\"request-priority\\"."'), 4 | '#withConditions':: d.fn(help='"`conditions` is the current state of \\"request-priority\\"."', args=[d.arg(name='conditions', type=d.T.array)]), 5 | withConditions(conditions): { conditions: if std.isArray(v=conditions) then conditions else [conditions] }, 6 | '#withConditionsMixin':: d.fn(help='"`conditions` is the current state of \\"request-priority\\"."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='conditions', type=d.T.array)]), 7 | withConditionsMixin(conditions): { conditions+: if std.isArray(v=conditions) then conditions else [conditions] }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1beta3/serviceAccountSubject.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='serviceAccountSubject', url='', help='"ServiceAccountSubject holds detailed information for service-account-kind subject."'), 4 | '#withName':: d.fn(help='"`name` is the name of matching ServiceAccount objects, or \\"*\\" to match regardless of name. Required."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#withNamespace':: d.fn(help='"`namespace` is the namespace of matching ServiceAccount objects. Required."', args=[d.arg(name='namespace', type=d.T.string)]), 7 | withNamespace(namespace): { namespace: namespace }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/flowcontrol/v1beta3/userSubject.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='userSubject', url='', help='"UserSubject holds detailed information for user-kind subject."'), 4 | '#withName':: d.fn(help='"`name` is the username that matches, or \\"*\\" to match all usernames. Required."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/meta/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='meta', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/meta/v1/groupVersionForDiscovery.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='groupVersionForDiscovery', url='', help='"GroupVersion contains the \\"group/version\\" and \\"version\\" string of a version. It is made a struct to keep extensibility."'), 4 | '#withGroupVersion':: d.fn(help='"groupVersion specifies the API group and version in the form \\"group/version\\', args=[d.arg(name='groupVersion', type=d.T.string)]), 5 | withGroupVersion(groupVersion): { groupVersion: groupVersion }, 6 | '#withVersion':: d.fn(help='"version specifies the version in the form of \\"version\\". This is to save the clients the trouble of splitting the GroupVersion."', args=[d.arg(name='version', type=d.T.string)]), 7 | withVersion(version): { version: version }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/meta/v1/microTime.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='microTime', url='', help='"MicroTime is version of Time with microsecond level precision."'), 4 | '#mixin': 'ignore', 5 | mixin: self, 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/meta/v1/patch.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='patch', url='', help='"Patch is provided to give a concrete name and type to the Kubernetes PATCH request body."'), 4 | '#mixin': 'ignore', 5 | mixin: self, 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/meta/v1/preconditions.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='preconditions', url='', help='"Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out."'), 4 | '#withResourceVersion':: d.fn(help='"Specifies the target ResourceVersion"', args=[d.arg(name='resourceVersion', type=d.T.string)]), 5 | withResourceVersion(resourceVersion): { resourceVersion: resourceVersion }, 6 | '#withUid':: d.fn(help='"Specifies the target UID."', args=[d.arg(name='uid', type=d.T.string)]), 7 | withUid(uid): { uid: uid }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/meta/v1/serverAddressByClientCIDR.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='serverAddressByClientCIDR', url='', help='"ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match."'), 4 | '#withClientCIDR':: d.fn(help='"The CIDR with which clients can match their IP to figure out the server address that they should use."', args=[d.arg(name='clientCIDR', type=d.T.string)]), 5 | withClientCIDR(clientCIDR): { clientCIDR: clientCIDR }, 6 | '#withServerAddress':: d.fn(help='"Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port."', args=[d.arg(name='serverAddress', type=d.T.string)]), 7 | withServerAddress(serverAddress): { serverAddress: serverAddress }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/meta/v1/time.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='time', url='', help='"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."'), 4 | '#mixin': 'ignore', 5 | mixin: self, 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/networking/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='networking', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | v1alpha1: (import 'v1alpha1/main.libsonnet'), 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/networking/v1/ingressLoadBalancerStatus.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='ingressLoadBalancerStatus', url='', help='"IngressLoadBalancerStatus represents the status of a load-balancer."'), 4 | '#withIngress':: d.fn(help='"ingress is a list containing ingress points for the load-balancer."', args=[d.arg(name='ingress', type=d.T.array)]), 5 | withIngress(ingress): { ingress: if std.isArray(v=ingress) then ingress else [ingress] }, 6 | '#withIngressMixin':: d.fn(help='"ingress is a list containing ingress points for the load-balancer."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='ingress', type=d.T.array)]), 7 | withIngressMixin(ingress): { ingress+: if std.isArray(v=ingress) then ingress else [ingress] }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/networking/v1/serviceBackendPort.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='serviceBackendPort', url='', help='"ServiceBackendPort is the service port being referenced."'), 4 | '#withName':: d.fn(help='"name is the name of the port on the Service. This is a mutually exclusive setting with \\"Number\\"."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#withNumber':: d.fn(help='"number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \\"Name\\"."', args=[d.arg(name='number', type=d.T.integer)]), 7 | withNumber(number): { number: number }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/networking/v1alpha1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1alpha1', url='', help=''), 4 | ipAddress: (import 'ipAddress.libsonnet'), 5 | ipAddressSpec: (import 'ipAddressSpec.libsonnet'), 6 | parentReference: (import 'parentReference.libsonnet'), 7 | serviceCIDR: (import 'serviceCIDR.libsonnet'), 8 | serviceCIDRSpec: (import 'serviceCIDRSpec.libsonnet'), 9 | serviceCIDRStatus: (import 'serviceCIDRStatus.libsonnet'), 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/node/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='node', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/node/v1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1', url='', help=''), 4 | overhead: (import 'overhead.libsonnet'), 5 | runtimeClass: (import 'runtimeClass.libsonnet'), 6 | scheduling: (import 'scheduling.libsonnet'), 7 | } 8 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/node/v1/overhead.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='overhead', url='', help='"Overhead structure represents the resource overhead associated with running a pod."'), 4 | '#withPodFixed':: d.fn(help='"podFixed represents the fixed resource overhead associated with running a pod."', args=[d.arg(name='podFixed', type=d.T.object)]), 5 | withPodFixed(podFixed): { podFixed: podFixed }, 6 | '#withPodFixedMixin':: d.fn(help='"podFixed represents the fixed resource overhead associated with running a pod."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='podFixed', type=d.T.object)]), 7 | withPodFixedMixin(podFixed): { podFixed+: podFixed }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/policy/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='policy', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/policy/v1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1', url='', help=''), 4 | eviction: (import 'eviction.libsonnet'), 5 | podDisruptionBudget: (import 'podDisruptionBudget.libsonnet'), 6 | podDisruptionBudgetSpec: (import 'podDisruptionBudgetSpec.libsonnet'), 7 | podDisruptionBudgetStatus: (import 'podDisruptionBudgetStatus.libsonnet'), 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/rbac/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='rbac', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/rbac/v1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1', url='', help=''), 4 | aggregationRule: (import 'aggregationRule.libsonnet'), 5 | clusterRole: (import 'clusterRole.libsonnet'), 6 | clusterRoleBinding: (import 'clusterRoleBinding.libsonnet'), 7 | policyRule: (import 'policyRule.libsonnet'), 8 | role: (import 'role.libsonnet'), 9 | roleBinding: (import 'roleBinding.libsonnet'), 10 | roleRef: (import 'roleRef.libsonnet'), 11 | subject: (import 'subject.libsonnet'), 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/rbac/v1/roleRef.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='roleRef', url='', help='"RoleRef contains information that points to the role being used"'), 4 | '#withApiGroup':: d.fn(help='"APIGroup is the group for the resource being referenced"', args=[d.arg(name='apiGroup', type=d.T.string)]), 5 | withApiGroup(apiGroup): { apiGroup: apiGroup }, 6 | '#withKind':: d.fn(help='"Kind is the type of resource being referenced"', args=[d.arg(name='kind', type=d.T.string)]), 7 | withKind(kind): { kind: kind }, 8 | '#withName':: d.fn(help='"Name is the name of resource being referenced"', args=[d.arg(name='name', type=d.T.string)]), 9 | withName(name): { name: name }, 10 | '#mixin': 'ignore', 11 | mixin: self, 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/resource/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='resource', url='', help=''), 4 | v1alpha2: (import 'v1alpha2/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/resource/v1alpha2/namedResourcesAllocationResult.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='namedResourcesAllocationResult', url='', help='"NamedResourcesAllocationResult is used in AllocationResultModel."'), 4 | '#withName':: d.fn(help='"Name is the name of the selected resource instance."', args=[d.arg(name='name', type=d.T.string)]), 5 | withName(name): { name: name }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/resource/v1alpha2/namedResourcesFilter.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='namedResourcesFilter', url='', help='"NamedResourcesFilter is used in ResourceFilterModel."'), 4 | '#withSelector':: d.fn(help='"Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\\n\\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\\n\\n attributes.quantity[\\"a\\"].isGreaterThan(quantity(\\"0\\")) &&\\n attributes.stringslice[\\"b\\"].isSorted()"', args=[d.arg(name='selector', type=d.T.string)]), 5 | withSelector(selector): { selector: selector }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/resource/v1alpha2/namedResourcesIntSlice.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='namedResourcesIntSlice', url='', help='"NamedResourcesIntSlice contains a slice of 64-bit integers."'), 4 | '#withInts':: d.fn(help='"Ints is the slice of 64-bit integers."', args=[d.arg(name='ints', type=d.T.array)]), 5 | withInts(ints): { ints: if std.isArray(v=ints) then ints else [ints] }, 6 | '#withIntsMixin':: d.fn(help='"Ints is the slice of 64-bit integers."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='ints', type=d.T.array)]), 7 | withIntsMixin(ints): { ints+: if std.isArray(v=ints) then ints else [ints] }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/resource/v1alpha2/namedResourcesRequest.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='namedResourcesRequest', url='', help='"NamedResourcesRequest is used in ResourceRequestModel."'), 4 | '#withSelector':: d.fn(help='"Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\\n\\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\\n\\n attributes.quantity[\\"a\\"].isGreaterThan(quantity(\\"0\\")) &&\\n attributes.stringslice[\\"b\\"].isSorted()"', args=[d.arg(name='selector', type=d.T.string)]), 5 | withSelector(selector): { selector: selector }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/resource/v1alpha2/namedResourcesResources.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='namedResourcesResources', url='', help='"NamedResourcesResources is used in ResourceModel."'), 4 | '#withInstances':: d.fn(help='"The list of all individual resources instances currently available."', args=[d.arg(name='instances', type=d.T.array)]), 5 | withInstances(instances): { instances: if std.isArray(v=instances) then instances else [instances] }, 6 | '#withInstancesMixin':: d.fn(help='"The list of all individual resources instances currently available."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='instances', type=d.T.array)]), 7 | withInstancesMixin(instances): { instances+: if std.isArray(v=instances) then instances else [instances] }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/resource/v1alpha2/namedResourcesStringSlice.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='namedResourcesStringSlice', url='', help='"NamedResourcesStringSlice contains a slice of strings."'), 4 | '#withStrings':: d.fn(help='"Strings is the slice of strings."', args=[d.arg(name='strings', type=d.T.array)]), 5 | withStrings(strings): { strings: if std.isArray(v=strings) then strings else [strings] }, 6 | '#withStringsMixin':: d.fn(help='"Strings is the slice of strings."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='strings', type=d.T.array)]), 7 | withStringsMixin(strings): { strings+: if std.isArray(v=strings) then strings else [strings] }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/scheduling/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='scheduling', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/scheduling/v1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1', url='', help=''), 4 | priorityClass: (import 'priorityClass.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/storage/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='storage', url='', help=''), 4 | v1: (import 'v1/main.libsonnet'), 5 | v1alpha1: (import 'v1alpha1/main.libsonnet'), 6 | } 7 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/storage/v1/tokenRequest.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='tokenRequest', url='', help='"TokenRequest contains parameters of a service account token."'), 4 | '#withAudience':: d.fn(help='"audience is the intended audience of the token in \\"TokenRequestSpec\\". It will default to the audiences of kube apiserver."', args=[d.arg(name='audience', type=d.T.string)]), 5 | withAudience(audience): { audience: audience }, 6 | '#withExpirationSeconds':: d.fn(help='"expirationSeconds is the duration of validity of the token in \\"TokenRequestSpec\\". It has the same default value of \\"ExpirationSeconds\\" in \\"TokenRequestSpec\\"."', args=[d.arg(name='expirationSeconds', type=d.T.integer)]), 7 | withExpirationSeconds(expirationSeconds): { expirationSeconds: expirationSeconds }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/storage/v1/volumeError.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='volumeError', url='', help='"VolumeError captures an error encountered during a volume operation."'), 4 | '#withMessage':: d.fn(help='"message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."', args=[d.arg(name='message', type=d.T.string)]), 5 | withMessage(message): { message: message }, 6 | '#withTime':: d.fn(help='"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."', args=[d.arg(name='time', type=d.T.string)]), 7 | withTime(time): { time: time }, 8 | '#mixin': 'ignore', 9 | mixin: self, 10 | } 11 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/storage/v1/volumeNodeResources.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='volumeNodeResources', url='', help='"VolumeNodeResources is a set of resource limits for scheduling of volumes."'), 4 | '#withCount':: d.fn(help='"count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded."', args=[d.arg(name='count', type=d.T.integer)]), 5 | withCount(count): { count: count }, 6 | '#mixin': 'ignore', 7 | mixin: self, 8 | } 9 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/storage/v1alpha1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1alpha1', url='', help=''), 4 | volumeAttributesClass: (import 'volumeAttributesClass.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/storagemigration/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='storagemigration', url='', help=''), 4 | v1alpha1: (import 'v1alpha1/main.libsonnet'), 5 | } 6 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/storagemigration/v1alpha1/groupVersionResource.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='groupVersionResource', url='', help='"The names of the group, the version, and the resource."'), 4 | '#withGroup':: d.fn(help='"The name of the group."', args=[d.arg(name='group', type=d.T.string)]), 5 | withGroup(group): { group: group }, 6 | '#withResource':: d.fn(help='"The name of the resource."', args=[d.arg(name='resource', type=d.T.string)]), 7 | withResource(resource): { resource: resource }, 8 | '#withVersion':: d.fn(help='"The name of the version."', args=[d.arg(name='version', type=d.T.string)]), 9 | withVersion(version): { version: version }, 10 | '#mixin': 'ignore', 11 | mixin: self, 12 | } 13 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/_gen/storagemigration/v1alpha1/main.libsonnet: -------------------------------------------------------------------------------- 1 | { 2 | local d = (import 'doc-util/main.libsonnet'), 3 | '#':: d.pkg(name='v1alpha1', url='', help=''), 4 | groupVersionResource: (import 'groupVersionResource.libsonnet'), 5 | migrationCondition: (import 'migrationCondition.libsonnet'), 6 | storageVersionMigration: (import 'storageVersionMigration.libsonnet'), 7 | storageVersionMigrationSpec: (import 'storageVersionMigrationSpec.libsonnet'), 8 | storageVersionMigrationStatus: (import 'storageVersionMigrationStatus.libsonnet'), 9 | } 10 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.30/main.libsonnet: -------------------------------------------------------------------------------- 1 | (import 'gen.libsonnet') + (import '_custom/apps.libsonnet') + (import '_custom/autoscaling.libsonnet') + (import '_custom/batch.libsonnet') + (import '_custom/core.libsonnet') + (import '_custom/list.libsonnet') + (import '_custom/mapContainers.libsonnet') + (import '_custom/rbac.libsonnet') + (import '_custom/volumeMounts.libsonnet') 2 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/xtd/.github/workflows/tests.yml: -------------------------------------------------------------------------------- 1 | name: tests 2 | on: 3 | pull_request: {} 4 | push: 5 | branches: 6 | - main 7 | - master 8 | 9 | jobs: 10 | test: 11 | name: test 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: actions/checkout@v4 15 | - uses: actions/setup-go@v4 16 | - name: make test 17 | run: | 18 | go install github.com/google/go-jsonnet/cmd/jsonnet@latest 19 | go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest 20 | make test 21 | docs: 22 | name: docs 23 | runs-on: ubuntu-latest 24 | steps: 25 | - uses: actions/checkout@v4 26 | - uses: actions/setup-go@v4 27 | - name: make docs 28 | run: | 29 | go install github.com/jsonnet-libs/docsonnet@master 30 | make docs 31 | git diff --exit-code 32 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/xtd/.gitignore: -------------------------------------------------------------------------------- 1 | .jekyll-cache 2 | jsonnetfile.lock.json 3 | vendor 4 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/xtd/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test 2 | test: 3 | @cd test/; \ 4 | jb install; \ 5 | RESULT=0; \ 6 | for f in $$(find . -path './.git' -prune -o -name 'vendor' -prune -o -name '*_test.jsonnet' -print); do \ 7 | echo "$$f"; \ 8 | jsonnet -J vendor -J lib "$$f"; \ 9 | RESULT=$$(($$RESULT + $$?)); \ 10 | done; \ 11 | exit $$RESULT 12 | 13 | 14 | .PHONY: docs 15 | docs: 16 | docsonnet main.libsonnet 17 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/xtd/README.md: -------------------------------------------------------------------------------- 1 | # `xtd` 2 | 3 | `xtd` aims to collect useful functions not included in the Jsonnet standard library (`std`). 4 | 5 | ## Install 6 | 7 | ```console 8 | jb install github.com/jsonnet-libs/xtd 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```jsonnet 14 | local xtd = import "github.com/jsonnet-libs/xtd/main.libsonnet" 15 | ``` 16 | 17 | ## Docs 18 | 19 | [docs](docs/README.md) 20 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/xtd/docs/.gitignore: -------------------------------------------------------------------------------- 1 | Gemfile.lock 2 | _site 3 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/xtd/docs/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | gem "github-pages", group: :jekyll_plugins 3 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/xtd/docs/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: / 3 | --- 4 | 5 | # xtd 6 | 7 | ```jsonnet 8 | local xtd = import "github.com/jsonnet-libs/xtd/main.libsonnet" 9 | ``` 10 | 11 | `xtd` aims to collect useful functions not included in the Jsonnet standard library (`std`). 12 | 13 | This package serves as a test field for functions intended to be contributed to `std` 14 | in the future, but also provides a place for less general, yet useful utilities. 15 | 16 | 17 | * [aggregate](aggregate.md) 18 | * [array](array.md) 19 | * [ascii](ascii.md) 20 | * [camelcase](camelcase.md) 21 | * [date](date.md) 22 | * [inspect](inspect.md) 23 | * [jsonpath](jsonpath.md) 24 | * [number](number.md) 25 | * [string](string.md) 26 | * [url](url.md) -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/xtd/docs/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman 2 | baseurl: /xtd 3 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/xtd/docs/array.md: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: /array/ 3 | --- 4 | 5 | # array 6 | 7 | ```jsonnet 8 | local array = import "github.com/jsonnet-libs/xtd/array.libsonnet" 9 | ``` 10 | 11 | `array` implements helper functions for processing arrays. 12 | 13 | ## Index 14 | 15 | * [`fn filterMapWithIndex(filter_func, map_func, arr)`](#fn-filtermapwithindex) 16 | * [`fn slice(indexable, index, end='null', step=1)`](#fn-slice) 17 | 18 | ## Fields 19 | 20 | ### fn filterMapWithIndex 21 | 22 | ```ts 23 | filterMapWithIndex(filter_func, map_func, arr) 24 | ``` 25 | 26 | `filterMapWithIndex` works the same as `std.filterMap` with the addition that the index is passed to the functions. 27 | 28 | `filter_func` and `map_func` function signature: `function(index, array_item)` 29 | 30 | 31 | ### fn slice 32 | 33 | ```ts 34 | slice(indexable, index, end='null', step=1) 35 | ``` 36 | 37 | `slice` works the same as `std.slice` but with support for negative index/end. -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/xtd/docs/number.md: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: /number/ 3 | --- 4 | 5 | # number 6 | 7 | ```jsonnet 8 | local number = import "github.com/jsonnet-libs/xtd/number.libsonnet" 9 | ``` 10 | 11 | `number` implements helper functions for processing number. 12 | 13 | ## Index 14 | 15 | * [`fn inRange(v, from, to)`](#fn-inrange) 16 | * [`fn maxInArray(arr, default=0)`](#fn-maxinarray) 17 | * [`fn minInArray(arr, default=0)`](#fn-mininarray) 18 | 19 | ## Fields 20 | 21 | ### fn inRange 22 | 23 | ```ts 24 | inRange(v, from, to) 25 | ``` 26 | 27 | `inRange` returns true if `v` is in the given from/to range.` 28 | 29 | ### fn maxInArray 30 | 31 | ```ts 32 | maxInArray(arr, default=0) 33 | ``` 34 | 35 | `maxInArray` finds the biggest number in an array 36 | 37 | ### fn minInArray 38 | 39 | ```ts 40 | minInArray(arr, default=0) 41 | ``` 42 | 43 | `minInArray` finds the smallest number in an array -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/xtd/docs/string.md: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: /string/ 3 | --- 4 | 5 | # string 6 | 7 | ```jsonnet 8 | local string = import "github.com/jsonnet-libs/xtd/string.libsonnet" 9 | ``` 10 | 11 | `string` implements helper functions for processing strings. 12 | 13 | ## Index 14 | 15 | * [`fn splitEscape(str, c, escape='\\')`](#fn-splitescape) 16 | 17 | ## Fields 18 | 19 | ### fn splitEscape 20 | 21 | ```ts 22 | splitEscape(str, c, escape='\\') 23 | ``` 24 | 25 | `split` works the same as `std.split` but with support for escaping the dividing 26 | string `c`. 27 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/github.com/jsonnet-libs/xtd/test/jsonnetfile.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dependencies": [ 4 | { 5 | "source": { 6 | "git": { 7 | "remote": "https://github.com/jsonnet-libs/testonnet.git", 8 | "subdir": "" 9 | } 10 | }, 11 | "version": "master" 12 | } 13 | ], 14 | "legacyImports": true 15 | } 16 | -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/grafonnet-latest: -------------------------------------------------------------------------------- 1 | github.com/grafana/grafonnet/gen/grafonnet-latest -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/grafonnet-v11.4.0: -------------------------------------------------------------------------------- 1 | github.com/grafana/grafonnet/gen/grafonnet-v11.4.0 -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/k8s-libsonnet: -------------------------------------------------------------------------------- 1 | github.com/jsonnet-libs/k8s-libsonnet/1.30 -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/ksonnet-util: -------------------------------------------------------------------------------- 1 | github.com/grafana/jsonnet-libs/ksonnet-util -------------------------------------------------------------------------------- /pkg/server/testdata/vendor/xtd: -------------------------------------------------------------------------------- 1 | github.com/jsonnet-libs/xtd -------------------------------------------------------------------------------- /pkg/stdlib/pull.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" 4 | 5 | curl https://raw.githubusercontent.com/google/jsonnet/master/doc/_stdlib_gen/html.libsonnet -o "${SCRIPT_DIR}/html.libsonnet" 6 | curl https://raw.githubusercontent.com/google/jsonnet/master/doc/_stdlib_gen/stdlib-content.jsonnet -o "${SCRIPT_DIR}/stdlib-content.jsonnet" 7 | 8 | jsonnetfmt -i "${SCRIPT_DIR}/html.libsonnet" 9 | jsonnetfmt -i "${SCRIPT_DIR}/stdlib-content.jsonnet" -------------------------------------------------------------------------------- /pkg/utils/errors.go: -------------------------------------------------------------------------------- 1 | package utils 2 | 3 | import ( 4 | "fmt" 5 | 6 | log "github.com/sirupsen/logrus" 7 | ) 8 | 9 | func LogErrorf(format string, args ...interface{}) error { 10 | err := fmt.Errorf(format, args...) 11 | log.Error(err) 12 | return err 13 | } 14 | -------------------------------------------------------------------------------- /pkg/utils/strings.go: -------------------------------------------------------------------------------- 1 | package utils 2 | 3 | import "regexp" 4 | 5 | var wordRegexp = regexp.MustCompile(`\w+`) 6 | 7 | func FirstWord(s string) string { 8 | words := wordRegexp.FindAllString(s, 1) 9 | if len(words) == 0 { 10 | return "" 11 | } 12 | return words[0] 13 | } 14 | -------------------------------------------------------------------------------- /scripts/jsonnetfmt.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -euxo pipefail 4 | 5 | # Format all jsonnet files in the repo, with exceptions. 6 | # Ignore vendor/ dir 7 | 8 | exceptions=("./pkg/server/testdata/hover-error.jsonnet") 9 | 10 | for f in $(find . -name '*.jsonnet' -print -o -name '*.libsonnet' -not -path "*/vendor/*" -print); do 11 | if [[ " ${exceptions[@]} " =~ " ${f} " ]]; then 12 | continue 13 | fi 14 | jsonnetfmt -i "$f" 15 | done 16 | --------------------------------------------------------------------------------