-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new job type for sync canary jobs
- Loading branch information
1 parent
603e32c
commit a2dd880
Showing
11 changed files
with
135 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ import ( | |
"github.com/flanksource/commons/logger" | ||
ctemplate "github.com/flanksource/commons/template" | ||
"github.com/flanksource/duty" | ||
dutyCtx "github.com/flanksource/duty/context" | ||
Check failure on line 14 in api/context/context.go GitHub Actions / test
|
||
"github.com/flanksource/duty/models" | ||
"github.com/flanksource/duty/types" | ||
"github.com/flanksource/kommons" | ||
|
@@ -19,6 +20,8 @@ import ( | |
"k8s.io/client-go/kubernetes" | ||
) | ||
|
||
var DefaultContext dutyCtx.Context | ||
|
||
type KubernetesContext struct { | ||
gocontext.Context | ||
Kommons *kommons.Client | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.