Skip to content

Commit

Permalink
Fix controller-gen markers
Browse files Browse the repository at this point in the history
  • Loading branch information
PBundyra committed Oct 26, 2023
1 parent b30682e commit 7f11c31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apis/api_extension/v1alpha1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// +kubebuilder:object:root=true
// +kubebuilder:object:generate=true
// +groupName=pendingworkloads.kueue.x-k8s.io
// +k8s:openapi-gen=true

Expand Down
6 changes: 2 additions & 4 deletions apis/api_extension/v1alpha1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// Package alpha contains API Schema definitions for the kueue alpha API group
// +kubebuilder:object:root=true
// Package alpha contains API Schema definitions for the pending workloads kueue alpha API group
// +kubebuilder:object:generate=true
// +groupName=pendingworkloads.kueue.x-k8s.io
// +k8s:openapi-gen=true

package v1alpha1

import (
Expand Down
2 changes: 0 additions & 2 deletions apis/api_extension/v1alpha1/visibility_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (

// +genclient
// +kubebuilder:object:root=true
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:openapi-gen=true

// User-facing representation of a PendingWorkload in ClusterQueue that summarizes neccessary information from the admission order perspective
Expand All @@ -37,7 +36,6 @@ type PendingWorkloadSummary struct {
}

// +kubebuilder:object:root=true
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:openapi-gen=true

// PendingWorkloadSummaryList contains a list of ResourceClaim
Expand Down

0 comments on commit 7f11c31

Please sign in to comment.