From 383c78272d791997696c62ec00978d91be46cc90 Mon Sep 17 00:00:00 2001 From: Adrien Delannoy Date: Tue, 11 Jun 2024 18:29:07 +0200 Subject: [PATCH] feat: generated files Signed-off-by: Adrien Delannoy --- pkg/apiclient/workflow/workflow.pb.go | 302 +++++++++--------- sdks/java/client/docs/WorkflowServiceApi.md | 12 +- .../api/workflow_service_api.py | 24 +- sdks/python/client/docs/WorkflowServiceApi.md | 10 +- 4 files changed, 175 insertions(+), 173 deletions(-) diff --git a/pkg/apiclient/workflow/workflow.pb.go b/pkg/apiclient/workflow/workflow.pb.go index 1e0d43f292bd..c0e6a1a07b0a 100644 --- a/pkg/apiclient/workflow/workflow.pb.go +++ b/pkg/apiclient/workflow/workflow.pb.go @@ -189,11 +189,13 @@ func (m *WorkflowGetRequest) GetFields() string { type WorkflowListRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - NamePrefix string `protobuf:"bytes,2,opt,name=namePrefix,proto3" json:"namePrefix,omitempty"` - NamePattern string `protobuf:"bytes,3,opt,name=namePattern,proto3" json:"namePattern,omitempty"` - ListOptions *v1.ListOptions `protobuf:"bytes,4,opt,name=listOptions,proto3" json:"listOptions,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,5,opt,name=fields,proto3" json:"fields,omitempty"` + Fields string `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` + // Return workflows having this name prefix + NamePrefix string `protobuf:"bytes,4,opt,name=namePrefix,proto3" json:"namePrefix,omitempty"` + // Return workflows with name containing this value + NamePattern string `protobuf:"bytes,5,opt,name=namePattern,proto3" json:"namePattern,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -239,30 +241,30 @@ func (m *WorkflowListRequest) GetNamespace() string { return "" } -func (m *WorkflowListRequest) GetNamePrefix() string { +func (m *WorkflowListRequest) GetListOptions() *v1.ListOptions { if m != nil { - return m.NamePrefix + return m.ListOptions } - return "" + return nil } -func (m *WorkflowListRequest) GetNamePattern() string { +func (m *WorkflowListRequest) GetFields() string { if m != nil { - return m.NamePattern + return m.Fields } return "" } -func (m *WorkflowListRequest) GetListOptions() *v1.ListOptions { +func (m *WorkflowListRequest) GetNamePrefix() string { if m != nil { - return m.ListOptions + return m.NamePrefix } - return nil + return "" } -func (m *WorkflowListRequest) GetFields() string { +func (m *WorkflowListRequest) GetNamePattern() string { if m != nil { - return m.Fields + return m.NamePattern } return "" } @@ -1328,99 +1330,99 @@ func init() { } var fileDescriptor_1f6bb75f9e833cb6 = []byte{ - // 1469 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x98, 0xcd, 0x6f, 0xdc, 0x44, - 0x14, 0xc0, 0x35, 0x9b, 0x36, 0x4d, 0x27, 0x1f, 0x6d, 0x87, 0xb6, 0x2c, 0x56, 0x9b, 0xa6, 0x53, - 0x0a, 0x69, 0xda, 0xd8, 0xf9, 0x28, 0xd0, 0x22, 0x81, 0x44, 0x9b, 0x12, 0x51, 0x96, 0x12, 0x79, - 0x91, 0x10, 0x5c, 0x90, 0xe3, 0x7d, 0x71, 0xdc, 0xec, 0x7a, 0xcc, 0xcc, 0xec, 0x96, 0x50, 0x8a, - 0x04, 0x17, 0x38, 0x20, 0x71, 0xe0, 0xc8, 0x0d, 0x09, 0xc1, 0x01, 0x01, 0x42, 0x42, 0x42, 0x20, - 0x21, 0x0e, 0x1c, 0x38, 0x56, 0xea, 0x95, 0x03, 0x8a, 0xf8, 0x07, 0xf8, 0x0f, 0xd0, 0x8c, 0xbf, - 0xb3, 0xdb, 0xad, 0x49, 0x36, 0xc0, 0xcd, 0x33, 0xf6, 0xcc, 0xfb, 0xbd,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x68, 0x0e, 0x11, 0x89, 0xc7, 0x72, 0xa2, 0x76, 0x82, - 0x30, 0xa7, 0x11, 0x66, 0x48, 0x39, 0xff, 0x34, 0x99, 0x37, 0x87, 0xc8, 0xd7, 0x08, 0x4f, 0xd4, - 0x8b, 0xf1, 0xfe, 0x54, 0xaf, 0xd0, 0xb3, 0x57, 0xd1, 0xde, 0xd2, 0xcc, 0xe7, 0xe8, 0x03, 0x92, - 0x6a, 0x1a, 0xe4, 0xaf, 0x2c, 0xff, 0xb6, 0x35, 0x89, 0xee, 0x6e, 0x4d, 0xa2, 0x3f, 0xb6, 0x26, - 0xd1, 0xeb, 0x97, 0xcb, 0xff, 0x40, 0xdf, 0xf6, 0xa3, 0x7f, 0x75, 0x58, 0xff, 0x0f, 0x5f, 0xfc, - 0x3b, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x5b, 0xf4, 0xe6, 0x09, 0x18, 0x00, 0x00, + // 1466 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x98, 0xcd, 0x6f, 0x1c, 0xb5, + 0x1b, 0xc7, 0xe5, 0x4d, 0x9b, 0x26, 0xce, 0x4b, 0x5b, 0xff, 0xda, 0xfe, 0x96, 0x51, 0x9b, 0xa6, + 0x2e, 0x85, 0x34, 0x6d, 0x66, 0xf2, 0x52, 0xa0, 0x45, 0x02, 0x89, 0x36, 0x25, 0xa2, 0x2c, 0x25, + 0x9a, 0x45, 0x42, 0x70, 0x41, 0x93, 0xd9, 0x27, 0x93, 0x69, 0x76, 0xc7, 0x83, 0xed, 0xdd, 0x12, + 0x4a, 0x91, 0xe0, 0x02, 0x07, 0x24, 0x0e, 0x1c, 0xb9, 0x21, 0x21, 0x38, 0x20, 0x40, 0x48, 0x48, + 0x08, 0x24, 0xc4, 0x81, 0x03, 0xc7, 0x4a, 0xbd, 0x72, 0x40, 0x11, 0xff, 0x00, 0xff, 0x01, 0xb2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0x9a, 0x19, 0x5b, 0xbc, 0x66, 0x66, 0xf4, 0x66, 0x42, 0xaf, 0x1f, + 0xde, 0x48, 0xe9, 0xcd, 0xce, 0x92, 0x19, 0x6e, 0x7a, 0xa6, 0x5a, 0x80, 0x99, 0x4a, 0x9b, 0x2c, + 0xc0, 0x4c, 0x40, 0xec, 0x74, 0x6e, 0x42, 0x31, 0xf6, 0x03, 0x21, 0x9d, 0xc0, 0x85, 0x17, 0x96, + 0xab, 0x43, 0x0a, 0xe3, 0x72, 0xa5, 0x8a, 0xec, 0x5c, 0x2f, 0xa1, 0x78, 0x5c, 0x00, 0xef, 0x00, + 0x5f, 0xe6, 0x5b, 0x76, 0x3b, 0xa8, 0xee, 0x9b, 0x46, 0x33, 0x23, 0x76, 0xa1, 0x8f, 0xbc, 0x86, + 0x27, 0x5c, 0xbd, 0xbc, 0x97, 0x43, 0xed, 0xa7, 0xea, 0x7e, 0x0d, 0xbd, 0x64, 0x46, 0x1a, 0x99, + 0x79, 0x47, 0x65, 0x88, 0xca, 0x51, 0x66, 0x67, 0xc1, 0xbc, 0x92, 0x1f, 0x6a, 0x17, 0x67, 0xa2, + 0xdf, 0x22, 0x4c, 0x12, 0xf2, 0x15, 0x90, 0x89, 0x7e, 0x04, 0xef, 0x53, 0x72, 0xc5, 0xd2, 0xe9, + 0xe7, 0xa2, 0xa6, 0x95, 0x9d, 0x9a, 0xae, 0x62, 0xec, 0x81, 0x4c, 0x00, 0x87, 0x34, 0xe0, 0x7c, + 0x39, 0xc0, 0x95, 0x74, 0x9c, 0x9d, 0x9b, 0x83, 0x1c, 0xc3, 0xc3, 0xeb, 0x3e, 0x34, 0x1b, 0x42, + 0x6b, 0x32, 0x6a, 0xc7, 0x2d, 0xba, 0x8d, 0xf0, 0xff, 0x12, 0xe4, 0x9a, 0x2f, 0x64, 0x39, 0x9f, + 0xd7, 0xf1, 0x58, 0xd3, 0x17, 0x29, 0x60, 0xe4, 0xf6, 0x85, 0x72, 0x80, 0xb5, 0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0xc5, 0xf5, 0xf3, 0x6d, 0xab, 0xc9, + 0xbc, 0x0f, 0x2b, 0x68, 0x1e, 0x11, 0x89, 0xc7, 0x73, 0xa6, 0x76, 0x83, 0x30, 0xaf, 0x11, 0x66, + 0x49, 0x39, 0xff, 0x34, 0x99, 0x37, 0x8f, 0xc8, 0xd7, 0x08, 0x4f, 0xd6, 0x8b, 0xf1, 0xfe, 0x64, + 0xaf, 0xd0, 0xf3, 0xa0, 0xa2, 0xbd, 0xa5, 0x99, 0xcf, 0xd2, 0xfb, 0x24, 0xd5, 0x34, 0xc8, 0x5f, + 0x5e, 0xf9, 0x6d, 0x7b, 0x0a, 0xdd, 0xd9, 0x9e, 0x42, 0x7f, 0x6c, 0x4f, 0xa1, 0xd7, 0x2f, 0x95, + 0xff, 0x81, 0xbe, 0xe3, 0x47, 0xff, 0xda, 0xb0, 0xfe, 0x1f, 0xbe, 0xf4, 0x77, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xc6, 0x74, 0x8a, 0xc8, 0x09, 0x18, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2350,12 +2352,26 @@ func (m *WorkflowListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if len(m.NamePattern) > 0 { + i -= len(m.NamePattern) + copy(dAtA[i:], m.NamePattern) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.NamePattern))) + i-- + dAtA[i] = 0x2a + } + if len(m.NamePrefix) > 0 { + i -= len(m.NamePrefix) + copy(dAtA[i:], m.NamePrefix) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.NamePrefix))) + i-- + dAtA[i] = 0x22 + } 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] = 0x2a + dAtA[i] = 0x1a } if m.ListOptions != nil { { @@ -2367,20 +2383,6 @@ func (m *WorkflowListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintWorkflow(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 - } - if len(m.NamePattern) > 0 { - i -= len(m.NamePattern) - copy(dAtA[i:], m.NamePattern) - i = encodeVarintWorkflow(dAtA, i, uint64(len(m.NamePattern))) - i-- - dAtA[i] = 0x1a - } - if len(m.NamePrefix) > 0 { - i -= len(m.NamePrefix) - copy(dAtA[i:], m.NamePrefix) - i = encodeVarintWorkflow(dAtA, i, uint64(len(m.NamePrefix))) - i-- dAtA[i] = 0x12 } if len(m.Namespace) > 0 { @@ -3310,19 +3312,19 @@ func (m *WorkflowListRequest) Size() (n int) { if l > 0 { n += 1 + l + sovWorkflow(uint64(l)) } - l = len(m.NamePrefix) - if l > 0 { + if m.ListOptions != nil { + l = m.ListOptions.Size() n += 1 + l + sovWorkflow(uint64(l)) } - l = len(m.NamePattern) + l = len(m.Fields) if l > 0 { n += 1 + l + sovWorkflow(uint64(l)) } - if m.ListOptions != nil { - l = m.ListOptions.Size() + l = len(m.NamePrefix) + if l > 0 { n += 1 + l + sovWorkflow(uint64(l)) } - l = len(m.Fields) + l = len(m.NamePattern) if l > 0 { n += 1 + l + sovWorkflow(uint64(l)) } @@ -4188,9 +4190,9 @@ func (m *WorkflowListRequest) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamePrefix", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ListOptions", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowWorkflow @@ -4200,27 +4202,31 @@ func (m *WorkflowListRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthWorkflow } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthWorkflow } if postIndex > l { return io.ErrUnexpectedEOF } - m.NamePrefix = string(dAtA[iNdEx:postIndex]) + if m.ListOptions == nil { + m.ListOptions = &v1.ListOptions{} + } + if err := m.ListOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamePattern", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4248,13 +4254,13 @@ func (m *WorkflowListRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NamePattern = string(dAtA[iNdEx:postIndex]) + m.Fields = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ListOptions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NamePrefix", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowWorkflow @@ -4264,31 +4270,27 @@ func (m *WorkflowListRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthWorkflow } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthWorkflow } if postIndex > l { return io.ErrUnexpectedEOF } - if m.ListOptions == nil { - m.ListOptions = &v1.ListOptions{} - } - if err := m.ListOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.NamePrefix = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NamePattern", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4316,7 +4318,7 @@ func (m *WorkflowListRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Fields = string(dAtA[iNdEx:postIndex]) + m.NamePattern = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/sdks/java/client/docs/WorkflowServiceApi.md b/sdks/java/client/docs/WorkflowServiceApi.md index 13256848fde8..8016e5763813 100644 --- a/sdks/java/client/docs/WorkflowServiceApi.md +++ b/sdks/java/client/docs/WorkflowServiceApi.md @@ -323,7 +323,7 @@ Name | Type | Description | Notes # **workflowServiceListWorkflows** -> IoArgoprojWorkflowV1alpha1WorkflowList workflowServiceListWorkflows(namespace, namePrefix, namePattern, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields) +> IoArgoprojWorkflowV1alpha1WorkflowList workflowServiceListWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields, namePrefix, namePattern) @@ -350,8 +350,6 @@ public class Example { WorkflowServiceApi apiInstance = new WorkflowServiceApi(defaultClient); String namespace = "namespace_example"; // String | - String namePrefix = "namePrefix_example"; // String | - String namePattern = "namePattern_example"; // String | String listOptionsLabelSelector = "listOptionsLabelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. String listOptionsFieldSelector = "listOptionsFieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. Boolean listOptionsWatch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. @@ -362,8 +360,10 @@ public class Example { String listOptionsLimit = "listOptionsLimit_example"; // String | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String listOptionsContinue = "listOptionsContinue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fields = "fields_example"; // String | Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". + String namePrefix = "namePrefix_example"; // String | Return workflows having this name prefix. + String namePattern = "namePattern_example"; // String | Return workflows with name containing this value. try { - IoArgoprojWorkflowV1alpha1WorkflowList result = apiInstance.workflowServiceListWorkflows(namespace, namePrefix, namePattern, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields); + IoArgoprojWorkflowV1alpha1WorkflowList result = apiInstance.workflowServiceListWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsResourceVersionMatch, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields, namePrefix, namePattern); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WorkflowServiceApi#workflowServiceListWorkflows"); @@ -381,8 +381,6 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| | - **namePrefix** | **String**| | [optional] - **namePattern** | **String**| | [optional] **listOptionsLabelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | [optional] **listOptionsFieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | [optional] **listOptionsWatch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | [optional] @@ -393,6 +391,8 @@ Name | Type | Description | Notes **listOptionsLimit** | **String**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **listOptionsContinue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fields** | **String**| Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". | [optional] + **namePrefix** | **String**| Return workflows having this name prefix. | [optional] + **namePattern** | **String**| Return workflows with name containing this value. | [optional] ### Return type diff --git a/sdks/python/client/argo_workflows/api/workflow_service_api.py b/sdks/python/client/argo_workflows/api/workflow_service_api.py index 6c6cafc28e50..dade117e74e2 100644 --- a/sdks/python/client/argo_workflows/api/workflow_service_api.py +++ b/sdks/python/client/argo_workflows/api/workflow_service_api.py @@ -340,8 +340,6 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'namespace', - 'name_prefix', - 'name_pattern', 'list_options_label_selector', 'list_options_field_selector', 'list_options_watch', @@ -352,6 +350,8 @@ def __init__(self, api_client=None): 'list_options_limit', 'list_options_continue', 'fields', + 'name_prefix', + 'name_pattern', ], 'required': [ 'namespace', @@ -371,10 +371,6 @@ def __init__(self, api_client=None): 'openapi_types': { 'namespace': (str,), - 'name_prefix': - (str,), - 'name_pattern': - (str,), 'list_options_label_selector': (str,), 'list_options_field_selector': @@ -395,11 +391,13 @@ def __init__(self, api_client=None): (str,), 'fields': (str,), + 'name_prefix': + (str,), + 'name_pattern': + (str,), }, 'attribute_map': { 'namespace': 'namespace', - 'name_prefix': 'namePrefix', - 'name_pattern': 'namePattern', 'list_options_label_selector': 'listOptions.labelSelector', 'list_options_field_selector': 'listOptions.fieldSelector', 'list_options_watch': 'listOptions.watch', @@ -410,11 +408,11 @@ def __init__(self, api_client=None): 'list_options_limit': 'listOptions.limit', 'list_options_continue': 'listOptions.continue', 'fields': 'fields', + 'name_prefix': 'namePrefix', + 'name_pattern': 'namePattern', }, 'location_map': { 'namespace': 'path', - 'name_prefix': 'query', - 'name_pattern': 'query', 'list_options_label_selector': 'query', 'list_options_field_selector': 'query', 'list_options_watch': 'query', @@ -425,6 +423,8 @@ def __init__(self, api_client=None): 'list_options_limit': 'query', 'list_options_continue': 'query', 'fields': 'query', + 'name_prefix': 'query', + 'name_pattern': 'query', }, 'collection_format_map': { } @@ -1736,8 +1736,6 @@ def list_workflows( namespace (str): Keyword Args: - name_prefix (str): [optional] - name_pattern (str): [optional] list_options_label_selector (str): A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional.. [optional] list_options_field_selector (str): A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional.. [optional] list_options_watch (bool): Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional.. [optional] @@ -1748,6 +1746,8 @@ def list_workflows( list_options_limit (str): limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.. [optional] list_options_continue (str): The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.. [optional] fields (str): Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\".. [optional] + name_prefix (str): Return workflows having this name prefix.. [optional] + name_pattern (str): Return workflows with name containing this value.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/sdks/python/client/docs/WorkflowServiceApi.md b/sdks/python/client/docs/WorkflowServiceApi.md index 2eb7d9c413a0..97f38ad5d0ca 100644 --- a/sdks/python/client/docs/WorkflowServiceApi.md +++ b/sdks/python/client/docs/WorkflowServiceApi.md @@ -54985,8 +54985,6 @@ with argo_workflows.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | - name_prefix = "namePrefix_example" # str | (optional) - name_pattern = "namePattern_example" # str | (optional) list_options_label_selector = "listOptions.labelSelector_example" # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) list_options_field_selector = "listOptions.fieldSelector_example" # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) list_options_watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) @@ -54997,6 +54995,8 @@ with argo_workflows.ApiClient(configuration) as api_client: list_options_limit = "listOptions.limit_example" # str | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) list_options_continue = "listOptions.continue_example" # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) fields = "fields_example" # str | Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". (optional) + name_prefix = "namePrefix_example" # str | Return workflows having this name prefix. (optional) + name_pattern = "namePattern_example" # str | Return workflows with name containing this value. (optional) # example passing only required values which don't have defaults set try: @@ -55008,7 +55008,7 @@ with argo_workflows.ApiClient(configuration) as api_client: # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.list_workflows(namespace, name_prefix=name_prefix, name_pattern=name_pattern, list_options_label_selector=list_options_label_selector, list_options_field_selector=list_options_field_selector, list_options_watch=list_options_watch, list_options_allow_watch_bookmarks=list_options_allow_watch_bookmarks, list_options_resource_version=list_options_resource_version, list_options_resource_version_match=list_options_resource_version_match, list_options_timeout_seconds=list_options_timeout_seconds, list_options_limit=list_options_limit, list_options_continue=list_options_continue, fields=fields) + api_response = api_instance.list_workflows(namespace, list_options_label_selector=list_options_label_selector, list_options_field_selector=list_options_field_selector, list_options_watch=list_options_watch, list_options_allow_watch_bookmarks=list_options_allow_watch_bookmarks, list_options_resource_version=list_options_resource_version, list_options_resource_version_match=list_options_resource_version_match, list_options_timeout_seconds=list_options_timeout_seconds, list_options_limit=list_options_limit, list_options_continue=list_options_continue, fields=fields, name_prefix=name_prefix, name_pattern=name_pattern) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->list_workflows: %s\n" % e) @@ -55020,8 +55020,6 @@ with argo_workflows.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | - **name_prefix** | **str**| | [optional] - **name_pattern** | **str**| | [optional] **list_options_label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | [optional] **list_options_field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | [optional] **list_options_watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | [optional] @@ -55032,6 +55030,8 @@ Name | Type | Description | Notes **list_options_limit** | **str**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **list_options_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fields** | **str**| Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". | [optional] + **name_prefix** | **str**| Return workflows having this name prefix. | [optional] + **name_pattern** | **str**| Return workflows with name containing this value. | [optional] ### Return type