Skip to content

Commit

Permalink
Added doc.go to fix codegen (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellistarn committed Oct 1, 2021
1 parent 2191864 commit 52f183a
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 14 deletions.
7 changes: 3 additions & 4 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
</ul>
<h2 id="karpenter.sh/v1alpha4">karpenter.sh/v1alpha4</h2>
<p>
<p>Package v1alpha4 contains API Schema definitions for the v1alpha4 API group</p>
</p>
Resource Types:
<ul></ul>
Expand Down Expand Up @@ -92,7 +91,7 @@ launched by the Provisioner. If unspecified, defaults to all types.</p>
</td>
<td>
<em>(Optional)</em>
<p>Architecture constrains the underlying node architecture</p>
<p>Architectures constrains the underlying node architecture</p>
</td>
</tr>
<tr>
Expand All @@ -104,7 +103,7 @@ launched by the Provisioner. If unspecified, defaults to all types.</p>
</td>
<td>
<em>(Optional)</em>
<p>OperatingSystem constrains the underlying node operating system</p>
<p>OperatingSystems constrains the underlying node operating system</p>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -348,5 +347,5 @@ its target, and indicates whether or not those conditions are met.</p>
<hr/>
<p><em>
Generated with <code>gen-crd-api-reference-docs</code>
on git commit <code>94d6217</code>.
on git commit <code>a0e3d3e</code>.
</em></p>
19 changes: 19 additions & 0 deletions pkg/apis/provisioning/v1alpha4/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
Licensed 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.
*/

// +k8s:openapi-gen=true
// +k8s:deepcopy-gen=package,register
// +k8s:defaulter-gen=TypeMeta
// +groupName=karpenter.sh
package v1alpha4 // doc.go is discovered by codegen
5 changes: 0 additions & 5 deletions pkg/apis/provisioning/v1alpha4/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// Package v1alpha4 contains API Schema definitions for the v1alpha4 API group
// +k8s:openapi-gen=true
// +k8s:deepcopy-gen=package,register
// +k8s:defaulter-gen=TypeMeta
// +groupName=karpenter.sh
package v1alpha4

import (
Expand Down
19 changes: 19 additions & 0 deletions pkg/cloudprovider/aws/apis/v1alpha1/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
Licensed 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.
*/

// +k8s:openapi-gen=true
// +k8s:deepcopy-gen=package,register
// +k8s:defaulter-gen=TypeMeta
// +groupName=karpenter.k8s.aws
package v1alpha1 // doc.go is discovered by codegen
5 changes: 0 additions & 5 deletions pkg/cloudprovider/aws/apis/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// Package v1alpha1 contains API Schema definitions for the v1alpha4 API group
// +k8s:openapi-gen=true
// +k8s:deepcopy-gen=package,register
// +k8s:defaulter-gen=TypeMeta
// +groupName=karpenter.k8s.aws
package v1alpha1

import (
Expand Down

0 comments on commit 52f183a

Please sign in to comment.