This repository has been archived on 2024-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
|
package engine
|
|
|
|
import (
|
|
"crypto/sha256"
|
|
"fmt"
|
|
)
|
|
|
|
func GenContainerPrefix(jobtype string) string {
|
|
return fmt.Sprintf("minifaas-%x-", sha256.Sum224([]byte(jobtype)))
|
|
}
|