Documentation ¶
Index ¶
- type ChartTemplateService
- func (_m *ChartTemplateService) BuildChart(ctx context.Context, chartMetaData *chart.Metadata, ...) (string, error)
- func (_m *ChartTemplateService) BuildChartProxyForHelmApps(chartCreateRequest *util.ChartCreateRequest) (*util.ChartCreateResponse, error)
- func (_m *ChartTemplateService) CleanDir(dir string)
- func (_m *ChartTemplateService) CreateZipFileForChart(_a0 *chart.Chart, outputChartPathDir string) ([]byte, error)
- func (_m *ChartTemplateService) FetchValuesFromReferenceChart(chartMetaData *chart.Metadata, refChartLocation string, templateName string, ...) (*util.ChartValues, error)
- func (_m *ChartTemplateService) GetByteArrayRefChart(chartMetaData *chart.Metadata, referenceTemplatePath string) ([]byte, error)
- func (_m *ChartTemplateService) GetChartVersion(location string) (string, error)
- func (_m *ChartTemplateService) GetDir() string
- func (_m *ChartTemplateService) LoadChartFromDir(dir string) (*chart.Chart, error)
- func (_m *ChartTemplateService) LoadChartInBytes(ChartPath string, deleteChart bool) ([]byte, error)
- func (_m *ChartTemplateService) PackageChart(tempReferenceTemplateDir string, chartMetaData *chart.Metadata) (*string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartTemplateService ¶
ChartTemplateService is an autogenerated mock type for the ChartTemplateService type
func NewChartTemplateService ¶
func NewChartTemplateService(t interface { mock.TestingT Cleanup(func()) }) *ChartTemplateService
NewChartTemplateService creates a new instance of ChartTemplateService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ChartTemplateService) BuildChart ¶
func (_m *ChartTemplateService) BuildChart(ctx context.Context, chartMetaData *chart.Metadata, referenceTemplatePath string) (string, error)
BuildChart provides a mock function with given fields: ctx, chartMetaData, referenceTemplatePath
func (*ChartTemplateService) BuildChartProxyForHelmApps ¶
func (_m *ChartTemplateService) BuildChartProxyForHelmApps(chartCreateRequest *util.ChartCreateRequest) (*util.ChartCreateResponse, error)
BuildChartProxyForHelmApps provides a mock function with given fields: chartCreateRequest
func (*ChartTemplateService) CleanDir ¶
func (_m *ChartTemplateService) CleanDir(dir string)
CleanDir provides a mock function with given fields: dir
func (*ChartTemplateService) CreateZipFileForChart ¶ added in v0.6.29
func (_m *ChartTemplateService) CreateZipFileForChart(_a0 *chart.Chart, outputChartPathDir string) ([]byte, error)
CreateZipFileForChart provides a mock function with given fields: _a0, outputChartPathDir
func (*ChartTemplateService) FetchValuesFromReferenceChart ¶
func (_m *ChartTemplateService) FetchValuesFromReferenceChart(chartMetaData *chart.Metadata, refChartLocation string, templateName string, userId int32, pipelineStrategyPath string) (*util.ChartValues, error)
FetchValuesFromReferenceChart provides a mock function with given fields: chartMetaData, refChartLocation, templateName, userId, pipelineStrategyPath
func (*ChartTemplateService) GetByteArrayRefChart ¶
func (_m *ChartTemplateService) GetByteArrayRefChart(chartMetaData *chart.Metadata, referenceTemplatePath string) ([]byte, error)
GetByteArrayRefChart provides a mock function with given fields: chartMetaData, referenceTemplatePath
func (*ChartTemplateService) GetChartVersion ¶
func (_m *ChartTemplateService) GetChartVersion(location string) (string, error)
GetChartVersion provides a mock function with given fields: location
func (*ChartTemplateService) GetDir ¶
func (_m *ChartTemplateService) GetDir() string
GetDir provides a mock function with given fields:
func (*ChartTemplateService) LoadChartFromDir ¶ added in v0.6.29
func (_m *ChartTemplateService) LoadChartFromDir(dir string) (*chart.Chart, error)
LoadChartFromDir provides a mock function with given fields: dir
func (*ChartTemplateService) LoadChartInBytes ¶
func (_m *ChartTemplateService) LoadChartInBytes(ChartPath string, deleteChart bool) ([]byte, error)
LoadChartInBytes provides a mock function with given fields: ChartPath, deleteChart
func (*ChartTemplateService) PackageChart ¶ added in v0.6.29
func (_m *ChartTemplateService) PackageChart(tempReferenceTemplateDir string, chartMetaData *chart.Metadata) (*string, string, error)
PackageChart provides a mock function with given fields: tempReferenceTemplateDir, chartMetaData