Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageTaggingReadService ¶
type ImageTaggingReadService interface {
// GetImageTaggingServiceConfig returns the ImageTaggingServiceConfig
GetImageTaggingServiceConfig() *ImageTaggingServiceConfig
// GetTagNamesByArtifactId gets all the tag names for the given artifactId
GetTagNamesByArtifactId(artifactId int) ([]string, error)
// GetUniqueTagsByAppId gets all the unique tag names for the given appId
GetUniqueTagsByAppId(appId int) ([]string, error)
}
type ImageTaggingReadServiceImpl ¶
type ImageTaggingReadServiceImpl struct {
// contains filtered or unexported fields
}
func NewImageTaggingReadServiceImpl ¶
func NewImageTaggingReadServiceImpl( imageTaggingRepo repository.ImageTaggingRepository, logger *zap.SugaredLogger) (*ImageTaggingReadServiceImpl, error)
func (*ImageTaggingReadServiceImpl) GetImageTaggingServiceConfig ¶
func (impl *ImageTaggingReadServiceImpl) GetImageTaggingServiceConfig() *ImageTaggingServiceConfig
func (*ImageTaggingReadServiceImpl) GetTagNamesByArtifactId ¶
func (impl *ImageTaggingReadServiceImpl) GetTagNamesByArtifactId(artifactId int) ([]string, error)
func (*ImageTaggingReadServiceImpl) GetUniqueTagsByAppId ¶
func (impl *ImageTaggingReadServiceImpl) GetUniqueTagsByAppId(appId int) ([]string, error)
type ImageTaggingServiceConfig ¶
type ImageTaggingServiceConfig struct {
// HideImageTaggingHardDelete is a flag to hide the hard delete option in the image tagging service
HideImageTaggingHardDelete bool `env:"HIDE_IMAGE_TAGGING_HARD_DELETE" envDefault:"false"`
}
ImageTaggingServiceConfig holds the configuration for the image tagging service
func (*ImageTaggingServiceConfig) IsHardDeleteHidden ¶
func (c *ImageTaggingServiceConfig) IsHardDeleteHidden() bool
Click to show internal directories.
Click to hide internal directories.