Documentation ¶
Index ¶
Constants ¶
View Source
const KnownChart = "knownchart"
Variables ¶
View Source
var CustomErrors = map[string]customErrorFunc{ KnownChart: getUnknownChartError, }
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { KnownCharts kubernetes.KnownCharts EnvService *service.EnvironmentService }
type CustomValidations ¶
type CustomValidations struct {
// contains filtered or unexported fields
}
func SetupCustomValidations ¶
func SetupCustomValidations(ctx Context) *CustomValidations
func (*CustomValidations) ChartIsKnown ¶
func (cv *CustomValidations) ChartIsKnown(chartName string) bool
func (*CustomValidations) ValidateEnvParameters ¶
func (cv *CustomValidations) ValidateEnvParameters(env *model.Environment) (bool, error)
Click to show internal directories.
Click to hide internal directories.