shoebill/internal/utils/helmhelper/mock.go

16 lines
359 B
Go
Raw Normal View History

2023-07-20 09:26:25 +00:00
package helmhelper
2023-08-02 15:00:34 +00:00
import "git.badhouseplants.net/allanger/shoebill/internal/config/repository"
2023-07-20 09:26:25 +00:00
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
}