Skip to content

Commit

Permalink
Merge pull request #54 from shouri007/main
Browse files Browse the repository at this point in the history
Remove genclient annotations for list types in network APIs
  • Loading branch information
google-oss-prow[bot] authored Jan 22, 2025
2 parents d00dd25 + 52375c0 commit 4bf8349
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 462 deletions.
3 changes: 0 additions & 3 deletions apis/network/v1/gkenetworkparamset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ type GKENetworkParamSetStatus struct {
NetworkName string `json:"networkName"`
}

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

Expand Down
3 changes: 0 additions & 3 deletions apis/network/v1/network_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,6 @@ type L2NetworkConfig struct {
PrefixLength4 *int32 `json:"prefixLength4,omitempty"`
}

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

Expand Down
2 changes: 0 additions & 2 deletions apis/network/v1/networkinterface_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ type NetworkInterfaceStatus struct {
// Conditions []metav1.Condition `json:"conditions,omitempty"`
}

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

Expand Down
2 changes: 0 additions & 2 deletions apis/network/v1/subnetwork_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ type SubnetworkStatus struct {
Gateway4 *string `json:"gateway4,omitempty"`
}

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

Expand Down

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4bf8349

Please sign in to comment.