-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from fabriziosestito/fix/worker-create-catalog
feat: move Image to storage and implement field selectors
- Loading branch information
Showing
50 changed files
with
1,851 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,6 +102,8 @@ local_resource( | |
"go.sum", | ||
"cmd/worker", | ||
"api", | ||
"internal/messaging", | ||
"internal/handlers", | ||
], | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package v1alpha1 | ||
|
||
// ImageMetadata contains the metadata details of an image. | ||
type ImageMetadata struct { | ||
// Registry specifies the name of the Registry object in the same namespace where the image is stored. | ||
Registry string `json:"registry"` | ||
// Repository specifies the repository path of the image. Example: "rancher/sbombastic". | ||
Repository string `json:"repository"` | ||
// Tag specifies the tag of the image. Example: "latest". | ||
Tag string `json:"tag"` | ||
// Platform specifies the platform of the image. Example "linux/amd64". | ||
Platform string `json:"platform"` | ||
// Digest specifies the sha256 digest of the image. | ||
Digest string `json:"digest"` | ||
} | ||
|
||
type ImageMetadataAccessor interface { | ||
GetImageMetadata() ImageMetadata | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.