Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: refactor set-image with go sdk #904

Merged
merged 48 commits into from
Aug 30, 2022
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
4b46ef1
draft PR for set-image refactor
zyy98 Aug 12, 2022
5095295
fix dead code
zyy98 Aug 12, 2022
e2ba056
update with new fn.ResourceRef
zyy98 Aug 12, 2022
4f807a4
dead code clean up
zyy98 Aug 12, 2022
e2eaeb1
change wording
zyy98 Aug 12, 2022
7b6f2b6
change sequence
zyy98 Aug 12, 2022
788e264
retrigger CI
zyy98 Aug 12, 2022
9337d74
refactor set-image with Runner interface, change unit tests into e2e …
zyy98 Aug 22, 2022
3523d1a
Merge remote-tracking branch 'origin/image' into image
zyy98 Aug 22, 2022
290f62a
merge delete old file
zyy98 Aug 22, 2022
e3d378c
dead code deletion
zyy98 Aug 22, 2022
bd67479
modify results and kptfile for set-image tests
zyy98 Aug 23, 2022
f4c9554
updates after review. Add image_util, change docstring and naming
zyy98 Aug 24, 2022
ede9aa8
missing util function
zyy98 Aug 24, 2022
43e788b
delete dead name and fix golang S1008
zyy98 Aug 24, 2022
d7fceff
update e2e results
zyy98 Aug 24, 2022
5588242
minor bug
zyy98 Aug 24, 2022
0ea287b
change wording according to Natasha's suggestions
zyy98 Aug 24, 2022
985f15b
change setImage to t
zyy98 Aug 24, 2022
df0faa5
change wording
zyy98 Aug 24, 2022
321a204
revert util
zyy98 Aug 24, 2022
6d697eb
wording for ConfigMap
zyy98 Aug 24, 2022
dfa575d
change e2e results accordingly
zyy98 Aug 24, 2022
aa57b76
change context from field within SetImage to parameters passed in to …
zyy98 Aug 24, 2022
8e2209b
avoid duplication for set containers
zyy98 Aug 24, 2022
6fb9e1d
avoid duplicate variables in updateImage function; check if name rema…
zyy98 Aug 24, 2022
c8a385f
change from image_util to fork
zyy98 Aug 24, 2022
c668017
change hasPod method. Change set Pod method
zyy98 Aug 24, 2022
82dec2d
refactor name
zyy98 Aug 24, 2022
fae129f
FsSlice using fn package as well
zyy98 Aug 25, 2022
119fe13
refactor result struct
zyy98 Aug 25, 2022
b1a4f72
minor docstring change
zyy98 Aug 25, 2022
ebdf78a
add adaptor
zyy98 Aug 25, 2022
d7d21c7
doc string and sequence change
zyy98 Aug 25, 2022
4b2d8cd
retrigger CI
zyy98 Aug 25, 2022
dd218d5
update go version
zyy98 Aug 25, 2022
d96b2da
Merge branch 'master' into image
zyy98 Aug 25, 2022
c007341
update third-party pacakge to lastest version 0.12.1
zyy98 Aug 25, 2022
34b7606
update go version to 1.18 in CI
zyy98 Aug 25, 2022
b2c1919
change back go version from 1.18 to 1.17
zyy98 Aug 26, 2022
375e70f
add statefulset and so on
zyy98 Aug 26, 2022
2be26ef
keep both tag and digest; add e2e for same tag update
zyy98 Aug 29, 2022
cfbc389
fix go mod
zyy98 Aug 29, 2022
5a9eab7
reverse ci
zyy98 Aug 29, 2022
b5e4788
merge master
zyy98 Aug 29, 2022
1f4c09d
tidy go module
zyy98 Aug 29, 2022
b9f0fd9
leave only the total logging
zyy98 Aug 30, 2022
88eb4d0
delete unused struct
zyy98 Aug 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 20 additions & 17 deletions functions/go/set-image/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,34 @@ module github.com/GoogleContainerTools/kpt-functions-catalog/functions/go/set-im
go 1.17

require (
github.com/GoogleContainerTools/kpt-functions-sdk/go/fn v0.0.0-20220503232936-7ad5b77727ee
github.com/stretchr/testify v1.7.0
github.com/GoogleContainerTools/kpt-functions-sdk/go/fn v0.0.0-20220812180116-970f3e4cbc5a
github.com/stretchr/testify v1.8.0
sigs.k8s.io/kustomize/api v0.11.0
sigs.k8s.io/kustomize/kyaml v0.13.6
sigs.k8s.io/kustomize/kyaml v0.13.9
)

require (
github.com/PuerkitoBio/purell v1.1.1 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
github.com/GoogleContainerTools/kpt-functions-sdk/go/api v0.0.0-20220812180116-970f3e4cbc5a // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-errors/errors v1.0.1 // indirect
github.com/go-logr/logr v1.2.0 // indirect
github.com/go-errors/errors v1.4.2 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.19.3 // indirect
github.com/go-openapi/swag v0.19.5 // indirect
github.com/mailru/easyjson v0.7.0 // indirect
github.com/go-openapi/jsonreference v0.20.0 // indirect
github.com/go-openapi/swag v0.22.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/gnostic v0.6.9 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/kr/pretty v0.2.1 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca // indirect
golang.org/x/net v0.0.0-20211209124913-491a49abca63 // indirect
golang.org/x/text v0.3.7 // indirect
github.com/xlab/treeprint v1.1.0 // indirect
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
k8s.io/klog/v2 v2.30.0 // indirect
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect
sigs.k8s.io/yaml v1.2.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/klog/v2 v2.70.1 // indirect
k8s.io/kube-openapi v0.0.0-20220803164354-a70c9af30aea // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)
Loading