Skip to content

Commit

Permalink
chore: run codegen
Browse files Browse the repository at this point in the history
Signed-off-by: Hidde Beydals <[email protected]>
  • Loading branch information
hiddeco committed Dec 10, 2024
1 parent 2bf7df3 commit a985451
Show file tree
Hide file tree
Showing 12 changed files with 817 additions and 283 deletions.
781 changes: 518 additions & 263 deletions api/v1alpha1/generated.pb.go

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions api/v1alpha1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,33 @@ spec:
ErrorThreshold is reached.
type: string
type: object
task:
description: |-
Task is a reference to a PromotionTask that should be deflated into a
Promotion when it is built from a PromotionTemplate.
properties:
kind:
description: |-
Kind is the type of the PromotionTask. Can be either PromotionTask or
ClusterPromotionTask, default is PromotionTask.
enum:
- PromotionTask
- ClusterPromotionTask
type: string
name:
description: Name is the name of the (Cluster)PromotionTask.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
required:
- name
type: object
uses:
description: Uses identifies a runner that can execute this
step.
minLength: 1
type: string
required:
- uses
type: object
minItems: 1
type: array
Expand Down
24 changes: 22 additions & 2 deletions charts/kargo/resources/crds/kargo.akuity.io_promotions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,33 @@ spec:
ErrorThreshold is reached.
type: string
type: object
task:
description: |-
Task is a reference to a PromotionTask that should be deflated into a
Promotion when it is built from a PromotionTemplate.
properties:
kind:
description: |-
Kind is the type of the PromotionTask. Can be either PromotionTask or
ClusterPromotionTask, default is PromotionTask.
enum:
- PromotionTask
- ClusterPromotionTask
type: string
name:
description: Name is the name of the (Cluster)PromotionTask.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
required:
- name
type: object
uses:
description: Uses identifies a runner that can execute this
step.
minLength: 1
type: string
required:
- uses
type: object
type: array
vars:
Expand Down
24 changes: 22 additions & 2 deletions charts/kargo/resources/crds/kargo.akuity.io_promotiontasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,33 @@ spec:
ErrorThreshold is reached.
type: string
type: object
task:
description: |-
Task is a reference to a PromotionTask that should be deflated into a
Promotion when it is built from a PromotionTemplate.
properties:
kind:
description: |-
Kind is the type of the PromotionTask. Can be either PromotionTask or
ClusterPromotionTask, default is PromotionTask.
enum:
- PromotionTask
- ClusterPromotionTask
type: string
name:
description: Name is the name of the (Cluster)PromotionTask.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
required:
- name
type: object
uses:
description: Uses identifies a runner that can execute this
step.
minLength: 1
type: string
required:
- uses
type: object
minItems: 1
type: array
Expand Down
24 changes: 22 additions & 2 deletions charts/kargo/resources/crds/kargo.akuity.io_stages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,33 @@ spec:
ErrorThreshold is reached.
type: string
type: object
task:
description: |-
Task is a reference to a PromotionTask that should be deflated into a
Promotion when it is built from a PromotionTemplate.
properties:
kind:
description: |-
Kind is the type of the PromotionTask. Can be either PromotionTask or
ClusterPromotionTask, default is PromotionTask.
enum:
- PromotionTask
- ClusterPromotionTask
type: string
name:
description: Name is the name of the (Cluster)PromotionTask.
maxLength: 253
minLength: 1
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
required:
- name
type: object
uses:
description: Uses identifies a runner that can execute
this step.
minLength: 1
type: string
required:
- uses
type: object
minItems: 1
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,36 @@
},
"type": "object"
},
"task": {
"description": "Task is a reference to a PromotionTask that should be deflated into a\nPromotion when it is built from a PromotionTemplate.",
"properties": {
"kind": {
"description": "Kind is the type of the PromotionTask. Can be either PromotionTask or\nClusterPromotionTask, default is PromotionTask.",
"enum": [
"PromotionTask",
"ClusterPromotionTask"
],
"type": "string"
},
"name": {
"description": "Name is the name of the (Cluster)PromotionTask.",
"maxLength": 253,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"uses": {
"description": "Uses identifies a runner that can execute this step.",
"minLength": 1,
"type": "string"
}
},
"required": [
"uses"
],
"type": "object"
},
"minItems": 1,
Expand Down
27 changes: 24 additions & 3 deletions ui/src/gen/schema/promotions.kargo.akuity.io_v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,36 @@
},
"type": "object"
},
"task": {
"description": "Task is a reference to a PromotionTask that should be deflated into a\nPromotion when it is built from a PromotionTemplate.",
"properties": {
"kind": {
"description": "Kind is the type of the PromotionTask. Can be either PromotionTask or\nClusterPromotionTask, default is PromotionTask.",
"enum": [
"PromotionTask",
"ClusterPromotionTask"
],
"type": "string"
},
"name": {
"description": "Name is the name of the (Cluster)PromotionTask.",
"maxLength": 253,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"uses": {
"description": "Uses identifies a runner that can execute this step.",
"minLength": 1,
"type": "string"
}
},
"required": [
"uses"
],
"type": "object"
},
"type": "array"
Expand Down
27 changes: 24 additions & 3 deletions ui/src/gen/schema/promotiontasks.kargo.akuity.io_v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,36 @@
},
"type": "object"
},
"task": {
"description": "Task is a reference to a PromotionTask that should be deflated into a\nPromotion when it is built from a PromotionTemplate.",
"properties": {
"kind": {
"description": "Kind is the type of the PromotionTask. Can be either PromotionTask or\nClusterPromotionTask, default is PromotionTask.",
"enum": [
"PromotionTask",
"ClusterPromotionTask"
],
"type": "string"
},
"name": {
"description": "Name is the name of the (Cluster)PromotionTask.",
"maxLength": 253,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"uses": {
"description": "Uses identifies a runner that can execute this step.",
"minLength": 1,
"type": "string"
}
},
"required": [
"uses"
],
"type": "object"
},
"minItems": 1,
Expand Down
27 changes: 24 additions & 3 deletions ui/src/gen/schema/stages.kargo.akuity.io_v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,36 @@
},
"type": "object"
},
"task": {
"description": "Task is a reference to a PromotionTask that should be deflated into a\nPromotion when it is built from a PromotionTemplate.",
"properties": {
"kind": {
"description": "Kind is the type of the PromotionTask. Can be either PromotionTask or\nClusterPromotionTask, default is PromotionTask.",
"enum": [
"PromotionTask",
"ClusterPromotionTask"
],
"type": "string"
},
"name": {
"description": "Name is the name of the (Cluster)PromotionTask.",
"maxLength": 253,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"uses": {
"description": "Uses identifies a runner that can execute this step.",
"minLength": 1,
"type": "string"
}
},
"required": [
"uses"
],
"type": "object"
},
"minItems": 1,
Expand Down
Loading

0 comments on commit a985451

Please sign in to comment.