Documentation ¶
Index ¶
- func RunConfigLoop(ctx context.Context, enabledFeatures EnabledConfigLoops, ...) error
- func RunEventLoop(ctx context.Context, loop eventloop.EventLoop, opts clients.WatchOpts) error
- type ConfigLoop
- type ConfigLoopStarter
- type EnabledConfigLoops
- type PubSub
- type Receiver
- type RegistrationSyncer
- type Subscriber
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunConfigLoop ¶ added in v0.3.11
func RunConfigLoop(ctx context.Context, enabledFeatures EnabledConfigLoops, starter ConfigLoopStarter) error
Types ¶
type ConfigLoop ¶ added in v0.3.14
type ConfigLoop interface { Enabled(enabled EnabledConfigLoops) bool Start(ctx context.Context, enabled EnabledConfigLoops) (eventloop.EventLoop, error) }
type ConfigLoopStarter ¶ added in v0.3.11
type EnabledConfigLoops ¶ added in v0.3.11
type Receiver ¶ added in v0.3.14
type Receiver <-chan EnabledConfigLoops
type RegistrationSyncer ¶
type RegistrationSyncer struct {
// contains filtered or unexported fields
}
registration syncer, activates config syncers based on registered meshes enables istio config syncer as long as there's a registered istio mesh
func NewRegistrationSyncer ¶
func NewRegistrationSyncer(pubSub *PubSub) *RegistrationSyncer
func (*RegistrationSyncer) Sync ¶
func (s *RegistrationSyncer) Sync(ctx context.Context, snap *v1.RegistrationSnapshot) error
type Subscriber ¶ added in v0.3.14
type Subscriber struct {
// contains filtered or unexported fields
}
func NewSubscriber ¶ added in v0.3.14
func NewSubscriber(ctx context.Context, pubsub *PubSub, cl ConfigLoop) *Subscriber
func (*Subscriber) Listen ¶ added in v0.3.14
func (l *Subscriber) Listen(parentCtx context.Context)
Directories ¶
Path | Synopsis |
---|---|
Package appmesh is a generated GoMock package.
|
Package appmesh is a generated GoMock package. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package mock_registration is a generated GoMock package.
|
Package mock_registration is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.