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

attributes

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: 13 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttributesService

type AttributesService interface {
	AddAttributes(request *bean.AttributesDto) (*bean.AttributesDto, error)
	UpdateAttributes(request *bean.AttributesDto) (*bean.AttributesDto, error)
	GetById(id int) (*bean.AttributesDto, error)
	GetActiveList() ([]*bean.AttributesDto, error)
	GetByKey(key string) (*bean.AttributesDto, error)
	UpdateKeyValueByOne(key string) error
	AddDeploymentEnforcementConfig(request *bean.AttributesDto) (*bean.AttributesDto, error)
	// GetDeploymentEnforcementConfig : Retrieves the deployment config values from the attributes table
	GetDeploymentEnforcementConfig(environmentId int) (map[string]bool, error)
}

type AttributesServiceImpl

type AttributesServiceImpl struct {
	// contains filtered or unexported fields
}

func NewAttributesServiceImpl

func NewAttributesServiceImpl(logger *zap.SugaredLogger,
	attributesRepository repository.AttributesRepository) *AttributesServiceImpl

func (AttributesServiceImpl) AddAttributes

func (impl AttributesServiceImpl) AddAttributes(request *bean.AttributesDto) (*bean.AttributesDto, error)

func (AttributesServiceImpl) AddDeploymentEnforcementConfig added in v0.6.19

func (impl AttributesServiceImpl) AddDeploymentEnforcementConfig(request *bean.AttributesDto) (*bean.AttributesDto, error)

func (AttributesServiceImpl) GetActiveList

func (impl AttributesServiceImpl) GetActiveList() ([]*bean.AttributesDto, error)

func (AttributesServiceImpl) GetById

func (impl AttributesServiceImpl) GetById(id int) (*bean.AttributesDto, error)

func (AttributesServiceImpl) GetByKey

func (impl AttributesServiceImpl) GetByKey(key string) (*bean.AttributesDto, error)

func (AttributesServiceImpl) GetDeploymentEnforcementConfig added in v0.7.0

func (impl AttributesServiceImpl) GetDeploymentEnforcementConfig(environmentId int) (map[string]bool, error)

func (AttributesServiceImpl) UpdateAttributes

func (impl AttributesServiceImpl) UpdateAttributes(request *bean.AttributesDto) (*bean.AttributesDto, error)

func (AttributesServiceImpl) UpdateKeyValueByOne added in v0.6.7

func (impl AttributesServiceImpl) UpdateKeyValueByOne(key string) error

type UserAttributesService added in v0.5.3

type UserAttributesService interface {
	AddUserAttributes(request *bean.UserAttributesDto) (*bean.UserAttributesDto, error)
	UpdateUserAttributes(request *bean.UserAttributesDto) (*bean.UserAttributesDto, error)
	PatchUserAttributes(request *bean.UserAttributesDto) (*bean.UserAttributesDto, error)
	GetUserAttribute(request *bean.UserAttributesDto) (*bean.UserAttributesDto, error)
}

type UserAttributesServiceImpl added in v0.5.3

type UserAttributesServiceImpl struct {
	// contains filtered or unexported fields
}

func NewUserAttributesServiceImpl added in v0.5.3

func NewUserAttributesServiceImpl(logger *zap.SugaredLogger,
	attributesRepository repository.UserAttributesRepository) *UserAttributesServiceImpl

func (UserAttributesServiceImpl) AddUserAttributes added in v0.5.3

func (impl UserAttributesServiceImpl) AddUserAttributes(request *bean.UserAttributesDto) (*bean.UserAttributesDto, error)

func (UserAttributesServiceImpl) GetUserAttribute added in v0.5.3

func (impl UserAttributesServiceImpl) GetUserAttribute(request *bean.UserAttributesDto) (*bean.UserAttributesDto, error)

func (UserAttributesServiceImpl) PatchUserAttributes added in v1.5.0

func (impl UserAttributesServiceImpl) PatchUserAttributes(request *bean.UserAttributesDto) (*bean.UserAttributesDto, error)

func (UserAttributesServiceImpl) UpdateUserAttributes added in v0.5.3

func (impl UserAttributesServiceImpl) UpdateUserAttributes(request *bean.UserAttributesDto) (*bean.UserAttributesDto, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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