Documentation ¶
Index ¶
- Constants
- type AttributesDto
- type AttributesService
- type AttributesServiceImpl
- func (impl AttributesServiceImpl) AddAttributes(request *AttributesDto) (*AttributesDto, error)
- func (impl AttributesServiceImpl) AddDeploymentEnforcementConfig(request *AttributesDto) (*AttributesDto, error)
- func (impl AttributesServiceImpl) GetActiveList() ([]*AttributesDto, error)
- func (impl AttributesServiceImpl) GetById(id int) (*AttributesDto, error)
- func (impl AttributesServiceImpl) GetByKey(key string) (*AttributesDto, error)
- func (impl AttributesServiceImpl) UpdateAttributes(request *AttributesDto) (*AttributesDto, error)
- func (impl AttributesServiceImpl) UpdateKeyValueByOne(key string) error
- type UserAttributesDto
- type UserAttributesService
- type UserAttributesServiceImpl
- func (impl UserAttributesServiceImpl) AddUserAttributes(request *UserAttributesDto) (*UserAttributesDto, error)
- func (impl UserAttributesServiceImpl) GetUserAttribute(request *UserAttributesDto) (*UserAttributesDto, error)
- func (impl UserAttributesServiceImpl) UpdateUserAttributes(request *UserAttributesDto) (*UserAttributesDto, error)
Constants ¶
View Source
const ( HostUrlKey string = "url" API_SECRET_KEY string = "apiTokenSecret" ENFORCE_DEPLOYMENT_TYPE_CONFIG string = "enforceDeploymentTypeConfig" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributesDto ¶
type AttributesService ¶
type AttributesService interface { AddAttributes(request *AttributesDto) (*AttributesDto, error) UpdateAttributes(request *AttributesDto) (*AttributesDto, error) GetById(id int) (*AttributesDto, error) GetActiveList() ([]*AttributesDto, error) GetByKey(key string) (*AttributesDto, error) UpdateKeyValueByOne(key string) error AddDeploymentEnforcementConfig(request *AttributesDto) (*AttributesDto, 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 *AttributesDto) (*AttributesDto, error)
func (AttributesServiceImpl) AddDeploymentEnforcementConfig ¶ added in v0.6.19
func (impl AttributesServiceImpl) AddDeploymentEnforcementConfig(request *AttributesDto) (*AttributesDto, error)
func (AttributesServiceImpl) GetActiveList ¶
func (impl AttributesServiceImpl) GetActiveList() ([]*AttributesDto, error)
func (AttributesServiceImpl) GetById ¶
func (impl AttributesServiceImpl) GetById(id int) (*AttributesDto, error)
func (AttributesServiceImpl) GetByKey ¶
func (impl AttributesServiceImpl) GetByKey(key string) (*AttributesDto, error)
func (AttributesServiceImpl) UpdateAttributes ¶
func (impl AttributesServiceImpl) UpdateAttributes(request *AttributesDto) (*AttributesDto, error)
func (AttributesServiceImpl) UpdateKeyValueByOne ¶ added in v0.6.7
func (impl AttributesServiceImpl) UpdateKeyValueByOne(key string) error
type UserAttributesDto ¶ added in v0.5.3
type UserAttributesService ¶ added in v0.5.3
type UserAttributesService interface { AddUserAttributes(request *UserAttributesDto) (*UserAttributesDto, error) UpdateUserAttributes(request *UserAttributesDto) (*UserAttributesDto, error) GetUserAttribute(request *UserAttributesDto) (*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 *UserAttributesDto) (*UserAttributesDto, error)
func (UserAttributesServiceImpl) GetUserAttribute ¶ added in v0.5.3
func (impl UserAttributesServiceImpl) GetUserAttribute(request *UserAttributesDto) (*UserAttributesDto, error)
func (UserAttributesServiceImpl) UpdateUserAttributes ¶ added in v0.5.3
func (impl UserAttributesServiceImpl) UpdateUserAttributes(request *UserAttributesDto) (*UserAttributesDto, error)
Click to show internal directories.
Click to hide internal directories.