Documentation
¶
Overview ¶
Package appconfigdata provides the AWS AppConfig data plane emulation.
Implemented operations: StartConfigurationSession, GetLatestConfiguration.
The data plane retrieves configuration content stored via AppConfig's CreateHostedConfigurationVersion control-plane API. Configuration is delivered on the first poll after a new version is published; subsequent polls return an empty body until the version changes (matching AWS behaviour to avoid hot-loops in well-behaved SDKs).
Routes: POST /_appconfigdata/configurationsessions
GET /_appconfigdata/configuration/{token}
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements router.Service for AppConfigData.
func New ¶
func New(cfg *config.Config, st state.Store, logger *zap.Logger, _ clock.Clock, ac appConfigReader) *Service
New returns a configured AppConfigData Service. ac must be the AppConfig Service instance already registered in the router.
func (*Service) Operations ¶
func (*Service) RegisterRoutes ¶
RegisterRoutes registers the AppConfigData data-plane endpoints.