Documentation ¶
Index ¶
- func SetMetaData(config types.BaseTargetConfig, metadata *identity_store.MetaData) error
- type IdentityStoreImportConfig
- type IdentityStoreImportResult
- type IdentityStoreImporter
- type IdentityStoreSync
- func (s *IdentityStoreSync) GetParts() []job.TaskPart
- func (s *IdentityStoreSync) GetResultObject() interface{}
- func (s *IdentityStoreSync) GetTaskResults() []job.TaskResult
- func (s *IdentityStoreSync) IsClientValid(ctx context.Context, c plugin.PluginClient) (bool, error)
- func (s *IdentityStoreSync) ProcessResults(results interface{}) error
- func (s *IdentityStoreSync) StartSyncAndQueueTaskPart(ctx context.Context, client plugin.PluginClient, ...) (job.JobStatus, string, error)
- type PostProcessor
- type PostProcessorConfig
- type PostProcessorResult
- type QueryResponse
- type Response
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 // TagSourcesScope is the set of sources that will be looked at when merging the tags. Tags with other sources will remain untouched. // If not specified, the default is to take all sources for which tags are defined in the import file. TagSourcesScope []string `json:"tagSourcesScope"` }
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 PostProcessor ¶ added in v0.63.1
type PostProcessor struct {
// contains filtered or unexported fields
}
func NewPostProcessor ¶ added in v0.63.1
func NewPostProcessor(config *PostProcessorConfig) PostProcessor
func (*PostProcessor) NeedsUserPostProcessing ¶ added in v0.63.1
func (p *PostProcessor) NeedsUserPostProcessing() bool
func (*PostProcessor) PostProcessUsers ¶ added in v0.63.1
func (p *PostProcessor) PostProcessUsers(usersInputFilePath string, usersOutputFile string) (*PostProcessorResult, error)
type PostProcessorConfig ¶ added in v0.63.1
type PostProcessorConfig struct { TagKeyAndValueForUserIsMachine string TargetLogger hclog.Logger }
type PostProcessorResult ¶ added in v0.63.1
type PostProcessorResult struct {
UsersTouchedCount int
}
type QueryResponse ¶ added in v0.16.0
type QueryResponse struct {
Subtask subtaskResponse `json:"subtask"`
}
type Response ¶
type Response struct {
Respose QueryResponse `json:"importIdentityRequest"`
}
Click to show internal directories.
Click to hide internal directories.