querybrokerenv

package
v0.0.0-...-73c8340 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct {
	*env.BaseEnv
	// contains filtered or unexported fields
}

Impl is an implementation of the ApiEnv interface

func New

func New(qbAddress string, sslTargetName string, audience string) (*Impl, error)

New creates a new api env.

func (*Impl) Address

func (e *Impl) Address() string

Address returns the address of the query broker.

func (*Impl) SSLTargetName

func (e *Impl) SSLTargetName() string

SSLTargetName returns the SSL target hostname of the query broker.

type QueryBrokerEnv

type QueryBrokerEnv interface {
	// The address of the query broker
	Address() string
	// The SSL target hostname of the query broker
	SSLTargetName() string
	env.Env
}

QueryBrokerEnv is the interface for the Query Broker service environment.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL