mirror of https://github.com/helm/helm
Merge pull request #677 from technosophos/fix/style-pkg
fix(*): correct numerous golint errorspull/683/head
commit
9546b27d23
@ -1,16 +1,22 @@
|
|||||||
package helm
|
package helm
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
// ErrNotImplemented indicates that this API is not implemented.
|
||||||
ErrNotImplemented = Error("helm api not implemented")
|
ErrNotImplemented = Error("helm api not implemented")
|
||||||
|
// ErrInvalidSrvAddr indicates an invalid address to the Tiller server.
|
||||||
ErrInvalidSrvAddr = Error("invalid tiller address")
|
ErrInvalidSrvAddr = Error("invalid tiller address")
|
||||||
|
// ErrMissingTpls indicates that the templates are missing from a chart.
|
||||||
ErrMissingTpls = Error("missing chart templates")
|
ErrMissingTpls = Error("missing chart templates")
|
||||||
|
// ErrMissingChart indicates that the Chart.yaml data is missing.
|
||||||
ErrMissingChart = Error("missing chart metadata")
|
ErrMissingChart = Error("missing chart metadata")
|
||||||
|
// ErrMissingValues indicates that the config values.toml data is missing.
|
||||||
ErrMissingValues = Error("missing chart values")
|
ErrMissingValues = Error("missing chart values")
|
||||||
)
|
)
|
||||||
|
|
||||||
// Error represents a Helm client error.
|
// Error represents a Helm client error.
|
||||||
type Error string
|
type Error string
|
||||||
|
|
||||||
|
// Error returns a string representation of this error.
|
||||||
func (e Error) Error() string {
|
func (e Error) Error() string {
|
||||||
return string(e)
|
return string(e)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue