Skip to content

Commit

Permalink
Add the auto-generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
cardil committed Jul 3, 2024
1 parent 15ae8c6 commit 25c2f10
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ import (
// +genclient:noStatus
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// Example is a specification for a Example resource
// Example is a specification for an Example resource
type Example struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`

Spec ExportSpec `json:"spec"`
Spec ExampleSpec `json:"spec"`
}

// ExportSpec is the spec for a Example resource
type ExportSpec struct {
// ExampleSpec is the spec for an Example resource
type ExampleSpec struct {
Conditions []metav1.Condition `json:"conditions"`
}

Expand Down
110 changes: 110 additions & 0 deletions test/e2e/apis/hack/v1alpha1/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 25c2f10

Please sign in to comment.