Documentation ¶
Index ¶
- func BreakingChangeAllowed(left string, right string) (bool, error)
- func CompareVersions(left string, right string) (int, error)
- func FileExists(file string) bool
- func Flatten(items []interface{}) ([]string, error)
- func GetRandomPort() (int, error)
- func PrintDelimiterLine(delimiterChar string)
- func RandomString(length int) string
- func SanitizeName(s string, maxLength int) string
- func StringSliceContains(slice []string, s string) bool
- type ChartUtils
- type ChartYaml
- type DirectoryLister
- type Maintainer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomString ¶
RandomString string creates a random string of numbers and lower-case ascii characters with the specified length.
Types ¶
type ChartUtils ¶
type ChartUtils struct{}
type ChartYaml ¶
type ChartYaml struct { Name string `yaml:"name"` Version string `yaml:"version"` Deprecated bool `yaml:"deprecated"` Maintainers []Maintainer }
func ReadChartYaml ¶
ReadChartYaml attempts to parse Chart.yaml within the specified directory and return a newly allocated ChartYaml object. If no Chart.yaml is present or there is an error unmarshaling the file contents, an error will be returned.
type DirectoryLister ¶
type DirectoryLister struct{}
Click to show internal directories.
Click to hide internal directories.