A small refactoring
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
package helmhelper
|
||||
package helm
|
||||
|
||||
import (
|
||||
"fmt"
|
@ -1,4 +1,4 @@
|
||||
package helmhelper
|
||||
package helm
|
||||
|
||||
type Helmhelper interface {
|
||||
FindLatestVersion(workdirPath string, release *ReleaseData) (string, error)
|
@ -1,37 +0,0 @@
|
||||
package helmrelease
|
||||
|
||||
type Chart struct {
|
||||
Name string
|
||||
Version string
|
||||
}
|
||||
|
||||
type Repo struct {
|
||||
URL string
|
||||
Type string
|
||||
}
|
||||
|
||||
type PrettyConfig struct {
|
||||
Key string
|
||||
Path string
|
||||
Value string
|
||||
}
|
||||
|
||||
type Helm struct {
|
||||
Release string
|
||||
Chart Chart
|
||||
Repo Repo
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
Pretty []PrettyConfig
|
||||
Raw string
|
||||
}
|
||||
type HelmRelease struct {
|
||||
Helm Helm
|
||||
Config Config
|
||||
}
|
||||
|
||||
type PrettyConfigSchema struct {
|
||||
Description string
|
||||
Path string
|
||||
}
|
Reference in New Issue
Block a user