shoebill/internal/utils/helmhelper/mock.go
2023-10-12 11:53:58 +02:00

16 lines
347 B
Go

package helmhelper
import "git.badhouseplants.net/allanger/shoebill/pkg/repository"
const MOCK_LATEST_VERSION = "v1.12.1"
type Mock struct{}
func NewHelmMock() Helmhelper {
return &Mock{}
}
func (h *Mock) FindLatestVersion(dir, chart string, repository repository.Repository) (version string, err error) {
return MOCK_LATEST_VERSION, nil
}