Help us shape the future of Go! Take the 2026 Go Developer Survey

read

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 5 Imported by: 5

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 `` /* 134-byte string literal not displayed */
}

ImageTaggingServiceConfig holds the configuration for the image tagging service

func (*ImageTaggingServiceConfig) IsHardDeleteHidden

func (c *ImageTaggingServiceConfig) IsHardDeleteHidden() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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