Skip to content

Commit 0ec8fed

Browse files
Commit via running: make Sources/private-registries
1 parent 444f9f3 commit 0ec8fed

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Sources/private-registries/Types.swift

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,10 @@ public enum Operations {
10351035
///
10361036
/// - Remark: Generated from `#/paths/orgs/{org}/private-registries/POST/requestBody/json/registry_type`.
10371037
public var registryType: Operations.PrivateRegistriesCreateOrgPrivateRegistry.Input.Body.JsonPayload.RegistryTypePayload
1038+
/// The URL of the private registry.
1039+
///
1040+
/// - Remark: Generated from `#/paths/orgs/{org}/private-registries/POST/requestBody/json/url`.
1041+
public var url: Swift.String
10381042
/// The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.
10391043
///
10401044
/// - Remark: Generated from `#/paths/orgs/{org}/private-registries/POST/requestBody/json/username`.
@@ -1067,20 +1071,23 @@ public enum Operations {
10671071
///
10681072
/// - Parameters:
10691073
/// - registryType: The registry type.
1074+
/// - url: The URL of the private registry.
10701075
/// - username: The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.
10711076
/// - encryptedValue: The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.
10721077
/// - keyId: The ID of the key you used to encrypt the secret.
10731078
/// - visibility: Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.
10741079
/// - selectedRepositoryIds: An array of repository IDs that can access the organization private registry. You can only provide a list of repository IDs when `visibility` is set to `selected`. You can manage the list of selected repositories using the [Update a private registry for an organization](https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization) endpoint. This field should be omitted if `visibility` is set to `all` or `private`.
10751080
public init(
10761081
registryType: Operations.PrivateRegistriesCreateOrgPrivateRegistry.Input.Body.JsonPayload.RegistryTypePayload,
1082+
url: Swift.String,
10771083
username: Swift.String? = nil,
10781084
encryptedValue: Swift.String,
10791085
keyId: Swift.String,
10801086
visibility: Operations.PrivateRegistriesCreateOrgPrivateRegistry.Input.Body.JsonPayload.VisibilityPayload,
10811087
selectedRepositoryIds: [Swift.Int]? = nil
10821088
) {
10831089
self.registryType = registryType
1090+
self.url = url
10841091
self.username = username
10851092
self.encryptedValue = encryptedValue
10861093
self.keyId = keyId
@@ -1089,6 +1096,7 @@ public enum Operations {
10891096
}
10901097
public enum CodingKeys: String, CodingKey {
10911098
case registryType = "registry_type"
1099+
case url
10921100
case username
10931101
case encryptedValue = "encrypted_value"
10941102
case keyId = "key_id"
@@ -1680,6 +1688,10 @@ public enum Operations {
16801688
///
16811689
/// - Remark: Generated from `#/paths/orgs/{org}/private-registries/{secret_name}/PATCH/requestBody/json/registry_type`.
16821690
public var registryType: Operations.PrivateRegistriesUpdateOrgPrivateRegistry.Input.Body.JsonPayload.RegistryTypePayload?
1691+
/// The URL of the private registry.
1692+
///
1693+
/// - Remark: Generated from `#/paths/orgs/{org}/private-registries/{secret_name}/PATCH/requestBody/json/url`.
1694+
public var url: Swift.String?
16831695
/// The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.
16841696
///
16851697
/// - Remark: Generated from `#/paths/orgs/{org}/private-registries/{secret_name}/PATCH/requestBody/json/username`.
@@ -1712,20 +1724,23 @@ public enum Operations {
17121724
///
17131725
/// - Parameters:
17141726
/// - registryType: The registry type.
1727+
/// - url: The URL of the private registry.
17151728
/// - username: The username to use when authenticating with the private registry. This field should be omitted if the private registry does not require a username for authentication.
17161729
/// - encryptedValue: The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get private registries public key for an organization](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.
17171730
/// - keyId: The ID of the key you used to encrypt the secret.
17181731
/// - visibility: Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.
17191732
/// - selectedRepositoryIds: An array of repository IDs that can access the organization private registry. You can only provide a list of repository IDs when `visibility` is set to `selected`. This field should be omitted if `visibility` is set to `all` or `private`.
17201733
public init(
17211734
registryType: Operations.PrivateRegistriesUpdateOrgPrivateRegistry.Input.Body.JsonPayload.RegistryTypePayload? = nil,
1735+
url: Swift.String? = nil,
17221736
username: Swift.String? = nil,
17231737
encryptedValue: Swift.String? = nil,
17241738
keyId: Swift.String? = nil,
17251739
visibility: Operations.PrivateRegistriesUpdateOrgPrivateRegistry.Input.Body.JsonPayload.VisibilityPayload? = nil,
17261740
selectedRepositoryIds: [Swift.Int]? = nil
17271741
) {
17281742
self.registryType = registryType
1743+
self.url = url
17291744
self.username = username
17301745
self.encryptedValue = encryptedValue
17311746
self.keyId = keyId
@@ -1734,6 +1749,7 @@ public enum Operations {
17341749
}
17351750
public enum CodingKeys: String, CodingKey {
17361751
case registryType = "registry_type"
1752+
case url
17371753
case username
17381754
case encryptedValue = "encrypted_value"
17391755
case keyId = "key_id"

0 commit comments

Comments
 (0)