A small refactoring
This commit is contained in:
37
internal/types/helmrelease/helmrelease.go
Normal file
37
internal/types/helmrelease/helmrelease.go
Normal file
@ -0,0 +1,37 @@
|
||||
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