Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentStatus ¶
type Config ¶
type Config struct {
Client client.AlertingClient
}
type InitializerF ¶
type ServerComponent ¶
type ServerComponent interface { InitializerF ComponentStatus Name() string SetConfig(config Config) // Server components that manage independent dependencies // should implement this method to sync them // Sync implementations should be cancellable on ctx.Err() Sync(ctx context.Context, info sync.SyncInfo) error }
Click to show internal directories.
Click to hide internal directories.