func()

in client/buildpacks.go [126:135]


func (b *buildpacksFunctionServer) buildpackBuilderImage() (string, error) {
	if b.builderURL != "" {
		return b.builderURL, nil
	}
	runtimeLanguage := runtimeLanguageRegexp.FindString(b.runtime)
	if runtimeLanguage == "" {
		return "", fmt.Errorf("invalid runtime format. Runtime should start with language followed by version. Example: go119, python311. Got %q", b.runtime)
	}
	return fmt.Sprintf(defaultBuilderURLTemplate, runtimeLanguage, b.tag), nil
}