identity

package
v0.0.0-...-8f6c52d Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2025 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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)
}

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) Sync

func (s *IdentitySyncer) Sync(ctx context.Context) error

func (*IdentitySyncer) SyncDomains

func (s *IdentitySyncer) SyncDomains(ctx context.Context) ([]identity.Domain, error)

func (*IdentitySyncer) SyncProjects

func (s *IdentitySyncer) SyncProjects(ctx context.Context) ([]identity.Project, error)

Jump to

Keyboard shortcuts

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