core

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service contains configurations and helper functions required to utilize certain core services

func NewService

func NewService(serviceAccountManager *auth.ServiceAccountManager, deletedAccountsConfig *DeletedAccountsConfig, logger *logs.Logger) (*Service, error)

NewService creates and configures a new Service instance

func (*Service) StartDeletedAccountsTimer

func (c *Service) StartDeletedAccountsTimer()

StartDeletedAccountsTimer starts a timer that periodically retrieves deleted account IDs

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL