MCPcopy Create free account
hub / github.com/Qovery/engine / new

Method new

lib-engine/src/cmd/docker.rs:113–121  ·  view source on GitHub ↗
(registry: Url, name: String, tags: Vec<String>)

Source from the content-addressed store, hash-verified

111
112impl ContainerImage {
113 pub fn new(registry: Url, name: String, tags: Vec<String>) -> Self {
114 assert!(!tags.is_empty(), "cannot create a container image without tags");
115
116 ContainerImage {
117 registry,
118 name,
119 id: ImageId::Tags(tags),
120 }
121 }
122
123 fn _new_for_digest(registry: Url, name: String, digest: String) -> Self {
124 ContainerImage {

Callers

nothing calls this directly

Calls 4

docker_execFunction · 0.85
pushMethod · 0.80
pathMethod · 0.45
get_all_envsMethod · 0.45

Tested by

no test coverage detected