identity_store

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 17 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 target.BaseTargetConfig, metadata *identity_store.MetaData) error

Types

type IdentityStoreImportConfig

type IdentityStoreImportConfig struct {
	target.BaseTargetConfig
	UserFile        string
	GroupFile       string
	DeleteUntouched bool
	ReplaceGroups   bool
	ReplaceTags     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(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 *target.BaseTargetConfig
	JobId        string
}

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