types

package
v0.65.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildParameterMapFromArguments added in v0.60.0

func BuildParameterMapFromArguments(args []string) map[string]string

Types

type BaseConfig

type BaseConfig struct {
	ConfigMap
	ApiUser   string
	ApiSecret string
	Domain    string

	FileBackupLocation      string
	MaximumBackupsPerTarget int

	BaseLogger    hclog.Logger
	HealthChecker health_check.HealthChecker
	OtherArgs     []string
}

func (*BaseConfig) ReloadConfig added in v0.60.0

func (c *BaseConfig) ReloadConfig() error

type BaseTargetConfig

type BaseTargetConfig struct {
	BaseConfig
	ConnectorName    string
	ConnectorVersion string
	Name             string
	DataSourceId     string
	IdentityStoreId  string

	SkipIdentityStoreSync bool
	SkipDataSourceSync    bool
	SkipDataAccessSync    bool
	SkipDataUsageSync     bool
	SkipResourceProvider  bool
	SkipTagSync           bool

	LockAllWho            bool
	LockWhoByName         string
	LockWhoByTag          string
	LockWhoWhenIncomplete bool

	LockAllInheritance            bool
	LockInheritanceByName         string
	LockInheritanceByTag          string
	LockInheritanceWhenIncomplete bool

	LockAllWhat            bool
	LockWhatByName         string
	LockWhatByTag          string
	LockWhatWhenIncomplete bool

	LockAllNames            bool
	LockNamesByName         string
	LockNamesByTag          string
	LockNamesWhenIncomplete bool

	LockAllDelete            bool
	LockDeleteByName         string
	LockDeleteByTag          string
	LockDeleteWhenIncomplete bool

	LockAllOwners bool

	MakeNotInternalizable   string
	FullyLockAll            bool
	FullyLockByName         string
	FullyLockByTag          string
	FullyLockWhenIncomplete bool

	TagOverwriteKeyForAccessProviderName   string
	TagOverwriteKeyForAccessProviderOwners string
	TagOverwriteKeyForDataObjectOwners     string

	TagKeyAndValueForUserIsMachine string

	OnlyOutOfSyncData    bool
	SkipDataAccessImport bool

	DeleteUntouched bool
	DeleteTempFiles bool
	ReplaceGroups   bool

	DataObjectParent   *string
	DataObjectExcludes []string

	DataObjectEnrichers []*EnricherConfig

	TargetLogger hclog.Logger
	// contains filtered or unexported fields
}

func (*BaseTargetConfig) CalculateFileBackupLocationForRun added in v0.63.0

func (c *BaseTargetConfig) CalculateFileBackupLocationForRun(runType string) error

CalculateFileBackupLocationForRun calculated the full directory path where the backup files of this run should be stored. The current time is used for the directory name

func (*BaseTargetConfig) FinalizeRun added in v0.63.0

func (c *BaseTargetConfig) FinalizeRun()

FinalizeRun will remove old backup files if the maximum number of backups is exceeded

func (*BaseTargetConfig) HandleTempFile added in v0.63.0

func (c *BaseTargetConfig) HandleTempFile(filePath string, neverDelete bool)

HandleTempFile handles the temporary file by backing it up if needed and deleting it if needed

type ConfigMap

type ConfigMap struct {
	Parameters map[string]string
}

func (*ConfigMap) ToProtobufConfigMap

func (c *ConfigMap) ToProtobufConfigMap() *config.ConfigMap

type EnricherConfig

type EnricherConfig struct {
	ConfigMap
	ConnectorName    string
	ConnectorVersion string
	Name             string
}

Jump to

Keyboard shortcuts

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