From 85c6ceec4530af89ab77431799782aa4a876bdb8 Mon Sep 17 00:00:00 2001 From: Amund Tenstad Date: Thu, 29 Feb 2024 11:02:55 +0100 Subject: [PATCH] fix: add gv info --- test/api/common/groupversion_info.go | 20 ++++++++++++++++++++ test/expected.asciidoc | 26 ++++++++++++++++++++++++++ test/expected.md | 22 ++++++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 test/api/common/groupversion_info.go diff --git a/test/api/common/groupversion_info.go b/test/api/common/groupversion_info.go new file mode 100644 index 0000000..b8efcfa --- /dev/null +++ b/test/api/common/groupversion_info.go @@ -0,0 +1,20 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +// Package common contains common API Schema definitions +// +groupName=webapp.test.k8s.elastic.co +package common diff --git a/test/expected.asciidoc b/test/expected.asciidoc index d9b246d..5147b33 100644 --- a/test/expected.asciidoc +++ b/test/expected.asciidoc @@ -5,9 +5,35 @@ == API Reference .Packages +- xref:{anchor_prefix}-webapp-test-k8s-elastic-co-common[$$webapp.test.k8s.elastic.co/common$$] - xref:{anchor_prefix}-webapp-test-k8s-elastic-co-v1[$$webapp.test.k8s.elastic.co/v1$$] +[id="{anchor_prefix}-webapp-test-k8s-elastic-co-common"] +=== webapp.test.k8s.elastic.co/common + +Package common contains common API Schema definitions + + + +[id="{anchor_prefix}-github-com-elastic-crd-ref-docs-api-common-commonstring"] +==== CommonString + +_Underlying type:_ _string_ + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-elastic-crd-ref-docs-api-v1-guestbookspec[$$GuestbookSpec$$] +- xref:{anchor_prefix}-github-com-elastic-crd-ref-docs-api-v1-guestbookstatus[$$GuestbookStatus$$] +**** + + + + [id="{anchor_prefix}-webapp-test-k8s-elastic-co-v1"] === webapp.test.k8s.elastic.co/v1 diff --git a/test/expected.md b/test/expected.md index def3faf..c3e2c4e 100644 --- a/test/expected.md +++ b/test/expected.md @@ -1,9 +1,31 @@ # API Reference ## Packages +- [webapp.test.k8s.elastic.co/common](#webapptestk8selasticcocommon) - [webapp.test.k8s.elastic.co/v1](#webapptestk8selasticcov1) +## webapp.test.k8s.elastic.co/common + +Package common contains common API Schema definitions + + + +#### CommonString + +_Underlying type:_ _string_ + + + + + +_Appears in:_ +- [GuestbookSpec](#guestbookspec) +- [GuestbookStatus](#guestbookstatus) + + + + ## webapp.test.k8s.elastic.co/v1 Package v1 contains API Schema definitions for the webapp v1 API group