diff --git a/Makefile b/Makefile index 72f29e01160a..a8865b0b222c 100644 --- a/Makefile +++ b/Makefile @@ -203,11 +203,18 @@ endif .PHONY: codegen codegen: # Generate code + # We need the vendor folder for compatibility + go mod vendor + ./hack/generate-proto.sh ./hack/update-codegen.sh make api/openapi-spec/swagger.json find . -path '*/mocks/*' -type f -not -path '*/vendor/*' -exec ./hack/update-mocks.sh {} ';' + rm -rf ./vendor + go mod tidy + + .PHONY: manifests manifests: status manifests/install.yaml manifests/namespace-install.yaml manifests/quick-start-mysql.yaml manifests/quick-start-postgres.yaml manifests/quick-start-no-db.yaml test/e2e/manifests/postgres.yaml test/e2e/manifests/mysql.yaml test/e2e/manifests/no-db.yaml diff --git a/pkg/apiclient/workflow/workflow.pb.go b/pkg/apiclient/workflow/workflow.pb.go index 407e0765ad6b..478efcffd66f 100644 --- a/pkg/apiclient/workflow/workflow.pb.go +++ b/pkg/apiclient/workflow/workflow.pb.go @@ -115,12 +115,14 @@ func (m *WorkflowCreateRequest) GetCreateOptions() *v1.CreateOptions { } type WorkflowGetRequest struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - GetOptions *v1.GetOptions `protobuf:"bytes,3,opt,name=getOptions,proto3" json:"getOptions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + GetOptions *v1.GetOptions `protobuf:"bytes,3,opt,name=getOptions,proto3" json:"getOptions,omitempty"` + // Fields to be included or excluded in the response. e.g. "spec,status.phase", "-status.nodes" + Fields string `protobuf:"bytes,4,opt,name=fields,proto3" json:"fields,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *WorkflowGetRequest) Reset() { *m = WorkflowGetRequest{} } @@ -177,12 +179,21 @@ func (m *WorkflowGetRequest) GetGetOptions() *v1.GetOptions { return nil } +func (m *WorkflowGetRequest) GetFields() string { + if m != nil { + return m.Fields + } + return "" +} + type WorkflowListRequest struct { - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - ListOptions *v1.ListOptions `protobuf:"bytes,2,opt,name=listOptions,proto3" json:"listOptions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + ListOptions *v1.ListOptions `protobuf:"bytes,2,opt,name=listOptions,proto3" json:"listOptions,omitempty"` + // Fields to be included or excluded in the response. e.g. "items.spec,items.status.phase", "-items.status.nodes" + Fields string `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *WorkflowListRequest) Reset() { *m = WorkflowListRequest{} } @@ -232,6 +243,13 @@ func (m *WorkflowListRequest) GetListOptions() *v1.ListOptions { return nil } +func (m *WorkflowListRequest) GetFields() string { + if m != nil { + return m.Fields + } + return "" +} + type WorkflowResubmitRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` @@ -933,74 +951,76 @@ func init() { } var fileDescriptor_1f6bb75f9e833cb6 = []byte{ - // 1071 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x97, 0xcf, 0x6e, 0xdc, 0x44, - 0x18, 0xc0, 0x35, 0xdb, 0xd0, 0x6e, 0x27, 0xcd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b2, 0x5b, 0x3b, - 0x05, 0x04, 0x27, 0x96, 0x4a, 0xef, 0xc9, 0x45, 0x7e, 0x55, 0x7f, 0xc7, 0xa8, 0xeb, 0x04, 0xd1, - 0xbe, 0x33, 0x29, 0x04, 0xe7, 0xaa, 0x2d, 0x97, 0xc5, 0x64, 0x8a, 0x22, 0xfc, 0x4b, 0x03, 0x3e, - 0xfb, 0x41, 0x26, 0x69, 0x27, 0x26, 0x0e, 0x27, 0x36, 0xf9, 0x68, 0x48, 0x12, 0x8e, 0x96, 0xe1, - 0x69, 0xea, 0x84, 0x24, 0x89, 0x1c, 0x97, 0xb4, 0xc1, 0x0a, 0x58, 0x3b, 0x6d, 0xe7, 0x0f, 0xd0, - 0x1d, 0xa8, 0xed, 0xd5, 0x6e, 0xac, 0x80, 0xb5, 0xc5, 0xad, 0x6b, 0x66, 0xce, 0x6c, 0x2a, 0x66, - 0xb9, 0x30, 0xa3, 0x03, 0xcf, 0x14, 0xcc, 0xa6, 0x36, 0xb9, 0x62, 0x36, 0x95, 0x6e, 0x5b, 0x8b, - 0x43, 0x1d, 0x08, 0x7d, 0x9a, 0x70, 0x87, 0xba, 0xe4, 0xe6, 0x6e, 0xfb, 0x84, 0xd4, 0x5c, 0x78, - 0x82, 0x30, 0x3c, 0x93, 0x90, 0x78, 0x44, 0xe2, 0xdd, 0x78, 0x6c, 0x0f, 0x69, 0x7b, 0x61, 0x05, - 0xac, 0x35, 0xed, 0xd2, 0x33, 0x74, 0x07, 0x2e, 0xb9, 0xf2, 0x6b, 0xde, 0x8d, 0xa4, 0x33, 0xda, - 0x4f, 0x48, 0xc6, 0x6d, 0x33, 0x35, 0x89, 0x59, 0xf4, 0x46, 0x8e, 0x27, 0xbc, 0x61, 0x8e, 0xba, - 0xe6, 0x4e, 0xf1, 0xaa, 0x5d, 0x96, 0x84, 0x1f, 0x02, 0x88, 0x14, 0xf5, 0x1e, 0xe1, 0xca, 0x5c, - 0x08, 0x2e, 0x08, 0xeb, 0x64, 0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, 0x76, 0x8d, 0x4b, 0x95, 0x60, 0x93, 0x54, 0xb7, 0xa0, 0xfd, 0x15, - 0xc0, 0xa7, 0xf4, 0xd4, 0xa5, 0x79, 0xf1, 0x24, 0xef, 0xf1, 0xd1, 0xac, 0x2e, 0xf1, 0xeb, 0x92, - 0x78, 0xdb, 0x30, 0x2b, 0x11, 0x73, 0xa5, 0x5d, 0x30, 0x7f, 0x0b, 0xe0, 0x19, 0xd1, 0xd9, 0x34, - 0xee, 0xd4, 0x1a, 0x48, 0x1f, 0x55, 0xd4, 0x6e, 0x48, 0xd2, 0x97, 0x31, 0x9e, 0x4d, 0x1a, 0xf8, - 0x54, 0x86, 0xea, 0x18, 0x9e, 0x4a, 0x67, 0xb5, 0x64, 0x5a, 0xe3, 0xc8, 0xc7, 0x48, 0x03, 0xe5, - 0xa7, 0xaa, 0xe1, 0xe3, 0xab, 0x52, 0xd7, 0x65, 0xb4, 0x55, 0xc9, 0x2a, 0x0f, 0xb2, 0x9e, 0x7f, - 0x68, 0x05, 0xcc, 0xdb, 0x04, 0x6f, 0x5e, 0xfb, 0xed, 0xa8, 0x03, 0x7e, 0x3f, 0xea, 0x80, 0x3f, - 0x8f, 0x3a, 0xe0, 0x43, 0xeb, 0xbf, 0x7e, 0x8b, 0x8f, 0xfd, 0xe3, 0xf7, 0x4f, 0xca, 0xbf, 0xdc, - 0xed, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xcf, 0x7b, 0x3c, 0x26, 0x04, 0x10, 0x00, 0x00, + // 1095 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x98, 0xdf, 0x6e, 0xdc, 0xc4, + 0x17, 0xc7, 0x35, 0x49, 0x7e, 0xe9, 0x66, 0xd2, 0x6c, 0x7f, 0x0c, 0x50, 0x56, 0x56, 0xba, 0x4d, + 0x07, 0x02, 0x51, 0xda, 0xd8, 0xd9, 0xa4, 0x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0x39, 0xa9, 0x0b, 0xfb, 0xb2, 0x84, 0xed, 0x18, 0x57, + 0x2a, 0xc1, 0x26, 0xa9, 0xb6, 0xa0, 0xfd, 0x05, 0xc0, 0x27, 0x74, 0xd7, 0xa5, 0x79, 0xf1, 0x38, + 0xef, 0xc9, 0xd6, 0xac, 0x2e, 0xf1, 0x2b, 0x92, 0x78, 0xdb, 0x30, 0x2b, 0x11, 0x73, 0xa5, 0x2e, + 0x98, 0xbf, 0x02, 0xf0, 0xac, 0xa8, 0x6c, 0x1a, 0x77, 0xe2, 0x1d, 0x48, 0x1f, 0x55, 0xd6, 0x6e, + 0x48, 0xd2, 0x17, 0x30, 0x9e, 0x4e, 0x1a, 0xf8, 0x54, 0xa6, 0xea, 0x08, 0x9e, 0x49, 0x7b, 0xb5, + 0x64, 0x52, 0xe1, 0xc8, 0xdb, 0x48, 0x03, 0xe5, 0xab, 0xaa, 0xe0, 0xe3, 0xeb, 0x52, 0xeb, 0x2a, + 0xda, 0xaa, 0xe4, 0x95, 0x87, 0x59, 0xcd, 0x3f, 0xb2, 0x02, 0xe6, 0x6d, 0x82, 0xd7, 0x6e, 0xfc, + 0x7a, 0xdc, 0x06, 0xbf, 0x1d, 0xb7, 0xc1, 0x1f, 0xc7, 0x6d, 0xf0, 0x9e, 0xf5, 0x6f, 0x3f, 0xa3, + 0x4f, 0xfc, 0x27, 0xd0, 0x9b, 0x97, 0xbf, 0x8a, 0xb7, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x88, + 0xf6, 0xfb, 0x76, 0x34, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1633,6 +1653,13 @@ func (m *WorkflowGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if len(m.Fields) > 0 { + i -= len(m.Fields) + copy(dAtA[i:], m.Fields) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.Fields))) + i-- + dAtA[i] = 0x22 + } if m.GetOptions != nil { { size, err := m.GetOptions.MarshalToSizedBuffer(dAtA[:i]) @@ -1686,6 +1713,13 @@ func (m *WorkflowListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if len(m.Fields) > 0 { + i -= len(m.Fields) + copy(dAtA[i:], m.Fields) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.Fields))) + i-- + dAtA[i] = 0x1a + } if m.ListOptions != nil { { size, err := m.ListOptions.MarshalToSizedBuffer(dAtA[:i]) @@ -2302,6 +2336,10 @@ func (m *WorkflowGetRequest) Size() (n int) { l = m.GetOptions.Size() n += 1 + l + sovWorkflow(uint64(l)) } + l = len(m.Fields) + if l > 0 { + n += 1 + l + sovWorkflow(uint64(l)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -2322,6 +2360,10 @@ func (m *WorkflowListRequest) Size() (n int) { l = m.ListOptions.Size() n += 1 + l + sovWorkflow(uint64(l)) } + l = len(m.Fields) + if l > 0 { + n += 1 + l + sovWorkflow(uint64(l)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -2920,6 +2962,38 @@ func (m *WorkflowGetRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Fields = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipWorkflow(dAtA[iNdEx:]) @@ -3042,6 +3116,38 @@ func (m *WorkflowListRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Fields = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipWorkflow(dAtA[iNdEx:])