Skip to content

Commit 98aa771

Browse files
committed
make generate_sdks
1 parent bba35ac commit 98aa771

File tree

101 files changed

+6647
-419
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+6647
-419
lines changed

docs/_index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ We support the following versions:
3232

3333
All other versions are best effort support.
3434

35+
We do not support experimental GitLab features until they are enabled by default or made Generally Available.
36+
3537
> Note, that the compatibility between a provider release and GitLab itself **cannot** be inferred from the
3638
release version. New features added to GitLab may not be added to the provider until later versions.
3739
Equally, features removed or deprecated in GitLab may not be removed or deprecated from the provider until later versions.
@@ -47,6 +49,14 @@ Use the navigation to the left to read about the valid functions and resources.
4749
> Using a Project or Group access token may cause issues with some resources, as those token types don't
4850
have full access to every API. This is also true when using a `CI_JOB_TOKEN`. Consider using a dedicated
4951
Personal Access Token or Service Account if you are experiencing permission errors when adding resources.
52+
## Authentication and Configuration
53+
54+
The configuration for the GitLab Provider can be derived from several sources,
55+
which are applied in the following order:
56+
57+
1. Attributes in the provider configuration (see Schema section below)
58+
2. Environment variables (see Schema section below)
59+
3. (experimental) Configuration file (see <https://gitlab.com/gitlab-org/api/client-go#use-the-config-package-experimental>)
5060
## Example Usage
5161

5262
{{< chooser language "typescript,python,go,csharp,java,yaml" >}}
@@ -424,7 +434,10 @@ public class App {
424434
- `cacertFile` (String) This is a file containing the ca cert to verify the gitlab instance. This is available for use when working with GitLab CE or Gitlab Enterprise with a locally-issued or self-signed certificate chain.
425435
- `clientCert` (String) File path to client certificate when GitLab instance is behind company proxy. File must contain PEM encoded data.
426436
- `clientKey` (String) File path to client key when GitLab instance is behind company proxy. File must contain PEM encoded data. Required when `clientCert` is set.
437+
- `configFile` (String) The path to the configuration file to use. It may be sourced from the `GITLAB_CONFIG_FILE` environment variable.
438+
- `context` (String) The context to use for authentication and configuration. The context must exist in the configuration file. It may be sourced from the `GITLAB_CONTEXT` environment variable.
427439
- `earlyAuthCheck` (Boolean) (Experimental) By default the provider does a dummy request to get the current user in order to verify that the provider configuration is correct and the GitLab API is reachable. Set this to `false` to skip this check. This may be useful if the GitLab instance does not yet exist and is created within the same pulumi module. It may be sourced from the `GITLAB_EARLY_AUTH_CHECK`. This is an experimental feature and may change in the future. Please make sure to always keep backups of your state.
440+
- `enableAutoCiSupport` (Boolean) If automatic CI support should be enabled or not. This only works when not providing a token.
428441
- `headers` (Map of String) A map of headers to append to all API request to the GitLab instance.
429442
- `insecure` (Boolean) When set to true this disables SSL verification of the connection to the GitLab instance.
430443
- `retries` (Number) The number of retries to execute when receiving a 429 Rate Limit error. Each retry will exponentially back off.

sdk/dotnet/ClusterAgentToken.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/Config/Config.cs

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/DeployToken.cs

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/GetClusterAgents.cs

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/GetGroupSamlLinks.cs

Lines changed: 95 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/GetInstanceVariable.cs

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)