forked from argoproj/argo-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
argo-kube-workflow-template-service-client.go
38 lines (28 loc) · 1.86 KB
/
argo-kube-workflow-template-service-client.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package apiclient
import (
"context"
"google.golang.org/grpc"
workflowtemplatepkg "github.com/argoproj/argo/pkg/apiclient/workflowtemplate"
"github.com/argoproj/argo/pkg/apis/workflow/v1alpha1"
)
type argoKubeWorkflowTemplateServiceClient struct {
delegate workflowtemplatepkg.WorkflowTemplateServiceServer
}
func (a argoKubeWorkflowTemplateServiceClient) CreateWorkflowTemplate(ctx context.Context, req *workflowtemplatepkg.WorkflowTemplateCreateRequest, _ ...grpc.CallOption) (*v1alpha1.WorkflowTemplate, error) {
return a.delegate.CreateWorkflowTemplate(ctx, req)
}
func (a argoKubeWorkflowTemplateServiceClient) GetWorkflowTemplate(ctx context.Context, req *workflowtemplatepkg.WorkflowTemplateGetRequest, _ ...grpc.CallOption) (*v1alpha1.WorkflowTemplate, error) {
return a.delegate.GetWorkflowTemplate(ctx, req)
}
func (a argoKubeWorkflowTemplateServiceClient) ListWorkflowTemplates(ctx context.Context, req *workflowtemplatepkg.WorkflowTemplateListRequest, _ ...grpc.CallOption) (*v1alpha1.WorkflowTemplateList, error) {
return a.delegate.ListWorkflowTemplates(ctx, req)
}
func (a argoKubeWorkflowTemplateServiceClient) UpdateWorkflowTemplate(ctx context.Context, req *workflowtemplatepkg.WorkflowTemplateUpdateRequest, _ ...grpc.CallOption) (*v1alpha1.WorkflowTemplate, error) {
return a.delegate.UpdateWorkflowTemplate(ctx, req)
}
func (a argoKubeWorkflowTemplateServiceClient) DeleteWorkflowTemplate(ctx context.Context, req *workflowtemplatepkg.WorkflowTemplateDeleteRequest, _ ...grpc.CallOption) (*workflowtemplatepkg.WorkflowTemplateDeleteResponse, error) {
return a.delegate.DeleteWorkflowTemplate(ctx, req)
}
func (a argoKubeWorkflowTemplateServiceClient) LintWorkflowTemplate(ctx context.Context, req *workflowtemplatepkg.WorkflowTemplateLintRequest, _ ...grpc.CallOption) (*v1alpha1.WorkflowTemplate, error) {
return a.delegate.LintWorkflowTemplate(ctx, req)
}