Documentation ¶
Overview ¶
Package assetattributor is a generated GoMock package.
Index ¶
- func NewTransport(rt http.RoundTripper) *http.Client
- type ACLCheckPOST
- type ClientCheckPOST
- type HTTPAuthHook
- type HTTPAuthHookConfig
- type MockRoundTripper
- type MockRoundTripperMockRecorder
- type OnConnectMessage
- type OnDisconnectMessage
- type OnPublishedMessage
- type OnSessionEstablishedMessage
- type OnStartedMessage
- type OnStoppedMessage
- type OnSubscribedMessage
- type OnUnsubscribedMessage
- type OnWillSentMessage
- type PubsubMessagingHook
- func (pmh *PubsubMessagingHook) ID() string
- func (pmh *PubsubMessagingHook) Init(config any) error
- func (pmh *PubsubMessagingHook) OnConnect(cl *mqtt.Client, pk packets.Packet) error
- func (pmh *PubsubMessagingHook) OnDisconnect(cl *mqtt.Client, connect_err error, expire bool)
- func (pmh *PubsubMessagingHook) OnPublished(cl *mqtt.Client, pk packets.Packet)
- func (pmh *PubsubMessagingHook) OnSessionEstablished(cl *mqtt.Client, pk packets.Packet)
- func (pmh *PubsubMessagingHook) OnStarted()
- func (pmh *PubsubMessagingHook) OnStopped()
- func (pmh *PubsubMessagingHook) OnSubscribed(cl *mqtt.Client, pk packets.Packet, reasonCodes []byte)
- func (pmh *PubsubMessagingHook) OnUnsubscribed(cl *mqtt.Client, pk packets.Packet)
- func (pmh *PubsubMessagingHook) OnWillSent(cl *mqtt.Client, pk packets.Packet)
- func (pmh *PubsubMessagingHook) Provides(b byte) bool
- type PubsubMessagingHookConfig
- type SecretManagerAuthHook
- func (h *SecretManagerAuthHook) ID() string
- func (h *SecretManagerAuthHook) Init(config any) error
- func (h *SecretManagerAuthHook) OnACLCheck(cl *mqtt.Client, topic string, write bool) bool
- func (h *SecretManagerAuthHook) OnConnectAuthenticate(cl *mqtt.Client, pk packets.Packet) bool
- func (h *SecretManagerAuthHook) Provides(b byte) bool
- type SecretManagerHookConfig
- type SuperuserCheckPOST
- type TimeoutConfig
- type Transport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransport ¶
func NewTransport(rt http.RoundTripper) *http.Client
NewTransport creates a new Transport object with any passed in information
Types ¶
type ACLCheckPOST ¶
type ClientCheckPOST ¶
type HTTPAuthHook ¶
func (*HTTPAuthHook) ID ¶
func (h *HTTPAuthHook) ID() string
func (*HTTPAuthHook) Init ¶
func (h *HTTPAuthHook) Init(config any) error
func (*HTTPAuthHook) OnACLCheck ¶
func (*HTTPAuthHook) OnConnectAuthenticate ¶
func (*HTTPAuthHook) Provides ¶
func (h *HTTPAuthHook) Provides(b byte) bool
type HTTPAuthHookConfig ¶
type HTTPAuthHookConfig struct { Timeout TimeoutConfig ACLHost string SuperUserHost string ClientAuthenticationHost string // currently unused RoundTripper http.RoundTripper }
type MockRoundTripper ¶
type MockRoundTripper struct {
// contains filtered or unexported fields
}
MockRoundTripper is a mock of RoundTripper interface
func NewMockRoundTripper ¶
func NewMockRoundTripper(ctrl *gomock.Controller) *MockRoundTripper
NewMockRoundTripper creates a new mock instance
func (*MockRoundTripper) EXPECT ¶
func (m *MockRoundTripper) EXPECT() *MockRoundTripperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRoundTripperMockRecorder ¶
type MockRoundTripperMockRecorder struct {
// contains filtered or unexported fields
}
MockRoundTripperMockRecorder is the mock recorder for MockRoundTripper
func (*MockRoundTripperMockRecorder) RoundTrip ¶
func (mr *MockRoundTripperMockRecorder) RoundTrip(arg0 interface{}) *gomock.Call
RoundTrip indicates an expected call of RoundTrip
type OnConnectMessage ¶ added in v0.1.1
type OnDisconnectMessage ¶ added in v0.1.1
type OnPublishedMessage ¶ added in v0.1.1
type OnSessionEstablishedMessage ¶ added in v0.0.8
type OnStartedMessage ¶ added in v0.1.0
type OnStoppedMessage ¶ added in v0.1.0
type OnSubscribedMessage ¶ added in v0.1.1
type OnUnsubscribedMessage ¶ added in v0.1.1
type OnWillSentMessage ¶ added in v0.0.4
type PubsubMessagingHook ¶ added in v0.0.4
func (*PubsubMessagingHook) ID ¶ added in v0.0.4
func (pmh *PubsubMessagingHook) ID() string
func (*PubsubMessagingHook) Init ¶ added in v0.0.4
func (pmh *PubsubMessagingHook) Init(config any) error
func (*PubsubMessagingHook) OnDisconnect ¶ added in v0.0.4
func (pmh *PubsubMessagingHook) OnDisconnect(cl *mqtt.Client, connect_err error, expire bool)
func (*PubsubMessagingHook) OnPublished ¶ added in v0.0.4
func (pmh *PubsubMessagingHook) OnPublished(cl *mqtt.Client, pk packets.Packet)
func (*PubsubMessagingHook) OnSessionEstablished ¶ added in v0.0.8
func (pmh *PubsubMessagingHook) OnSessionEstablished(cl *mqtt.Client, pk packets.Packet)
func (*PubsubMessagingHook) OnStarted ¶ added in v0.1.0
func (pmh *PubsubMessagingHook) OnStarted()
func (*PubsubMessagingHook) OnStopped ¶ added in v0.1.0
func (pmh *PubsubMessagingHook) OnStopped()
func (*PubsubMessagingHook) OnSubscribed ¶ added in v0.0.4
func (*PubsubMessagingHook) OnUnsubscribed ¶ added in v0.0.4
func (pmh *PubsubMessagingHook) OnUnsubscribed(cl *mqtt.Client, pk packets.Packet)
func (*PubsubMessagingHook) OnWillSent ¶ added in v0.0.4
func (pmh *PubsubMessagingHook) OnWillSent(cl *mqtt.Client, pk packets.Packet)
func (*PubsubMessagingHook) Provides ¶ added in v0.0.4
func (pmh *PubsubMessagingHook) Provides(b byte) bool
type PubsubMessagingHookConfig ¶ added in v0.0.4
type PubsubMessagingHookConfig struct { OnStartedTopic *pubsub.Topic OnStoppedTopic *pubsub.Topic OnConnectTopic *pubsub.Topic OnDisconnectTopic *pubsub.Topic OnSessionEstablishedTopic *pubsub.Topic OnPublishedTopic *pubsub.Topic OnSubscribedTopic *pubsub.Topic OnUnubscribedTopic *pubsub.Topic OnWillSentTopic *pubsub.Topic DisallowList []string }
type SecretManagerAuthHook ¶ added in v0.0.3
func (*SecretManagerAuthHook) ID ¶ added in v0.0.3
func (h *SecretManagerAuthHook) ID() string
func (*SecretManagerAuthHook) Init ¶ added in v0.0.3
func (h *SecretManagerAuthHook) Init(config any) error
func (*SecretManagerAuthHook) OnACLCheck ¶ added in v0.0.3
func (*SecretManagerAuthHook) OnConnectAuthenticate ¶ added in v0.0.3
func (*SecretManagerAuthHook) Provides ¶ added in v0.0.3
func (h *SecretManagerAuthHook) Provides(b byte) bool
type SecretManagerHookConfig ¶ added in v0.0.3
type SecretManagerHookConfig struct {
Names []string
}
type SuperuserCheckPOST ¶
type SuperuserCheckPOST struct {
Username string `json:"username"`
}
type TimeoutConfig ¶ added in v0.0.8
type Transport ¶
type Transport struct {
OriginalTransport http.RoundTripper
}
Transport represents everything required for adding to the roundtripper interface
Click to show internal directories.
Click to hide internal directories.