Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Dispatcher Configuration DispatcherImageEnvVarKey = "DISPATCHER_IMAGE" // Receiver Configuration ReceiverImageEnvVarKey = "RECEIVER_IMAGE" )
Package Constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { // Eventing-kafka Configuration SystemNamespace string // Required ServiceAccount string // Required MetricsPort int // Required MetricsDomain string // Required ResyncPeriod time.Duration // Optional // Dispatcher Configuration DispatcherImage string // Required // Receiver Configuration ReceiverImage string // Required }
Environment Structure
func FromContext ¶ added in v0.20.0
func FromContext(ctx context.Context) (*Environment, error)
Obtain the Environment struct contained in a Context, if present
func GetEnvironment ¶
func GetEnvironment(logger *zap.Logger) (*Environment, error)
Get The Environment
Click to show internal directories.
Click to hide internal directories.