Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
helmutkemper committed Dec 1, 2023
1 parent e467528 commit 5c40f2e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions factory/newManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,24 @@ func NewContainerFromImage(imageName string) (reference *manager.ContainerFromIm
Reports()
}

func NewContainerFromGitWithoutReport(imageName, serverPath string) (reference *manager.ContainerFromImage) {
ref := new(manager.Manager)
ref.New()
return ref.ContainerFromGit(imageName, serverPath)
}

func NewContainerFromFolderWithoutReport(imageName, buildPath string) (reference *manager.ContainerFromImage) {
ref := new(manager.Manager)
ref.New()
return ref.ContainerFromFolder(imageName, buildPath)
}

func NewContainerFromImageWithoutReport(imageName string) (reference *manager.ContainerFromImage) {
ref := new(manager.Manager)
ref.New()
return ref.ContainerFromImage(imageName)
}

func NewPrimordial() (reference *manager.Primordial) {
standalone.GarbageCollector()

Expand Down

0 comments on commit 5c40f2e

Please sign in to comment.