Skip to content

Commit

Permalink
Manifest method middlewares (#11)
Browse files Browse the repository at this point in the history
Manifest methods midlewwares
  • Loading branch information
petr-buchyn authored Dec 9, 2020
1 parent 6d0c2d6 commit bcdd1a4
Show file tree
Hide file tree
Showing 12 changed files with 470 additions and 18 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"ext-json": "*",
"symfony/yaml": "^5.2",
"dealroadshow/k8s-resources": "^1.16 || ^1.17 || ^1.18 || ^1.19",
"symfony/polyfill-php80": "^1.18"
"symfony/polyfill-php80": "^1.18",
"ocramius/proxy-manager": "^2.10"
},
"autoload": {
"psr-4": {
Expand Down
351 changes: 350 additions & 1 deletion composer.lock

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

2 changes: 1 addition & 1 deletion src/Core/Job/AbstractJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

abstract class AbstractJob extends AbstractManifest implements JobInterface
{
public function labelSelector(SelectorConfigurator $selector): void
public function selector(SelectorConfigurator $selector): void
{
}

Expand Down
2 changes: 1 addition & 1 deletion src/Core/Job/JobInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

interface JobInterface extends PodTemplateSpecInterface, ManifestInterface
{
public function labelSelector(SelectorConfigurator $selector): void;
public function selector(SelectorConfigurator $selector): void;
public function backoffLimit(): ?int;
public function activeDeadlineSeconds(): ?int;
public function ttlSecondsAfterFinished(): ?int;
Expand Down
Loading

0 comments on commit bcdd1a4

Please sign in to comment.