Documentation ¶
Index ¶
- type DomainMetadataManager
- func (m *DomainMetadataManager) GetComponentName() string
- func (m *DomainMetadataManager) GetContext() context.Context
- func (m *DomainMetadataManager) GetOutgoingGrpcContext() context.Context
- func (m *DomainMetadataManager) GetUserInformation() *UserInformation
- func (m *DomainMetadataManager) SetComponentInformation()
- func (m *DomainMetadataManager) SetUserInformation(userInformation *UserInformation)
- type UserInformation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainMetadataManager ¶
type DomainMetadataManager struct { es.MetadataManager // contains filtered or unexported fields }
domainMetadataManager is a domain specific metadata manager.
func NewDomainMetadataManager ¶
func NewDomainMetadataManager(ctx context.Context) (*DomainMetadataManager, error)
NewDomainMetadataManager creates a new domainMetadataManager to handle domain metadata via context.
func (*DomainMetadataManager) GetComponentName ¶ added in v0.3.0
func (m *DomainMetadataManager) GetComponentName() string
GetComponentName gets the name of the component which created the context.
func (*DomainMetadataManager) GetContext ¶
func (m *DomainMetadataManager) GetContext() context.Context
func (*DomainMetadataManager) GetOutgoingGrpcContext ¶
func (m *DomainMetadataManager) GetOutgoingGrpcContext() context.Context
GetOutgoingGrpcContext returns a new context enriched with the metadata of this manager.
func (*DomainMetadataManager) GetUserInformation ¶
func (m *DomainMetadataManager) GetUserInformation() *UserInformation
GetUserInformation returns the UserInformation stored in the metadata.
func (*DomainMetadataManager) SetComponentInformation ¶
func (m *DomainMetadataManager) SetComponentInformation()
SetComponentInformation sets the ComponentInformation about the currently executing service/component.
func (*DomainMetadataManager) SetUserInformation ¶
func (m *DomainMetadataManager) SetUserInformation(userInformation *UserInformation)
SetUserInformation sets the UserInformation in the metadata.
Click to show internal directories.
Click to hide internal directories.