identity_store

package
v0.56.4 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetMetaData added in v0.24.0

func SetMetaData(config types.BaseTargetConfig, metadata *identity_store.MetaData) error

Types

type IdentityStoreImportConfig

type IdentityStoreImportConfig struct {
	types.BaseTargetConfig
	UserFile        string
	GroupFile       string
	DeleteUntouched bool
	ReplaceGroups   bool
}

type IdentityStoreImportResult

type IdentityStoreImportResult struct {
	UsersAdded    int `json:"usersAdded"`
	UsersUpdated  int `json:"usersUpdated"`
	UsersRemoved  int `json:"usersRemoved"`
	GroupsAdded   int `json:"groupsAdded"`
	GroupsUpdated int `json:"groupsUpdated"`
	GroupsRemoved int `json:"groupsRemoved"`

	Warnings []string `json:"warnings"`
}

type IdentityStoreImporter

type IdentityStoreImporter interface {
	TriggerImport(ctx context.Context, jobId string) (job.JobStatus, string, error)
}

func NewIdentityStoreImporter

func NewIdentityStoreImporter(config *IdentityStoreImportConfig, statusUpdater job.TaskEventUpdater) IdentityStoreImporter

type IdentityStoreSync added in v0.16.0

type IdentityStoreSync struct {
	TargetConfig *types.BaseTargetConfig
	JobId        string
	// contains filtered or unexported fields
}

func (*IdentityStoreSync) GetParts added in v0.20.0

func (s *IdentityStoreSync) GetParts() []job.TaskPart

func (*IdentityStoreSync) GetResultObject added in v0.16.0

func (s *IdentityStoreSync) GetResultObject() interface{}

func (*IdentityStoreSync) GetTaskResults added in v0.38.0

func (s *IdentityStoreSync) GetTaskResults() []job.TaskResult

func (*IdentityStoreSync) IsClientValid added in v0.33.0

func (s *IdentityStoreSync) IsClientValid(ctx context.Context, c plugin.PluginClient) (bool, error)

func (*IdentityStoreSync) ProcessResults added in v0.16.0

func (s *IdentityStoreSync) ProcessResults(results interface{}) error

func (*IdentityStoreSync) StartSyncAndQueueTaskPart added in v0.20.0

func (s *IdentityStoreSync) StartSyncAndQueueTaskPart(ctx context.Context, client plugin.PluginClient, statusUpdater job.TaskEventUpdater) (job.JobStatus, string, error)

type QueryResponse added in v0.16.0

type QueryResponse struct {
	Subtask subtaskResponse `json:"subtask"`
}

type Response

type Response struct {
	Respose QueryResponse `json:"importIdentityRequest"`
}

Jump to

Keyboard shortcuts

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