diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index f308bf335cd1..f8541b50bd21 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -179,7 +179,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: "1.18" + go-version: "1.19" - uses: actions/cache@v3 with: path: | @@ -191,9 +191,9 @@ jobs: - name: Install protoc run: | set -eux -o pipefail - curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.11.1/protoc-3.11.1-linux-x86_64.zip - sudo unzip -o protoc-3.11.1-linux-x86_64.zip -d /usr/local bin/protoc - sudo unzip -o protoc-3.11.1-linux-x86_64.zip -d /usr/local 'include/*' + curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip + sudo unzip -o protoc-3.19.4-linux-x86_64.zip -d /usr/local bin/protoc + sudo unzip -o protoc-3.19.4-linux-x86_64.zip -d /usr/local 'include/*' sudo chmod +x /usr/local/bin/protoc sudo find /usr/local/include -type f | xargs sudo chmod a+r sudo find /usr/local/include -type d | xargs sudo chmod a+rx diff --git a/api/jsonschema/schema.json b/api/jsonschema/schema.json index 1c1955b433b3..3ef23ca0f4b6 100644 --- a/api/jsonschema/schema.json +++ b/api/jsonschema/schema.json @@ -163,11 +163,11 @@ }, "consume": { "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPConsumeConfig", - "title": "Consume holds the configuration to immediately starts delivering queued messages\nFor more information, visit https://godoc.org/github.com/streadway/amqp#Channel.Consume\n+optional" + "title": "Consume holds the configuration to immediately starts delivering queued messages\nFor more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.Consume\n+optional" }, "exchangeDeclare": { "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPExchangeDeclareConfig", - "title": "ExchangeDeclare holds the configuration for the exchange on the server\nFor more information, visit https://godoc.org/github.com/streadway/amqp#Channel.ExchangeDeclare\n+optional" + "title": "ExchangeDeclare holds the configuration for the exchange on the server\nFor more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.ExchangeDeclare\n+optional" }, "exchangeName": { "title": "ExchangeName is the exchange name\nFor more information, visit https://www.rabbitmq.com/tutorials/amqp-concepts.html", @@ -194,11 +194,11 @@ }, "queueBind": { "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPQueueBindConfig", - "title": "QueueBind holds the configuration that binds an exchange to a queue so that publishings to the\nexchange will be routed to the queue when the publishing routing key matches the binding routing key\nFor more information, visit https://godoc.org/github.com/streadway/amqp#Channel.QueueBind\n+optional" + "title": "QueueBind holds the configuration that binds an exchange to a queue so that publishings to the\nexchange will be routed to the queue when the publishing routing key matches the binding routing key\nFor more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.QueueBind\n+optional" }, "queueDeclare": { "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPQueueDeclareConfig", - "title": "QueueDeclare holds the configuration of a queue to hold messages and deliver to consumers.\nDeclaring creates a queue if it doesn't already exist, or ensures that an existing queue matches\nthe same parameters\nFor more information, visit https://godoc.org/github.com/streadway/amqp#Channel.QueueDeclare\n+optional" + "title": "QueueDeclare holds the configuration of a queue to hold messages and deliver to consumers.\nDeclaring creates a queue if it doesn't already exist, or ensures that an existing queue matches\nthe same parameters\nFor more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.QueueDeclare\n+optional" }, "routingKey": { "title": "Routing key for bindings", @@ -338,6 +338,13 @@ }, "io.argoproj.events.v1alpha1.ArgoWorkflowTrigger": { "properties": { + "args": { + "items": { + "type": "string" + }, + "title": "Args is the list of arguments to pass to the argo CLI", + "type": "array" + }, "operation": { "title": "Operation refers to the type of operation performed on the argo workflow resource.\nDefault value is Submit.\n+optional", "type": "string" @@ -502,7 +509,7 @@ "$ref": "#/definitions/io.argoproj.events.v1alpha1.BitbucketBasicAuth", "title": "Basic is BasicAuth auth strategy.\n+optional" }, - "token": { + "oauthToken": { "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector", "title": "OAuthToken refers to the K8s secret that holds the OAuth Bearer token.\n+optional" } @@ -553,15 +560,22 @@ "type": "object" }, "owner": { - "description": "Owner of the repository.", + "title": "DeprecatedOwner is the owner of the repository.\nDeprecated: use Repositories instead. Will be unsupported in v1.9\n+optional", "type": "string" }, "projectKey": { - "title": "ProjectKey is the key of the project for which integration needs to setup", + "title": "DeprecatedProjectKey is the key of the project to which the repository relates\nDeprecated: use Repositories instead. Will be unsupported in v1.9\n+optional", "type": "string" }, + "repositories": { + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.BitbucketRepository" + }, + "title": "Repositories holds a list of repositories for which integration needs to set up\n+optional", + "type": "array" + }, "repositorySlug": { - "description": "RepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.", + "title": "DeprecatedRepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL\nDeprecated: use Repositories instead. Will be unsupported in v1.9\n+optional", "type": "string" }, "webhook": { @@ -572,6 +586,19 @@ "title": "BitbucketEventSource describes the event source for Bitbucket", "type": "object" }, + "io.argoproj.events.v1alpha1.BitbucketRepository": { + "properties": { + "owner": { + "title": "Owner is the owner of the repository", + "type": "string" + }, + "repositorySlug": { + "title": "RepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL", + "type": "string" + } + }, + "type": "object" + }, "io.argoproj.events.v1alpha1.BitbucketServerEventSource": { "properties": { "accessToken": { @@ -605,18 +632,18 @@ "type": "object" }, "projectKey": { - "title": "DeprecatedProjectKey is the key of project for which integration needs to setup\nDeprecated: use Repositories instead. Will be unsupported in v1.8\n+optional", + "title": "DeprecatedProjectKey is the key of project for which integration needs to set up\nDeprecated: use Repositories instead. Will be unsupported in v1.8\n+optional", "type": "string" }, "repositories": { "items": { "$ref": "#/definitions/io.argoproj.events.v1alpha1.BitbucketServerRepository" }, - "title": "Repositories holds a list of repositories for which integration needs to setup\n+optional", + "title": "Repositories holds a list of repositories for which integration needs to set up\n+optional", "type": "array" }, "repositorySlug": { - "title": "DeprecatedRepositorySlug is the slug of the repository for which integration needs to setup\nDeprecated: use Repositories instead. Will be unsupported in v1.8\n+optional", + "title": "DeprecatedRepositorySlug is the slug of the repository for which integration needs to set up\nDeprecated: use Repositories instead. Will be unsupported in v1.8\n+optional", "type": "string" }, "webhook": { @@ -634,11 +661,11 @@ "io.argoproj.events.v1alpha1.BitbucketServerRepository": { "properties": { "projectKey": { - "title": "ProjectKey is the key of project for which integration needs to setup", + "title": "ProjectKey is the key of project for which integration needs to set up", "type": "string" }, "repositorySlug": { - "title": "RepositorySlug is the slug of the repository for which integration needs to setup", + "title": "RepositorySlug is the slug of the repository for which integration needs to set up", "type": "string" } }, @@ -972,6 +999,10 @@ }, "type": "array" }, + "script": { + "description": "Script refers to a Lua script evaluated to determine the validity of an io.argoproj.workflow.v1alpha1.", + "type": "string" + }, "time": { "$ref": "#/definitions/io.argoproj.events.v1alpha1.TimeFilter", "title": "Time filter on the event with escalation" @@ -1184,6 +1215,13 @@ "title": "Redis event source", "type": "object" }, + "redisStream": { + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.RedisStreamEventSource" + }, + "title": "Redis stream source", + "type": "object" + }, "replicas": { "title": "Replicas is the event source deployment replicas", "type": "integer" @@ -1240,7 +1278,7 @@ }, "webhook": { "additionalProperties": { - "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookEventSource" }, "title": "Webhook event sources", "type": "object" @@ -1367,6 +1405,10 @@ "title": "Path to file that contains trigger resource definition", "type": "string" }, + "insecureIgnoreHostKey": { + "title": "Whether to ignore host key\n+optional", + "type": "boolean" + }, "ref": { "title": "Ref to use to pull trigger resource. Will result in a shallow clone and\nfetch.\n+optional", "type": "string" @@ -1755,6 +1797,10 @@ }, "io.argoproj.events.v1alpha1.KafkaEventSource": { "properties": { + "config": { + "description": "Yaml format Sarama config for Kafka connection.\nIt follows the struct of sarama.Config. See https://github.com/Shopify/sarama/blob/main/config.go\ne.g.\n\nconsumer:\n fetch:\n min: 1\nnet:\n MaxOpenRequests: 5\n\n+optional", + "type": "string" + }, "connectionBackoff": { "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff", "description": "Backoff holds parameters applied to connection." @@ -2332,6 +2378,10 @@ "title": "HostAddress refers to the address of the Redis host/server", "type": "string" }, + "jsonBody": { + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional", + "type": "boolean" + }, "metadata": { "additionalProperties": { "type": "string" @@ -2350,11 +2400,67 @@ "tls": { "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig", "title": "TLS configuration for the redis client.\n+optional" + }, + "username": { + "title": "Username required for ACL style authentication if any.\n+optional", + "type": "string" } }, "title": "RedisEventSource describes an event source for the Redis PubSub.\nMore info at https://godoc.org/github.com/go-redis/redis#example-PubSub", "type": "object" }, + "io.argoproj.events.v1alpha1.RedisStreamEventSource": { + "properties": { + "consumerGroup": { + "title": "ConsumerGroup refers to the Redis stream consumer group that will be\ncreated on all redis streams. Messages are read through this group. Defaults to 'argo-events-cg'\n+optional", + "type": "string" + }, + "db": { + "title": "DB to use. If not specified, default DB 0 will be used.\n+optional", + "type": "integer" + }, + "filter": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter", + "title": "Filter\n+optional" + }, + "hostAddress": { + "title": "HostAddress refers to the address of the Redis host/server (master instance)", + "type": "string" + }, + "maxMsgCountPerRead": { + "title": "MaxMsgCountPerRead holds the maximum number of messages per stream that will be read in each XREADGROUP of all streams\nExample: if there are 2 streams and MaxMsgCountPerRead=10, then each XREADGROUP may read upto a total of 20 messages.\nSame as COUNT option in XREADGROUP(https://redis.io/topics/streams-intro). Defaults to 10\n+optional", + "type": "integer" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "type": "object" + }, + "password": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector", + "title": "Password required for authentication if any.\n+optional" + }, + "streams": { + "description": "Streams to look for entries. XREADGROUP is used on all streams using a single consumer group.", + "items": { + "type": "string" + }, + "type": "array" + }, + "tls": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig", + "title": "TLS configuration for the redis client.\n+optional" + }, + "username": { + "title": "Username required for ACL style authentication if any.\n+optional", + "type": "string" + } + }, + "title": "RedisStreamEventSource describes an event source for\nRedis streams (https://redis.io/topics/streams-intro)", + "type": "object" + }, "io.argoproj.events.v1alpha1.Resource": { "description": "Resource represent arbitrary structured data.", "properties": { @@ -2516,6 +2622,10 @@ "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector", "title": "AccessKey refers K8s secret containing aws access key" }, + "endpoint": { + "title": "Endpoint configures connection to a specific SNS endpoint instead of Amazons servers\n+optional", + "type": "string" + }, "filter": { "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter", "title": "Filter\n+optional" @@ -2604,6 +2714,10 @@ "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector", "title": "SecretKey refers K8s secret containing aws secret key" }, + "sessionToken": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector", + "title": "SessionToken refers to K8s secret containing AWS temporary credentials(STS) session token\n+optional" + }, "waitTimeSeconds": { "description": "WaitTimeSeconds is The duration (in seconds) for which the call waits for a message to arrive\nin the queue before returning.", "type": "string" @@ -3247,6 +3361,10 @@ "title": "REST API endpoint", "type": "string" }, + "maxPayloadSize": { + "title": "MaxPayloadSize is the maximum webhook payload size that the server will accept.\nRequests exceeding that limit will be rejected with \"request too large\" response.\nDefault value: 1048576 (1MB).\n+optional", + "type": "string" + }, "metadata": { "additionalProperties": { "type": "string" @@ -3278,6 +3396,19 @@ "title": "WebhookContext holds a general purpose REST API context", "type": "object" }, + "io.argoproj.events.v1alpha1.WebhookEventSource": { + "properties": { + "filter": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter", + "title": "Filter\n+optional" + }, + "webhookContext": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + } + }, + "title": "CalendarEventSource describes an HTTP based EventSource", + "type": "object" + }, "io.argoproj.workflow.v1alpha1.Amount": { "description": "Amount represent a numeric amount.", "type": "number" diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 4c7c6cc229c9..d5d15e89b8f0 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -4085,11 +4085,11 @@ "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff" }, "consume": { - "title": "Consume holds the configuration to immediately starts delivering queued messages\nFor more information, visit https://godoc.org/github.com/streadway/amqp#Channel.Consume\n+optional", + "title": "Consume holds the configuration to immediately starts delivering queued messages\nFor more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.Consume\n+optional", "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPConsumeConfig" }, "exchangeDeclare": { - "title": "ExchangeDeclare holds the configuration for the exchange on the server\nFor more information, visit https://godoc.org/github.com/streadway/amqp#Channel.ExchangeDeclare\n+optional", + "title": "ExchangeDeclare holds the configuration for the exchange on the server\nFor more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.ExchangeDeclare\n+optional", "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPExchangeDeclareConfig" }, "exchangeName": { @@ -4116,11 +4116,11 @@ } }, "queueBind": { - "title": "QueueBind holds the configuration that binds an exchange to a queue so that publishings to the\nexchange will be routed to the queue when the publishing routing key matches the binding routing key\nFor more information, visit https://godoc.org/github.com/streadway/amqp#Channel.QueueBind\n+optional", + "title": "QueueBind holds the configuration that binds an exchange to a queue so that publishings to the\nexchange will be routed to the queue when the publishing routing key matches the binding routing key\nFor more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.QueueBind\n+optional", "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPQueueBindConfig" }, "queueDeclare": { - "title": "QueueDeclare holds the configuration of a queue to hold messages and deliver to consumers.\nDeclaring creates a queue if it doesn't already exist, or ensures that an existing queue matches\nthe same parameters\nFor more information, visit https://godoc.org/github.com/streadway/amqp#Channel.QueueDeclare\n+optional", + "title": "QueueDeclare holds the configuration of a queue to hold messages and deliver to consumers.\nDeclaring creates a queue if it doesn't already exist, or ensures that an existing queue matches\nthe same parameters\nFor more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.QueueDeclare\n+optional", "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPQueueDeclareConfig" }, "routingKey": { @@ -4261,6 +4261,13 @@ "type": "object", "title": "ArgoWorkflowTrigger is the trigger for the Argo Workflow", "properties": { + "args": { + "type": "array", + "title": "Args is the list of arguments to pass to the argo CLI", + "items": { + "type": "string" + } + }, "operation": { "type": "string", "title": "Operation refers to the type of operation performed on the argo workflow resource.\nDefault value is Submit.\n+optional" @@ -4425,7 +4432,7 @@ "title": "Basic is BasicAuth auth strategy.\n+optional", "$ref": "#/definitions/io.argoproj.events.v1alpha1.BitbucketBasicAuth" }, - "token": { + "oauthToken": { "title": "OAuthToken refers to the K8s secret that holds the OAuth Bearer token.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" } @@ -4476,16 +4483,23 @@ } }, "owner": { - "description": "Owner of the repository.", - "type": "string" + "type": "string", + "title": "DeprecatedOwner is the owner of the repository.\nDeprecated: use Repositories instead. Will be unsupported in v1.9\n+optional" }, "projectKey": { "type": "string", - "title": "ProjectKey is the key of the project for which integration needs to setup" + "title": "DeprecatedProjectKey is the key of the project to which the repository relates\nDeprecated: use Repositories instead. Will be unsupported in v1.9\n+optional" + }, + "repositories": { + "type": "array", + "title": "Repositories holds a list of repositories for which integration needs to set up\n+optional", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.BitbucketRepository" + } }, "repositorySlug": { - "description": "RepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.", - "type": "string" + "type": "string", + "title": "DeprecatedRepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL\nDeprecated: use Repositories instead. Will be unsupported in v1.9\n+optional" }, "webhook": { "title": "Webhook refers to the configuration required to run an http server", @@ -4493,6 +4507,19 @@ } } }, + "io.argoproj.events.v1alpha1.BitbucketRepository": { + "type": "object", + "properties": { + "owner": { + "type": "string", + "title": "Owner is the owner of the repository" + }, + "repositorySlug": { + "type": "string", + "title": "RepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL" + } + } + }, "io.argoproj.events.v1alpha1.BitbucketServerEventSource": { "type": "object", "title": "BitbucketServerEventSource refers to event-source related to Bitbucket Server events", @@ -4529,18 +4556,18 @@ }, "projectKey": { "type": "string", - "title": "DeprecatedProjectKey is the key of project for which integration needs to setup\nDeprecated: use Repositories instead. Will be unsupported in v1.8\n+optional" + "title": "DeprecatedProjectKey is the key of project for which integration needs to set up\nDeprecated: use Repositories instead. Will be unsupported in v1.8\n+optional" }, "repositories": { "type": "array", - "title": "Repositories holds a list of repositories for which integration needs to setup\n+optional", + "title": "Repositories holds a list of repositories for which integration needs to set up\n+optional", "items": { "$ref": "#/definitions/io.argoproj.events.v1alpha1.BitbucketServerRepository" } }, "repositorySlug": { "type": "string", - "title": "DeprecatedRepositorySlug is the slug of the repository for which integration needs to setup\nDeprecated: use Repositories instead. Will be unsupported in v1.8\n+optional" + "title": "DeprecatedRepositorySlug is the slug of the repository for which integration needs to set up\nDeprecated: use Repositories instead. Will be unsupported in v1.8\n+optional" }, "webhook": { "title": "Webhook holds configuration to run a http server", @@ -4557,11 +4584,11 @@ "properties": { "projectKey": { "type": "string", - "title": "ProjectKey is the key of project for which integration needs to setup" + "title": "ProjectKey is the key of project for which integration needs to set up" }, "repositorySlug": { "type": "string", - "title": "RepositorySlug is the slug of the repository for which integration needs to setup" + "title": "RepositorySlug is the slug of the repository for which integration needs to set up" } } }, @@ -4894,6 +4921,10 @@ "$ref": "#/definitions/io.argoproj.events.v1alpha1.ExprFilter" } }, + "script": { + "description": "Script refers to a Lua script evaluated to determine the validity of an io.argoproj.workflow.v1alpha1.", + "type": "string" + }, "time": { "title": "Time filter on the event with escalation", "$ref": "#/definitions/io.argoproj.events.v1alpha1.TimeFilter" @@ -5107,6 +5138,13 @@ "$ref": "#/definitions/io.argoproj.events.v1alpha1.RedisEventSource" } }, + "redisStream": { + "type": "object", + "title": "Redis stream source", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.RedisStreamEventSource" + } + }, "replicas": { "type": "integer", "title": "Replicas is the event source deployment replicas" @@ -5165,7 +5203,7 @@ "type": "object", "title": "Webhook event sources", "additionalProperties": { - "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookEventSource" } } } @@ -5290,6 +5328,10 @@ "type": "string", "title": "Path to file that contains trigger resource definition" }, + "insecureIgnoreHostKey": { + "type": "boolean", + "title": "Whether to ignore host key\n+optional" + }, "ref": { "type": "string", "title": "Ref to use to pull trigger resource. Will result in a shallow clone and\nfetch.\n+optional" @@ -5678,6 +5720,10 @@ "type": "object", "title": "KafkaEventSource refers to event-source for Kafka related events", "properties": { + "config": { + "description": "Yaml format Sarama config for Kafka connection.\nIt follows the struct of sarama.Config. See https://github.com/Shopify/sarama/blob/main/config.go\ne.g.\n\nconsumer:\n fetch:\n min: 1\nnet:\n MaxOpenRequests: 5\n\n+optional", + "type": "string" + }, "connectionBackoff": { "description": "Backoff holds parameters applied to connection.", "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff" @@ -6255,6 +6301,10 @@ "type": "string", "title": "HostAddress refers to the address of the Redis host/server" }, + "jsonBody": { + "type": "boolean", + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" + }, "metadata": { "type": "object", "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", @@ -6273,6 +6323,62 @@ "tls": { "title": "TLS configuration for the redis client.\n+optional", "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "username": { + "type": "string", + "title": "Username required for ACL style authentication if any.\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.RedisStreamEventSource": { + "type": "object", + "title": "RedisStreamEventSource describes an event source for\nRedis streams (https://redis.io/topics/streams-intro)", + "properties": { + "consumerGroup": { + "type": "string", + "title": "ConsumerGroup refers to the Redis stream consumer group that will be\ncreated on all redis streams. Messages are read through this group. Defaults to 'argo-events-cg'\n+optional" + }, + "db": { + "type": "integer", + "title": "DB to use. If not specified, default DB 0 will be used.\n+optional" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "hostAddress": { + "type": "string", + "title": "HostAddress refers to the address of the Redis host/server (master instance)" + }, + "maxMsgCountPerRead": { + "type": "integer", + "title": "MaxMsgCountPerRead holds the maximum number of messages per stream that will be read in each XREADGROUP of all streams\nExample: if there are 2 streams and MaxMsgCountPerRead=10, then each XREADGROUP may read upto a total of 20 messages.\nSame as COUNT option in XREADGROUP(https://redis.io/topics/streams-intro). Defaults to 10\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "password": { + "title": "Password required for authentication if any.\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "streams": { + "description": "Streams to look for entries. XREADGROUP is used on all streams using a single consumer group.", + "type": "array", + "items": { + "type": "string" + } + }, + "tls": { + "title": "TLS configuration for the redis client.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "username": { + "type": "string", + "title": "Username required for ACL style authentication if any.\n+optional" } } }, @@ -6439,6 +6545,10 @@ "title": "AccessKey refers K8s secret containing aws access key", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, + "endpoint": { + "type": "string", + "title": "Endpoint configures connection to a specific SNS endpoint instead of Amazons servers\n+optional" + }, "filter": { "title": "Filter\n+optional", "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" @@ -6527,6 +6637,10 @@ "title": "SecretKey refers K8s secret containing aws secret key", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, + "sessionToken": { + "title": "SessionToken refers to K8s secret containing AWS temporary credentials(STS) session token\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, "waitTimeSeconds": { "description": "WaitTimeSeconds is The duration (in seconds) for which the call waits for a message to arrive\nin the queue before returning.", "type": "string" @@ -7170,6 +7284,10 @@ "type": "string", "title": "REST API endpoint" }, + "maxPayloadSize": { + "type": "string", + "title": "MaxPayloadSize is the maximum webhook payload size that the server will accept.\nRequests exceeding that limit will be rejected with \"request too large\" response.\nDefault value: 1048576 (1MB).\n+optional" + }, "metadata": { "type": "object", "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", @@ -7199,6 +7317,19 @@ } } }, + "io.argoproj.events.v1alpha1.WebhookEventSource": { + "type": "object", + "title": "CalendarEventSource describes an HTTP based EventSource", + "properties": { + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "webhookContext": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + } + } + }, "io.argoproj.workflow.v1alpha1.Amount": { "description": "Amount represent a numeric amount.", "type": "number" diff --git a/go.mod b/go.mod index 4ec9d2c82b77..4429a7c8f7a8 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/TwiN/go-color v1.1.0 github.com/aliyun/aliyun-oss-go-sdk v2.2.5+incompatible github.com/antonmedv/expr v1.9.0 - github.com/argoproj/argo-events v0.17.1-0.20220223155401-ddda8800f9f8 + github.com/argoproj/argo-events v1.7.2 github.com/argoproj/pkg v0.13.6 github.com/blushft/go-diagrams v0.0.0-20201006005127-c78c821223d9 github.com/colinmarc/hdfs v1.1.4-0.20180805212432-9746310a4d31 @@ -55,7 +55,7 @@ require ( golang.org/x/net v0.0.0-20220909164309-bea034e7d591 golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f - golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 + golang.org/x/time v0.0.0-20220922220347-f3bd1da661af google.golang.org/api v0.97.0 google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006 google.golang.org/grpc v1.49.0 @@ -74,7 +74,7 @@ require ( require ( cloud.google.com/go v0.104.0 // indirect - cloud.google.com/go/compute v1.7.0 // indirect + cloud.google.com/go/compute v1.9.0 // indirect cloud.google.com/go/iam v0.3.0 // indirect github.com/Azure/azure-sdk-for-go v62.0.0+incompatible // indirect github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0 // indirect @@ -94,9 +94,9 @@ require ( github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect github.com/acomagu/bufpipe v1.0.3 // indirect github.com/ajg/form v1.5.1 // indirect - github.com/andybalholm/brotli v1.0.3 // indirect + github.com/andybalholm/brotli v1.0.4 // indirect github.com/awalterschulze/gographviz v0.0.0-20200901124122-0eecad45bd71 // indirect - github.com/aws/aws-sdk-go v1.44.39 // indirect + github.com/aws/aws-sdk-go v1.44.81 // indirect github.com/aws/aws-sdk-go-v2 v1.16.2 // indirect github.com/aws/aws-sdk-go-v2/config v1.15.3 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.11.2 // indirect @@ -132,8 +132,8 @@ require ( github.com/go-logr/logr v1.2.3 // indirect github.com/go-openapi/jsonpointer v0.19.5 // indirect github.com/go-openapi/swag v0.19.15 // indirect - github.com/golang-jwt/jwt v3.2.1+incompatible // indirect - github.com/golang-jwt/jwt/v4 v4.3.0 // indirect + github.com/golang-jwt/jwt v3.2.2+incompatible // indirect + github.com/golang-jwt/jwt/v4 v4.4.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/google/gnostic v0.5.7-v3refs // indirect github.com/google/go-cmp v0.5.8 // indirect @@ -146,7 +146,7 @@ require ( github.com/hashicorp/go-uuid v1.0.2 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/huandu/xstrings v1.3.2 // indirect - github.com/imdario/mergo v0.3.12 // indirect + github.com/imdario/mergo v0.3.13 // indirect github.com/imkira/go-interpol v1.1.0 // indirect github.com/inconshreveable/mousetrap v1.0.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect @@ -154,7 +154,7 @@ require ( github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect + github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/compress v1.15.9 // indirect github.com/klauspost/cpuid/v2 v2.1.0 // indirect github.com/kylelemons/godebug v1.1.0 // indirect @@ -193,7 +193,7 @@ require ( github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.0 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect - github.com/valyala/fasthttp v1.30.0 // indirect + github.com/valyala/fasthttp v1.34.0 // indirect github.com/whilp/git-urls v1.0.0 // indirect github.com/xanzy/ssh-agent v0.3.1 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect @@ -202,7 +202,7 @@ require ( github.com/yudai/gojsondiff v1.0.0 // indirect github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect go.opencensus.io v0.23.0 // indirect - golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 // indirect + golang.org/x/sys v0.0.0-20220829200755-d48e67d00261 // indirect golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect golang.org/x/text v0.3.7 // indirect golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect diff --git a/go.sum b/go.sum index 3fb7477ee173..bde04a4faa5a 100644 --- a/go.sum +++ b/go.sum @@ -48,8 +48,9 @@ cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJW cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= -cloud.google.com/go/compute v1.7.0 h1:v/k9Eueb8aAJ0vZuxKMrgm6kPhCLZU9HxFU+AFDs9Uk= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= +cloud.google.com/go/compute v1.9.0 h1:ED/FP4xv8GJw63v556/ASNc1CeeLUO2Bs8nzaHchkHg= +cloud.google.com/go/compute v1.9.0/go.mod h1:lWv1h/zUWTm/LozzfTJhBSkd6ShQq8la8VeeuOEGxfY= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= @@ -197,8 +198,9 @@ github.com/alexkohler/prealloc v1.0.0/go.mod h1:VetnK3dIgFBBKmg0YnD9F9x6Icjd+9cv github.com/aliyun/aliyun-oss-go-sdk v2.2.5+incompatible h1:QoRMR0TCctLDqBCMyOu1eXdZyMw3F7uGA9qPn2J4+R8= github.com/aliyun/aliyun-oss-go-sdk v2.2.5+incompatible/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8= github.com/andybalholm/brotli v1.0.2/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y= -github.com/andybalholm/brotli v1.0.3 h1:fpcw+r1N1h0Poc1F/pHbW40cUm/lMEQslZtCkBQ0UnM= github.com/andybalholm/brotli v1.0.3/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= +github.com/andybalholm/brotli v1.0.4 h1:V7DdXeJtZscaqfNuAdSRuRFzuiKlHSC/Zh3zl9qY3JY= +github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA= github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= github.com/antihax/optional v0.0.0-20180407024304-ca021399b1a6/go.mod h1:V8iCPQYkqmusNa815XgQio277wI47sdRh1dUOLdyC6Q= @@ -208,8 +210,8 @@ github.com/antonmedv/expr v1.9.0/go.mod h1:5qsM3oLGDND7sDmQGDXHkYfkjYMUX14qsgqmH github.com/aokoli/goutils v1.0.1/go.mod h1:SijmP0QR8LtwsmDs8Yii5Z/S4trXFGFC2oO5g9DP+DQ= github.com/argoproj-labs/go-git/v5 v5.4.4 h1:xXa015ZCEElgNMxaevPsK68oAsbjpmNGo9W+os1oeBU= github.com/argoproj-labs/go-git/v5 v5.4.4/go.mod h1:Lv1K45bcCda9jDMEZCGCVuXSGdBaSGAXUvptnVtaEsA= -github.com/argoproj/argo-events v0.17.1-0.20220223155401-ddda8800f9f8 h1:LqF/eUExbdTg7MEHUJt4DfZIg5hJN5lneybM7u7MbWI= -github.com/argoproj/argo-events v0.17.1-0.20220223155401-ddda8800f9f8/go.mod h1:AhwDnZwUrrwPgN0CYFMfZQ7liL+G+iL4ujNiLMv2l58= +github.com/argoproj/argo-events v1.7.2 h1:bhheGY0frnAZw2+pQ79e54U18o+79KaxomHpQpfVNBY= +github.com/argoproj/argo-events v1.7.2/go.mod h1:z6fGFQl+7fDMyW3vsUqOoNUObpZTyypiRc3SZcbXJ7o= github.com/argoproj/pkg v0.13.6 h1:36WPD9MNYECHcO1/R1pj6teYspiK7uMQLCgLGft2abM= github.com/argoproj/pkg v0.13.6/go.mod h1:I698DoJBKuvNFaixh4vFl2C88cNIT1WS7KCbz5ewyF8= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= @@ -229,8 +231,9 @@ github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZo github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.25.37/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.36.30/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= -github.com/aws/aws-sdk-go v1.44.39 h1:pMxYLqnuDidT0ZTDAhYC66fb3W3Yc+oShmfzEL4fTDI= github.com/aws/aws-sdk-go v1.44.39/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.81 h1:C8oBZ+a+ka0qk3Q24MohQIFq0tkbO8IAu5tfpAMKVWE= +github.com/aws/aws-sdk-go v1.44.81/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go-v2 v1.7.1/go.mod h1:L5LuPC1ZgDr2xQS7AmIec/Jlc7O/Y1u2KxJyNVab250= github.com/aws/aws-sdk-go-v2 v1.14.0/go.mod h1:ZA3Y8V0LrlWj63MQAnRHgKf/5QB//LSZCPNWlWrNGLU= github.com/aws/aws-sdk-go-v2 v1.16.2 h1:fqlCk6Iy3bnCumtrLz9r3mJ/2gUT0pJ0wLFVIdWh+JA= @@ -648,12 +651,13 @@ github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= +github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY= +github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -github.com/golang-jwt/jwt/v4 v4.3.0 h1:kHL1vqdqWNfATmA0FNMdmZNMyZI1U6O31X4rlIPoBog= -github.com/golang-jwt/jwt/v4 v4.3.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.4.2 h1:rcc4lwaZgFMCZ5jxF9ABolDcIHdBytAFgqFPbSJQAYs= +github.com/golang-jwt/jwt/v4 v4.4.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -888,8 +892,9 @@ github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJ github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= +github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/imkira/go-interpol v1.0.0/go.mod h1:z0h2/2T3XF8kyEPpRgJ3kmNv+C43p+I/CoI+jC3w2iA= github.com/imkira/go-interpol v1.1.0 h1:KIiKr0VSG2CUW1hl1jpiyuzuJeKUUpC8iM1AIE7N1Vk= github.com/imkira/go-interpol v1.1.0/go.mod h1:z0h2/2T3XF8kyEPpRgJ3kmNv+C43p+I/CoI+jC3w2iA= @@ -937,8 +942,9 @@ github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8 github.com/julz/importas v0.0.0-20210419104244-841f0c0fe66d/go.mod h1:oSFU2R4XK/P7kNBrnL/FEQlDGN1/6WoxXEjSSXO0DV0= github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88/go.mod h1:3w7q1U84EfirKl04SVQ/s7nPm1ZPhiXd34z40TNz36k= github.com/karrick/godirwalk v1.7.8/go.mod h1:2c9FRhkDxdIbgkOnCEvnSWs71Bhugbl46shStcFDJ34= -github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 h1:DowS9hvgyYSX4TO5NpyC606/Z4SxnNYbT+WX27or6Ck= github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= +github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= +github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= @@ -950,6 +956,7 @@ github.com/klauspost/compress v1.12.2/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8 github.com/klauspost/compress v1.13.4/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.13.5/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/compress v1.15.0/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/compress v1.15.9 h1:wKRjX6JRtDdrE9qwa4b/Cip7ACOshUI4smpCQanqjSY= github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= github.com/klauspost/cpuid v1.2.3/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= @@ -1029,8 +1036,8 @@ github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= @@ -1440,8 +1447,9 @@ github.com/uudashr/gocognit v1.0.5/go.mod h1:wgYz0mitoKOTysqxTDMOUXg+Jb5Svtihkfm github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasthttp v1.27.0/go.mod h1:cmWIqlu99AO/RKcp1HWaViTqc57FswJOfYYdPJBl8BA= -github.com/valyala/fasthttp v1.30.0 h1:nBNzWrgZUUHohyLPU/jTvXdhrcaf2m5k3bWk+3Q049g= github.com/valyala/fasthttp v1.30.0/go.mod h1:2rsYD01CKFrjjsvFxx75KlEUNpWNBY9JWD3K/7o2Cus= +github.com/valyala/fasthttp v1.34.0 h1:d3AAQJ2DRcxJYHm7OXNXtXt2as1vMDfxeIcFvhmGGm4= +github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oaCGZpdH4h0= github.com/valyala/fasttemplate v0.0.0-20170224212429-dcecefd839c4/go.mod h1:50wTf68f99/Zt14pr046Tgt3Lp2vLyFZKzbFXTOabXw= github.com/valyala/fasttemplate v1.2.1 h1:TVEnxayobAdVkhQfrfes2IzOB6o+z4roRkPF52WA1u4= github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= @@ -1853,8 +1861,9 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 h1:WIoqL4EROvwiPdUtaip4VcDdpZ4kha7wBWZrbVKCIZg= golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220829200755-d48e67d00261 h1:v6hYoSR9T5oet+pMXwUWkbiVqx/63mlHjefrHmxwfeY= +golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY= @@ -1878,8 +1887,8 @@ golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 h1:M73Iuj3xbbb9Uk1DYhzydthsj6oOd6l9bpuFcNoUvTs= -golang.org/x/time v0.0.0-20220224211638-0e9765cccd65/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220922220347-f3bd1da661af h1:Yx9k8YCG3dvF87UAn2tu2HQLf2dt/eR1bXxpLMWeH+Y= +golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -2268,6 +2277,7 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= diff --git a/pkg/client/clientset/versioned/fake/register.go b/pkg/client/clientset/versioned/fake/register.go index 06d337c7b878..4c790e1ce86b 100644 --- a/pkg/client/clientset/versioned/fake/register.go +++ b/pkg/client/clientset/versioned/fake/register.go @@ -21,14 +21,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{ // AddToScheme adds all types of this clientset into the given scheme. This allows composition // of clientsets, like in: // -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) // -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) // // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types // correctly. diff --git a/pkg/client/clientset/versioned/scheme/register.go b/pkg/client/clientset/versioned/scheme/register.go index bcaf8ea64712..e97269603976 100644 --- a/pkg/client/clientset/versioned/scheme/register.go +++ b/pkg/client/clientset/versioned/scheme/register.go @@ -21,14 +21,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{ // AddToScheme adds all types of this clientset into the given scheme. This allows composition // of clientsets, like in: // -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) // -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) // // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types // correctly. diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.md index 5bb3c5a40bdc..82903b1c6223 100644 --- a/sdks/java/client/docs/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.md +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**args** | **List<String>** | | [optional] **operation** | **String** | | [optional] **parameters** | [**List<IoArgoprojEventsV1alpha1TriggerParameter>**](IoArgoprojEventsV1alpha1TriggerParameter.md) | | [optional] **source** | [**IoArgoprojEventsV1alpha1ArtifactLocation**](IoArgoprojEventsV1alpha1ArtifactLocation.md) | | [optional] diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1BitbucketAuth.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1BitbucketAuth.md index 780482036e6d..fd8ba3966149 100644 --- a/sdks/java/client/docs/IoArgoprojEventsV1alpha1BitbucketAuth.md +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1BitbucketAuth.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **basic** | [**IoArgoprojEventsV1alpha1BitbucketBasicAuth**](IoArgoprojEventsV1alpha1BitbucketBasicAuth.md) | | [optional] -**token** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] +**oauthToken** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1BitbucketEventSource.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1BitbucketEventSource.md index 39a264918f46..64625bbdc684 100644 --- a/sdks/java/client/docs/IoArgoprojEventsV1alpha1BitbucketEventSource.md +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1BitbucketEventSource.md @@ -12,9 +12,10 @@ Name | Type | Description | Notes **events** | **List<String>** | Events this webhook is subscribed to. | [optional] **filter** | [**IoArgoprojEventsV1alpha1EventSourceFilter**](IoArgoprojEventsV1alpha1EventSourceFilter.md) | | [optional] **metadata** | **Map<String, String>** | | [optional] -**owner** | **String** | Owner of the repository. | [optional] +**owner** | **String** | | [optional] **projectKey** | **String** | | [optional] -**repositorySlug** | **String** | RepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. | [optional] +**repositories** | [**List<IoArgoprojEventsV1alpha1BitbucketRepository>**](IoArgoprojEventsV1alpha1BitbucketRepository.md) | | [optional] +**repositorySlug** | **String** | | [optional] **webhook** | [**IoArgoprojEventsV1alpha1WebhookContext**](IoArgoprojEventsV1alpha1WebhookContext.md) | | [optional] diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1BitbucketRepository.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1BitbucketRepository.md new file mode 100644 index 000000000000..34e4b7398b25 --- /dev/null +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1BitbucketRepository.md @@ -0,0 +1,14 @@ + + +# IoArgoprojEventsV1alpha1BitbucketRepository + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**owner** | **String** | | [optional] +**repositorySlug** | **String** | | [optional] + + + diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1EventDependencyFilter.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1EventDependencyFilter.md index 136aa9dad380..cde905e83a0a 100644 --- a/sdks/java/client/docs/IoArgoprojEventsV1alpha1EventDependencyFilter.md +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1EventDependencyFilter.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **dataLogicalOperator** | **String** | DataLogicalOperator defines how multiple Data filters (if defined) are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&). | [optional] **exprLogicalOperator** | **String** | ExprLogicalOperator defines how multiple Exprs filters (if defined) are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&). | [optional] **exprs** | [**List<IoArgoprojEventsV1alpha1ExprFilter>**](IoArgoprojEventsV1alpha1ExprFilter.md) | Exprs contains the list of expressions evaluated against the event payload. | [optional] +**script** | **String** | Script refers to a Lua script evaluated to determine the validity of an io.argoproj.workflow.v1alpha1. | [optional] **time** | [**IoArgoprojEventsV1alpha1TimeFilter**](IoArgoprojEventsV1alpha1TimeFilter.md) | | [optional] diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1EventSourceSpec.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1EventSourceSpec.md index ffbbdffa9a11..6b5dcdaeffe4 100644 --- a/sdks/java/client/docs/IoArgoprojEventsV1alpha1EventSourceSpec.md +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1EventSourceSpec.md @@ -27,6 +27,7 @@ Name | Type | Description | Notes **pubSub** | [**Map<String, IoArgoprojEventsV1alpha1PubSubEventSource>**](IoArgoprojEventsV1alpha1PubSubEventSource.md) | | [optional] **pulsar** | [**Map<String, IoArgoprojEventsV1alpha1PulsarEventSource>**](IoArgoprojEventsV1alpha1PulsarEventSource.md) | | [optional] **redis** | [**Map<String, IoArgoprojEventsV1alpha1RedisEventSource>**](IoArgoprojEventsV1alpha1RedisEventSource.md) | | [optional] +**redisStream** | [**Map<String, IoArgoprojEventsV1alpha1RedisStreamEventSource>**](IoArgoprojEventsV1alpha1RedisStreamEventSource.md) | | [optional] **replicas** | **Integer** | | [optional] **resource** | [**Map<String, IoArgoprojEventsV1alpha1ResourceEventSource>**](IoArgoprojEventsV1alpha1ResourceEventSource.md) | | [optional] **service** | [**IoArgoprojEventsV1alpha1Service**](IoArgoprojEventsV1alpha1Service.md) | | [optional] @@ -36,7 +37,7 @@ Name | Type | Description | Notes **storageGrid** | [**Map<String, IoArgoprojEventsV1alpha1StorageGridEventSource>**](IoArgoprojEventsV1alpha1StorageGridEventSource.md) | | [optional] **stripe** | [**Map<String, IoArgoprojEventsV1alpha1StripeEventSource>**](IoArgoprojEventsV1alpha1StripeEventSource.md) | | [optional] **template** | [**IoArgoprojEventsV1alpha1Template**](IoArgoprojEventsV1alpha1Template.md) | | [optional] -**webhook** | [**Map<String, IoArgoprojEventsV1alpha1WebhookContext>**](IoArgoprojEventsV1alpha1WebhookContext.md) | | [optional] +**webhook** | [**Map<String, IoArgoprojEventsV1alpha1WebhookEventSource>**](IoArgoprojEventsV1alpha1WebhookEventSource.md) | | [optional] diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1GitArtifact.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1GitArtifact.md index 6a983e5855ee..6c0681d8996b 100644 --- a/sdks/java/client/docs/IoArgoprojEventsV1alpha1GitArtifact.md +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1GitArtifact.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **cloneDirectory** | **String** | Directory to clone the repository. We clone complete directory because GitArtifact is not limited to any specific Git service providers. Hence we don't use any specific git provider client. | [optional] **creds** | [**IoArgoprojEventsV1alpha1GitCreds**](IoArgoprojEventsV1alpha1GitCreds.md) | | [optional] **filePath** | **String** | | [optional] +**insecureIgnoreHostKey** | **Boolean** | | [optional] **ref** | **String** | | [optional] **remote** | [**IoArgoprojEventsV1alpha1GitRemoteConfig**](IoArgoprojEventsV1alpha1GitRemoteConfig.md) | | [optional] **sshKeySecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1KafkaEventSource.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1KafkaEventSource.md index 27f6e5fcfa44..026e117d1008 100644 --- a/sdks/java/client/docs/IoArgoprojEventsV1alpha1KafkaEventSource.md +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1KafkaEventSource.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**config** | **String** | Yaml format Sarama config for Kafka connection. It follows the struct of sarama.Config. See https://github.com/Shopify/sarama/blob/main/config.go e.g. consumer: fetch: min: 1 net: MaxOpenRequests: 5 +optional | [optional] **connectionBackoff** | [**IoArgoprojEventsV1alpha1Backoff**](IoArgoprojEventsV1alpha1Backoff.md) | | [optional] **consumerGroup** | [**IoArgoprojEventsV1alpha1KafkaConsumerGroup**](IoArgoprojEventsV1alpha1KafkaConsumerGroup.md) | | [optional] **filter** | [**IoArgoprojEventsV1alpha1EventSourceFilter**](IoArgoprojEventsV1alpha1EventSourceFilter.md) | | [optional] diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1RedisEventSource.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1RedisEventSource.md index 5ab357815d38..6ecf5745bd46 100644 --- a/sdks/java/client/docs/IoArgoprojEventsV1alpha1RedisEventSource.md +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1RedisEventSource.md @@ -11,10 +11,12 @@ Name | Type | Description | Notes **db** | **Integer** | | [optional] **filter** | [**IoArgoprojEventsV1alpha1EventSourceFilter**](IoArgoprojEventsV1alpha1EventSourceFilter.md) | | [optional] **hostAddress** | **String** | | [optional] +**jsonBody** | **Boolean** | | [optional] **metadata** | **Map<String, String>** | | [optional] **namespace** | **String** | | [optional] **password** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] **tls** | [**IoArgoprojEventsV1alpha1TLSConfig**](IoArgoprojEventsV1alpha1TLSConfig.md) | | [optional] +**username** | **String** | | [optional] diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1RedisStreamEventSource.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1RedisStreamEventSource.md new file mode 100644 index 000000000000..bf318d50ceaf --- /dev/null +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1RedisStreamEventSource.md @@ -0,0 +1,22 @@ + + +# IoArgoprojEventsV1alpha1RedisStreamEventSource + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**consumerGroup** | **String** | | [optional] +**db** | **Integer** | | [optional] +**filter** | [**IoArgoprojEventsV1alpha1EventSourceFilter**](IoArgoprojEventsV1alpha1EventSourceFilter.md) | | [optional] +**hostAddress** | **String** | | [optional] +**maxMsgCountPerRead** | **Integer** | | [optional] +**metadata** | **Map<String, String>** | | [optional] +**password** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] +**streams** | **List<String>** | Streams to look for entries. XREADGROUP is used on all streams using a single consumer group. | [optional] +**tls** | [**IoArgoprojEventsV1alpha1TLSConfig**](IoArgoprojEventsV1alpha1TLSConfig.md) | | [optional] +**username** | **String** | | [optional] + + + diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1SNSEventSource.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1SNSEventSource.md index 002c248d297a..85252a3db5f3 100644 --- a/sdks/java/client/docs/IoArgoprojEventsV1alpha1SNSEventSource.md +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1SNSEventSource.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accessKey** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] +**endpoint** | **String** | | [optional] **filter** | [**IoArgoprojEventsV1alpha1EventSourceFilter**](IoArgoprojEventsV1alpha1EventSourceFilter.md) | | [optional] **metadata** | **Map<String, String>** | | [optional] **region** | **String** | | [optional] diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1SQSEventSource.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1SQSEventSource.md index 383cf268c64c..78fab09a205f 100644 --- a/sdks/java/client/docs/IoArgoprojEventsV1alpha1SQSEventSource.md +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1SQSEventSource.md @@ -18,6 +18,7 @@ Name | Type | Description | Notes **region** | **String** | | [optional] **roleARN** | **String** | | [optional] **secretKey** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] +**sessionToken** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] **waitTimeSeconds** | **String** | WaitTimeSeconds is The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. | [optional] diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1WebhookContext.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1WebhookContext.md index 1253f90d0c1c..e16d6f842b88 100644 --- a/sdks/java/client/docs/IoArgoprojEventsV1alpha1WebhookContext.md +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1WebhookContext.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **authSecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] **endpoint** | **String** | | [optional] +**maxPayloadSize** | **String** | | [optional] **metadata** | **Map<String, String>** | | [optional] **method** | **String** | | [optional] **port** | **String** | Port on which HTTP server is listening for incoming events. | [optional] diff --git a/sdks/java/client/docs/IoArgoprojEventsV1alpha1WebhookEventSource.md b/sdks/java/client/docs/IoArgoprojEventsV1alpha1WebhookEventSource.md new file mode 100644 index 000000000000..144988ba1721 --- /dev/null +++ b/sdks/java/client/docs/IoArgoprojEventsV1alpha1WebhookEventSource.md @@ -0,0 +1,14 @@ + + +# IoArgoprojEventsV1alpha1WebhookEventSource + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**filter** | [**IoArgoprojEventsV1alpha1EventSourceFilter**](IoArgoprojEventsV1alpha1EventSourceFilter.md) | | [optional] +**webhookContext** | [**IoArgoprojEventsV1alpha1WebhookContext**](IoArgoprojEventsV1alpha1WebhookContext.md) | | [optional] + + + diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_argo_workflow_trigger.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_argo_workflow_trigger.py index c0e3936832af..e745878e181e 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_argo_workflow_trigger.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_argo_workflow_trigger.py @@ -89,6 +89,7 @@ def openapi_types(): """ lazy_import() return { + 'args': ([str],), # noqa: E501 'operation': (str,), # noqa: E501 'parameters': ([IoArgoprojEventsV1alpha1TriggerParameter],), # noqa: E501 'source': (IoArgoprojEventsV1alpha1ArtifactLocation,), # noqa: E501 @@ -100,6 +101,7 @@ def discriminator(): attribute_map = { + 'args': 'args', # noqa: E501 'operation': 'operation', # noqa: E501 'parameters': 'parameters', # noqa: E501 'source': 'source', # noqa: E501 @@ -146,6 +148,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + args ([str]): [optional] # noqa: E501 operation (str): [optional] # noqa: E501 parameters ([IoArgoprojEventsV1alpha1TriggerParameter]): [optional] # noqa: E501 source (IoArgoprojEventsV1alpha1ArtifactLocation): [optional] # noqa: E501 @@ -230,6 +233,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + args ([str]): [optional] # noqa: E501 operation (str): [optional] # noqa: E501 parameters ([IoArgoprojEventsV1alpha1TriggerParameter]): [optional] # noqa: E501 source (IoArgoprojEventsV1alpha1ArtifactLocation): [optional] # noqa: E501 diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_auth.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_auth.py index 978f529ed586..92a26ed1b546 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_auth.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_auth.py @@ -90,7 +90,7 @@ def openapi_types(): lazy_import() return { 'basic': (IoArgoprojEventsV1alpha1BitbucketBasicAuth,), # noqa: E501 - 'token': (SecretKeySelector,), # noqa: E501 + 'oauth_token': (SecretKeySelector,), # noqa: E501 } @cached_property @@ -100,7 +100,7 @@ def discriminator(): attribute_map = { 'basic': 'basic', # noqa: E501 - 'token': 'token', # noqa: E501 + 'oauth_token': 'oauthToken', # noqa: E501 } read_only_vars = { @@ -145,7 +145,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) basic (IoArgoprojEventsV1alpha1BitbucketBasicAuth): [optional] # noqa: E501 - token (SecretKeySelector): [optional] # noqa: E501 + oauth_token (SecretKeySelector): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -228,7 +228,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) basic (IoArgoprojEventsV1alpha1BitbucketBasicAuth): [optional] # noqa: E501 - token (SecretKeySelector): [optional] # noqa: E501 + oauth_token (SecretKeySelector): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_event_source.py index 9336196ebfcb..df54093ed4a1 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_event_source.py @@ -31,9 +31,11 @@ def lazy_import(): from argo_workflows.model.io_argoproj_events_v1alpha1_bitbucket_auth import IoArgoprojEventsV1alpha1BitbucketAuth + from argo_workflows.model.io_argoproj_events_v1alpha1_bitbucket_repository import IoArgoprojEventsV1alpha1BitbucketRepository from argo_workflows.model.io_argoproj_events_v1alpha1_event_source_filter import IoArgoprojEventsV1alpha1EventSourceFilter from argo_workflows.model.io_argoproj_events_v1alpha1_webhook_context import IoArgoprojEventsV1alpha1WebhookContext globals()['IoArgoprojEventsV1alpha1BitbucketAuth'] = IoArgoprojEventsV1alpha1BitbucketAuth + globals()['IoArgoprojEventsV1alpha1BitbucketRepository'] = IoArgoprojEventsV1alpha1BitbucketRepository globals()['IoArgoprojEventsV1alpha1EventSourceFilter'] = IoArgoprojEventsV1alpha1EventSourceFilter globals()['IoArgoprojEventsV1alpha1WebhookContext'] = IoArgoprojEventsV1alpha1WebhookContext @@ -98,6 +100,7 @@ def openapi_types(): 'metadata': ({str: (str,)},), # noqa: E501 'owner': (str,), # noqa: E501 'project_key': (str,), # noqa: E501 + 'repositories': ([IoArgoprojEventsV1alpha1BitbucketRepository],), # noqa: E501 'repository_slug': (str,), # noqa: E501 'webhook': (IoArgoprojEventsV1alpha1WebhookContext,), # noqa: E501 } @@ -115,6 +118,7 @@ def discriminator(): 'metadata': 'metadata', # noqa: E501 'owner': 'owner', # noqa: E501 'project_key': 'projectKey', # noqa: E501 + 'repositories': 'repositories', # noqa: E501 'repository_slug': 'repositorySlug', # noqa: E501 'webhook': 'webhook', # noqa: E501 } @@ -165,9 +169,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 events ([str]): Events this webhook is subscribed to.. [optional] # noqa: E501 filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501 metadata ({str: (str,)}): [optional] # noqa: E501 - owner (str): Owner of the repository.. [optional] # noqa: E501 + owner (str): [optional] # noqa: E501 project_key (str): [optional] # noqa: E501 - repository_slug (str): RepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.. [optional] # noqa: E501 + repositories ([IoArgoprojEventsV1alpha1BitbucketRepository]): [optional] # noqa: E501 + repository_slug (str): [optional] # noqa: E501 webhook (IoArgoprojEventsV1alpha1WebhookContext): [optional] # noqa: E501 """ @@ -255,9 +260,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 events ([str]): Events this webhook is subscribed to.. [optional] # noqa: E501 filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501 metadata ({str: (str,)}): [optional] # noqa: E501 - owner (str): Owner of the repository.. [optional] # noqa: E501 + owner (str): [optional] # noqa: E501 project_key (str): [optional] # noqa: E501 - repository_slug (str): RepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.. [optional] # noqa: E501 + repositories ([IoArgoprojEventsV1alpha1BitbucketRepository]): [optional] # noqa: E501 + repository_slug (str): [optional] # noqa: E501 webhook (IoArgoprojEventsV1alpha1WebhookContext): [optional] # noqa: E501 """ diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_repository.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_repository.py new file mode 100644 index 000000000000..b98082b3033d --- /dev/null +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_bitbucket_repository.py @@ -0,0 +1,259 @@ +""" + Argo Workflows API + + Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ # noqa: E501 + + The version of the OpenAPI document: VERSION + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from argo_workflows.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, +) +from ..model_utils import OpenApiModel +from argo_workflows.exceptions import ApiAttributeError + + + +class IoArgoprojEventsV1alpha1BitbucketRepository(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'owner': (str,), # noqa: E501 + 'repository_slug': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'owner': 'owner', # noqa: E501 + 'repository_slug': 'repositorySlug', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """IoArgoprojEventsV1alpha1BitbucketRepository - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + owner (str): [optional] # noqa: E501 + repository_slug (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """IoArgoprojEventsV1alpha1BitbucketRepository - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + owner (str): [optional] # noqa: E501 + repository_slug (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_filter.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_filter.py index 404a028ef090..a4a5793063a9 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_filter.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_dependency_filter.py @@ -98,6 +98,7 @@ def openapi_types(): 'data_logical_operator': (str,), # noqa: E501 'expr_logical_operator': (str,), # noqa: E501 'exprs': ([IoArgoprojEventsV1alpha1ExprFilter],), # noqa: E501 + 'script': (str,), # noqa: E501 'time': (IoArgoprojEventsV1alpha1TimeFilter,), # noqa: E501 } @@ -112,6 +113,7 @@ def discriminator(): 'data_logical_operator': 'dataLogicalOperator', # noqa: E501 'expr_logical_operator': 'exprLogicalOperator', # noqa: E501 'exprs': 'exprs', # noqa: E501 + 'script': 'script', # noqa: E501 'time': 'time', # noqa: E501 } @@ -161,6 +163,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 data_logical_operator (str): DataLogicalOperator defines how multiple Data filters (if defined) are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&).. [optional] # noqa: E501 expr_logical_operator (str): ExprLogicalOperator defines how multiple Exprs filters (if defined) are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&).. [optional] # noqa: E501 exprs ([IoArgoprojEventsV1alpha1ExprFilter]): Exprs contains the list of expressions evaluated against the event payload.. [optional] # noqa: E501 + script (str): Script refers to a Lua script evaluated to determine the validity of an io.argoproj.workflow.v1alpha1.. [optional] # noqa: E501 time (IoArgoprojEventsV1alpha1TimeFilter): [optional] # noqa: E501 """ @@ -248,6 +251,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 data_logical_operator (str): DataLogicalOperator defines how multiple Data filters (if defined) are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&).. [optional] # noqa: E501 expr_logical_operator (str): ExprLogicalOperator defines how multiple Exprs filters (if defined) are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&).. [optional] # noqa: E501 exprs ([IoArgoprojEventsV1alpha1ExprFilter]): Exprs contains the list of expressions evaluated against the event payload.. [optional] # noqa: E501 + script (str): Script refers to a Lua script evaluated to determine the validity of an io.argoproj.workflow.v1alpha1.. [optional] # noqa: E501 time (IoArgoprojEventsV1alpha1TimeFilter): [optional] # noqa: E501 """ diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_spec.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_spec.py index 565f870a64fa..f40c8dfe2302 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_spec.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_event_source_spec.py @@ -48,6 +48,7 @@ def lazy_import(): from argo_workflows.model.io_argoproj_events_v1alpha1_pub_sub_event_source import IoArgoprojEventsV1alpha1PubSubEventSource from argo_workflows.model.io_argoproj_events_v1alpha1_pulsar_event_source import IoArgoprojEventsV1alpha1PulsarEventSource from argo_workflows.model.io_argoproj_events_v1alpha1_redis_event_source import IoArgoprojEventsV1alpha1RedisEventSource + from argo_workflows.model.io_argoproj_events_v1alpha1_redis_stream_event_source import IoArgoprojEventsV1alpha1RedisStreamEventSource from argo_workflows.model.io_argoproj_events_v1alpha1_resource_event_source import IoArgoprojEventsV1alpha1ResourceEventSource from argo_workflows.model.io_argoproj_events_v1alpha1_s3_artifact import IoArgoprojEventsV1alpha1S3Artifact from argo_workflows.model.io_argoproj_events_v1alpha1_service import IoArgoprojEventsV1alpha1Service @@ -57,7 +58,7 @@ def lazy_import(): from argo_workflows.model.io_argoproj_events_v1alpha1_storage_grid_event_source import IoArgoprojEventsV1alpha1StorageGridEventSource from argo_workflows.model.io_argoproj_events_v1alpha1_stripe_event_source import IoArgoprojEventsV1alpha1StripeEventSource from argo_workflows.model.io_argoproj_events_v1alpha1_template import IoArgoprojEventsV1alpha1Template - from argo_workflows.model.io_argoproj_events_v1alpha1_webhook_context import IoArgoprojEventsV1alpha1WebhookContext + from argo_workflows.model.io_argoproj_events_v1alpha1_webhook_event_source import IoArgoprojEventsV1alpha1WebhookEventSource globals()['IoArgoprojEventsV1alpha1AMQPEventSource'] = IoArgoprojEventsV1alpha1AMQPEventSource globals()['IoArgoprojEventsV1alpha1AzureEventsHubEventSource'] = IoArgoprojEventsV1alpha1AzureEventsHubEventSource globals()['IoArgoprojEventsV1alpha1BitbucketEventSource'] = IoArgoprojEventsV1alpha1BitbucketEventSource @@ -76,6 +77,7 @@ def lazy_import(): globals()['IoArgoprojEventsV1alpha1PubSubEventSource'] = IoArgoprojEventsV1alpha1PubSubEventSource globals()['IoArgoprojEventsV1alpha1PulsarEventSource'] = IoArgoprojEventsV1alpha1PulsarEventSource globals()['IoArgoprojEventsV1alpha1RedisEventSource'] = IoArgoprojEventsV1alpha1RedisEventSource + globals()['IoArgoprojEventsV1alpha1RedisStreamEventSource'] = IoArgoprojEventsV1alpha1RedisStreamEventSource globals()['IoArgoprojEventsV1alpha1ResourceEventSource'] = IoArgoprojEventsV1alpha1ResourceEventSource globals()['IoArgoprojEventsV1alpha1S3Artifact'] = IoArgoprojEventsV1alpha1S3Artifact globals()['IoArgoprojEventsV1alpha1SNSEventSource'] = IoArgoprojEventsV1alpha1SNSEventSource @@ -85,7 +87,7 @@ def lazy_import(): globals()['IoArgoprojEventsV1alpha1StorageGridEventSource'] = IoArgoprojEventsV1alpha1StorageGridEventSource globals()['IoArgoprojEventsV1alpha1StripeEventSource'] = IoArgoprojEventsV1alpha1StripeEventSource globals()['IoArgoprojEventsV1alpha1Template'] = IoArgoprojEventsV1alpha1Template - globals()['IoArgoprojEventsV1alpha1WebhookContext'] = IoArgoprojEventsV1alpha1WebhookContext + globals()['IoArgoprojEventsV1alpha1WebhookEventSource'] = IoArgoprojEventsV1alpha1WebhookEventSource class IoArgoprojEventsV1alpha1EventSourceSpec(ModelNormal): @@ -161,6 +163,7 @@ def openapi_types(): 'pub_sub': ({str: (IoArgoprojEventsV1alpha1PubSubEventSource,)},), # noqa: E501 'pulsar': ({str: (IoArgoprojEventsV1alpha1PulsarEventSource,)},), # noqa: E501 'redis': ({str: (IoArgoprojEventsV1alpha1RedisEventSource,)},), # noqa: E501 + 'redis_stream': ({str: (IoArgoprojEventsV1alpha1RedisStreamEventSource,)},), # noqa: E501 'replicas': (int,), # noqa: E501 'resource': ({str: (IoArgoprojEventsV1alpha1ResourceEventSource,)},), # noqa: E501 'service': (IoArgoprojEventsV1alpha1Service,), # noqa: E501 @@ -170,7 +173,7 @@ def openapi_types(): 'storage_grid': ({str: (IoArgoprojEventsV1alpha1StorageGridEventSource,)},), # noqa: E501 'stripe': ({str: (IoArgoprojEventsV1alpha1StripeEventSource,)},), # noqa: E501 'template': (IoArgoprojEventsV1alpha1Template,), # noqa: E501 - 'webhook': ({str: (IoArgoprojEventsV1alpha1WebhookContext,)},), # noqa: E501 + 'webhook': ({str: (IoArgoprojEventsV1alpha1WebhookEventSource,)},), # noqa: E501 } @cached_property @@ -199,6 +202,7 @@ def discriminator(): 'pub_sub': 'pubSub', # noqa: E501 'pulsar': 'pulsar', # noqa: E501 'redis': 'redis', # noqa: E501 + 'redis_stream': 'redisStream', # noqa: E501 'replicas': 'replicas', # noqa: E501 'resource': 'resource', # noqa: E501 'service': 'service', # noqa: E501 @@ -272,6 +276,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 pub_sub ({str: (IoArgoprojEventsV1alpha1PubSubEventSource,)}): [optional] # noqa: E501 pulsar ({str: (IoArgoprojEventsV1alpha1PulsarEventSource,)}): [optional] # noqa: E501 redis ({str: (IoArgoprojEventsV1alpha1RedisEventSource,)}): [optional] # noqa: E501 + redis_stream ({str: (IoArgoprojEventsV1alpha1RedisStreamEventSource,)}): [optional] # noqa: E501 replicas (int): [optional] # noqa: E501 resource ({str: (IoArgoprojEventsV1alpha1ResourceEventSource,)}): [optional] # noqa: E501 service (IoArgoprojEventsV1alpha1Service): [optional] # noqa: E501 @@ -281,7 +286,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 storage_grid ({str: (IoArgoprojEventsV1alpha1StorageGridEventSource,)}): [optional] # noqa: E501 stripe ({str: (IoArgoprojEventsV1alpha1StripeEventSource,)}): [optional] # noqa: E501 template (IoArgoprojEventsV1alpha1Template): [optional] # noqa: E501 - webhook ({str: (IoArgoprojEventsV1alpha1WebhookContext,)}): [optional] # noqa: E501 + webhook ({str: (IoArgoprojEventsV1alpha1WebhookEventSource,)}): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -383,6 +388,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 pub_sub ({str: (IoArgoprojEventsV1alpha1PubSubEventSource,)}): [optional] # noqa: E501 pulsar ({str: (IoArgoprojEventsV1alpha1PulsarEventSource,)}): [optional] # noqa: E501 redis ({str: (IoArgoprojEventsV1alpha1RedisEventSource,)}): [optional] # noqa: E501 + redis_stream ({str: (IoArgoprojEventsV1alpha1RedisStreamEventSource,)}): [optional] # noqa: E501 replicas (int): [optional] # noqa: E501 resource ({str: (IoArgoprojEventsV1alpha1ResourceEventSource,)}): [optional] # noqa: E501 service (IoArgoprojEventsV1alpha1Service): [optional] # noqa: E501 @@ -392,7 +398,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 storage_grid ({str: (IoArgoprojEventsV1alpha1StorageGridEventSource,)}): [optional] # noqa: E501 stripe ({str: (IoArgoprojEventsV1alpha1StripeEventSource,)}): [optional] # noqa: E501 template (IoArgoprojEventsV1alpha1Template): [optional] # noqa: E501 - webhook ({str: (IoArgoprojEventsV1alpha1WebhookContext,)}): [optional] # noqa: E501 + webhook ({str: (IoArgoprojEventsV1alpha1WebhookEventSource,)}): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_artifact.py index 9992b354e518..0692b8a99cd9 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_git_artifact.py @@ -95,6 +95,7 @@ def openapi_types(): 'clone_directory': (str,), # noqa: E501 'creds': (IoArgoprojEventsV1alpha1GitCreds,), # noqa: E501 'file_path': (str,), # noqa: E501 + 'insecure_ignore_host_key': (bool,), # noqa: E501 'ref': (str,), # noqa: E501 'remote': (IoArgoprojEventsV1alpha1GitRemoteConfig,), # noqa: E501 'ssh_key_secret': (SecretKeySelector,), # noqa: E501 @@ -112,6 +113,7 @@ def discriminator(): 'clone_directory': 'cloneDirectory', # noqa: E501 'creds': 'creds', # noqa: E501 'file_path': 'filePath', # noqa: E501 + 'insecure_ignore_host_key': 'insecureIgnoreHostKey', # noqa: E501 'ref': 'ref', # noqa: E501 'remote': 'remote', # noqa: E501 'ssh_key_secret': 'sshKeySecret', # noqa: E501 @@ -164,6 +166,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 clone_directory (str): Directory to clone the repository. We clone complete directory because GitArtifact is not limited to any specific Git service providers. Hence we don't use any specific git provider client.. [optional] # noqa: E501 creds (IoArgoprojEventsV1alpha1GitCreds): [optional] # noqa: E501 file_path (str): [optional] # noqa: E501 + insecure_ignore_host_key (bool): [optional] # noqa: E501 ref (str): [optional] # noqa: E501 remote (IoArgoprojEventsV1alpha1GitRemoteConfig): [optional] # noqa: E501 ssh_key_secret (SecretKeySelector): [optional] # noqa: E501 @@ -254,6 +257,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 clone_directory (str): Directory to clone the repository. We clone complete directory because GitArtifact is not limited to any specific Git service providers. Hence we don't use any specific git provider client.. [optional] # noqa: E501 creds (IoArgoprojEventsV1alpha1GitCreds): [optional] # noqa: E501 file_path (str): [optional] # noqa: E501 + insecure_ignore_host_key (bool): [optional] # noqa: E501 ref (str): [optional] # noqa: E501 remote (IoArgoprojEventsV1alpha1GitRemoteConfig): [optional] # noqa: E501 ssh_key_secret (SecretKeySelector): [optional] # noqa: E501 diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_event_source.py index fc68e4f530a8..d804e25c4943 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_kafka_event_source.py @@ -95,6 +95,7 @@ def openapi_types(): """ lazy_import() return { + 'config': (str,), # noqa: E501 'connection_backoff': (IoArgoprojEventsV1alpha1Backoff,), # noqa: E501 'consumer_group': (IoArgoprojEventsV1alpha1KafkaConsumerGroup,), # noqa: E501 'filter': (IoArgoprojEventsV1alpha1EventSourceFilter,), # noqa: E501 @@ -115,6 +116,7 @@ def discriminator(): attribute_map = { + 'config': 'config', # noqa: E501 'connection_backoff': 'connectionBackoff', # noqa: E501 'consumer_group': 'consumerGroup', # noqa: E501 'filter': 'filter', # noqa: E501 @@ -170,6 +172,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + config (str): Yaml format Sarama config for Kafka connection. It follows the struct of sarama.Config. See https://github.com/Shopify/sarama/blob/main/config.go e.g. consumer: fetch: min: 1 net: MaxOpenRequests: 5 +optional. [optional] # noqa: E501 connection_backoff (IoArgoprojEventsV1alpha1Backoff): [optional] # noqa: E501 consumer_group (IoArgoprojEventsV1alpha1KafkaConsumerGroup): [optional] # noqa: E501 filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501 @@ -263,6 +266,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + config (str): Yaml format Sarama config for Kafka connection. It follows the struct of sarama.Config. See https://github.com/Shopify/sarama/blob/main/config.go e.g. consumer: fetch: min: 1 net: MaxOpenRequests: 5 +optional. [optional] # noqa: E501 connection_backoff (IoArgoprojEventsV1alpha1Backoff): [optional] # noqa: E501 consumer_group (IoArgoprojEventsV1alpha1KafkaConsumerGroup): [optional] # noqa: E501 filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501 diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_event_source.py index b32d10156094..85c7a5b06e88 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_event_source.py @@ -95,10 +95,12 @@ def openapi_types(): 'db': (int,), # noqa: E501 'filter': (IoArgoprojEventsV1alpha1EventSourceFilter,), # noqa: E501 'host_address': (str,), # noqa: E501 + 'json_body': (bool,), # noqa: E501 'metadata': ({str: (str,)},), # noqa: E501 'namespace': (str,), # noqa: E501 'password': (SecretKeySelector,), # noqa: E501 'tls': (IoArgoprojEventsV1alpha1TLSConfig,), # noqa: E501 + 'username': (str,), # noqa: E501 } @cached_property @@ -111,10 +113,12 @@ def discriminator(): 'db': 'db', # noqa: E501 'filter': 'filter', # noqa: E501 'host_address': 'hostAddress', # noqa: E501 + 'json_body': 'jsonBody', # noqa: E501 'metadata': 'metadata', # noqa: E501 'namespace': 'namespace', # noqa: E501 'password': 'password', # noqa: E501 'tls': 'tls', # noqa: E501 + 'username': 'username', # noqa: E501 } read_only_vars = { @@ -162,10 +166,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 db (int): [optional] # noqa: E501 filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501 host_address (str): [optional] # noqa: E501 + json_body (bool): [optional] # noqa: E501 metadata ({str: (str,)}): [optional] # noqa: E501 namespace (str): [optional] # noqa: E501 password (SecretKeySelector): [optional] # noqa: E501 tls (IoArgoprojEventsV1alpha1TLSConfig): [optional] # noqa: E501 + username (str): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -251,10 +257,12 @@ def __init__(self, *args, **kwargs): # noqa: E501 db (int): [optional] # noqa: E501 filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501 host_address (str): [optional] # noqa: E501 + json_body (bool): [optional] # noqa: E501 metadata ({str: (str,)}): [optional] # noqa: E501 namespace (str): [optional] # noqa: E501 password (SecretKeySelector): [optional] # noqa: E501 tls (IoArgoprojEventsV1alpha1TLSConfig): [optional] # noqa: E501 + username (str): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_stream_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_stream_event_source.py new file mode 100644 index 000000000000..187195c1411f --- /dev/null +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_redis_stream_event_source.py @@ -0,0 +1,301 @@ +""" + Argo Workflows API + + Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ # noqa: E501 + + The version of the OpenAPI document: VERSION + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from argo_workflows.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, +) +from ..model_utils import OpenApiModel +from argo_workflows.exceptions import ApiAttributeError + + +def lazy_import(): + from argo_workflows.model.io_argoproj_events_v1alpha1_event_source_filter import IoArgoprojEventsV1alpha1EventSourceFilter + from argo_workflows.model.io_argoproj_events_v1alpha1_tls_config import IoArgoprojEventsV1alpha1TLSConfig + from argo_workflows.model.secret_key_selector import SecretKeySelector + globals()['IoArgoprojEventsV1alpha1EventSourceFilter'] = IoArgoprojEventsV1alpha1EventSourceFilter + globals()['IoArgoprojEventsV1alpha1TLSConfig'] = IoArgoprojEventsV1alpha1TLSConfig + globals()['SecretKeySelector'] = SecretKeySelector + + +class IoArgoprojEventsV1alpha1RedisStreamEventSource(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'consumer_group': (str,), # noqa: E501 + 'db': (int,), # noqa: E501 + 'filter': (IoArgoprojEventsV1alpha1EventSourceFilter,), # noqa: E501 + 'host_address': (str,), # noqa: E501 + 'max_msg_count_per_read': (int,), # noqa: E501 + 'metadata': ({str: (str,)},), # noqa: E501 + 'password': (SecretKeySelector,), # noqa: E501 + 'streams': ([str],), # noqa: E501 + 'tls': (IoArgoprojEventsV1alpha1TLSConfig,), # noqa: E501 + 'username': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'consumer_group': 'consumerGroup', # noqa: E501 + 'db': 'db', # noqa: E501 + 'filter': 'filter', # noqa: E501 + 'host_address': 'hostAddress', # noqa: E501 + 'max_msg_count_per_read': 'maxMsgCountPerRead', # noqa: E501 + 'metadata': 'metadata', # noqa: E501 + 'password': 'password', # noqa: E501 + 'streams': 'streams', # noqa: E501 + 'tls': 'tls', # noqa: E501 + 'username': 'username', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """IoArgoprojEventsV1alpha1RedisStreamEventSource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + consumer_group (str): [optional] # noqa: E501 + db (int): [optional] # noqa: E501 + filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501 + host_address (str): [optional] # noqa: E501 + max_msg_count_per_read (int): [optional] # noqa: E501 + metadata ({str: (str,)}): [optional] # noqa: E501 + password (SecretKeySelector): [optional] # noqa: E501 + streams ([str]): Streams to look for entries. XREADGROUP is used on all streams using a single consumer group.. [optional] # noqa: E501 + tls (IoArgoprojEventsV1alpha1TLSConfig): [optional] # noqa: E501 + username (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """IoArgoprojEventsV1alpha1RedisStreamEventSource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + consumer_group (str): [optional] # noqa: E501 + db (int): [optional] # noqa: E501 + filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501 + host_address (str): [optional] # noqa: E501 + max_msg_count_per_read (int): [optional] # noqa: E501 + metadata ({str: (str,)}): [optional] # noqa: E501 + password (SecretKeySelector): [optional] # noqa: E501 + streams ([str]): Streams to look for entries. XREADGROUP is used on all streams using a single consumer group.. [optional] # noqa: E501 + tls (IoArgoprojEventsV1alpha1TLSConfig): [optional] # noqa: E501 + username (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sns_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sns_event_source.py index 33e523e47195..b99c5820bf68 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sns_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sns_event_source.py @@ -92,6 +92,7 @@ def openapi_types(): lazy_import() return { 'access_key': (SecretKeySelector,), # noqa: E501 + 'endpoint': (str,), # noqa: E501 'filter': (IoArgoprojEventsV1alpha1EventSourceFilter,), # noqa: E501 'metadata': ({str: (str,)},), # noqa: E501 'region': (str,), # noqa: E501 @@ -109,6 +110,7 @@ def discriminator(): attribute_map = { 'access_key': 'accessKey', # noqa: E501 + 'endpoint': 'endpoint', # noqa: E501 'filter': 'filter', # noqa: E501 'metadata': 'metadata', # noqa: E501 'region': 'region', # noqa: E501 @@ -161,6 +163,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) access_key (SecretKeySelector): [optional] # noqa: E501 + endpoint (str): [optional] # noqa: E501 filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501 metadata ({str: (str,)}): [optional] # noqa: E501 region (str): [optional] # noqa: E501 @@ -251,6 +254,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) access_key (SecretKeySelector): [optional] # noqa: E501 + endpoint (str): [optional] # noqa: E501 filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501 metadata ({str: (str,)}): [optional] # noqa: E501 region (str): [optional] # noqa: E501 diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sqs_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sqs_event_source.py index 018baff47247..cfad0084d587 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sqs_event_source.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_sqs_event_source.py @@ -100,6 +100,7 @@ def openapi_types(): 'region': (str,), # noqa: E501 'role_arn': (str,), # noqa: E501 'secret_key': (SecretKeySelector,), # noqa: E501 + 'session_token': (SecretKeySelector,), # noqa: E501 'wait_time_seconds': (str,), # noqa: E501 } @@ -120,6 +121,7 @@ def discriminator(): 'region': 'region', # noqa: E501 'role_arn': 'roleARN', # noqa: E501 'secret_key': 'secretKey', # noqa: E501 + 'session_token': 'sessionToken', # noqa: E501 'wait_time_seconds': 'waitTimeSeconds', # noqa: E501 } @@ -175,6 +177,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 region (str): [optional] # noqa: E501 role_arn (str): [optional] # noqa: E501 secret_key (SecretKeySelector): [optional] # noqa: E501 + session_token (SecretKeySelector): [optional] # noqa: E501 wait_time_seconds (str): WaitTimeSeconds is The duration (in seconds) for which the call waits for a message to arrive in the queue before returning.. [optional] # noqa: E501 """ @@ -268,6 +271,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 region (str): [optional] # noqa: E501 role_arn (str): [optional] # noqa: E501 secret_key (SecretKeySelector): [optional] # noqa: E501 + session_token (SecretKeySelector): [optional] # noqa: E501 wait_time_seconds (str): WaitTimeSeconds is The duration (in seconds) for which the call waits for a message to arrive in the queue before returning.. [optional] # noqa: E501 """ diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_context.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_context.py index 7678e2c1d758..41de3816c5a4 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_context.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_context.py @@ -89,6 +89,7 @@ def openapi_types(): return { 'auth_secret': (SecretKeySelector,), # noqa: E501 'endpoint': (str,), # noqa: E501 + 'max_payload_size': (str,), # noqa: E501 'metadata': ({str: (str,)},), # noqa: E501 'method': (str,), # noqa: E501 'port': (str,), # noqa: E501 @@ -105,6 +106,7 @@ def discriminator(): attribute_map = { 'auth_secret': 'authSecret', # noqa: E501 'endpoint': 'endpoint', # noqa: E501 + 'max_payload_size': 'maxPayloadSize', # noqa: E501 'metadata': 'metadata', # noqa: E501 'method': 'method', # noqa: E501 'port': 'port', # noqa: E501 @@ -156,6 +158,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) auth_secret (SecretKeySelector): [optional] # noqa: E501 endpoint (str): [optional] # noqa: E501 + max_payload_size (str): [optional] # noqa: E501 metadata ({str: (str,)}): [optional] # noqa: E501 method (str): [optional] # noqa: E501 port (str): Port on which HTTP server is listening for incoming events.. [optional] # noqa: E501 @@ -245,6 +248,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) auth_secret (SecretKeySelector): [optional] # noqa: E501 endpoint (str): [optional] # noqa: E501 + max_payload_size (str): [optional] # noqa: E501 metadata ({str: (str,)}): [optional] # noqa: E501 method (str): [optional] # noqa: E501 port (str): Port on which HTTP server is listening for incoming events.. [optional] # noqa: E501 diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_event_source.py b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_event_source.py new file mode 100644 index 000000000000..debf6db5384d --- /dev/null +++ b/sdks/python/client/argo_workflows/model/io_argoproj_events_v1alpha1_webhook_event_source.py @@ -0,0 +1,267 @@ +""" + Argo Workflows API + + Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ # noqa: E501 + + The version of the OpenAPI document: VERSION + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from argo_workflows.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, +) +from ..model_utils import OpenApiModel +from argo_workflows.exceptions import ApiAttributeError + + +def lazy_import(): + from argo_workflows.model.io_argoproj_events_v1alpha1_event_source_filter import IoArgoprojEventsV1alpha1EventSourceFilter + from argo_workflows.model.io_argoproj_events_v1alpha1_webhook_context import IoArgoprojEventsV1alpha1WebhookContext + globals()['IoArgoprojEventsV1alpha1EventSourceFilter'] = IoArgoprojEventsV1alpha1EventSourceFilter + globals()['IoArgoprojEventsV1alpha1WebhookContext'] = IoArgoprojEventsV1alpha1WebhookContext + + +class IoArgoprojEventsV1alpha1WebhookEventSource(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'filter': (IoArgoprojEventsV1alpha1EventSourceFilter,), # noqa: E501 + 'webhook_context': (IoArgoprojEventsV1alpha1WebhookContext,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'filter': 'filter', # noqa: E501 + 'webhook_context': 'webhookContext', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """IoArgoprojEventsV1alpha1WebhookEventSource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501 + webhook_context (IoArgoprojEventsV1alpha1WebhookContext): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """IoArgoprojEventsV1alpha1WebhookEventSource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + filter (IoArgoprojEventsV1alpha1EventSourceFilter): [optional] # noqa: E501 + webhook_context (IoArgoprojEventsV1alpha1WebhookContext): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/python/client/argo_workflows/models/__init__.py b/sdks/python/client/argo_workflows/models/__init__.py index 61650ad33252..eabd9ead7803 100644 --- a/sdks/python/client/argo_workflows/models/__init__.py +++ b/sdks/python/client/argo_workflows/models/__init__.py @@ -72,6 +72,7 @@ from argo_workflows.model.io_argoproj_events_v1alpha1_bitbucket_auth import IoArgoprojEventsV1alpha1BitbucketAuth from argo_workflows.model.io_argoproj_events_v1alpha1_bitbucket_basic_auth import IoArgoprojEventsV1alpha1BitbucketBasicAuth from argo_workflows.model.io_argoproj_events_v1alpha1_bitbucket_event_source import IoArgoprojEventsV1alpha1BitbucketEventSource +from argo_workflows.model.io_argoproj_events_v1alpha1_bitbucket_repository import IoArgoprojEventsV1alpha1BitbucketRepository from argo_workflows.model.io_argoproj_events_v1alpha1_bitbucket_server_event_source import IoArgoprojEventsV1alpha1BitbucketServerEventSource from argo_workflows.model.io_argoproj_events_v1alpha1_bitbucket_server_repository import IoArgoprojEventsV1alpha1BitbucketServerRepository from argo_workflows.model.io_argoproj_events_v1alpha1_calendar_event_source import IoArgoprojEventsV1alpha1CalendarEventSource @@ -125,6 +126,7 @@ from argo_workflows.model.io_argoproj_events_v1alpha1_pulsar_trigger import IoArgoprojEventsV1alpha1PulsarTrigger from argo_workflows.model.io_argoproj_events_v1alpha1_rate_limit import IoArgoprojEventsV1alpha1RateLimit from argo_workflows.model.io_argoproj_events_v1alpha1_redis_event_source import IoArgoprojEventsV1alpha1RedisEventSource +from argo_workflows.model.io_argoproj_events_v1alpha1_redis_stream_event_source import IoArgoprojEventsV1alpha1RedisStreamEventSource from argo_workflows.model.io_argoproj_events_v1alpha1_resource import IoArgoprojEventsV1alpha1Resource from argo_workflows.model.io_argoproj_events_v1alpha1_resource_event_source import IoArgoprojEventsV1alpha1ResourceEventSource from argo_workflows.model.io_argoproj_events_v1alpha1_resource_filter import IoArgoprojEventsV1alpha1ResourceFilter @@ -161,6 +163,7 @@ from argo_workflows.model.io_argoproj_events_v1alpha1_value_from_source import IoArgoprojEventsV1alpha1ValueFromSource from argo_workflows.model.io_argoproj_events_v1alpha1_watch_path_config import IoArgoprojEventsV1alpha1WatchPathConfig from argo_workflows.model.io_argoproj_events_v1alpha1_webhook_context import IoArgoprojEventsV1alpha1WebhookContext +from argo_workflows.model.io_argoproj_events_v1alpha1_webhook_event_source import IoArgoprojEventsV1alpha1WebhookEventSource from argo_workflows.model.io_argoproj_workflow_v1alpha1_archive_strategy import IoArgoprojWorkflowV1alpha1ArchiveStrategy from argo_workflows.model.io_argoproj_workflow_v1alpha1_arguments import IoArgoprojWorkflowV1alpha1Arguments from argo_workflows.model.io_argoproj_workflow_v1alpha1_art_gc_status import IoArgoprojWorkflowV1alpha1ArtGCStatus diff --git a/sdks/python/client/docs/EventSourceServiceApi.md b/sdks/python/client/docs/EventSourceServiceApi.md index 133be663fc38..c68b344298ec 100644 --- a/sdks/python/client/docs/EventSourceServiceApi.md +++ b/sdks/python/client/docs/EventSourceServiceApi.md @@ -222,7 +222,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), ), - token=SecretKeySelector( + oauth_token=SecretKeySelector( key="key_example", name="name_example", optional=True, @@ -240,6 +240,12 @@ with argo_workflows.ApiClient(configuration) as api_client: }, owner="owner_example", project_key="project_key_example", + repositories=[ + IoArgoprojEventsV1alpha1BitbucketRepository( + owner="owner_example", + repository_slug="repository_slug_example", + ), + ], repository_slug="repository_slug_example", webhook=IoArgoprojEventsV1alpha1WebhookContext( auth_secret=SecretKeySelector( @@ -248,6 +254,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -300,6 +307,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -495,6 +503,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -554,6 +563,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -614,6 +624,7 @@ with argo_workflows.ApiClient(configuration) as api_client: }, kafka={ "key": IoArgoprojEventsV1alpha1KafkaEventSource( + config="config_example", connection_backoff=IoArgoprojEventsV1alpha1Backoff( duration=IoArgoprojEventsV1alpha1Int64OrString( int64_val="int64_val_example", @@ -966,6 +977,7 @@ with argo_workflows.ApiClient(configuration) as api_client: expression="expression_example", ), host_address="host_address_example", + json_body=True, metadata={ "key": "key_example", }, @@ -993,6 +1005,48 @@ with argo_workflows.ApiClient(configuration) as api_client: ), insecure_skip_verify=True, ), + username="username_example", + ), + }, + redis_stream={ + "key": IoArgoprojEventsV1alpha1RedisStreamEventSource( + consumer_group="consumer_group_example", + db=1, + filter=IoArgoprojEventsV1alpha1EventSourceFilter( + expression="expression_example", + ), + host_address="host_address_example", + max_msg_count_per_read=1, + metadata={ + "key": "key_example", + }, + password=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + streams=[ + "streams_example", + ], + tls=IoArgoprojEventsV1alpha1TLSConfig( + ca_cert_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + client_cert_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + client_key_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + insecure_skip_verify=True, + ), + username="username_example", ), }, replicas=1, @@ -1069,6 +1123,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -1095,6 +1150,7 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + endpoint="endpoint_example", filter=IoArgoprojEventsV1alpha1EventSourceFilter( expression="expression_example", ), @@ -1117,6 +1173,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -1161,6 +1218,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), wait_time_seconds="wait_time_seconds_example", ), }, @@ -1192,6 +1254,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -1232,6 +1295,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -2162,29 +2226,35 @@ with argo_workflows.ApiClient(configuration) as api_client: ], ), webhook={ - "key": IoArgoprojEventsV1alpha1WebhookContext( - auth_secret=SecretKeySelector( - key="key_example", - name="name_example", - optional=True, - ), - endpoint="endpoint_example", - metadata={ - "key": "key_example", - }, - method="method_example", - port="port_example", - server_cert_secret=SecretKeySelector( - key="key_example", - name="name_example", - optional=True, + "key": IoArgoprojEventsV1alpha1WebhookEventSource( + filter=IoArgoprojEventsV1alpha1EventSourceFilter( + expression="expression_example", ), - server_key_secret=SecretKeySelector( - key="key_example", - name="name_example", - optional=True, + webhook_context=IoArgoprojEventsV1alpha1WebhookContext( + auth_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + endpoint="endpoint_example", + max_payload_size="max_payload_size_example", + metadata={ + "key": "key_example", + }, + method="method_example", + port="port_example", + server_cert_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + server_key_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + url="url_example", ), - url="url_example", ), }, ), @@ -2840,7 +2910,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), ), - token=SecretKeySelector( + oauth_token=SecretKeySelector( key="key_example", name="name_example", optional=True, @@ -2858,6 +2928,12 @@ with argo_workflows.ApiClient(configuration) as api_client: }, owner="owner_example", project_key="project_key_example", + repositories=[ + IoArgoprojEventsV1alpha1BitbucketRepository( + owner="owner_example", + repository_slug="repository_slug_example", + ), + ], repository_slug="repository_slug_example", webhook=IoArgoprojEventsV1alpha1WebhookContext( auth_secret=SecretKeySelector( @@ -2866,6 +2942,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -2918,6 +2995,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -3113,6 +3191,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -3172,6 +3251,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -3232,6 +3312,7 @@ with argo_workflows.ApiClient(configuration) as api_client: }, kafka={ "key": IoArgoprojEventsV1alpha1KafkaEventSource( + config="config_example", connection_backoff=IoArgoprojEventsV1alpha1Backoff( duration=IoArgoprojEventsV1alpha1Int64OrString( int64_val="int64_val_example", @@ -3584,6 +3665,7 @@ with argo_workflows.ApiClient(configuration) as api_client: expression="expression_example", ), host_address="host_address_example", + json_body=True, metadata={ "key": "key_example", }, @@ -3611,6 +3693,48 @@ with argo_workflows.ApiClient(configuration) as api_client: ), insecure_skip_verify=True, ), + username="username_example", + ), + }, + redis_stream={ + "key": IoArgoprojEventsV1alpha1RedisStreamEventSource( + consumer_group="consumer_group_example", + db=1, + filter=IoArgoprojEventsV1alpha1EventSourceFilter( + expression="expression_example", + ), + host_address="host_address_example", + max_msg_count_per_read=1, + metadata={ + "key": "key_example", + }, + password=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + streams=[ + "streams_example", + ], + tls=IoArgoprojEventsV1alpha1TLSConfig( + ca_cert_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + client_cert_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + client_key_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + insecure_skip_verify=True, + ), + username="username_example", ), }, replicas=1, @@ -3687,6 +3811,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -3713,6 +3838,7 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + endpoint="endpoint_example", filter=IoArgoprojEventsV1alpha1EventSourceFilter( expression="expression_example", ), @@ -3735,6 +3861,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -3779,6 +3906,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), wait_time_seconds="wait_time_seconds_example", ), }, @@ -3810,6 +3942,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -3850,6 +3983,7 @@ with argo_workflows.ApiClient(configuration) as api_client: optional=True, ), endpoint="endpoint_example", + max_payload_size="max_payload_size_example", metadata={ "key": "key_example", }, @@ -4780,29 +4914,35 @@ with argo_workflows.ApiClient(configuration) as api_client: ], ), webhook={ - "key": IoArgoprojEventsV1alpha1WebhookContext( - auth_secret=SecretKeySelector( - key="key_example", - name="name_example", - optional=True, - ), - endpoint="endpoint_example", - metadata={ - "key": "key_example", - }, - method="method_example", - port="port_example", - server_cert_secret=SecretKeySelector( - key="key_example", - name="name_example", - optional=True, + "key": IoArgoprojEventsV1alpha1WebhookEventSource( + filter=IoArgoprojEventsV1alpha1EventSourceFilter( + expression="expression_example", ), - server_key_secret=SecretKeySelector( - key="key_example", - name="name_example", - optional=True, + webhook_context=IoArgoprojEventsV1alpha1WebhookContext( + auth_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + endpoint="endpoint_example", + max_payload_size="max_payload_size_example", + metadata={ + "key": "key_example", + }, + method="method_example", + port="port_example", + server_cert_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + server_key_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), + url="url_example", ), - url="url_example", ), }, ), diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.md index 53514f514343..521eff0b0d48 100644 --- a/sdks/python/client/docs/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.md +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**args** | **[str]** | | [optional] **operation** | **str** | | [optional] **parameters** | [**[IoArgoprojEventsV1alpha1TriggerParameter]**](IoArgoprojEventsV1alpha1TriggerParameter.md) | | [optional] **source** | [**IoArgoprojEventsV1alpha1ArtifactLocation**](IoArgoprojEventsV1alpha1ArtifactLocation.md) | | [optional] diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1BitbucketAuth.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1BitbucketAuth.md index be49c8695355..ae1fa15c976a 100644 --- a/sdks/python/client/docs/IoArgoprojEventsV1alpha1BitbucketAuth.md +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1BitbucketAuth.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **basic** | [**IoArgoprojEventsV1alpha1BitbucketBasicAuth**](IoArgoprojEventsV1alpha1BitbucketBasicAuth.md) | | [optional] -**token** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] +**oauth_token** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1BitbucketEventSource.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1BitbucketEventSource.md index 1ba89891c81f..dc850e57011b 100644 --- a/sdks/python/client/docs/IoArgoprojEventsV1alpha1BitbucketEventSource.md +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1BitbucketEventSource.md @@ -9,9 +9,10 @@ Name | Type | Description | Notes **events** | **[str]** | Events this webhook is subscribed to. | [optional] **filter** | [**IoArgoprojEventsV1alpha1EventSourceFilter**](IoArgoprojEventsV1alpha1EventSourceFilter.md) | | [optional] **metadata** | **{str: (str,)}** | | [optional] -**owner** | **str** | Owner of the repository. | [optional] +**owner** | **str** | | [optional] **project_key** | **str** | | [optional] -**repository_slug** | **str** | RepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. | [optional] +**repositories** | [**[IoArgoprojEventsV1alpha1BitbucketRepository]**](IoArgoprojEventsV1alpha1BitbucketRepository.md) | | [optional] +**repository_slug** | **str** | | [optional] **webhook** | [**IoArgoprojEventsV1alpha1WebhookContext**](IoArgoprojEventsV1alpha1WebhookContext.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1BitbucketRepository.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1BitbucketRepository.md new file mode 100644 index 000000000000..29cfa7e94f4c --- /dev/null +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1BitbucketRepository.md @@ -0,0 +1,13 @@ +# IoArgoprojEventsV1alpha1BitbucketRepository + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**owner** | **str** | | [optional] +**repository_slug** | **str** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1EventDependencyFilter.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1EventDependencyFilter.md index e3bf294b20c8..cde7363bffdc 100644 --- a/sdks/python/client/docs/IoArgoprojEventsV1alpha1EventDependencyFilter.md +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1EventDependencyFilter.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **data_logical_operator** | **str** | DataLogicalOperator defines how multiple Data filters (if defined) are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&). | [optional] **expr_logical_operator** | **str** | ExprLogicalOperator defines how multiple Exprs filters (if defined) are evaluated together. Available values: and (&&), or (||) Is optional and if left blank treated as and (&&). | [optional] **exprs** | [**[IoArgoprojEventsV1alpha1ExprFilter]**](IoArgoprojEventsV1alpha1ExprFilter.md) | Exprs contains the list of expressions evaluated against the event payload. | [optional] +**script** | **str** | Script refers to a Lua script evaluated to determine the validity of an io.argoproj.workflow.v1alpha1. | [optional] **time** | [**IoArgoprojEventsV1alpha1TimeFilter**](IoArgoprojEventsV1alpha1TimeFilter.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1EventSourceSpec.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1EventSourceSpec.md index cedd333028d9..1977f3870317 100644 --- a/sdks/python/client/docs/IoArgoprojEventsV1alpha1EventSourceSpec.md +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1EventSourceSpec.md @@ -24,6 +24,7 @@ Name | Type | Description | Notes **pub_sub** | [**{str: (IoArgoprojEventsV1alpha1PubSubEventSource,)}**](IoArgoprojEventsV1alpha1PubSubEventSource.md) | | [optional] **pulsar** | [**{str: (IoArgoprojEventsV1alpha1PulsarEventSource,)}**](IoArgoprojEventsV1alpha1PulsarEventSource.md) | | [optional] **redis** | [**{str: (IoArgoprojEventsV1alpha1RedisEventSource,)}**](IoArgoprojEventsV1alpha1RedisEventSource.md) | | [optional] +**redis_stream** | [**{str: (IoArgoprojEventsV1alpha1RedisStreamEventSource,)}**](IoArgoprojEventsV1alpha1RedisStreamEventSource.md) | | [optional] **replicas** | **int** | | [optional] **resource** | [**{str: (IoArgoprojEventsV1alpha1ResourceEventSource,)}**](IoArgoprojEventsV1alpha1ResourceEventSource.md) | | [optional] **service** | [**IoArgoprojEventsV1alpha1Service**](IoArgoprojEventsV1alpha1Service.md) | | [optional] @@ -33,7 +34,7 @@ Name | Type | Description | Notes **storage_grid** | [**{str: (IoArgoprojEventsV1alpha1StorageGridEventSource,)}**](IoArgoprojEventsV1alpha1StorageGridEventSource.md) | | [optional] **stripe** | [**{str: (IoArgoprojEventsV1alpha1StripeEventSource,)}**](IoArgoprojEventsV1alpha1StripeEventSource.md) | | [optional] **template** | [**IoArgoprojEventsV1alpha1Template**](IoArgoprojEventsV1alpha1Template.md) | | [optional] -**webhook** | [**{str: (IoArgoprojEventsV1alpha1WebhookContext,)}**](IoArgoprojEventsV1alpha1WebhookContext.md) | | [optional] +**webhook** | [**{str: (IoArgoprojEventsV1alpha1WebhookEventSource,)}**](IoArgoprojEventsV1alpha1WebhookEventSource.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1GitArtifact.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1GitArtifact.md index 6116f0e8dfa8..bde5a82c5c59 100644 --- a/sdks/python/client/docs/IoArgoprojEventsV1alpha1GitArtifact.md +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1GitArtifact.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **clone_directory** | **str** | Directory to clone the repository. We clone complete directory because GitArtifact is not limited to any specific Git service providers. Hence we don't use any specific git provider client. | [optional] **creds** | [**IoArgoprojEventsV1alpha1GitCreds**](IoArgoprojEventsV1alpha1GitCreds.md) | | [optional] **file_path** | **str** | | [optional] +**insecure_ignore_host_key** | **bool** | | [optional] **ref** | **str** | | [optional] **remote** | [**IoArgoprojEventsV1alpha1GitRemoteConfig**](IoArgoprojEventsV1alpha1GitRemoteConfig.md) | | [optional] **ssh_key_secret** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1KafkaEventSource.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1KafkaEventSource.md index 7a43ee20b8c1..bfb1bb76fac8 100644 --- a/sdks/python/client/docs/IoArgoprojEventsV1alpha1KafkaEventSource.md +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1KafkaEventSource.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**config** | **str** | Yaml format Sarama config for Kafka connection. It follows the struct of sarama.Config. See https://github.com/Shopify/sarama/blob/main/config.go e.g. consumer: fetch: min: 1 net: MaxOpenRequests: 5 +optional | [optional] **connection_backoff** | [**IoArgoprojEventsV1alpha1Backoff**](IoArgoprojEventsV1alpha1Backoff.md) | | [optional] **consumer_group** | [**IoArgoprojEventsV1alpha1KafkaConsumerGroup**](IoArgoprojEventsV1alpha1KafkaConsumerGroup.md) | | [optional] **filter** | [**IoArgoprojEventsV1alpha1EventSourceFilter**](IoArgoprojEventsV1alpha1EventSourceFilter.md) | | [optional] diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1RedisEventSource.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1RedisEventSource.md index b6e19c40b1a9..7b0d7ef8c9a6 100644 --- a/sdks/python/client/docs/IoArgoprojEventsV1alpha1RedisEventSource.md +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1RedisEventSource.md @@ -8,10 +8,12 @@ Name | Type | Description | Notes **db** | **int** | | [optional] **filter** | [**IoArgoprojEventsV1alpha1EventSourceFilter**](IoArgoprojEventsV1alpha1EventSourceFilter.md) | | [optional] **host_address** | **str** | | [optional] +**json_body** | **bool** | | [optional] **metadata** | **{str: (str,)}** | | [optional] **namespace** | **str** | | [optional] **password** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] **tls** | [**IoArgoprojEventsV1alpha1TLSConfig**](IoArgoprojEventsV1alpha1TLSConfig.md) | | [optional] +**username** | **str** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1RedisStreamEventSource.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1RedisStreamEventSource.md new file mode 100644 index 000000000000..3200d0d99e21 --- /dev/null +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1RedisStreamEventSource.md @@ -0,0 +1,21 @@ +# IoArgoprojEventsV1alpha1RedisStreamEventSource + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**consumer_group** | **str** | | [optional] +**db** | **int** | | [optional] +**filter** | [**IoArgoprojEventsV1alpha1EventSourceFilter**](IoArgoprojEventsV1alpha1EventSourceFilter.md) | | [optional] +**host_address** | **str** | | [optional] +**max_msg_count_per_read** | **int** | | [optional] +**metadata** | **{str: (str,)}** | | [optional] +**password** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] +**streams** | **[str]** | Streams to look for entries. XREADGROUP is used on all streams using a single consumer group. | [optional] +**tls** | [**IoArgoprojEventsV1alpha1TLSConfig**](IoArgoprojEventsV1alpha1TLSConfig.md) | | [optional] +**username** | **str** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1SNSEventSource.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1SNSEventSource.md index 9907198119c9..b0290d3e73f3 100644 --- a/sdks/python/client/docs/IoArgoprojEventsV1alpha1SNSEventSource.md +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1SNSEventSource.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **access_key** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] +**endpoint** | **str** | | [optional] **filter** | [**IoArgoprojEventsV1alpha1EventSourceFilter**](IoArgoprojEventsV1alpha1EventSourceFilter.md) | | [optional] **metadata** | **{str: (str,)}** | | [optional] **region** | **str** | | [optional] diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1SQSEventSource.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1SQSEventSource.md index c63348bdced8..fe350f9f4a95 100644 --- a/sdks/python/client/docs/IoArgoprojEventsV1alpha1SQSEventSource.md +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1SQSEventSource.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **region** | **str** | | [optional] **role_arn** | **str** | | [optional] **secret_key** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] +**session_token** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] **wait_time_seconds** | **str** | WaitTimeSeconds is The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1WebhookContext.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1WebhookContext.md index 6eaad000500d..4dfce684b23d 100644 --- a/sdks/python/client/docs/IoArgoprojEventsV1alpha1WebhookContext.md +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1WebhookContext.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **auth_secret** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] **endpoint** | **str** | | [optional] +**max_payload_size** | **str** | | [optional] **metadata** | **{str: (str,)}** | | [optional] **method** | **str** | | [optional] **port** | **str** | Port on which HTTP server is listening for incoming events. | [optional] diff --git a/sdks/python/client/docs/IoArgoprojEventsV1alpha1WebhookEventSource.md b/sdks/python/client/docs/IoArgoprojEventsV1alpha1WebhookEventSource.md new file mode 100644 index 000000000000..be3c1b1659a2 --- /dev/null +++ b/sdks/python/client/docs/IoArgoprojEventsV1alpha1WebhookEventSource.md @@ -0,0 +1,13 @@ +# IoArgoprojEventsV1alpha1WebhookEventSource + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**filter** | [**IoArgoprojEventsV1alpha1EventSourceFilter**](IoArgoprojEventsV1alpha1EventSourceFilter.md) | | [optional] +**webhook_context** | [**IoArgoprojEventsV1alpha1WebhookContext**](IoArgoprojEventsV1alpha1WebhookContext.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/python/client/docs/SensorServiceApi.md b/sdks/python/client/docs/SensorServiceApi.md index 6ada855bd6fb..7b2f4b2b2414 100644 --- a/sdks/python/client/docs/SensorServiceApi.md +++ b/sdks/python/client/docs/SensorServiceApi.md @@ -143,6 +143,7 @@ with argo_workflows.ApiClient(configuration) as api_client: ], ), ], + script="script_example", time=IoArgoprojEventsV1alpha1TimeFilter( start="start_example", stop="stop_example", @@ -1132,6 +1133,9 @@ with argo_workflows.ApiClient(configuration) as api_client: ), template=IoArgoprojEventsV1alpha1TriggerTemplate( argo_workflow=IoArgoprojEventsV1alpha1ArgoWorkflowTrigger( + args=[ + "args_example", + ], operation="operation_example", parameters=[ IoArgoprojEventsV1alpha1TriggerParameter( @@ -1172,6 +1176,7 @@ with argo_workflows.ApiClient(configuration) as api_client: ), ), file_path="file_path_example", + insecure_ignore_host_key=True, ref="ref_example", remote=IoArgoprojEventsV1alpha1GitRemoteConfig( name="name_example", @@ -1488,6 +1493,7 @@ with argo_workflows.ApiClient(configuration) as api_client: ), ), file_path="file_path_example", + insecure_ignore_host_key=True, ref="ref_example", remote=IoArgoprojEventsV1alpha1GitRemoteConfig( name="name_example", @@ -2381,6 +2387,7 @@ with argo_workflows.ApiClient(configuration) as api_client: ], ), ], + script="script_example", time=IoArgoprojEventsV1alpha1TimeFilter( start="start_example", stop="stop_example", @@ -3370,6 +3377,9 @@ with argo_workflows.ApiClient(configuration) as api_client: ), template=IoArgoprojEventsV1alpha1TriggerTemplate( argo_workflow=IoArgoprojEventsV1alpha1ArgoWorkflowTrigger( + args=[ + "args_example", + ], operation="operation_example", parameters=[ IoArgoprojEventsV1alpha1TriggerParameter( @@ -3410,6 +3420,7 @@ with argo_workflows.ApiClient(configuration) as api_client: ), ), file_path="file_path_example", + insecure_ignore_host_key=True, ref="ref_example", remote=IoArgoprojEventsV1alpha1GitRemoteConfig( name="name_example", @@ -3726,6 +3737,7 @@ with argo_workflows.ApiClient(configuration) as api_client: ), ), file_path="file_path_example", + insecure_ignore_host_key=True, ref="ref_example", remote=IoArgoprojEventsV1alpha1GitRemoteConfig( name="name_example",