Skip to content

Commit

Permalink
chore: update generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
SOF3 committed Jan 10, 2025
1 parent 7b17553 commit 3815185
Show file tree
Hide file tree
Showing 15 changed files with 115 additions and 326 deletions.
14 changes: 10 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,13 @@ informer-gen:
code-generator:
FROM +golang-base

BUILD +deepcopy-gen
COPY +deepcopy-gen/zz_generated.deepcopy.go apis/v1alpha1/zz_generated.deepcopy.go
COPY client/go.mod client/go.sum client/
COPY +client-gen/clientset client/clientset
COPY +lister-gen/listers client/listers
COPY +informer-gen/informers client/informers

SAVE ARTIFACT apis/v1alpha1/zz_generated.deepcopy.go AS LOCAL apis/v1alpha1/zz_generated.deepcopy.go
SAVE ARTIFACT client AS LOCAL .

build-base:
Expand All @@ -136,6 +137,7 @@ build-base:
RUN --ssh cd apis && go mod download

RUN rm -r client
COPY +deepcopy-gen/zz_generated.deepcopy.go apis/v1alpha1/zz_generated.deepcopy.go
COPY +code-generator/client client
RUN --ssh cd client && go mod download

Expand Down Expand Up @@ -180,9 +182,13 @@ build-image:

# Generate all files that have to be committed on Git.
generate:
BUILD +crd-gen
BUILD +code-generator
BUILD +fmt
WAIT
BUILD +crd-gen
BUILD +code-generator
END
WAIT
BUILD +fmt
END

# Build all artifacts into the output directory.
build:
Expand Down
15 changes: 15 additions & 0 deletions apis/v1alpha1/zz_generated.deepcopy.go

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

2 changes: 1 addition & 1 deletion chart/crds/podseidon.kubewharf.io_podprotectors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.2
controller-gen.kubebuilder.io/version: v0.17.0
name: podprotectors.podseidon.kubewharf.io
spec:
group: podseidon.kubewharf.io
Expand Down
18 changes: 5 additions & 13 deletions client/clientset/versioned/clientset.go

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

21 changes: 9 additions & 12 deletions client/clientset/versioned/fake/clientset_generated.go

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

10 changes: 5 additions & 5 deletions client/clientset/versioned/typed/apis/v1alpha1/apis_client.go

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

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

Loading

0 comments on commit 3815185

Please sign in to comment.