config

package
v6.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBaseUrl

func GetBaseUrl(ctx *pulumi.Context) string

This is the target GitLab base API endpoint. Providing a value is a requirement when working with GitLab CE or GitLab Enterprise e.g. `https://my.gitlab.server/api/v4/`. It is optional to provide this value and it can also be sourced from the `GITLAB_BASE_URL` environment variable. The value must end with a slash.

func GetCacertFile

func GetCacertFile(ctx *pulumi.Context) 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.

func GetClientCert

func GetClientCert(ctx *pulumi.Context) string

File path to client certificate when GitLab instance is behind company proxy. File must contain PEM encoded data.

func GetClientKey

func GetClientKey(ctx *pulumi.Context) string

File path to client key when GitLab instance is behind company proxy. File must contain PEM encoded data. Required when `clientCert` is set.

func GetEarlyAuthCheck

func GetEarlyAuthCheck(ctx *pulumi.Context) bool

func GetInsecure

func GetInsecure(ctx *pulumi.Context) bool

When set to true this disables SSL verification of the connection to the GitLab instance.

func GetToken

func GetToken(ctx *pulumi.Context) string

The OAuth2 Token, Project, Group, Personal Access Token or CI Job Token used to connect to GitLab. The OAuth method is used in this provider for authentication (using Bearer authorization token). See https://docs.gitlab.com/ee/api/#authentication for details. It may be sourced from the `GITLAB_TOKEN` environment variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL