-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[WIP] Storage in Image Management #28
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
Conversation
cmd/client/main.go
Outdated
| // Set up a connection to the server. | ||
| conn, err := getClientConnection() | ||
| if err != nil { | ||
| return fmt.Errorf("Failed to connect: %v", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Failed -> failed. We probably need to fix this all over the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will, probably going to submit a separate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done here, I'm submitting a separate PR for the other cases
|
Nice! I will test and review in more detail. |
|
@mrunalp great, I haven't tested everything yet on the image management side, will probably do so tomorrow or Monday as I implement the remaining client calls related to images. |
22b7b96 to
0ebd399
Compare
|
added image list and delete functionalities to the cli |
Signed-off-by: Antonio Murdaca <[email protected]>
Flesh out the implementations of various image-related functions. Signed-off-by: Nalin Dahyabhai <[email protected]> Signed-off-by: Antonio Murdaca <[email protected]>
Signed-off-by: Antonio Murdaca <[email protected]>
Signed-off-by: Antonio Murdaca <[email protected]>
Signed-off-by: Antonio Murdaca <[email protected]>
Signed-off-by: Antonio Murdaca <[email protected]>
Signed-off-by: Antonio Murdaca <[email protected]>
|
Any movement on this? |
|
@nalind is gonna take this and re-open it. Closing. |
bumping knative.dev/hack 11d193b...b284d49: > b284d49 fix the latest_version function (# 101) > 42a2ccb Release use `knative-vX.Y.Z` tag and infer go module tag version automatically (# 98) > a42c72a Update community files (# 95) > 810ab22 Make go_update_deps module-release aware (# 93) > f1228dd Update community files (# 90) Signed-off-by: Knative Automation <[email protected]>
This is tackling image management operations from #8.
This work is based on containers/image#63 by vendoring @nalind's branch
add-storage-transporthere and by applying and modifying some of his patches from his ocid branch at https://github.com/nalind/ocid/tree/storage-tests.The last commits add images pull and delete functionalities like so:
Plan is:
This might not be perfect as a whole when taking into account containers rootfs management but it's a start - at least in the direction of image management. Containers' rootfs management will come as part of another PR since this is already huge.
/cc @nalind @mrunalp PTAL
@nalind if you want to carry this please do so - I opened it so we have a WIP branch everyone can test and look around. Also opened this to avoid you re-vendoring everything and rebasing.