Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeploymentTemplateWireSet = wire.NewSet( NewDeploymentTemplateServiceImpl, wire.Bind(new(DeploymentTemplateService), new(*DeploymentTemplateServiceImpl)), NewDeploymentTemplateValidationServiceImpl, wire.Bind(new(DeploymentTemplateValidationService), new(*DeploymentTemplateValidationServiceImpl)), chartRef.NewChartRefServiceImpl, wire.Bind(new(chartRef.ChartRefService), new(*chartRef.ChartRefServiceImpl)), )
Functions ¶
This section is empty.
Types ¶
type DeploymentTemplateService ¶
type DeploymentTemplateService interface {
BuildChartAndGetPath(appName string, envOverride *chartConfig.EnvConfigOverride, ctx context.Context) (string, error)
}
type DeploymentTemplateServiceImpl ¶
type DeploymentTemplateServiceImpl struct {
// contains filtered or unexported fields
}
func NewDeploymentTemplateServiceImpl ¶
func NewDeploymentTemplateServiceImpl(logger *zap.SugaredLogger, chartRefService chartRef.ChartRefService, chartTemplateService util.ChartTemplateService, chartRepository chartRepoRepository.ChartRepository) *DeploymentTemplateServiceImpl
func (*DeploymentTemplateServiceImpl) BuildChartAndGetPath ¶
func (impl *DeploymentTemplateServiceImpl) BuildChartAndGetPath(appName string, envOverride *chartConfig.EnvConfigOverride, ctx context.Context) (string, error)
type DeploymentTemplateValidationServiceImpl ¶
type DeploymentTemplateValidationServiceImpl struct {
// contains filtered or unexported fields
}
func NewDeploymentTemplateValidationServiceImpl ¶
func NewDeploymentTemplateValidationServiceImpl(logger *zap.SugaredLogger, chartRefService chartRef.ChartRefService, scopedVariableManager variables.ScopedVariableManager) *DeploymentTemplateValidationServiceImpl
func (*DeploymentTemplateValidationServiceImpl) DeploymentTemplateValidate ¶
func (impl *DeploymentTemplateValidationServiceImpl) DeploymentTemplateValidate(ctx context.Context, template interface{}, chartRefId int, scope resourceQualifiers.Scope) (bool, error)
func (*DeploymentTemplateValidationServiceImpl) FlaggerCanaryEnabled ¶
func (impl *DeploymentTemplateValidationServiceImpl) FlaggerCanaryEnabled(values json.RawMessage) (bool, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.