Documentation ¶
Index ¶
- func NewAzureAppConfigurationStore(logger logger.Logger) configuration.Store
- type ConfigurationStore
- func (r *ConfigurationStore) Get(ctx context.Context, req *configuration.GetRequest) (*configuration.GetResponse, error)
- func (r *ConfigurationStore) GetComponentMetadata() (metadataInfo contribMetadata.MetadataMap)
- func (r *ConfigurationStore) Init(_ context.Context, md configuration.Metadata) error
- func (r *ConfigurationStore) Subscribe(ctx context.Context, req *configuration.SubscribeRequest, ...) (string, error)
- func (r *ConfigurationStore) Unsubscribe(ctx context.Context, req *configuration.UnsubscribeRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAzureAppConfigurationStore ¶
func NewAzureAppConfigurationStore(logger logger.Logger) configuration.Store
NewAzureAppConfigurationStore returns a new Azure App Configuration store.
Types ¶
type ConfigurationStore ¶
type ConfigurationStore struct {
// contains filtered or unexported fields
}
ConfigurationStore is a Azure App Configuration store.
func (*ConfigurationStore) Get ¶
func (r *ConfigurationStore) Get(ctx context.Context, req *configuration.GetRequest) (*configuration.GetResponse, error)
func (*ConfigurationStore) GetComponentMetadata ¶ added in v1.11.0
func (r *ConfigurationStore) GetComponentMetadata() (metadataInfo contribMetadata.MetadataMap)
GetComponentMetadata returns the metadata of the component.
func (*ConfigurationStore) Init ¶
func (r *ConfigurationStore) Init(_ context.Context, md configuration.Metadata) error
Init does metadata and connection parsing.
func (*ConfigurationStore) Subscribe ¶
func (r *ConfigurationStore) Subscribe(ctx context.Context, req *configuration.SubscribeRequest, handler configuration.UpdateHandler) (string, error)
func (*ConfigurationStore) Unsubscribe ¶
func (r *ConfigurationStore) Unsubscribe(ctx context.Context, req *configuration.UnsubscribeRequest) error
Click to show internal directories.
Click to hide internal directories.