kubernetes/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/options.go

const DefaultTracesPath

const DefaultTimeout

type HTTPTransportProxyFunc

type SignalConfig

type Config

// NewHTTPConfig returns a new Config with all settings applied from opts and
// any unset setting using the default HTTP config values.
func NewHTTPConfig(opts ...HTTPOption) Config {}

// cleanPath returns a path with all spaces trimmed and all redundancies
// removed. If urlPath is empty or cleaning it results in an empty string,
// defaultPath is returned instead.
func cleanPath(urlPath string, defaultPath string) string {}

// NewGRPCConfig returns a new Config with all settings applied from opts and
// any unset setting using the default gRPC config values.
func NewGRPCConfig(opts ...GRPCOption) Config {}

type GenericOption

type HTTPOption

type GRPCOption

type genericOption

func (g *genericOption) ApplyGRPCOption(cfg Config) Config {}

func (g *genericOption) ApplyHTTPOption(cfg Config) Config {}

func (genericOption) private() {}

func newGenericOption(fn func(cfg Config) Config) GenericOption {}

type splitOption

func (g *splitOption) ApplyGRPCOption(cfg Config) Config {}

func (g *splitOption) ApplyHTTPOption(cfg Config) Config {}

func (splitOption) private() {}

func newSplitOption(httpFn func(cfg Config) Config, grpcFn func(cfg Config) Config) GenericOption {}

type httpOption

func (h *httpOption) ApplyHTTPOption(cfg Config) Config {}

func (httpOption) private() {}

func NewHTTPOption(fn func(cfg Config) Config) HTTPOption {}

type grpcOption

func (h *grpcOption) ApplyGRPCOption(cfg Config) Config {}

func (grpcOption) private() {}

func NewGRPCOption(fn func(cfg Config) Config) GRPCOption {}

// WithEndpoint configures the trace host and port only; endpoint should
// resemble "example.com" or "localhost:4317". To configure the scheme and path,
// use WithEndpointURL.
func WithEndpoint(endpoint string) GenericOption {}

// WithEndpointURL configures the trace scheme, host, port, and path; the
// provided value should resemble "https://example.com:4318/v1/traces".
func WithEndpointURL(v string) GenericOption {}

func WithCompression(compression Compression) GenericOption {}

func WithURLPath(urlPath string) GenericOption {}

func WithRetry(rc retry.Config) GenericOption {}

func WithTLSClientConfig(tlsCfg *tls.Config) GenericOption {}

func WithInsecure() GenericOption {}

func WithSecure() GenericOption {}

func WithHeaders(headers map[string]string) GenericOption {}

func WithTimeout(duration time.Duration) GenericOption {}

func WithProxy(pf HTTPTransportProxyFunc) GenericOption {}