-
Notifications
You must be signed in to change notification settings - Fork 3.2k
/
argo-kube-cron-workflow-service-client.go
48 lines (35 loc) · 2.28 KB
/
argo-kube-cron-workflow-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
39
40
41
42
43
44
45
46
47
48
package apiclient
import (
"context"
"google.golang.org/grpc"
cronworkflowpkg "github.com/argoproj/argo-workflows/v3/pkg/apiclient/cronworkflow"
"github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1"
)
type argoKubeCronWorkflowServiceClient struct {
delegate cronworkflowpkg.CronWorkflowServiceServer
}
var _ cronworkflowpkg.CronWorkflowServiceClient = &argoKubeCronWorkflowServiceClient{}
func (c *argoKubeCronWorkflowServiceClient) LintCronWorkflow(ctx context.Context, req *cronworkflowpkg.LintCronWorkflowRequest, _ ...grpc.CallOption) (*v1alpha1.CronWorkflow, error) {
return c.delegate.LintCronWorkflow(ctx, req)
}
func (c *argoKubeCronWorkflowServiceClient) CreateCronWorkflow(ctx context.Context, req *cronworkflowpkg.CreateCronWorkflowRequest, _ ...grpc.CallOption) (*v1alpha1.CronWorkflow, error) {
return c.delegate.CreateCronWorkflow(ctx, req)
}
func (c *argoKubeCronWorkflowServiceClient) ListCronWorkflows(ctx context.Context, req *cronworkflowpkg.ListCronWorkflowsRequest, _ ...grpc.CallOption) (*v1alpha1.CronWorkflowList, error) {
return c.delegate.ListCronWorkflows(ctx, req)
}
func (c *argoKubeCronWorkflowServiceClient) GetCronWorkflow(ctx context.Context, req *cronworkflowpkg.GetCronWorkflowRequest, _ ...grpc.CallOption) (*v1alpha1.CronWorkflow, error) {
return c.delegate.GetCronWorkflow(ctx, req)
}
func (c *argoKubeCronWorkflowServiceClient) UpdateCronWorkflow(ctx context.Context, req *cronworkflowpkg.UpdateCronWorkflowRequest, _ ...grpc.CallOption) (*v1alpha1.CronWorkflow, error) {
return c.delegate.UpdateCronWorkflow(ctx, req)
}
func (c *argoKubeCronWorkflowServiceClient) DeleteCronWorkflow(ctx context.Context, req *cronworkflowpkg.DeleteCronWorkflowRequest, _ ...grpc.CallOption) (*cronworkflowpkg.CronWorkflowDeletedResponse, error) {
return c.delegate.DeleteCronWorkflow(ctx, req)
}
func (c *argoKubeCronWorkflowServiceClient) ResumeCronWorkflow(ctx context.Context, req *cronworkflowpkg.CronWorkflowResumeRequest, _ ...grpc.CallOption) (*v1alpha1.CronWorkflow, error) {
return c.delegate.ResumeCronWorkflow(ctx, req)
}
func (c *argoKubeCronWorkflowServiceClient) SuspendCronWorkflow(ctx context.Context, req *cronworkflowpkg.CronWorkflowSuspendRequest, _ ...grpc.CallOption) (*v1alpha1.CronWorkflow, error) {
return c.delegate.SuspendCronWorkflow(ctx, req)
}