chartProvider

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartProviderRequestDto

type ChartProviderRequestDto struct {
	Id            string `json:"id" validate:"required"`
	IsOCIRegistry bool   `json:"isOCIRegistry"`
	Active        bool   `json:"active,omitempty"`
	UserId        int32  `json:"-"`
	ChartRepoId   int    `json:"-"`
}

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:"-"`
}

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL