pg_models

package
v0.4.47 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountOnboardingConfig

type AccountOnboardingConfig struct {
	HasCreatedSourceConnection      bool `json:"hasCreatedSourceConnection"`
	HasCreatedDestinationConnection bool `json:"hasCreatedDestinationConnection"`
	HasCreatedJob                   bool `json:"hasCreatedJob"`
	HasInvitedMembers               bool `json:"hasInvitedMembers"`
}

func (*AccountOnboardingConfig) FromDto

func (*AccountOnboardingConfig) ToDto

type ActivityOptions

type ActivityOptions struct {
	ScheduleToCloseTimeout *int64       `json:"scheduleToCloseTimeout,omitempty"`
	StartToCloseTimeout    *int64       `json:"startToCloseTimeout,omitempty"`
	RetryPolicy            *RetryPolicy `json:"retryPolicy,omitempty"`
}

func (*ActivityOptions) FromDto

func (a *ActivityOptions) FromDto(dto *mgmtv1alpha1.ActivityOptions)

func (*ActivityOptions) ToDto

type AiGenerateSourceOptions

type AiGenerateSourceOptions struct {
	AiConnectionId       string                          `json:"aiConnectionId"`
	Schemas              []*AiGenerateSourceSchemaOption `json:"schemas"`
	FkSourceConnectionId *string                         `json:"fkSourceConnectionId,omitempty"`
	ModelName            string                          `json:"modelName"`
	UserPrompt           *string                         `json:"userPrompt,omitempty"`
	GenerateBatchSize    *int64                          `json:"generateBatchSize,omitempty"`
}

func (*AiGenerateSourceOptions) FromDto

func (*AiGenerateSourceOptions) ToDto

type AiGenerateSourceSchemaOption

type AiGenerateSourceSchemaOption struct {
	Schema string                         `json:"schema"`
	Tables []*AiGenerateSourceTableOption `json:"tables"`
}

type AiGenerateSourceTableOption

type AiGenerateSourceTableOption struct {
	Table    string `json:"table"`
	RowCount int64  `json:"rowCount,omitempty"`
}

type AwsS3ConnectionConfig

type AwsS3ConnectionConfig struct {
	BucketArn   string
	Bucket      string
	PathPrefix  *string
	Credentials *AwsS3Credentials
	Region      *string
	Endpoint    *string
}

func (*AwsS3ConnectionConfig) FromDto

func (*AwsS3ConnectionConfig) ToDto

type AwsS3Credentials

type AwsS3Credentials struct {
	Profile         *string `json:"profile,omitempty"`
	AccessKeyId     *string `json:"accessKeyId,omitempty"`
	SecretAccessKey *string `json:"secretAccessKey,omitempty"`
	SessionToken    *string `json:"sessionToken,omitempty"`
	FromEc2Role     *bool   `json:"fromEc2Role,omitempty"`
	RoleArn         *string `json:"roleArn,omitempty"`
	RoleExternalId  *string `json:"roleExternalId,omitempty"`
}

func (*AwsS3Credentials) FromDto

func (*AwsS3Credentials) ToDto

type AwsS3DestinationOptions

type AwsS3DestinationOptions struct{}

type ClientTls added in v0.4.23

type ClientTls struct {
	RootCert   *string `json:"rootCert,omitempty"`
	ClientCert *string `json:"clientCert,omitempty"`
	ClientKey  *string `json:"clientKey,omitempty"`
}

func (*ClientTls) FromDto added in v0.4.23

func (c *ClientTls) FromDto(dto *mgmtv1alpha1.ClientTlsConfig)

func (*ClientTls) ToDto added in v0.4.23

type ConnectionConfig

type ConnectionConfig struct {
	PgConfig              *PostgresConnectionConfig       `json:"pgConfig,omitempty"`
	AwsS3Config           *AwsS3ConnectionConfig          `json:"awsS3Config,omitempty"`
	MysqlConfig           *MysqlConnectionConfig          `json:"mysqlConfig,omitempty"`
	LocalDirectoryConfig  *LocalDirectoryConnectionConfig `json:"localDirConfig,omitempty"`
	OpenAiConfig          *OpenAiConnectionConfig         `json:"openaiConfig,omitempty"`
	MongoConfig           *MongoConnectionConfig          `json:"mongoConfig,omitempty"`
	GcpCloudStorageConfig *GcpCloudStorageConfig          `json:"gcpCloudStorageConfig,omitempty"`
}

func (*ConnectionConfig) FromDto

func (*ConnectionConfig) ToDto

type ConnectionOptions

type ConnectionOptions struct {
	MaxConnectionLimit *int32 `json:"maxConnectionLimit,omitempty"`
}

func (*ConnectionOptions) FromDto

func (*ConnectionOptions) ToDto

type GcpCloudStorageConfig added in v0.4.40

type GcpCloudStorageConfig struct {
	Bucket     string  `json:"bucket"`
	PathPrefix *string `json:"pathPrefix,omitempty"`

	ServiceAccountCredentials *string `json:"serviceAccountCredentials,omitempty"`
}

func (*GcpCloudStorageConfig) FromDto added in v0.4.40

func (*GcpCloudStorageConfig) ToDto added in v0.4.40

type GcpCloudStorageDestinationOptions added in v0.4.40

type GcpCloudStorageDestinationOptions struct{}

type GenerateBoolConfig

type GenerateBoolConfig struct{}

type GenerateCardNumberConfig

type GenerateCardNumberConfig struct {
	ValidLuhn bool `json:"validLuhn"`
}

type GenerateCategoricalConfig

type GenerateCategoricalConfig struct {
	Categories string `json:"categories"`
}

type GenerateCityConfig

type GenerateCityConfig struct{}

type GenerateDefaultConfig

type GenerateDefaultConfig struct{}

type GenerateE164PhoneNumberConfig

type GenerateE164PhoneNumberConfig struct {
	Min int64 `json:"min"`
	Max int64 `json:"max"`
}

type GenerateEmailConfig

type GenerateEmailConfig struct {
	EmailType *int32 `json:"emailType,omitempty"`
}

type GenerateFirstNameConfig

type GenerateFirstNameConfig struct{}

type GenerateFloat64Config

type GenerateFloat64Config struct {
	RandomizeSign bool    `json:"randomizeSign"`
	Min           float64 `json:"min"`
	Max           float64 `json:"max"`
	Precision     int64   `json:"precision"`
}

type GenerateFullAddressConfig

type GenerateFullAddressConfig struct{}

type GenerateFullNameConfig

type GenerateFullNameConfig struct{}

type GenerateGenderConfig

type GenerateGenderConfig struct {
	Abbreviate bool `json:"abbreviate"`
}

type GenerateInt64Config

type GenerateInt64Config struct {
	RandomizeSign bool  `json:"randomizeSign"`
	Min           int64 `json:"min"`
	Max           int64 `json:"max"`
}

type GenerateInt64PhoneNumberConfig

type GenerateInt64PhoneNumberConfig struct{}

type GenerateJavascript

type GenerateJavascript struct {
	Code string `json:"code"`
}

type GenerateLastNameConfig

type GenerateLastNameConfig struct{}

type GenerateSha256HashConfig

type GenerateSha256HashConfig struct{}

type GenerateSourceOptions

type GenerateSourceOptions struct {
	Schemas              []*GenerateSourceSchemaOption `json:"schemas"`
	FkSourceConnectionId *string                       `json:"fkSourceConnectionId,omitempty"`
}

func (*GenerateSourceOptions) FromDto

func (*GenerateSourceOptions) ToDto

type GenerateSourceSchemaOption

type GenerateSourceSchemaOption struct {
	Schema string                       `json:"schema"`
	Tables []*GenerateSourceTableOption `json:"tables"`
}

type GenerateSourceTableOption

type GenerateSourceTableOption struct {
	Table    string `json:"table"`
	RowCount int64  `json:"rowCount,omitempty"`
}

type GenerateSsnConfig

type GenerateSsnConfig struct{}

type GenerateStateConfig

type GenerateStateConfig struct {
	GenerateFullName bool `json:"generateFullName"`
}

type GenerateStreetAddressConfig

type GenerateStreetAddressConfig struct{}

type GenerateStringConfig

type GenerateStringConfig struct {
	Min int64 `json:"min"`
	Max int64 `json:"max"`
}

type GenerateStringPhoneNumberConfig

type GenerateStringPhoneNumberConfig struct {
	Min int64 `json:"min"`
	Max int64 `json:"max"`
}

type GenerateUnixTimestampConfig

type GenerateUnixTimestampConfig struct{}

type GenerateUsernameConfig

type GenerateUsernameConfig struct{}

type GenerateUtcTimestampConfig

type GenerateUtcTimestampConfig struct{}

type GenerateUuidConfig

type GenerateUuidConfig struct {
	IncludeHyphens bool `json:"includeHyphens"`
}

type GenerateZipcodeConfig

type GenerateZipcodeConfig struct{}

type JobDestinationOptions

type JobDestinationOptions struct {
	PostgresOptions        *PostgresDestinationOptions        `json:"postgresOptions,omitempty"`
	AwsS3Options           *AwsS3DestinationOptions           `json:"awsS3Options,omitempty"`
	MysqlOptions           *MysqlDestinationOptions           `json:"mysqlOptions,omitempty"`
	MongoOptions           *MongoDestinationOptions           `json:"mongoOptions,omitempty"`
	GcpCloudStorageOptions *GcpCloudStorageDestinationOptions `json:"gcpCloudStorageOptions,omitempty"`
}

func (*JobDestinationOptions) FromDto

func (*JobDestinationOptions) ToDto

type JobMapping

type JobMapping struct {
	Schema                string                      `json:"schema"`
	Table                 string                      `json:"table"`
	Column                string                      `json:"column"`
	JobMappingTransformer *JobMappingTransformerModel `json:"jobMappingTransformerModel,omitempty"`
}

func (*JobMapping) FromDto

func (jm *JobMapping) FromDto(dto *mgmtv1alpha1.JobMapping) error

func (*JobMapping) ToDto

func (jm *JobMapping) ToDto() *mgmtv1alpha1.JobMapping

type JobMappingTransformerModel

type JobMappingTransformerModel struct {
	Source int32               `json:"source"`
	Config *TransformerConfigs `json:"config,omitempty"`
}

func (*JobMappingTransformerModel) FromTransformerDto

from API -> DB

func (*JobMappingTransformerModel) ToTransformerDto

DB -> API

type JobSourceOptions

type JobSourceOptions struct {
	PostgresOptions   *PostgresSourceOptions   `json:"postgresOptions,omitempty"`
	MysqlOptions      *MysqlSourceOptions      `json:"mysqlOptions,omitempty"`
	GenerateOptions   *GenerateSourceOptions   `json:"generateOptions,omitempty"`
	AiGenerateOptions *AiGenerateSourceOptions `json:"aiGenerateOptions,omitempty"`
	MongoDbOptions    *MongoDbSourceOptions    `json:"mongoOptions,omitempty"`
}

func (*JobSourceOptions) FromDto

func (*JobSourceOptions) ToDto

type LocalDirectoryConnectionConfig

type LocalDirectoryConnectionConfig struct {
	Path string `json:"path"`
}

func (*LocalDirectoryConnectionConfig) FromDto

func (*LocalDirectoryConnectionConfig) ToDto

type MongoConnectionConfig added in v0.4.26

type MongoConnectionConfig struct {
	Url       *string    `json:"url,omitempty"`
	SSHTunnel *SSHTunnel `json:"sshTunnel,omitempty"`
	ClientTls *ClientTls `json:"clientTls,omitempty"`
}

func (*MongoConnectionConfig) FromDto added in v0.4.26

func (*MongoConnectionConfig) ToDto added in v0.4.26

type MongoDbSourceOptions added in v0.4.26

type MongoDbSourceOptions struct {
	ConnectionId string `json:"connectionId"`
}

func (*MongoDbSourceOptions) FromDto added in v0.4.26

func (*MongoDbSourceOptions) ToDto added in v0.4.26

type MongoDestinationOptions added in v0.4.26

type MongoDestinationOptions struct{}

type MysqlConnection

type MysqlConnection struct {
	User     string `json:"user"`
	Pass     string `json:"pass"`
	Protocol string `json:"protocol"`
	Host     string `json:"host"`
	Port     int32  `json:"port"`
	Name     string `json:"name"`
}

type MysqlConnectionConfig

type MysqlConnectionConfig struct {
	Connection        *MysqlConnection   `json:"connection,omitempty"`
	Url               *string            `json:"url,omitempty"`
	SSHTunnel         *SSHTunnel         `json:"sshTunnel,omitempty"`
	ConnectionOptions *ConnectionOptions `json:"connectionOptions,omitempty"`
}

type MysqlDestinationOptions

type MysqlDestinationOptions struct {
	TruncateTableConfig *MysqlTruncateTableConfig `json:"truncateTableConfig,omitempty"`
	InitTableSchema     bool                      `json:"initTableSchema"`
	OnConflictConfig    *MysqlOnConflictConfig    `json:"onConflict,omitempty"`
}

type MysqlOnConflictConfig

type MysqlOnConflictConfig struct {
	DoNothing bool `json:"doNothing"`
}

func (*MysqlOnConflictConfig) FromDto

func (*MysqlOnConflictConfig) ToDto

type MysqlSourceOptions

type MysqlSourceOptions struct {
	HaltOnNewColumnAddition       bool                       `json:"haltOnNewColumnAddition"`
	SubsetByForeignKeyConstraints bool                       `json:"subsetByForeignKeyConstraints"`
	Schemas                       []*MysqlSourceSchemaOption `json:"schemas"`
	ConnectionId                  string                     `json:"connectionId"`
}

func (*MysqlSourceOptions) FromDto

func (*MysqlSourceOptions) ToDto

type MysqlSourceSchemaOption

type MysqlSourceSchemaOption struct {
	Schema string                    `json:"schema"`
	Tables []*MysqlSourceTableOption `json:"tables"`
}

type MysqlSourceTableOption

type MysqlSourceTableOption struct {
	Table       string  `json:"table"`
	WhereClause *string `json:"whereClause,omitempty"`
}

type MysqlTruncateTableConfig

type MysqlTruncateTableConfig struct {
	TruncateBeforeInsert bool `json:"truncateBeforeInsert"`
}

func (*MysqlTruncateTableConfig) FromDto

func (*MysqlTruncateTableConfig) ToDto

type NullConfig

type NullConfig struct{}

type OpenAiConnectionConfig

type OpenAiConnectionConfig struct {
	ApiUrl string `json:"apiUrl"`
	ApiKey string `json:"apiKey"`
}

func (*OpenAiConnectionConfig) FromDto

func (*OpenAiConnectionConfig) ToDto

type PassthroughConfig

type PassthroughConfig struct{}

type PostgresConnection

type PostgresConnection struct {
	Host    string  `json:"host"`
	Port    int32   `json:"port"`
	Name    string  `json:"name"`
	User    string  `json:"user"`
	Pass    string  `json:"pass"`
	SslMode *string `json:"sslMode,omitempty"`
}

type PostgresConnectionConfig

type PostgresConnectionConfig struct {
	Connection        *PostgresConnection `json:"connection,omitempty"`
	Url               *string             `json:"url,omitempty"`
	SSHTunnel         *SSHTunnel          `json:"sshTunnel,omitempty"`
	ConnectionOptions *ConnectionOptions  `json:"connectionOptions,omitempty"`
	ClientTls         *ClientTls          `json:"clientTls,omitempty"`
}

type PostgresDestinationOptions

type PostgresDestinationOptions struct {
	TruncateTableConfig *PostgresTruncateTableConfig `json:"truncateTableconfig,omitempty"`
	InitTableSchema     bool                         `json:"initTableSchema"`
	OnConflictConfig    *PostgresOnConflictConfig    `json:"onConflictConfig,omitempty"`
}

type PostgresOnConflictConfig

type PostgresOnConflictConfig struct {
	DoNothing bool `json:"doNothing"`
}

func (*PostgresOnConflictConfig) FromDto

func (*PostgresOnConflictConfig) ToDto

type PostgresSourceOptions

type PostgresSourceOptions struct {
	HaltOnNewColumnAddition       bool                          `json:"haltOnNewColumnAddition"`
	SubsetByForeignKeyConstraints bool                          `json:"subsetByForeignKeyConstraints"`
	Schemas                       []*PostgresSourceSchemaOption `json:"schemas"`
	ConnectionId                  string                        `json:"connectionId"`
}

func (*PostgresSourceOptions) FromDto

func (*PostgresSourceOptions) ToDto

type PostgresSourceSchemaOption

type PostgresSourceSchemaOption struct {
	Schema string                       `json:"schema"`
	Tables []*PostgresSourceTableOption `json:"tables"`
}

type PostgresSourceTableOption

type PostgresSourceTableOption struct {
	Table       string  `json:"table"`
	WhereClause *string `json:"whereClause,omitempty"`
}

type PostgresTruncateTableConfig

type PostgresTruncateTableConfig struct {
	TruncateBeforeInsert bool `json:"truncateBeforeInsert"`
	TruncateCascade      bool `json:"truncateCascade"`
}

func (*PostgresTruncateTableConfig) FromDto

func (*PostgresTruncateTableConfig) ToDto

type RetryPolicy

type RetryPolicy struct {
	MaximumAttempts *int32 `json:"maximumAttempts,omitempty"`
}

func (*RetryPolicy) FromDto

func (r *RetryPolicy) FromDto(dto *mgmtv1alpha1.RetryPolicy)

func (*RetryPolicy) ToDto

func (r *RetryPolicy) ToDto() *mgmtv1alpha1.RetryPolicy

type SSHAuthentication

type SSHAuthentication struct {
	SSHPassphrase *SSHPassphrase `json:"sshPassphrase,omitempty"`
	SSHPrivateKey *SSHPrivateKey `json:"sshPrivateKey,omitempty"`
}

func (*SSHAuthentication) FromDto

func (*SSHAuthentication) ToDto

type SSHPassphrase

type SSHPassphrase struct {
	Value string `json:"value"`
}

type SSHPrivateKey

type SSHPrivateKey struct {
	Value      string  `json:"value"`
	Passphrase *string `json:"passphrase,omitempty"`
}

type SSHTunnel

type SSHTunnel struct {
	Host string `json:"host"`
	Port int32  `json:"port"`
	User string `json:"user"`

	KnownHostPublicKey *string            `json:"knownHostPublicKey,omitempty"`
	SSHAuthentication  *SSHAuthentication `json:"sshAuthentication,omitempty"`
}

func (*SSHTunnel) FromDto

func (s *SSHTunnel) FromDto(dto *mgmtv1alpha1.SSHTunnel)

func (*SSHTunnel) ToDto

func (s *SSHTunnel) ToDto() *mgmtv1alpha1.SSHTunnel

type TemporalConfig

type TemporalConfig struct {
	Namespace        string `json:"namespace"`
	SyncJobQueueName string `json:"syncJobQueueName"`
	Url              string `json:"url"`
}

func (*TemporalConfig) FromDto

func (*TemporalConfig) ToDto

type TransformCharacterScramble

type TransformCharacterScramble struct {
	UserProvidedRegex *string `json:"userProvidedRegex,omitempty"`
}

type TransformE164PhoneNumberConfig

type TransformE164PhoneNumberConfig struct {
	PreserveLength bool `json:"preserveLength"`
}

type TransformEmailConfig

type TransformEmailConfig struct {
	PreserveLength     bool     `json:"preserveLength"`
	PreserveDomain     bool     `json:"preserveDomain"`
	ExcludedDomains    []string `json:"excludedDomains"`
	EmailType          *int32   `json:"emailType,omitempty"`
	InvalidEmailAction *int32   `json:"invalidEmailAction,omitempty"`
}

type TransformFirstNameConfig

type TransformFirstNameConfig struct {
	PreserveLength bool `json:"preserveLength"`
}

type TransformFloat64Config

type TransformFloat64Config struct {
	RandomizationRangeMin float64 `json:"randomizationRangeMin"`
	RandomizationRangeMax float64 `json:"randomizationRangeMax"`
}

type TransformFullNameConfig

type TransformFullNameConfig struct {
	PreserveLength bool `json:"preserveLength"`
}

type TransformInt64Config

type TransformInt64Config struct {
	RandomizationRangeMin int64 `json:"randomizationRangeMin"`
	RandomizationRangeMax int64 `json:"randomizationRangeMax"`
}

type TransformInt64PhoneNumberConfig

type TransformInt64PhoneNumberConfig struct {
	PreserveLength bool `json:"preserveLength"`
}

type TransformJavascriptConfig

type TransformJavascriptConfig struct {
	Code string `json:"code"`
}

type TransformLastNameConfig

type TransformLastNameConfig struct {
	PreserveLength bool `json:"preserveLength"`
}

type TransformPhoneNumberConfig

type TransformPhoneNumberConfig struct {
	PreserveLength bool `json:"preserveLength"`
}

type TransformStringConfig

type TransformStringConfig struct {
	PreserveLength bool `json:"preserveLength"`
}

type TransformerConfigs

type TransformerConfigs struct {
	GenerateEmail              *GenerateEmailConfig             `json:"generateEmailConfig,omitempty"`
	TransformEmail             *TransformEmailConfig            `json:"transformEmail,omitempty"`
	GenerateBool               *GenerateBoolConfig              `json:"generateBool,omitempty"`
	GenerateCardNumber         *GenerateCardNumberConfig        `json:"generateCardNumber,omitempty"`
	GenerateCity               *GenerateCityConfig              `json:"generateCity,omitempty"`
	GenerateDefault            *GenerateDefaultConfig           `json:"generateDefault,omitempty"`
	GenerateE164PhoneNumber    *GenerateE164PhoneNumberConfig   `json:"generateE164PhoneNumber,omitempty"`
	GenerateFirstName          *GenerateFirstNameConfig         `json:"generateFirstName,omitempty"`
	GenerateFloat64            *GenerateFloat64Config           `json:"generateFloat64,omitempty"`
	GenerateFullAddress        *GenerateFullAddressConfig       `json:"generateFullAddress,omitempty"`
	GenerateFullName           *GenerateFullNameConfig          `json:"generateFullName,omitempty"`
	GenerateGender             *GenerateGenderConfig            `json:"generateGender,omitempty"`
	GenerateInt64PhoneNumber   *GenerateInt64PhoneNumberConfig  `json:"generateInt64PhoneNumber,omitempty"`
	GenerateInt64              *GenerateInt64Config             `json:"GenerateInt64,omitempty"`
	GenerateLastName           *GenerateLastNameConfig          `json:"generateLastName,omitempty"`
	GenerateSha256Hash         *GenerateSha256HashConfig        `json:"generateSha256Hash,omitempty"`
	GenerateSsn                *GenerateSsnConfig               `json:"generateSsnConfig,omitempty"`
	GenerateState              *GenerateStateConfig             `json:"generateStateConfig,omitempty"`
	GenerateStreetAddress      *GenerateStreetAddressConfig     `json:"generateStreetAddressConfig,omitempty"`
	GenerateStringPhoneNumber  *GenerateStringPhoneNumberConfig `json:"generateStringPhoneNumber,omitempty"`
	GenerateString             *GenerateStringConfig            `json:"generateString,omitempty"`
	GenerateUnixTimestamp      *GenerateUnixTimestampConfig     `json:"generateUnixTimestamp,omitempty"`
	GenerateUsername           *GenerateUsernameConfig          `json:"generateUsername,omitempty"`
	GenerateUtcTimestamp       *GenerateUtcTimestampConfig      `json:"generateUtcTimestamp,omitempty"`
	GenerateUuid               *GenerateUuidConfig              `json:"generateUuid,omitempty"`
	GenerateZipcode            *GenerateZipcodeConfig           `json:"generateZipcode,omitempty"`
	TransformE164PhoneNumber   *TransformE164PhoneNumberConfig  `json:"transformE164PhoneNumber,omitempty"`
	TransformFirstname         *TransformFirstNameConfig        `json:"transformFirstName,omitempty"`
	TransformFloat64           *TransformFloat64Config          `json:"transformFloat64,omitempty"`
	TransformFullName          *TransformFullNameConfig         `json:"transformFullName,,omitempty"`
	TransformInt64PhoneNumber  *TransformInt64PhoneNumberConfig `json:"transformInt64PhoneNumber,omitempty"`
	TransformInt64             *TransformInt64Config            `json:"transformInt64,omitempty"`
	TransformLastName          *TransformLastNameConfig         `json:"transformLastName,omitempty"`
	TransformPhoneNumber       *TransformPhoneNumberConfig      `json:"transformPhoneNumber,omitempty"`
	TransformString            *TransformStringConfig           `json:"transformString,omitempty"`
	Passthrough                *PassthroughConfig               `json:"passthrough,omitempty"`
	Null                       *NullConfig                      `json:"null,omitempty"`
	UserDefinedTransformer     *UserDefinedTransformerConfig    `json:"userDefinedTransformer,omitempty"`
	TransformJavascript        *TransformJavascriptConfig       `json:"transformJavascript,omitempty"`
	GenerateCategorical        *GenerateCategoricalConfig       `json:"generateCategorical,omitempty"`
	TransformCharacterScramble *TransformCharacterScramble      `json:"transformCharacterScramble,omitempty"`
	GenerateJavascript         *GenerateJavascript              `json:"generateJavascript,omitempty"`
}

func (*TransformerConfigs) FromTransformerConfigDto

func (t *TransformerConfigs) FromTransformerConfigDto(tr *mgmtv1alpha1.TransformerConfig) error

func (*TransformerConfigs) ToTransformerConfigDto

func (t *TransformerConfigs) ToTransformerConfigDto() *mgmtv1alpha1.TransformerConfig

type UserDefinedTransformerConfig

type UserDefinedTransformerConfig struct {
	Id string `json:"id"`
}

type VirtualForeignConstraint added in v0.4.39

type VirtualForeignConstraint struct {
	Schema     string             `json:"schema"`
	Table      string             `json:"table"`
	Columns    []string           `json:"columns"`
	ForeignKey *VirtualForeignKey `json:"ForeignKeyModel,omitempty"`
}

func (*VirtualForeignConstraint) FromDto added in v0.4.39

func (*VirtualForeignConstraint) ToDto added in v0.4.39

type VirtualForeignKey added in v0.4.39

type VirtualForeignKey struct {
	Schema  string   `json:"schema"`
	Table   string   `json:"table"`
	Columns []string `json:"columns"`
}

func (*VirtualForeignKey) FromDto added in v0.4.39

func (*VirtualForeignKey) ToDto added in v0.4.39

type WorkflowOptions

type WorkflowOptions struct {
	RunTimeout *int64 `json:"runTimeout,omitempty"`
}

func (*WorkflowOptions) FromDto

func (a *WorkflowOptions) FromDto(dto *mgmtv1alpha1.WorkflowOptions)

func (*WorkflowOptions) ToDto

Jump to

Keyboard shortcuts

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