Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreService ¶
type CoreService struct {
// contains filtered or unexported fields
}
CoreService contains configurations and helper functions required to utilize certain core services
func NewCoreService ¶
func NewCoreService(serviceAccountManager *authservice.ServiceAccountManager, deletedAccountsConfig *DeletedAccountsConfig, logger *logs.Logger) (*CoreService, error)
NewCoreService creates and configures a new CoreService instance
func (*CoreService) StartDeletedAccountsTimer ¶
func (c *CoreService) StartDeletedAccountsTimer()
StartDeletedAccountsTimer starts a timer that periodically retrieves deleted account IDs
type DeletedAccountsConfig ¶
type DeletedAccountsConfig struct { Callback func([]string) error // Function to call once the deleted accounts are received Period uint // How often to request deleted account list in hours (the default is 2) // contains filtered or unexported fields }
DeletedAccountsConfig represents a configuration for getting deleted accounts from a remote core service
Click to show internal directories.
Click to hide internal directories.