Moving the label messages out of workflow and into it's own proto file.

- CronWorkflows re-use the same message types.
Added endpoints for CronWorkflow label operations.
This commit is contained in:
Aleksandr Melnikov
2020-04-02 14:56:00 -07:00
parent 6e27a5c6b8
commit 58eb005851
12 changed files with 946 additions and 564 deletions

View File

@@ -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

View File

@@ -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}
}

View File

@@ -469,66 +469,75 @@ 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{
// 740 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xdd, 0x4e, 0xdb, 0x48,
0x14, 0xc7, 0x65, 0x42, 0x20, 0x39, 0xcb, 0xee, 0x2a, 0xc3, 0x12, 0x8c, 0x89, 0x10, 0xeb, 0x9b,
0x45, 0xab, 0x55, 0xbc, 0xb0, 0x5a, 0xe8, 0x87, 0x8a, 0xda, 0x02, 0x6a, 0x85, 0xb8, 0x40, 0x06,
0x84, 0xd4, 0x1b, 0xe4, 0x8c, 0x4f, 0xd2, 0x51, 0x9d, 0x19, 0xd7, 0x33, 0x86, 0x06, 0xc4, 0x4d,
0x55, 0xf5, 0xa6, 0xea, 0x55, 0xd5, 0x9b, 0xf6, 0x35, 0xfa, 0x0e, 0x7d, 0x80, 0xbe, 0x42, 0x1f,
0xa4, 0xf2, 0xc4, 0x09, 0x49, 0x9c, 0xa0, 0x14, 0x71, 0x65, 0x9f, 0xf9, 0x9f, 0x99, 0xf3, 0x9b,
0xaf, 0xff, 0xc0, 0x2c, 0x8d, 0x04, 0x3f, 0x39, 0x13, 0xd1, 0x8b, 0x7a, 0x20, 0xce, 0xaa, 0x61,
0x24, 0x94, 0x20, 0x39, 0x2f, 0x64, 0x56, 0xa5, 0x21, 0x44, 0x23, 0x40, 0xc7, 0x0b, 0x99, 0xe3,
0x71, 0x2e, 0x94, 0xa7, 0x98, 0xe0, 0xb2, 0x9d, 0x62, 0x2d, 0xa6, 0xaa, 0x8e, 0x6a, 0x71, 0xdd,
0xc1, 0x66, 0xa8, 0x5a, 0xa9, 0x38, 0xdf, 0x19, 0xef, 0x44, 0x61, 0x33, 0x0c, 0x3c, 0x85, 0xa9,
0xf0, 0x5b, 0x7f, 0x21, 0x6b, 0xa6, 0x89, 0x2a,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, 0x1e, 0xf2, 0xbf, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x74, 0x56, 0x62, 0x2e,
0x2b, 0x08, 0x00, 0x00,
// 855 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x41, 0x6f, 0xdc, 0x44,
0x14, 0xc7, 0xe5, 0x6c, 0x93, 0x66, 0x5f, 0x03, 0x28, 0x13, 0x36, 0xeb, 0x75, 0xa3, 0x28, 0xf8,
0x42, 0x54, 0xa1, 0x35, 0x0d, 0x22, 0x2d, 0x05, 0xa2, 0x86, 0xa4, 0x80, 0xaa, 0x1c, 0x2a, 0xa7,
0x55, 0x25, 0x2e, 0xd1, 0xec, 0xf8, 0xed, 0x32, 0xaa, 0x77, 0xc6, 0x78, 0xc6, 0x2d, 0xdb, 0x68,
0x2f, 0x08, 0x71, 0x03, 0x21, 0x21, 0x38, 0xc0, 0xd7, 0xe0, 0x3b, 0x70, 0x46, 0x7c, 0x05, 0x3e,
0x08, 0xf2, 0xd8, 0xde, 0xec, 0xae, 0xbd, 0x65, 0xb3, 0xcd, 0xc9, 0x7e, 0xf3, 0x9f, 0x99, 0xf7,
0xf3, 0xbc, 0xe7, 0xff, 0xc0, 0x06, 0x8b, 0xa5, 0x38, 0x7b, 0x21, 0xe3, 0x67, 0xdd, 0x50, 0xbe,
0x68, 0x47, 0xb1, 0xd4, 0x92, 0xd4, 0x68, 0xc4, 0x9d, 0xad, 0x9e, 0x94, 0xbd, 0x10, 0x3d, 0x1a,
0x71, 0x8f, 0x0a, 0x21, 0x35, 0xd5, 0x5c, 0x0a, 0x95, 0x4d, 0x71, 0x6e, 0xe6, 0xaa, 0x89, 0x3a,
0x49, 0xd7, 0xc3, 0x7e, 0xa4, 0x07, 0xb9, 0xd8, 0x2c, 0xf6, 0x3b, 0xd3, 0xd8, 0x8f, 0x42, 0xaa,
0x31, 0x17, 0xde, 0x9c, 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 0x43, 0xf3, 0x29,
0x1f, 0xdf, 0xfa, 0x68, 0x7e, 0x3c, 0x73, 0xae, 0x9e, 0x2e, 0xb2, 0xa5, 0x5d, 0xdf, 0x98, 0xaa,
0xe3, 0x49, 0x7a, 0x6b, 0x2b, 0xd2, 0x28, 0x6a, 0x9c, 0xc5, 0x17, 0x2c, 0x53, 0xc3, 0xf9, 0xb1,
0x1e, 0x18, 0x96, 0xbb, 0x64, 0xff, 0xb2, 0x2c, 0x61, 0x96, 0xee, 0x27, 0x0b, 0x1a, 0x87, 0x41,
0x30, 0x13, 0xe4, 0x30, 0x08, 0xe6, 0x03, 0xf9, 0xdc, 0x80, 0xdc, 0x77, 0x17, 0x04, 0xb9, 0xb7,
0x92, 0x03, 0xfd, 0x66, 0x41, 0xcb, 0xc7, 0x28, 0xa4, 0x0c, 0x2b, 0xa0, 0x5a, 0x26, 0x7b, 0xae,
0x5f, 0x0a, 0xcc, 0x79, 0x5d, 0xb0, 0x9f, 0x2d, 0x68, 0x1e, 0x63, 0x88, 0xba, 0xcc, 0x45, 0x9a,
0x26, 0x77, 0xa6, 0x9a, 0x91, 0xff, 0x83, 0xca, 0x2d, 0xe2, 0xd6, 0x27, 0x8b, 0x41, 0x79, 0xe7,
0xcf, 0x70, 0x30, 0xec, 0xac, 0x98, 0xc6, 0xfc, 0xe0, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe9,
0x77, 0xb5, 0xc0, 0x7e, 0x0a, 0x00, 0x00,
}
// 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.
//
@@ -539,13 +548,17 @@ type CronWorkflowServiceClient interface {
GetCronWorkflow(ctx context.Context, in *GetCronWorkflowRequest, opts ...grpc.CallOption) (*CronWorkflow, error)
ListCronWorkflows(ctx context.Context, in *ListCronWorkflowRequest, opts ...grpc.CallOption) (*ListCronWorkflowsResponse, error)
TerminateCronWorkflow(ctx context.Context, in *TerminateCronWorkflowRequest, opts ...grpc.CallOption) (*empty.Empty, error)
GetCronWorkflowLabels(ctx context.Context, in *GetLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error)
AddCronWorkflowLabels(ctx context.Context, in *AddLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error)
ReplaceCronWorkflowLabels(ctx context.Context, in *ReplaceLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error)
DeleteCronWorkflowLabel(ctx context.Context, in *DeleteLabelRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error)
}
type cronWorkflowServiceClient struct {
cc *grpc.ClientConn
cc grpc.ClientConnInterface
}
func NewCronWorkflowServiceClient(cc *grpc.ClientConn) CronWorkflowServiceClient {
func NewCronWorkflowServiceClient(cc grpc.ClientConnInterface) CronWorkflowServiceClient {
return &cronWorkflowServiceClient{cc}
}
@@ -594,6 +607,42 @@ func (c *cronWorkflowServiceClient) TerminateCronWorkflow(ctx context.Context, i
return out, nil
}
func (c *cronWorkflowServiceClient) GetCronWorkflowLabels(ctx context.Context, in *GetLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) {
out := new(GetLabelsResponse)
err := c.cc.Invoke(ctx, "/api.CronWorkflowService/GetCronWorkflowLabels", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *cronWorkflowServiceClient) AddCronWorkflowLabels(ctx context.Context, in *AddLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) {
out := new(GetLabelsResponse)
err := c.cc.Invoke(ctx, "/api.CronWorkflowService/AddCronWorkflowLabels", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *cronWorkflowServiceClient) ReplaceCronWorkflowLabels(ctx context.Context, in *ReplaceLabelsRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) {
out := new(GetLabelsResponse)
err := c.cc.Invoke(ctx, "/api.CronWorkflowService/ReplaceCronWorkflowLabels", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *cronWorkflowServiceClient) DeleteCronWorkflowLabel(ctx context.Context, in *DeleteLabelRequest, opts ...grpc.CallOption) (*GetLabelsResponse, error) {
out := new(GetLabelsResponse)
err := c.cc.Invoke(ctx, "/api.CronWorkflowService/DeleteCronWorkflowLabel", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// CronWorkflowServiceServer is the server API for CronWorkflowService service.
type CronWorkflowServiceServer interface {
CreateCronWorkflow(context.Context, *CreateCronWorkflowRequest) (*CronWorkflow, error)
@@ -601,6 +650,10 @@ type CronWorkflowServiceServer interface {
GetCronWorkflow(context.Context, *GetCronWorkflowRequest) (*CronWorkflow, error)
ListCronWorkflows(context.Context, *ListCronWorkflowRequest) (*ListCronWorkflowsResponse, error)
TerminateCronWorkflow(context.Context, *TerminateCronWorkflowRequest) (*empty.Empty, error)
GetCronWorkflowLabels(context.Context, *GetLabelsRequest) (*GetLabelsResponse, error)
AddCronWorkflowLabels(context.Context, *AddLabelsRequest) (*GetLabelsResponse, error)
ReplaceCronWorkflowLabels(context.Context, *ReplaceLabelsRequest) (*GetLabelsResponse, error)
DeleteCronWorkflowLabel(context.Context, *DeleteLabelRequest) (*GetLabelsResponse, error)
}
// UnimplementedCronWorkflowServiceServer can be embedded to have forward compatible implementations.
@@ -622,6 +675,18 @@ func (*UnimplementedCronWorkflowServiceServer) ListCronWorkflows(ctx context.Con
func (*UnimplementedCronWorkflowServiceServer) TerminateCronWorkflow(ctx context.Context, req *TerminateCronWorkflowRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method TerminateCronWorkflow not implemented")
}
func (*UnimplementedCronWorkflowServiceServer) GetCronWorkflowLabels(ctx context.Context, req *GetLabelsRequest) (*GetLabelsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetCronWorkflowLabels not implemented")
}
func (*UnimplementedCronWorkflowServiceServer) AddCronWorkflowLabels(ctx context.Context, req *AddLabelsRequest) (*GetLabelsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AddCronWorkflowLabels not implemented")
}
func (*UnimplementedCronWorkflowServiceServer) ReplaceCronWorkflowLabels(ctx context.Context, req *ReplaceLabelsRequest) (*GetLabelsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ReplaceCronWorkflowLabels not implemented")
}
func (*UnimplementedCronWorkflowServiceServer) DeleteCronWorkflowLabel(ctx context.Context, req *DeleteLabelRequest) (*GetLabelsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteCronWorkflowLabel not implemented")
}
func RegisterCronWorkflowServiceServer(s *grpc.Server, srv CronWorkflowServiceServer) {
s.RegisterService(&_CronWorkflowService_serviceDesc, srv)
@@ -717,6 +782,78 @@ func _CronWorkflowService_TerminateCronWorkflow_Handler(srv interface{}, ctx con
return interceptor(ctx, in, info, handler)
}
func _CronWorkflowService_GetCronWorkflowLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetLabelsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CronWorkflowServiceServer).GetCronWorkflowLabels(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.CronWorkflowService/GetCronWorkflowLabels",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CronWorkflowServiceServer).GetCronWorkflowLabels(ctx, req.(*GetLabelsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CronWorkflowService_AddCronWorkflowLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AddLabelsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CronWorkflowServiceServer).AddCronWorkflowLabels(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.CronWorkflowService/AddCronWorkflowLabels",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CronWorkflowServiceServer).AddCronWorkflowLabels(ctx, req.(*AddLabelsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CronWorkflowService_ReplaceCronWorkflowLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ReplaceLabelsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CronWorkflowServiceServer).ReplaceCronWorkflowLabels(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.CronWorkflowService/ReplaceCronWorkflowLabels",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CronWorkflowServiceServer).ReplaceCronWorkflowLabels(ctx, req.(*ReplaceLabelsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CronWorkflowService_DeleteCronWorkflowLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteLabelRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CronWorkflowServiceServer).DeleteCronWorkflowLabel(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.CronWorkflowService/DeleteCronWorkflowLabel",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CronWorkflowServiceServer).DeleteCronWorkflowLabel(ctx, req.(*DeleteLabelRequest))
}
return interceptor(ctx, in, info, handler)
}
var _CronWorkflowService_serviceDesc = grpc.ServiceDesc{
ServiceName: "api.CronWorkflowService",
HandlerType: (*CronWorkflowServiceServer)(nil),
@@ -741,6 +878,22 @@ var _CronWorkflowService_serviceDesc = grpc.ServiceDesc{
MethodName: "TerminateCronWorkflow",
Handler: _CronWorkflowService_TerminateCronWorkflow_Handler,
},
{
MethodName: "GetCronWorkflowLabels",
Handler: _CronWorkflowService_GetCronWorkflowLabels_Handler,
},
{
MethodName: "AddCronWorkflowLabels",
Handler: _CronWorkflowService_AddCronWorkflowLabels_Handler,
},
{
MethodName: "ReplaceCronWorkflowLabels",
Handler: _CronWorkflowService_ReplaceCronWorkflowLabels_Handler,
},
{
MethodName: "DeleteCronWorkflowLabel",
Handler: _CronWorkflowService_DeleteCronWorkflowLabel_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cron_workflow.proto",

View File

@@ -505,6 +505,364 @@ func local_request_CronWorkflowService_TerminateCronWorkflow_0(ctx context.Conte
}
func request_CronWorkflowService_GetCronWorkflowLabels_0(ctx context.Context, marshaler runtime.Marshaler, client CronWorkflowServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq GetLabelsRequest
var metadata runtime.ServerMetadata
var (
val string
ok bool
err error
_ = err
)
val, ok = pathParams["namespace"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "namespace")
}
protoReq.Namespace, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "namespace", err)
}
val, ok = pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
}
protoReq.Name, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
}
msg, err := client.GetCronWorkflowLabels(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
func local_request_CronWorkflowService_GetCronWorkflowLabels_0(ctx context.Context, marshaler runtime.Marshaler, server CronWorkflowServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq GetLabelsRequest
var metadata runtime.ServerMetadata
var (
val string
ok bool
err error
_ = err
)
val, ok = pathParams["namespace"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "namespace")
}
protoReq.Namespace, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "namespace", err)
}
val, ok = pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
}
protoReq.Name, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
}
msg, err := server.GetCronWorkflowLabels(ctx, &protoReq)
return msg, metadata, err
}
func request_CronWorkflowService_AddCronWorkflowLabels_0(ctx context.Context, marshaler runtime.Marshaler, client CronWorkflowServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq AddLabelsRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
if berr != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
}
if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Labels); err != nil && err != io.EOF {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
var (
val string
ok bool
err error
_ = err
)
val, ok = pathParams["namespace"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "namespace")
}
protoReq.Namespace, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "namespace", err)
}
val, ok = pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
}
protoReq.Name, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
}
msg, err := client.AddCronWorkflowLabels(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
func local_request_CronWorkflowService_AddCronWorkflowLabels_0(ctx context.Context, marshaler runtime.Marshaler, server CronWorkflowServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq AddLabelsRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
if berr != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
}
if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Labels); err != nil && err != io.EOF {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
var (
val string
ok bool
err error
_ = err
)
val, ok = pathParams["namespace"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "namespace")
}
protoReq.Namespace, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "namespace", err)
}
val, ok = pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
}
protoReq.Name, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
}
msg, err := server.AddCronWorkflowLabels(ctx, &protoReq)
return msg, metadata, err
}
func request_CronWorkflowService_ReplaceCronWorkflowLabels_0(ctx context.Context, marshaler runtime.Marshaler, client CronWorkflowServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq ReplaceLabelsRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
if berr != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
}
if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Labels); err != nil && err != io.EOF {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
var (
val string
ok bool
err error
_ = err
)
val, ok = pathParams["namespace"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "namespace")
}
protoReq.Namespace, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "namespace", err)
}
val, ok = pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
}
protoReq.Name, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
}
msg, err := client.ReplaceCronWorkflowLabels(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
func local_request_CronWorkflowService_ReplaceCronWorkflowLabels_0(ctx context.Context, marshaler runtime.Marshaler, server CronWorkflowServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq ReplaceLabelsRequest
var metadata runtime.ServerMetadata
newReader, berr := utilities.IOReaderFactory(req.Body)
if berr != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
}
if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Labels); err != nil && err != io.EOF {
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
}
var (
val string
ok bool
err error
_ = err
)
val, ok = pathParams["namespace"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "namespace")
}
protoReq.Namespace, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "namespace", err)
}
val, ok = pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
}
protoReq.Name, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
}
msg, err := server.ReplaceCronWorkflowLabels(ctx, &protoReq)
return msg, metadata, err
}
func request_CronWorkflowService_DeleteCronWorkflowLabel_0(ctx context.Context, marshaler runtime.Marshaler, client CronWorkflowServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq DeleteLabelRequest
var metadata runtime.ServerMetadata
var (
val string
ok bool
err error
_ = err
)
val, ok = pathParams["namespace"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "namespace")
}
protoReq.Namespace, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "namespace", err)
}
val, ok = pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
}
protoReq.Name, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
}
val, ok = pathParams["key"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key")
}
protoReq.Key, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err)
}
msg, err := client.DeleteCronWorkflowLabel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
return msg, metadata, err
}
func local_request_CronWorkflowService_DeleteCronWorkflowLabel_0(ctx context.Context, marshaler runtime.Marshaler, server CronWorkflowServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq DeleteLabelRequest
var metadata runtime.ServerMetadata
var (
val string
ok bool
err error
_ = err
)
val, ok = pathParams["namespace"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "namespace")
}
protoReq.Namespace, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "namespace", err)
}
val, ok = pathParams["name"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name")
}
protoReq.Name, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err)
}
val, ok = pathParams["key"]
if !ok {
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key")
}
protoReq.Key, err = runtime.String(val)
if err != nil {
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err)
}
msg, err := server.DeleteCronWorkflowLabel(ctx, &protoReq)
return msg, metadata, err
}
// RegisterCronWorkflowServiceHandlerServer registers the http handlers for service CronWorkflowService to "mux".
// UnaryRPC :call CronWorkflowServiceServer directly.
// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
@@ -630,6 +988,86 @@ func RegisterCronWorkflowServiceHandlerServer(ctx context.Context, mux *runtime.
})
mux.Handle("GET", pattern_CronWorkflowService_GetCronWorkflowLabels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
resp, md, err := local_request_CronWorkflowService_GetCronWorkflowLabels_0(rctx, inboundMarshaler, server, req, pathParams)
ctx = runtime.NewServerMetadataContext(ctx, md)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
forward_CronWorkflowService_GetCronWorkflowLabels_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
mux.Handle("POST", pattern_CronWorkflowService_AddCronWorkflowLabels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
resp, md, err := local_request_CronWorkflowService_AddCronWorkflowLabels_0(rctx, inboundMarshaler, server, req, pathParams)
ctx = runtime.NewServerMetadataContext(ctx, md)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
forward_CronWorkflowService_AddCronWorkflowLabels_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
mux.Handle("PUT", pattern_CronWorkflowService_ReplaceCronWorkflowLabels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
resp, md, err := local_request_CronWorkflowService_ReplaceCronWorkflowLabels_0(rctx, inboundMarshaler, server, req, pathParams)
ctx = runtime.NewServerMetadataContext(ctx, md)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
forward_CronWorkflowService_ReplaceCronWorkflowLabels_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
mux.Handle("DELETE", pattern_CronWorkflowService_DeleteCronWorkflowLabel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
resp, md, err := local_request_CronWorkflowService_DeleteCronWorkflowLabel_0(rctx, inboundMarshaler, server, req, pathParams)
ctx = runtime.NewServerMetadataContext(ctx, md)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
forward_CronWorkflowService_DeleteCronWorkflowLabel_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
return nil
}
@@ -791,6 +1229,86 @@ func RegisterCronWorkflowServiceHandlerClient(ctx context.Context, mux *runtime.
})
mux.Handle("GET", pattern_CronWorkflowService_GetCronWorkflowLabels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
rctx, err := runtime.AnnotateContext(ctx, mux, req)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
resp, md, err := request_CronWorkflowService_GetCronWorkflowLabels_0(rctx, inboundMarshaler, client, req, pathParams)
ctx = runtime.NewServerMetadataContext(ctx, md)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
forward_CronWorkflowService_GetCronWorkflowLabels_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
mux.Handle("POST", pattern_CronWorkflowService_AddCronWorkflowLabels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
rctx, err := runtime.AnnotateContext(ctx, mux, req)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
resp, md, err := request_CronWorkflowService_AddCronWorkflowLabels_0(rctx, inboundMarshaler, client, req, pathParams)
ctx = runtime.NewServerMetadataContext(ctx, md)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
forward_CronWorkflowService_AddCronWorkflowLabels_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
mux.Handle("PUT", pattern_CronWorkflowService_ReplaceCronWorkflowLabels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
rctx, err := runtime.AnnotateContext(ctx, mux, req)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
resp, md, err := request_CronWorkflowService_ReplaceCronWorkflowLabels_0(rctx, inboundMarshaler, client, req, pathParams)
ctx = runtime.NewServerMetadataContext(ctx, md)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
forward_CronWorkflowService_ReplaceCronWorkflowLabels_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
mux.Handle("DELETE", pattern_CronWorkflowService_DeleteCronWorkflowLabel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
rctx, err := runtime.AnnotateContext(ctx, mux, req)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
resp, md, err := request_CronWorkflowService_DeleteCronWorkflowLabel_0(rctx, inboundMarshaler, client, req, pathParams)
ctx = runtime.NewServerMetadataContext(ctx, md)
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
forward_CronWorkflowService_DeleteCronWorkflowLabel_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
return nil
}
@@ -806,6 +1324,14 @@ var (
pattern_CronWorkflowService_ListCronWorkflows_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"apis", "v1beta1", "namespace", "cron_workflows", "workflow_template_uid"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_CronWorkflowService_TerminateCronWorkflow_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"apis", "v1beta1", "namespace", "cron_workflows", "name", "terminate"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_CronWorkflowService_GetCronWorkflowLabels_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"apis", "v1beta1", "namespace", "cron_workflows", "name", "labels"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_CronWorkflowService_AddCronWorkflowLabels_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"apis", "v1beta1", "namespace", "cron_workflows", "name", "labels"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_CronWorkflowService_ReplaceCronWorkflowLabels_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"apis", "v1beta1", "namespace", "cron_workflows", "name", "labels"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_CronWorkflowService_DeleteCronWorkflowLabel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"apis", "v1beta1", "namespace", "cron_workflows", "name", "labels", "key"}, "", runtime.AssumeColonVerbOpt(true)))
)
var (
@@ -820,4 +1346,12 @@ var (
forward_CronWorkflowService_ListCronWorkflows_1 = runtime.ForwardResponseMessage
forward_CronWorkflowService_TerminateCronWorkflow_0 = runtime.ForwardResponseMessage
forward_CronWorkflowService_GetCronWorkflowLabels_0 = runtime.ForwardResponseMessage
forward_CronWorkflowService_AddCronWorkflowLabels_0 = runtime.ForwardResponseMessage
forward_CronWorkflowService_ReplaceCronWorkflowLabels_0 = runtime.ForwardResponseMessage
forward_CronWorkflowService_DeleteCronWorkflowLabel_0 = runtime.ForwardResponseMessage
)

View File

@@ -7,6 +7,7 @@ import "google/protobuf/empty.proto";
import "workflow_template.proto";
import "workflow.proto";
import "metric.proto";
import "label.proto";
service CronWorkflowService {
rpc CreateCronWorkflow (CreateCronWorkflowRequest) returns (CronWorkflow) {
@@ -43,6 +44,32 @@ service CronWorkflowService {
delete: "/apis/v1beta1/{namespace}/cron_workflows/{name}/terminate"
};
}
rpc GetCronWorkflowLabels (GetLabelsRequest) returns (GetLabelsResponse) {
option (google.api.http) = {
get: "/apis/v1beta1/{namespace}/cron_workflows/{name}/labels"
};
}
rpc AddCronWorkflowLabels (AddLabelsRequest) returns (GetLabelsResponse) {
option (google.api.http) = {
post: "/apis/v1beta1/{namespace}/cron_workflows/{name}/labels"
body: "labels"
};
}
rpc ReplaceCronWorkflowLabels (ReplaceLabelsRequest) returns (GetLabelsResponse) {
option (google.api.http) = {
put: "/apis/v1beta1/{namespace}/cron_workflows/{name}/labels"
body: "labels"
};
}
rpc DeleteCronWorkflowLabel (DeleteLabelRequest) returns (GetLabelsResponse) {
option (google.api.http) = {
delete: "/apis/v1beta1/{namespace}/cron_workflows/{name}/labels/{key}"
};
}
}
message TerminateCronWorkflowRequest {

39
api/label.proto Normal file
View File

@@ -0,0 +1,39 @@
syntax = "proto3";
package api;
message KeyValue {
string key = 1;
string value = 2;
}
message Labels {
repeated KeyValue items = 1;
}
message AddLabelsRequest {
string namespace = 1;
string name = 2;
Labels labels = 3;
}
message ReplaceLabelsRequest {
string namespace = 1;
string name = 2;
Labels labels = 3;
}
message GetLabelsRequest {
string namespace = 1;
string name = 2;
}
message GetLabelsResponse {
repeated KeyValue labels = 1;
}
message DeleteLabelRequest {
string namespace = 1;
string name = 2;
string key = 3;
}

View File

@@ -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

View File

@@ -117,7 +117,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{
// 238 bytes of a gzipped FileDescriptorProto
@@ -140,11 +142,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.
//
@@ -154,10 +156,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}
}

View File

@@ -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}
}

View File

@@ -1040,343 +1040,6 @@ func (m *ListFilesResponse) GetParentPath() string {
return ""
}
type KeyValue struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *KeyValue) Reset() { *m = KeyValue{} }
func (m *KeyValue) String() string { return proto.CompactTextString(m) }
func (*KeyValue) ProtoMessage() {}
func (*KeyValue) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{18}
}
func (m *KeyValue) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyValue.Unmarshal(m, b)
}
func (m *KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyValue.Marshal(b, m, deterministic)
}
func (m *KeyValue) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyValue.Merge(m, src)
}
func (m *KeyValue) XXX_Size() int {
return xxx_messageInfo_KeyValue.Size(m)
}
func (m *KeyValue) XXX_DiscardUnknown() {
xxx_messageInfo_KeyValue.DiscardUnknown(m)
}
var xxx_messageInfo_KeyValue proto.InternalMessageInfo
func (m *KeyValue) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *KeyValue) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
type Labels struct {
Items []*KeyValue `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Labels) Reset() { *m = Labels{} }
func (m *Labels) String() string { return proto.CompactTextString(m) }
func (*Labels) ProtoMessage() {}
func (*Labels) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{19}
}
func (m *Labels) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Labels.Unmarshal(m, b)
}
func (m *Labels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Labels.Marshal(b, m, deterministic)
}
func (m *Labels) XXX_Merge(src proto.Message) {
xxx_messageInfo_Labels.Merge(m, src)
}
func (m *Labels) XXX_Size() int {
return xxx_messageInfo_Labels.Size(m)
}
func (m *Labels) XXX_DiscardUnknown() {
xxx_messageInfo_Labels.DiscardUnknown(m)
}
var xxx_messageInfo_Labels proto.InternalMessageInfo
func (m *Labels) GetItems() []*KeyValue {
if m != nil {
return m.Items
}
return nil
}
type AddLabelsRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Labels *Labels `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AddLabelsRequest) Reset() { *m = AddLabelsRequest{} }
func (m *AddLabelsRequest) String() string { return proto.CompactTextString(m) }
func (*AddLabelsRequest) ProtoMessage() {}
func (*AddLabelsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{20}
}
func (m *AddLabelsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddLabelsRequest.Unmarshal(m, b)
}
func (m *AddLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddLabelsRequest.Marshal(b, m, deterministic)
}
func (m *AddLabelsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddLabelsRequest.Merge(m, src)
}
func (m *AddLabelsRequest) XXX_Size() int {
return xxx_messageInfo_AddLabelsRequest.Size(m)
}
func (m *AddLabelsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_AddLabelsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_AddLabelsRequest proto.InternalMessageInfo
func (m *AddLabelsRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *AddLabelsRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *AddLabelsRequest) GetLabels() *Labels {
if m != nil {
return m.Labels
}
return nil
}
type ReplaceLabelsRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Labels *Labels `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReplaceLabelsRequest) Reset() { *m = ReplaceLabelsRequest{} }
func (m *ReplaceLabelsRequest) String() string { return proto.CompactTextString(m) }
func (*ReplaceLabelsRequest) ProtoMessage() {}
func (*ReplaceLabelsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{21}
}
func (m *ReplaceLabelsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplaceLabelsRequest.Unmarshal(m, b)
}
func (m *ReplaceLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplaceLabelsRequest.Marshal(b, m, deterministic)
}
func (m *ReplaceLabelsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplaceLabelsRequest.Merge(m, src)
}
func (m *ReplaceLabelsRequest) XXX_Size() int {
return xxx_messageInfo_ReplaceLabelsRequest.Size(m)
}
func (m *ReplaceLabelsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ReplaceLabelsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ReplaceLabelsRequest proto.InternalMessageInfo
func (m *ReplaceLabelsRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *ReplaceLabelsRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ReplaceLabelsRequest) GetLabels() *Labels {
if m != nil {
return m.Labels
}
return nil
}
type GetLabelsRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetLabelsRequest) Reset() { *m = GetLabelsRequest{} }
func (m *GetLabelsRequest) String() string { return proto.CompactTextString(m) }
func (*GetLabelsRequest) ProtoMessage() {}
func (*GetLabelsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{22}
}
func (m *GetLabelsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetLabelsRequest.Unmarshal(m, b)
}
func (m *GetLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetLabelsRequest.Marshal(b, m, deterministic)
}
func (m *GetLabelsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetLabelsRequest.Merge(m, src)
}
func (m *GetLabelsRequest) XXX_Size() int {
return xxx_messageInfo_GetLabelsRequest.Size(m)
}
func (m *GetLabelsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetLabelsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetLabelsRequest proto.InternalMessageInfo
func (m *GetLabelsRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *GetLabelsRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type GetLabelsResponse struct {
Labels []*KeyValue `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetLabelsResponse) Reset() { *m = GetLabelsResponse{} }
func (m *GetLabelsResponse) String() string { return proto.CompactTextString(m) }
func (*GetLabelsResponse) ProtoMessage() {}
func (*GetLabelsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{23}
}
func (m *GetLabelsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetLabelsResponse.Unmarshal(m, b)
}
func (m *GetLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetLabelsResponse.Marshal(b, m, deterministic)
}
func (m *GetLabelsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetLabelsResponse.Merge(m, src)
}
func (m *GetLabelsResponse) XXX_Size() int {
return xxx_messageInfo_GetLabelsResponse.Size(m)
}
func (m *GetLabelsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetLabelsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetLabelsResponse proto.InternalMessageInfo
func (m *GetLabelsResponse) GetLabels() []*KeyValue {
if m != nil {
return m.Labels
}
return nil
}
type DeleteLabelRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteLabelRequest) Reset() { *m = DeleteLabelRequest{} }
func (m *DeleteLabelRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteLabelRequest) ProtoMessage() {}
func (*DeleteLabelRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_892c7f566756b0be, []int{24}
}
func (m *DeleteLabelRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteLabelRequest.Unmarshal(m, b)
}
func (m *DeleteLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteLabelRequest.Marshal(b, m, deterministic)
}
func (m *DeleteLabelRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteLabelRequest.Merge(m, src)
}
func (m *DeleteLabelRequest) XXX_Size() int {
return xxx_messageInfo_DeleteLabelRequest.Size(m)
}
func (m *DeleteLabelRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteLabelRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteLabelRequest proto.InternalMessageInfo
func (m *DeleteLabelRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *DeleteLabelRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *DeleteLabelRequest) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func init() {
proto.RegisterType((*CreateWorkflowExecutionRequest)(nil), "api.CreateWorkflowExecutionRequest")
proto.RegisterType((*GetWorkflowExecutionRequest)(nil), "api.GetWorkflowExecutionRequest")
@@ -1396,135 +1059,124 @@ func init() {
proto.RegisterType((*File)(nil), "api.File")
proto.RegisterType((*ListFilesRequest)(nil), "api.ListFilesRequest")
proto.RegisterType((*ListFilesResponse)(nil), "api.ListFilesResponse")
proto.RegisterType((*KeyValue)(nil), "api.KeyValue")
proto.RegisterType((*Labels)(nil), "api.Labels")
proto.RegisterType((*AddLabelsRequest)(nil), "api.AddLabelsRequest")
proto.RegisterType((*ReplaceLabelsRequest)(nil), "api.ReplaceLabelsRequest")
proto.RegisterType((*GetLabelsRequest)(nil), "api.GetLabelsRequest")
proto.RegisterType((*GetLabelsResponse)(nil), "api.GetLabelsResponse")
proto.RegisterType((*DeleteLabelRequest)(nil), "api.DeleteLabelRequest")
}
func init() { proto.RegisterFile("workflow.proto", fileDescriptor_892c7f566756b0be) }
func init() {
proto.RegisterFile("workflow.proto", fileDescriptor_892c7f566756b0be)
}
var fileDescriptor_892c7f566756b0be = []byte{
// 1711 bytes of a gzipped FileDescriptorProto
0x1f,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0x68, 0x1a, 0xa0, 0x75, 0x1c, 0x00, 0x5f, 0x20, 0x38, 0x5b, 0x9b, 0x67, 0x35, 0xf8, 0x5a,
0x4f, 0x33, 0x3d, 0xaa, 0xcf, 0xdc, 0x6a, 0x1f, 0x9c, 0xca, 0xb2, 0xf5, 0x6e, 0xd9, 0x65, 0xff,
0xe3, 0xf7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x63, 0x83, 0x4e, 0x73, 0xa2, 0x1b, 0x00, 0x00,
// 1610 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x98, 0xcd, 0x6f, 0x1b, 0x45,
0x14, 0xc0, 0x35, 0x71, 0xd2, 0x26, 0x2f, 0x2d, 0xa4, 0xd3, 0x36, 0x71, 0xb6, 0xf9, 0xea, 0xf4,
0x83, 0x34, 0x02, 0x6f, 0x1b, 0x0a, 0x42, 0xa1, 0xa5, 0x4d, 0xf3, 0x45, 0x69, 0x4a, 0x8b, 0x9b,
0xd2, 0x8a, 0x0b, 0x4c, 0xec, 0x71, 0xb2, 0x8a, 0xbd, 0xbb, 0xec, 0x8e, 0x93, 0x06, 0xcb, 0x07,
0x3e, 0x0e, 0x9c, 0x10, 0x52, 0x11, 0xaa, 0x8a, 0x84, 0x8a, 0xc4, 0x81, 0x3f, 0x81, 0x13, 0x07,
0x04, 0x12, 0x12, 0xc7, 0x9e, 0x38, 0x71, 0x81, 0xff, 0x03, 0xcd, 0xec, 0xcc, 0x66, 0x6d, 0xef,
0x3a, 0xf1, 0x26, 0x9c, 0xbc, 0xf3, 0x66, 0x76, 0xde, 0xef, 0x7d, 0xcc, 0x9b, 0xb7, 0x86, 0x17,
0xb6, 0x1c, 0x6f, 0xa3, 0x54, 0x76, 0xb6, 0x72, 0xae, 0xe7, 0x70, 0x07, 0x67, 0xa8, 0x6b, 0x19,
0x23, 0x6b, 0x8e, 0xb3, 0x56, 0x66, 0x26, 0x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xae, 0xb2, 0xb2, 0x66, 0x5b, 0x62, 0x3c, 0x18, 0x37, 0xb2, 0x45, 0xc4, 0x29,
0x12, 0xbe, 0x95, 0xad, 0x1c, 0xe8, 0x7c, 0x82, 0xc0, 0x98, 0x2d, 0x16, 0xdb, 0x23, 0xcd, 0x16,
0x8b, 0x7b, 0x43, 0xba, 0x25, 0x91, 0x16, 0xc8, 0x7e, 0x90, 0x66, 0x0e, 0x29, 0xb4, 0x67, 0x08,
0xc6, 0xf2, 0xcc, 0x2d, 0xd3, 0x02, 0x4b, 0xc2, 0x1b, 0x56, 0x7d, 0x8b, 0x5c, 0xd4, 0x11, 0xa2,
0x71, 0x20, 0x88, 0x4f, 0x11, 0x8c, 0xcc, 0xb3, 0x32, 0xe3, 0x09, 0x84, 0x2a, 0xfb, 0x83, 0x25,
0x52, 0xb2, 0x1b, 0xde, 0x4d, 0x89, 0x37, 0x37, 0x35, 0xbb, 0x0f, 0x3c, 0x99, 0xfb, 0x75, 0x71,
0x12, 0x87, 0x63, 0xae, 0x90, 0x74, 0xc9, 0xd6, 0xc9, 0xe7, 0x40, 0xa4, 0x34, 0x34, 0xe4, 0xda,
0xb7, 0x08, 0x86, 0x23, 0xb9, 0x16, 0x0b, 0xb4, 0xe7, 0x54, 0x7b, 0x47, 0x02, 0xcd, 0x93, 0x7d,
0x00, 0x85, 0x61, 0xfc, 0x1e, 0xc1, 0x68, 0x53, 0xa6, 0x35, 0xc1, 0xa5, 0x48, 0x34, 0x05, 0x68,
0x1c, 0x04, 0xe0, 0x13, 0x04, 0xa7, 0x1a, 0xf3, 0xac, 0x81, 0xaf, 0xf3, 0x34, 0x53, 0x9f, 0xea,
0x53, 0xd7, 0xd3, 0xc3, 0x05, 0x59, 0xb6, 0x7a, 0x48, 0x76, 0xd9, 0xaf, 0xfe, 0x17, 0x00, 0x00,
0xff, 0xff, 0x24, 0x3b, 0x30, 0x18, 0x96, 0x19, 0x00, 0x00,
}
// 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.
//
@@ -1559,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}
}

View File

@@ -6,6 +6,7 @@ import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
import "workflow_template.proto";
import "metric.proto";
import "label.proto";
service WorkflowService {
// Creates a Workflow
@@ -283,39 +284,3 @@ message ListFilesResponse {
repeated File files = 1;
string parentPath = 2;
}
message KeyValue {
string key = 1;
string value = 2;
}
message Labels {
repeated KeyValue items = 1;
}
message AddLabelsRequest {
string namespace = 1;
string name = 2;
Labels labels = 3;
}
message ReplaceLabelsRequest {
string namespace = 1;
string name = 2;
Labels labels = 3;
}
message GetLabelsRequest {
string namespace = 1;
string name = 2;
}
message GetLabelsResponse {
repeated KeyValue labels = 1;
}
message DeleteLabelRequest {
string namespace = 1;
string name = 2;
string key = 3;
}

View File

@@ -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