Documentation
¶
Index ¶
- Constants
- func NewCollector(connSet *ConnSet) prometheus.Collector
- type AuthClient
- type AuthServer
- type Client
- type Conn
- type ConnSet
- type DeadlineReadWriteCloser
- type DeadlineReader
- type DeadlineReaderWriter
- type DeadlineWriter
- type DefaultRequestHandler
- type DefaultResponseHandler
- type Dialer
- type ListenFunc
- type Listeners
- func (p *Listeners) GetNetAddressMapping(brokerHost string, brokerPort int32) (listenerHost string, listenerPort int32, err error)
- func (p *Listeners) ListenDynamicInstance(brokerAddress string) (string, int32, error)
- func (p *Listeners) ListenInstances(cfgs []config.ListenerConfig) (<-chan Conn, error)
- type LocalSasl
- type LocalSaslAuth
- type LocalSaslOauth
- type LocalSaslParams
- type LocalSaslPlain
- type ProcessorConfig
- type RequestHandler
- type RequestsLoopContext
- type ResponseHandler
- type ResponsesLoopContext
- type SASLAuthByProxy
- type SASLHandshake
- type SASLOAuthBearerAuth
- type SASLPlainAuth
- type SaslAuthV0RequestHandler
- type SaslAuthV0ResponseHandler
- type SaslOAuthBearer
- type TCPConnOptions
Constants ¶
View Source
const ( SASLPlain = "PLAIN" SASLOAuthBearer = "OAUTHBEARER" )
Variables ¶
This section is empty.
Functions ¶
func NewCollector ¶
func NewCollector(connSet *ConnSet) prometheus.Collector
Types ¶
type AuthClient ¶
type AuthClient struct {
// contains filtered or unexported fields
}
type AuthServer ¶
type AuthServer struct {
// contains filtered or unexported fields
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a type to handle connecting to a Server. All fields are required unless otherwise specified.
func NewClient ¶
func NewClient(conns *ConnSet, c *config.Config, netAddressMappingFunc config.NetAddressMappingFunc, localPasswordAuthenticator apis.PasswordAuthenticator, localTokenAuthenticator apis.TokenInfo, saslTokenProvider apis.TokenProvider, gatewayTokenProvider apis.TokenProvider, gatewayTokenInfo apis.TokenInfo) (*Client, error)
type ConnSet ¶
A ConnSet tracks net.Conns associated with a provided ID.
func (*ConnSet) Add ¶
Add saves the provided conn and associates it with the given string identifier.
type DeadlineReadWriteCloser ¶
type DeadlineReader ¶
type DeadlineReaderWriter ¶
type DeadlineReaderWriter interface {
DeadlineReader
DeadlineWriter
SetDeadline(t time.Time) error
}
type DeadlineWriter ¶
type DefaultRequestHandler ¶
type DefaultRequestHandler struct {
}
type DefaultResponseHandler ¶
type DefaultResponseHandler struct {
}
type ListenFunc ¶
type ListenFunc func(cfg config.ListenerConfig) (l net.Listener, err error)
type Listeners ¶
type Listeners struct {
// contains filtered or unexported fields
}
func (*Listeners) GetNetAddressMapping ¶
func (*Listeners) ListenDynamicInstance ¶
func (*Listeners) ListenInstances ¶
func (p *Listeners) ListenInstances(cfgs []config.ListenerConfig) (<-chan Conn, error)
type LocalSasl ¶
type LocalSasl struct {
// contains filtered or unexported fields
}
func NewLocalSasl ¶
func NewLocalSasl(params LocalSaslParams) *LocalSasl
type LocalSaslAuth ¶
type LocalSaslAuth interface {
// contains filtered or unexported methods
}
type LocalSaslOauth ¶
type LocalSaslOauth struct {
// contains filtered or unexported fields
}
func NewLocalSaslOauth ¶
func NewLocalSaslOauth(tokenAuthenticator apis.TokenInfo) *LocalSaslOauth
type LocalSaslParams ¶
type LocalSaslParams struct {
// contains filtered or unexported fields
}
type LocalSaslPlain ¶
type LocalSaslPlain struct {
// contains filtered or unexported fields
}
func NewLocalSaslPlain ¶
func NewLocalSaslPlain(localAuthenticator apis.PasswordAuthenticator) *LocalSaslPlain
type ProcessorConfig ¶
type RequestHandler ¶
type RequestHandler interface {
// contains filtered or unexported methods
}
type RequestsLoopContext ¶
type RequestsLoopContext struct {
// contains filtered or unexported fields
}
type ResponseHandler ¶
type ResponseHandler interface {
// contains filtered or unexported methods
}
type ResponsesLoopContext ¶
type ResponsesLoopContext struct {
// contains filtered or unexported fields
}
type SASLAuthByProxy ¶
type SASLAuthByProxy interface {
// contains filtered or unexported methods
}
type SASLHandshake ¶
type SASLHandshake struct {
// contains filtered or unexported fields
}
type SASLOAuthBearerAuth ¶
type SASLOAuthBearerAuth struct {
// contains filtered or unexported fields
}
type SASLPlainAuth ¶
type SASLPlainAuth struct {
// contains filtered or unexported fields
}
type SaslAuthV0RequestHandler ¶
type SaslAuthV0RequestHandler struct {
}
type SaslAuthV0ResponseHandler ¶
type SaslAuthV0ResponseHandler struct {
}
type SaslOAuthBearer ¶
type SaslOAuthBearer struct{}
func (SaslOAuthBearer) GetClientInitialResponse ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.