|
|
|
@ -112,54 +112,40 @@ func (m *mockManager) GetRepoForChart(chartName string) (string, error) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *mockManager) GetMetadataForChart(chartName string) (*chart.Chartfile, error) {
|
|
|
|
|
return nil, nil
|
|
|
|
|
return &chart.Chartfile{}, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *mockManager) GetChart(chartName string) (*chart.Chart, error) {
|
|
|
|
|
return nil, nil
|
|
|
|
|
return &chart.Chart{}, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *mockManager) AddRepo(addition repo.IRepo) error {
|
|
|
|
|
return nil
|
|
|
|
|
func (m *mockManager) ListRepoCharts(repoName string, regex *regexp.Regexp) ([]string, error) {
|
|
|
|
|
return []string{}, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *mockManager) ListRepos() (map[string]string, error) {
|
|
|
|
|
return map[string]string{}, nil
|
|
|
|
|
func (m *mockManager) GetChartForRepo(repoName, chartName string) (*chart.Chart, error) {
|
|
|
|
|
return &chart.Chart{}, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *mockManager) RemoveRepo(name string) error {
|
|
|
|
|
func (m *mockManager) CreateCredential(name string, c *repo.Credential) error {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *mockManager) GetRepo(URL string) (repo.IRepo, error) {
|
|
|
|
|
return nil, nil
|
|
|
|
|
func (m *mockManager) GetCredential(name string) (*repo.Credential, error) {
|
|
|
|
|
return &repo.Credential{}, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *mockManager) ListRepos() ([]*repo.Repo, error) {
|
|
|
|
|
return []*repo.Repo{}, nil
|
|
|
|
|
func (m *mockManager) ListRepos() (map[string]string, error) {
|
|
|
|
|
return map[string]string{}, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *mockManager) CreateRepo(pr *repo.Repo) error {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *mockManager) GetRepo(name string) (*repo.Repo, error) {
|
|
|
|
|
return &repo.Repo{}, nil
|
|
|
|
|
}
|
|
|
|
|
func (m *mockManager) DeleteRepo(name string) error {
|
|
|
|
|
func (m *mockManager) AddRepo(addition repo.IRepo) error {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *mockManager) ListRepoCharts(repoName string, regex *regexp.Regexp) ([]string, error) {
|
|
|
|
|
return []string{}, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *mockManager) GetChartForRepo(repoName, chartName string) (*chart.Chart, error) {
|
|
|
|
|
return nil, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *mockManager) CreateCredential(name string, c *repo.Credential) error {
|
|
|
|
|
func (m *mockManager) RemoveRepo(name string) error {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *mockManager) GetCredential(name string) (*repo.Credential, error) {
|
|
|
|
|
return &repo.Credential{}, nil
|
|
|
|
|
|
|
|
|
|
func (m *mockManager) GetRepo(name string) (repo.IRepo, error) {
|
|
|
|
|
return &repo.Repo{}, nil
|
|
|
|
|
}
|
|
|
|
|