pkg

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentDetails added in v0.0.10

type ContentDetails struct {
	InconsistencyAbsolute  int               `json:"InconsistencyAbsolute"`
	InconsistencyRatio     string            `json:"inconsistencyRatio"`
	AmountValidated        int               `json:"amountValidated"`
	IdsWithMismatchContent []string          `json:"idsWithMismatchContent,omitempty"`
	MismatchContentDetails MismatchedRecords `json:"mismatchContentDetails,omitempty"`
}

+k8s:deepcopy-gen=true

func (*ContentDetails) DeepCopy added in v0.0.10

func (in *ContentDetails) DeepCopy() *ContentDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentDetails.

func (*ContentDetails) DeepCopyInto added in v0.0.10

func (in *ContentDetails) DeepCopyInto(out *ContentDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContentDiff added in v0.0.7

type ContentDiff struct {
	Diffs      []string `json:"diffs"`
	ESDocument string   `json:"esDocument"`
	DBRecord   string   `json:"dbRecord"`
}

+k8s:deepcopy-gen=true

func (*ContentDiff) AddDiff added in v0.0.8

func (i *ContentDiff) AddDiff(diff string)

func (*ContentDiff) DeepCopy added in v0.0.7

func (in *ContentDiff) DeepCopy() *ContentDiff

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentDiff.

func (*ContentDiff) DeepCopyInto added in v0.0.7

func (in *ContentDiff) DeepCopyInto(out *ContentDiff)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CountDetails added in v0.0.10

type CountDetails struct {
	InconsistencyAbsolute      int    `json:"InconsistencyAbsolute"`
	InconsistencyRatio         string `json:"inconsistencyRatio"`
	RecordCountInElasticsearch int    `json:"recordCountInElasticsearch"`
	RecordCountInDatabase      int    `json:"recordCountInDatabase"`
}

+k8s:deepcopy-gen=true

func (*CountDetails) DeepCopy added in v0.0.10

func (in *CountDetails) DeepCopy() *CountDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CountDetails.

func (*CountDetails) DeepCopyInto added in v0.0.10

func (in *CountDetails) DeepCopyInto(out *CountDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatasourceDBConnection added in v0.0.5

type DatasourceDBConnection struct {
	SslMode  string `json:"sslMode,omitempty"`
	Name     string `json:"name,omitempty"`
	Hostname string `json:"hostname,omitempty"`
	Password string `json:"password,omitempty"`
	Username string `json:"username,omitempty"`
	Table    string `json:"table,omitempty"`
	Port     string `json:"port,omitempty"`
}

+k8s:deepcopy-gen=true

func (*DatasourceDBConnection) DeepCopy added in v0.0.5

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasourceDBConnection.

func (*DatasourceDBConnection) DeepCopyInto added in v0.0.5

func (in *DatasourceDBConnection) DeepCopyInto(out *DatasourceDBConnection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IdsDetails added in v0.0.10

type IdsDetails struct {
	InconsistencyAbsolute            int      `json:"InconsistencyAbsolute"`
	InconsistencyRatio               string   `json:"inconsistencyRatio"`
	AmountValidated                  int      `json:"amountValidated"`
	IdsMissingFromElasticsearch      []string `json:"idsMissingFromElasticsearch,omitempty"`
	IdsMissingFromElasticsearchCount int      `json:"idsMissingFromElasticsearchCount,omitempty"`
	IdsOnlyInElasticsearch           []string `json:"idsOnlyInElasticsearch,omitempty"`
	IdsOnlyInElasticsearchCount      int      `json:"idsOnlyInElasticsearchCount,omitempty"`
}

+k8s:deepcopy-gen=true

func (*IdsDetails) DeepCopy added in v0.0.10

func (in *IdsDetails) DeepCopy() *IdsDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdsDetails.

func (*IdsDetails) DeepCopyInto added in v0.0.10

func (in *IdsDetails) DeepCopyInto(out *IdsDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MismatchedRecords added in v0.0.7

type MismatchedRecords map[string]*ContentDiff //map of record id to diff details

+k8s:deepcopy-gen=true

func (MismatchedRecords) DeepCopy added in v0.0.7

func (in MismatchedRecords) DeepCopy() MismatchedRecords

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MismatchedRecords.

func (MismatchedRecords) DeepCopyInto added in v0.0.7

func (in MismatchedRecords) DeepCopyInto(out *MismatchedRecords)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResponseDetails

type ResponseDetails struct {
	Counts  CountDetails   `json:"counts,omitempty"`
	IDs     IdsDetails     `json:"ids,omitempty"`
	Content ContentDetails `json:"content,omitempty"`
}

+k8s:deepcopy-gen=true

func (*ResponseDetails) DeepCopy

func (in *ResponseDetails) DeepCopy() *ResponseDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseDetails.

func (*ResponseDetails) DeepCopyInto

func (in *ResponseDetails) DeepCopyInto(out *ResponseDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ValidationResponse

type ValidationResponse struct {
	Result  ValidationResult `json:"result,omitempty"`
	Reason  string           `json:"reason,omitempty"`
	Message string           `json:"message,omitempty"`
	Details ResponseDetails  `json:"details,omitempty"`
}

+k8s:deepcopy-gen=true

func (*ValidationResponse) DeepCopy

func (in *ValidationResponse) DeepCopy() *ValidationResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationResponse.

func (*ValidationResponse) DeepCopyInto

func (in *ValidationResponse) DeepCopyInto(out *ValidationResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ValidationResult added in v0.0.6

type ValidationResult string

ValidationResult from the validation run. +enum

const (
	ValidationValid     ValidationResult = "valid"
	ValidationInvalid   ValidationResult = "invalid"
	ValidationNew       ValidationResult = "new"
	ValidationUndefined ValidationResult = ""
)

These are the possible validation results.

Jump to

Keyboard shortcuts

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