feat: Updated cron to return the active parameters

This commit is contained in:
Andrey Melnikov
2020-03-31 19:20:55 -07:00
parent 648ad4b694
commit 3fe93a64c9
12 changed files with 317 additions and 55 deletions

View File

@@ -461,9 +461,7 @@ func init() {
proto.RegisterType((*CronWorkflow)(nil), "api.CronWorkflow")
}
func init() {
proto.RegisterFile("cron_workflow.proto", fileDescriptor_989cccaad551a50c)
}
func init() { proto.RegisterFile("cron_workflow.proto", fileDescriptor_989cccaad551a50c) }
var fileDescriptor_989cccaad551a50c = []byte{
// 704 bytes of a gzipped FileDescriptorProto
@@ -515,11 +513,11 @@ var fileDescriptor_989cccaad551a50c = []byte{
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
const _ = grpc.SupportPackageIsVersion4
// CronWorkflowServiceClient is the client API for CronWorkflowService service.
//
@@ -533,10 +531,10 @@ type CronWorkflowServiceClient interface {
}
type cronWorkflowServiceClient struct {
cc grpc.ClientConnInterface
cc *grpc.ClientConn
}
func NewCronWorkflowServiceClient(cc grpc.ClientConnInterface) CronWorkflowServiceClient {
func NewCronWorkflowServiceClient(cc *grpc.ClientConn) CronWorkflowServiceClient {
return &cronWorkflowServiceClient{cc}
}