Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoneModule ¶
NoneModule return a None optional type for rcclient.Component.
This helper allows code that needs a disabled Optional type for rcclient to get it. The helper is split from the implementation to avoid linking with the dependencies from rcclient.
Types ¶
type Component ¶
type Component interface { // SubscribeAgentTask subscribe the remote-config client to AGENT_TASK SubscribeAgentTask() // SubscribeApmTracing subscribes the remote-config client to APM_TRACING SubscribeApmTracing() // Subscribe is the generic way to start listening to a specific product update // Component can also automatically subscribe to updates by returning a `ListenerProvider` struct Subscribe(product data.Product, fn func(update map[string]state.RawConfig, applyStateCallback func(string, state.ApplyStatus))) }
Component is the component type.
Directories ¶
Path | Synopsis |
---|---|
Package rcclientimpl is a remote config client that can run within the agent to receive configurations.
|
Package rcclientimpl is a remote config client that can run within the agent to receive configurations. |
Package types provides the different types used by other component to provider remote-config task listeners.
|
Package types provides the different types used by other component to provider remote-config task listeners. |
Click to show internal directories.
Click to hide internal directories.