mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-21 11:54:14 +02:00
re-add 3rd type, remove callHome flow
This commit is contained in:
@@ -684,6 +684,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
|
||||
"sqsArn": {
|
||||
Type: "string",
|
||||
},
|
||||
"sqsFifo": {
|
||||
Type: "boolean",
|
||||
},
|
||||
"tables": {
|
||||
Type: "object",
|
||||
AdditionalProperties: &apiextv1.JSONSchemaPropsOrBool{
|
||||
@@ -701,6 +704,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
|
||||
{
|
||||
Raw: []byte(`"sqs"`),
|
||||
},
|
||||
{
|
||||
Raw: []byte(`"wal"`),
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -233,5 +233,6 @@ type Stream struct {
|
||||
Filter map[string]string `json:"filter,omitempty"`
|
||||
BatchSize uint32 `json:"batchSize,omitempty"`
|
||||
SqsArn string `json:"sqsArn,omitempty"`
|
||||
SqsFifo bool `json:"sqsFifo,omitempty"`
|
||||
QueueName string `json:"queueName,omitempty"`
|
||||
}
|
||||
|
||||
@@ -45,6 +45,7 @@ type EventStreamFlow struct {
|
||||
DataOpColumn string `json:"dataOpColumn,omitempty"`
|
||||
MetadataColumn string `json:"metadataColumn,omitempty"`
|
||||
DataColumn string `json:"dataColumn,omitempty"`
|
||||
PayloadColumn string `json:"payloadColumn,omitempty"`
|
||||
CallHomeIdColumn string `json:"callHomeIdColumn,omitempty"`
|
||||
CallHomeUrl string `json:"callHomeUrl,omitempty"`
|
||||
}
|
||||
@@ -55,6 +56,7 @@ type EventStreamSink struct {
|
||||
EventType string `json:"eventType,omitempty"`
|
||||
MaxBatchSize uint32 `json:"maxBatchSize,omitempty"`
|
||||
QueueName string `json:"queueName,omitempty"`
|
||||
QueueUrl string `json:"queueUrl,omitempty"`
|
||||
}
|
||||
|
||||
// EventStreamSource defines the source of the event stream and connection for FES operator
|
||||
|
||||
Reference in New Issue
Block a user