Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
221 changes: 214 additions & 7 deletions lib/volcano/generated/.openapi-generator/FILES

Large diffs are not rendered by default.

332 changes: 311 additions & 21 deletions lib/volcano/generated/README.md

Large diffs are not rendered by default.

223 changes: 215 additions & 8 deletions lib/volcano/generated/lib/volcano-generated.rb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=begin
#Volcano API

#Public API for Volcano clients, SDKs, and CLI tooling (Port 8000). This specification intentionally excludes first-party/internal APIs. See api/openapi-internal.yaml for non-public internal and Builder operations.
#Public API for Volcano clients, SDKs, and CLI tooling (Port 8000). This specification intentionally excludes first-party/internal APIs. See api/openapi-internal.yaml for non-public internal operations.

The version of the OpenAPI document: 3.0.0
Contact: support@volcano.dev
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=begin
#Volcano API

#Public API for Volcano clients, SDKs, and CLI tooling (Port 8000). This specification intentionally excludes first-party/internal APIs. See api/openapi-internal.yaml for non-public internal and Builder operations.
#Public API for Volcano clients, SDKs, and CLI tooling (Port 8000). This specification intentionally excludes first-party/internal APIs. See api/openapi-internal.yaml for non-public internal operations.

The version of the OpenAPI document: 3.0.0
Contact: support@volcano.dev
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=begin
#Volcano API

#Public API for Volcano clients, SDKs, and CLI tooling (Port 8000). This specification intentionally excludes first-party/internal APIs. See api/openapi-internal.yaml for non-public internal and Builder operations.
#Public API for Volcano clients, SDKs, and CLI tooling (Port 8000). This specification intentionally excludes first-party/internal APIs. See api/openapi-internal.yaml for non-public internal operations.

The version of the OpenAPI document: 3.0.0
Contact: support@volcano.dev
Expand Down Expand Up @@ -620,7 +620,7 @@ def get_auth_page_appearance_with_http_info(id, opts = {})
# Get default email template by type
# @param type [String]
# @param [Hash] opts the optional parameters
# @return [EmailTemplate]
# @return [DefaultEmailTemplate]
def get_default_email_template(type, opts = {})
data, _status_code, _headers = get_default_email_template_with_http_info(type, opts)
data
Expand All @@ -629,7 +629,7 @@ def get_default_email_template(type, opts = {})
# Get default email template by type
# @param type [String]
# @param [Hash] opts the optional parameters
# @return [Array<(EmailTemplate, Integer, Hash)>] EmailTemplate data, response status code and response headers
# @return [Array<(DefaultEmailTemplate, Integer, Hash)>] DefaultEmailTemplate data, response status code and response headers
def get_default_email_template_with_http_info(type, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: AuthConfigurationApi.get_default_email_template ...'
Expand Down Expand Up @@ -661,7 +661,7 @@ def get_default_email_template_with_http_info(type, opts = {})
post_body = opts[:debug_body]

# return_type
return_type = opts[:debug_return_type] || 'EmailTemplate'
return_type = opts[:debug_return_type] || 'DefaultEmailTemplate'

# auth_names
auth_names = opts[:debug_auth_names] || []
Expand All @@ -686,7 +686,7 @@ def get_default_email_template_with_http_info(type, opts = {})
# Get default email templates
# Returns the default email templates used when no custom template is configured.
# @param [Hash] opts the optional parameters
# @return [ListEmailTemplates200Response]
# @return [GetDefaultEmailTemplates200Response]
def get_default_email_templates(opts = {})
data, _status_code, _headers = get_default_email_templates_with_http_info(opts)
data
Expand All @@ -695,7 +695,7 @@ def get_default_email_templates(opts = {})
# Get default email templates
# Returns the default email templates used when no custom template is configured.
# @param [Hash] opts the optional parameters
# @return [Array<(ListEmailTemplates200Response, Integer, Hash)>] ListEmailTemplates200Response data, response status code and response headers
# @return [Array<(GetDefaultEmailTemplates200Response, Integer, Hash)>] GetDefaultEmailTemplates200Response data, response status code and response headers
def get_default_email_templates_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: AuthConfigurationApi.get_default_email_templates ...'
Expand All @@ -718,7 +718,7 @@ def get_default_email_templates_with_http_info(opts = {})
post_body = opts[:debug_body]

# return_type
return_type = opts[:debug_return_type] || 'ListEmailTemplates200Response'
return_type = opts[:debug_return_type] || 'GetDefaultEmailTemplates200Response'

# auth_names
auth_names = opts[:debug_auth_names] || []
Expand Down Expand Up @@ -1337,7 +1337,7 @@ def render_managed_auth_page_with_http_info(id, page_type, opts = {})
end

# Send a test email using the project's saved SMTP config
# Sends a diagnostic email to `to_email` using the project's persisted `auth_config` SMTP credentials. If `html_body` or `text_body` is supplied, the override path is taken: those values (plus optional `subject`) are rendered through html/text templates against the project's `Data` and used as the body — used by the template editor's \"Send Test\" affordance to preview an unsaved template. With both bodies omitted, a hardcoded diagnostic message is sent and any `subject` field is ignored. Sending `subject` alone (no bodies) is rejected with 400 to avoid a silently-dropped subject or a blank message. Also rejects with 400 if `email_enabled=false`, `smtp_host` is empty, or the saved `smtp_password` can't be read and must be set again.
# Sends a diagnostic email to `to_email` using the project's persisted `auth_config` SMTP credentials. If `html_body` or `text_body` is supplied, the override path is taken: those values (plus optional `subject`) are rendered through html/text templates against the project's `Data` and used as the body — used by the template editor's \"Send Test\" affordance to preview an unsaved template. With both bodies omitted, a hardcoded diagnostic message is sent and any `subject` field is ignored. Sending `subject` alone (no bodies) is rejected with 400 to avoid a silently-dropped subject or a blank message. Also rejects with 400 if `email_enabled=false`, `smtp_host` is empty, or the saved `smtp_password` can't be read and must be set again. Sender values with interior line breaks return 400 before SMTP delivery. Rendered override subjects containing a line break have outer whitespace trimmed; any remaining interior line break returns 400 before delivery.
# @param id [String] Project ID
# @param test_email_request [TestEmailRequest]
# @param [Hash] opts the optional parameters
Expand All @@ -1348,7 +1348,7 @@ def test_email_config(id, test_email_request, opts = {})
end

# Send a test email using the project&#39;s saved SMTP config
# Sends a diagnostic email to &#x60;to_email&#x60; using the project&#39;s persisted &#x60;auth_config&#x60; SMTP credentials. If &#x60;html_body&#x60; or &#x60;text_body&#x60; is supplied, the override path is taken: those values (plus optional &#x60;subject&#x60;) are rendered through html/text templates against the project&#39;s &#x60;Data&#x60; and used as the body — used by the template editor&#39;s \&quot;Send Test\&quot; affordance to preview an unsaved template. With both bodies omitted, a hardcoded diagnostic message is sent and any &#x60;subject&#x60; field is ignored. Sending &#x60;subject&#x60; alone (no bodies) is rejected with 400 to avoid a silently-dropped subject or a blank message. Also rejects with 400 if &#x60;email_enabled&#x3D;false&#x60;, &#x60;smtp_host&#x60; is empty, or the saved &#x60;smtp_password&#x60; can&#39;t be read and must be set again.
# Sends a diagnostic email to &#x60;to_email&#x60; using the project&#39;s persisted &#x60;auth_config&#x60; SMTP credentials. If &#x60;html_body&#x60; or &#x60;text_body&#x60; is supplied, the override path is taken: those values (plus optional &#x60;subject&#x60;) are rendered through html/text templates against the project&#39;s &#x60;Data&#x60; and used as the body — used by the template editor&#39;s \&quot;Send Test\&quot; affordance to preview an unsaved template. With both bodies omitted, a hardcoded diagnostic message is sent and any &#x60;subject&#x60; field is ignored. Sending &#x60;subject&#x60; alone (no bodies) is rejected with 400 to avoid a silently-dropped subject or a blank message. Also rejects with 400 if &#x60;email_enabled&#x3D;false&#x60;, &#x60;smtp_host&#x60; is empty, or the saved &#x60;smtp_password&#x60; can&#39;t be read and must be set again. Sender values with interior line breaks return 400 before SMTP delivery. Rendered override subjects containing a line break have outer whitespace trimmed; any remaining interior line break returns 400 before delivery.
# @param id [String] Project ID
# @param test_email_request [TestEmailRequest]
# @param [Hash] opts the optional parameters
Expand Down
Loading
Loading