Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Add GetProjectLabels() to TaskExecutionMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Catalin Toda committed Oct 1, 2020
1 parent 210996c commit a5fe983
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 0 deletions.
1 change: 1 addition & 0 deletions go/tasks/pluginmachinery/core/exec_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ type TaskExecutionMetadata interface {
GetAnnotations() map[string]string
GetK8sServiceAccount() string
IsInterruptible() bool
GetProjectLabels() map[string]string
}
34 changes: 34 additions & 0 deletions go/tasks/pluginmachinery/core/mocks/task_execution_metadata.go

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

68 changes: 68 additions & 0 deletions go/tasks/pluginmachinery/k8s/mocks/plugin_context.go

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

0 comments on commit a5fe983

Please sign in to comment.