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

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