Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
crd: Adding zz_generated.deepcopy.go so Go lint/vet passes
Browse files Browse the repository at this point in the history
  • Loading branch information
draychev committed Dec 30, 2019
1 parent b7e375a commit edc2bb7
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/azureresource/v1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
var (
// SchemeGroupVersion is group version used to register these objects
SchemeGroupVersion = schema.GroupVersion{
Group: "appgw.ingress.k8s.io",
Group: "smc.osm.k8s.io",
Version: "v1",
}

Expand Down
5 changes: 2 additions & 3 deletions pkg/apis/azureresource/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@ type AzureResourceSpec struct {
metav1.ObjectMeta `json:"metadata,omitempty"`

// ResourceID is the URI uniquely identifying an unique Azure compute resource.
// example: /resource/subscriptions/e3f0/resourceGroups/mesh-rg/providers/Microsoft.Compute/virtualMachineScaleSets/baz
// example: /resource/subscriptions/e3f0/resourceGroups/mesh-rg/providers/Microsoft.Compute/virtualMachineScaleSets/baz
ResourceID string `json:"resourceid"`

}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// AzureResourceList is the list of prohibited targets
// AzureResourceList is the list of Azure resources.
type AzureResourceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Expand Down
103 changes: 103 additions & 0 deletions pkg/apis/azureresource/v1/zz_generated.deepcopy.go

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

0 comments on commit edc2bb7

Please sign in to comment.