forked from tern-tools/tern
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Added name and tag to Image class
The OCI image specification has no guidance on image distribution as of this patch, but they are considering it. How 'image' and 'tag' are extracted from different images can be set by the derived class. - Moved Docker specific properties to DockerImage class This includes repotag and history - Moved check for instantiation method from Image class to DockerImage class - Added name and tag to the Image class - Added name and tag setting to the DockerImage class if instantiated using a repotag - Added check for name and tag in the tests The tests work but the main tern executable does not Signed-off-by: Nisha K <[email protected]>
- Loading branch information
Nisha K
committed
Mar 5, 2018
1 parent
664f147
commit 5752650
Showing
3 changed files
with
56 additions
and
39 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