Skip to content

Commit

Permalink
feat: [TKC-2505] make test workflow templates implement kubelike (#5809)
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv authored Sep 4, 2024
1 parent df120b9 commit 915992b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pkg/api/v1/testkube/model_test_workflow_template_extended.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,19 @@ func (t TestWorkflowTemplates) Table() (header []string, output [][]string) {

return
}

func (w TestWorkflowTemplate) GetName() string {
return w.Name
}

func (w TestWorkflowTemplate) GetNamespace() string {
return w.Namespace
}

func (w TestWorkflowTemplate) GetLabels() map[string]string {
return w.Labels
}

func (w TestWorkflowTemplate) GetAnnotations() map[string]string {
return w.Annotations
}

0 comments on commit 915992b

Please sign in to comment.