Versions in this module Expand all Collapse all v0 v0.2.0 Aug 17, 2020 Changes in this version + var ErrInvalidYAML = errors.New(...) + var ErrNoInstance = errors.New("couldn't get the opentelemetry-collector instance from the context") + var ErrNoReceivers = errors.New("no receivers available as part of the configuration") + var ErrReceiversNotAMap = errors.New("receivers property in the configuration doesn't contain valid receivers") + func ConfigFromCtx(ctx context.Context) (map[interface{}]interface{}, error) + func ConfigFromString(configStr string) (map[interface{}]interface{}, error) + func ConfigToReceiverPorts(ctx context.Context, config map[interface{}]interface{}) ([]corev1.ServicePort, error)