-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Automated regeneration of Container client
- Loading branch information
1 parent
e6a95f9
commit 48f22b8
Showing
14 changed files
with
274 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
clients/container/lib/google_api/container/v1/model/certificate_authority_domain_config.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.Container.V1.Model.CertificateAuthorityDomainConfig do | ||
@moduledoc """ | ||
CertificateAuthorityDomainConfig configures one or more fully qualified domain names (FQDN) to a specific certificate. | ||
## Attributes | ||
* `fqdns` (*type:* `list(String.t)`, *default:* `nil`) - List of fully qualified domain names (FQDN). Specifying port is supported. Wilcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000 | ||
* `gcpSecretManagerCertificateConfig` (*type:* `GoogleApi.Container.V1.Model.GCPSecretManagerCertificateConfig.t`, *default:* `nil`) - Google Secret Manager (GCP) certificate configuration. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:fqdns => list(String.t()) | nil, | ||
:gcpSecretManagerCertificateConfig => | ||
GoogleApi.Container.V1.Model.GCPSecretManagerCertificateConfig.t() | nil | ||
} | ||
|
||
field(:fqdns, type: :list) | ||
|
||
field(:gcpSecretManagerCertificateConfig, | ||
as: GoogleApi.Container.V1.Model.GCPSecretManagerCertificateConfig | ||
) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.CertificateAuthorityDomainConfig do | ||
def decode(value, options) do | ||
GoogleApi.Container.V1.Model.CertificateAuthorityDomainConfig.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Container.V1.Model.CertificateAuthorityDomainConfig do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
clients/container/lib/google_api/container/v1/model/containerd_config.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.Container.V1.Model.ContainerdConfig do | ||
@moduledoc """ | ||
ContainerdConfig contains configuration to customize containerd. | ||
## Attributes | ||
* `privateRegistryAccessConfig` (*type:* `GoogleApi.Container.V1.Model.PrivateRegistryAccessConfig.t`, *default:* `nil`) - PrivateRegistryAccessConfig is used to configure access configuration for private container registries. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:privateRegistryAccessConfig => | ||
GoogleApi.Container.V1.Model.PrivateRegistryAccessConfig.t() | nil | ||
} | ||
|
||
field(:privateRegistryAccessConfig, as: GoogleApi.Container.V1.Model.PrivateRegistryAccessConfig) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.ContainerdConfig do | ||
def decode(value, options) do | ||
GoogleApi.Container.V1.Model.ContainerdConfig.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Container.V1.Model.ContainerdConfig do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
clients/container/lib/google_api/container/v1/model/gcp_secret_manager_certificate_config.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.Container.V1.Model.GCPSecretManagerCertificateConfig do | ||
@moduledoc """ | ||
GCPSecretManagerCertificateConfig configures a secret from [Google Secret Manager](https://cloud.google.com/secret-manager). | ||
## Attributes | ||
* `secretUri` (*type:* `String.t`, *default:* `nil`) - Secret URI, in the form "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION". Version can be fixed (e.g. "2") or "latest" | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:secretUri => String.t() | nil | ||
} | ||
|
||
field(:secretUri) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.GCPSecretManagerCertificateConfig do | ||
def decode(value, options) do | ||
GoogleApi.Container.V1.Model.GCPSecretManagerCertificateConfig.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Container.V1.Model.GCPSecretManagerCertificateConfig do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
49 changes: 49 additions & 0 deletions
49
clients/container/lib/google_api/container/v1/model/hugepages_config.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.Container.V1.Model.HugepagesConfig do | ||
@moduledoc """ | ||
Hugepages amount in both 2m and 1g size | ||
## Attributes | ||
* `hugepageSize1g` (*type:* `integer()`, *default:* `nil`) - Optional. Amount of 1G hugepages | ||
* `hugepageSize2m` (*type:* `integer()`, *default:* `nil`) - Optional. Amount of 2M hugepages | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:hugepageSize1g => integer() | nil, | ||
:hugepageSize2m => integer() | nil | ||
} | ||
|
||
field(:hugepageSize1g) | ||
field(:hugepageSize2m) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.HugepagesConfig do | ||
def decode(value, options) do | ||
GoogleApi.Container.V1.Model.HugepagesConfig.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Container.V1.Model.HugepagesConfig do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.