diff --git a/api/api.pb.go b/api/api.pb.go index 0eb9763..a9a38f6 100644 --- a/api/api.pb.go +++ b/api/api.pb.go @@ -21,7 +21,9 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package -func init() { proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) } +func init() { + proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) +} var fileDescriptor_00212fb1f9d3bf1c = []byte{ // 265 bytes of a gzipped FileDescriptorProto diff --git a/api/auth.pb.go b/api/auth.pb.go index 271a4bc..a5c5acf 100644 --- a/api/auth.pb.go +++ b/api/auth.pb.go @@ -109,7 +109,9 @@ func init() { proto.RegisterType((*IsValidTokenRequest)(nil), "api.IsValidTokenRequest") } -func init() { proto.RegisterFile("auth.proto", fileDescriptor_8bbd6f3875b0e874) } +func init() { + proto.RegisterFile("auth.proto", fileDescriptor_8bbd6f3875b0e874) +} var fileDescriptor_8bbd6f3875b0e874 = []byte{ // 228 bytes of a gzipped FileDescriptorProto @@ -132,11 +134,11 @@ var fileDescriptor_8bbd6f3875b0e874 = []byte{ // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // AuthServiceClient is the client API for AuthService service. // @@ -146,10 +148,10 @@ type AuthServiceClient interface { } type authServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewAuthServiceClient(cc *grpc.ClientConn) AuthServiceClient { +func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient { return &authServiceClient{cc} } diff --git a/api/cron_workflow.pb.go b/api/cron_workflow.pb.go index 9b01341..c1dbccf 100644 --- a/api/cron_workflow.pb.go +++ b/api/cron_workflow.pb.go @@ -469,7 +469,9 @@ 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{ // 855 bytes of a gzipped FileDescriptorProto @@ -531,11 +533,11 @@ var fileDescriptor_989cccaad551a50c = []byte{ // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // CronWorkflowServiceClient is the client API for CronWorkflowService service. // @@ -553,10 +555,10 @@ type CronWorkflowServiceClient interface { } type cronWorkflowServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewCronWorkflowServiceClient(cc *grpc.ClientConn) CronWorkflowServiceClient { +func NewCronWorkflowServiceClient(cc grpc.ClientConnInterface) CronWorkflowServiceClient { return &cronWorkflowServiceClient{cc} } diff --git a/api/label.pb.go b/api/label.pb.go index 2da2f85..055b2a0 100644 --- a/api/label.pb.go +++ b/api/label.pb.go @@ -367,7 +367,9 @@ func init() { proto.RegisterType((*DeleteLabelRequest)(nil), "api.DeleteLabelRequest") } -func init() { proto.RegisterFile("label.proto", fileDescriptor_6100d2b5ae808f16) } +func init() { + proto.RegisterFile("label.proto", fileDescriptor_6100d2b5ae808f16) +} var fileDescriptor_6100d2b5ae808f16 = []byte{ // 247 bytes of a gzipped FileDescriptorProto diff --git a/api/metric.pb.go b/api/metric.pb.go index c8a2404..4a0f605 100644 --- a/api/metric.pb.go +++ b/api/metric.pb.go @@ -79,7 +79,9 @@ func init() { proto.RegisterType((*Metric)(nil), "api.Metric") } -func init() { proto.RegisterFile("metric.proto", fileDescriptor_da41641f55bff5df) } +func init() { + proto.RegisterFile("metric.proto", fileDescriptor_da41641f55bff5df) +} var fileDescriptor_da41641f55bff5df = []byte{ // 105 bytes of a gzipped FileDescriptorProto diff --git a/api/namespace.pb.go b/api/namespace.pb.go index 0b376e7..dc9d511 100644 --- a/api/namespace.pb.go +++ b/api/namespace.pb.go @@ -236,7 +236,9 @@ func init() { proto.RegisterType((*Namespace)(nil), "api.Namespace") } -func init() { proto.RegisterFile("namespace.proto", fileDescriptor_ecb1e126f615f5dd) } +func init() { + proto.RegisterFile("namespace.proto", fileDescriptor_ecb1e126f615f5dd) +} var fileDescriptor_ecb1e126f615f5dd = []byte{ // 341 bytes of a gzipped FileDescriptorProto @@ -266,11 +268,11 @@ var fileDescriptor_ecb1e126f615f5dd = []byte{ // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // NamespaceServiceClient is the client API for NamespaceService service. // @@ -281,10 +283,10 @@ type NamespaceServiceClient interface { } type namespaceServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewNamespaceServiceClient(cc *grpc.ClientConn) NamespaceServiceClient { +func NewNamespaceServiceClient(cc grpc.ClientConnInterface) NamespaceServiceClient { return &namespaceServiceClient{cc} } diff --git a/api/secret.pb.go b/api/secret.pb.go index 971f47b..b4e0a75 100644 --- a/api/secret.pb.go +++ b/api/secret.pb.go @@ -710,7 +710,9 @@ func init() { proto.RegisterMapType((map[string]string)(nil), "api.Secret.DataEntry") } -func init() { proto.RegisterFile("secret.proto", fileDescriptor_6acf428160d7a216) } +func init() { + proto.RegisterFile("secret.proto", fileDescriptor_6acf428160d7a216) +} var fileDescriptor_6acf428160d7a216 = []byte{ // 713 bytes of a gzipped FileDescriptorProto @@ -763,11 +765,11 @@ var fileDescriptor_6acf428160d7a216 = []byte{ // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // SecretServiceClient is the client API for SecretService service. // @@ -784,10 +786,10 @@ type SecretServiceClient interface { } type secretServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewSecretServiceClient(cc *grpc.ClientConn) SecretServiceClient { +func NewSecretServiceClient(cc grpc.ClientConnInterface) SecretServiceClient { return &secretServiceClient{cc} } diff --git a/api/workflow.pb.go b/api/workflow.pb.go index 3980430..2c1c2d1 100644 --- a/api/workflow.pb.go +++ b/api/workflow.pb.go @@ -1061,7 +1061,9 @@ func init() { proto.RegisterType((*ListFilesResponse)(nil), "api.ListFilesResponse") } -func init() { proto.RegisterFile("workflow.proto", fileDescriptor_892c7f566756b0be) } +func init() { + proto.RegisterFile("workflow.proto", fileDescriptor_892c7f566756b0be) +} var fileDescriptor_892c7f566756b0be = []byte{ // 1610 bytes of a gzipped FileDescriptorProto @@ -1170,11 +1172,11 @@ var fileDescriptor_892c7f566756b0be = []byte{ // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // WorkflowServiceClient is the client API for WorkflowService service. // @@ -1209,10 +1211,10 @@ type WorkflowServiceClient interface { } type workflowServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewWorkflowServiceClient(cc *grpc.ClientConn) WorkflowServiceClient { +func NewWorkflowServiceClient(cc grpc.ClientConnInterface) WorkflowServiceClient { return &workflowServiceClient{cc} } diff --git a/api/workflow_template.pb.go b/api/workflow_template.pb.go index fe5dc75..61a9e47 100644 --- a/api/workflow_template.pb.go +++ b/api/workflow_template.pb.go @@ -535,7 +535,9 @@ func init() { proto.RegisterType((*WorkflowTemplate)(nil), "api.WorkflowTemplate") } -func init() { proto.RegisterFile("workflow_template.proto", fileDescriptor_b9a07547748a96e8) } +func init() { + proto.RegisterFile("workflow_template.proto", fileDescriptor_b9a07547748a96e8) +} var fileDescriptor_b9a07547748a96e8 = []byte{ // 368 bytes of a gzipped FileDescriptorProto