Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityAPI ¶
type IdentityAPI interface {
Init(ctx context.Context)
// Retrieves all domains from the OpenStack identity service.
GetAllDomains(ctx context.Context) ([]identity.Domain, error)
// Retrieves all projects from the OpenStack identity service.
GetAllProjects(ctx context.Context) ([]identity.Project, error)
}
func NewIdentityAPI ¶
func NewIdentityAPI(mon sync.Monitor, k keystone.KeystoneAPI, conf conf.SyncOpenStackIdentityConfig) IdentityAPI
type IdentitySyncer ¶
type IdentitySyncer struct {
DB db.DB
Mon sync.Monitor
API IdentityAPI
MqttClient mqtt.Client
Conf conf.SyncOpenStackIdentityConfig
}
func (*IdentitySyncer) Init ¶
func (s *IdentitySyncer) Init(ctx context.Context)
func (*IdentitySyncer) SyncDomains ¶
func (*IdentitySyncer) SyncProjects ¶
Click to show internal directories.
Click to hide internal directories.