Skip to content

Commit

Permalink
Add SkipSslVerify to FileInfo (#122)
Browse files Browse the repository at this point in the history
* Add InsecureDownload to FileInfo

* Update copyright

* [auto generated] Checking in generated offline HTML doc

* Switch parameter name to SkipSslVerify

* [auto generated] Checking in generated offline HTML doc

---------

Co-authored-by: neilgierman <[email protected]>
  • Loading branch information
neilgierman and neilgierman authored Jul 11, 2024
1 parent 5ae3812 commit f90defe
Show file tree
Hide file tree
Showing 167 changed files with 185 additions and 168 deletions.
7 changes: 7 additions & 0 deletions v1/api/swagger/components/schemas/FileInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,10 @@ properties:
description: >-
URL of the file that should be kept secret.
If this field is set, it will be used for accessing the file and DisplayURL will be ignored.
SkipSslVerify:
type: boolean
description: >-
Indicates if the web server the file is being downloaded from should have
the SSL certificate validation bypassed. Useful for downloading from an
internal webserver with either self-signed or internal CA issued SSL certificate.
example: true
2 changes: 1 addition & 1 deletion v1/fixup_generated_files.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /bin/bash
COPYRIGHT="// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP"
COPYRIGHT="// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP"
set -e

if [ $# -ne 1 ]; then
Expand Down
10 changes: 5 additions & 5 deletions v1/html/index.html

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions v1/pkg/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5895,6 +5895,13 @@ components:
is set, it will be used for accessing the file and DisplayURL will be
ignored.
type: string
SkipSslVerify:
description: Indicates if the web server the file is being downloaded from
should have the SSL certificate validation bypassed. Useful for downloading
from an internal webserver with either self-signed or internal CA issued
SSL certificate.
example: true
type: boolean
required:
- Algorithm
- DisplayURL
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/api_allocation.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/api_available_resources.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/api_hosts.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/api_ippools.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/api_networks.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/api_projects.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/api_projects_info.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/api_services.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/api_sshkeys.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/api_version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/api_volume_attachments.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/api_volumes.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/configuration.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
1 change: 1 addition & 0 deletions v1/pkg/client/docs/FileInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Name | Type | Description | Notes
**Expand** | **bool** | Indicates if the file is compressed and should be expanded using the filename suffix in the Path as a guide. |
**DisplayURL** | **string** | URL of the file that should be returned in REST response or used for display purpose. The file is downloaded from this URL only when SecureURL is not set. |
**SecureURL** | **string** | URL of the file that should be kept secret. If this field is set, it will be used for accessing the file and DisplayURL will be ignored. |
**SkipSslVerify** | **bool** | Indicates if the web server the file is being downloaded from should have the SSL certificate validation bypassed. Useful for downloading from an internal webserver with either self-signed or internal CA issued SSL certificate. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/generic-error.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

package client

Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/interface_allocation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/pkg/client/interface_available_resources.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/pkg/client/interface_hosts.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/pkg/client/interface_ippools.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/pkg/client/interface_networks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/pkg/client/interface_projects.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/pkg/client/interface_projects_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/pkg/client/interface_services.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/pkg/client/interface_sshkeys.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/pkg/client/interface_version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/pkg/client/interface_volume_attachments.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/pkg/client/interface_volumes.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/pkg/client/model_add_volume.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_algorithm.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_allocation.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_allocation_storage.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_attribute_rule.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_available_image.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_available_network.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_available_resources.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_bond_mode.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_boot_method.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_classifier_operator.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_country.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_disk_partitions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_encoding.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_error_response.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
4 changes: 3 additions & 1 deletion v1/pkg/client/model_file_info.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down Expand Up @@ -29,4 +29,6 @@ type FileInfo struct {
DisplayURL string `json:"DisplayURL"`
// URL of the file that should be kept secret. If this field is set, it will be used for accessing the file and DisplayURL will be ignored.
SecureURL string `json:"SecureURL"`
// Indicates if the web server the file is being downloaded from should have the SSL certificate validation bypassed. Useful for downloading from an internal webserver with either self-signed or internal CA issued SSL certificate.
SkipSslVerify bool `json:"SkipSslVerify,omitempty"`
}
2 changes: 1 addition & 1 deletion v1/pkg/client/model_flavor_desc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_health_status.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_host.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_host_alert_info.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_host_all_of.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_host_connection.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_host_iscsi_config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_host_network_connection.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_host_power_state.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_host_server_port.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_host_state.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_host_substate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_ip_allocation.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_ip_pool.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_ip_pool_all_of.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

/*
* HPE GreenLake for bare metal API
Expand Down
Loading

0 comments on commit f90defe

Please sign in to comment.