Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartProviderRequestDto ¶
type ChartProviderResponseDto ¶
type ChartProviderResponseDto struct { Id string `json:"id" validate:"required"` Name string `json:"name" validate:"required"` Active bool `json:"active" validate:"required"` IsEditable bool `json:"isEditable"` IsOCIRegistry bool `json:"isOCIRegistry"` RegistryProvider repository.RegistryType `json:"registryProvider"` UserId int32 `json:"-"` }
func UpdateChartRepoList ¶
func UpdateChartRepoList(models []*chartRepoRepository.ChartRepoWithDeploymentCount, chartProviders []*ChartProviderResponseDto) []*ChartProviderResponseDto
type ChartProviderService ¶
type ChartProviderService interface { GetChartProviderList() ([]*ChartProviderResponseDto, error) ToggleChartProvider(request *ChartProviderRequestDto) error SyncChartProvider(request *ChartProviderRequestDto) error }
type ChartProviderServiceImpl ¶
type ChartProviderServiceImpl struct {
// contains filtered or unexported fields
}
func NewChartProviderServiceImpl ¶
func NewChartProviderServiceImpl(logger *zap.SugaredLogger, repoRepository chartRepoRepository.ChartRepoRepository, chartRepositoryService chartRepo.ChartRepositoryService, registryRepository dockerRegistryRepository.DockerArtifactStoreRepository, ociRegistryConfigRepository dockerRegistryRepository.OCIRegistryConfigRepository) *ChartProviderServiceImpl
func (*ChartProviderServiceImpl) GetChartProviderList ¶
func (impl *ChartProviderServiceImpl) GetChartProviderList() ([]*ChartProviderResponseDto, error)
func (*ChartProviderServiceImpl) SyncChartProvider ¶
func (impl *ChartProviderServiceImpl) SyncChartProvider(request *ChartProviderRequestDto) error
func (*ChartProviderServiceImpl) ToggleChartProvider ¶
func (impl *ChartProviderServiceImpl) ToggleChartProvider(request *ChartProviderRequestDto) error
Click to show internal directories.
Click to hide internal directories.