gitlab

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchProtection

type BranchProtection struct {
	// contains filtered or unexported fields
}

This resource allows you to protect a specific branch by an access level so that the user with less access level cannot Merge/Push to the branch. GitLab EE features to protect by group or user are not supported.

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/branch_protection.html.markdown.

func GetBranchProtection

func GetBranchProtection(ctx *pulumi.Context,
	name string, id pulumi.ID, state *BranchProtectionState, opts ...pulumi.ResourceOpt) (*BranchProtection, error)

GetBranchProtection gets an existing BranchProtection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBranchProtection

func NewBranchProtection(ctx *pulumi.Context,
	name string, args *BranchProtectionArgs, opts ...pulumi.ResourceOpt) (*BranchProtection, error)

NewBranchProtection registers a new resource with the given unique name, arguments, and options.

func (*BranchProtection) Branch

func (r *BranchProtection) Branch() pulumi.StringOutput

Name of the branch.

func (*BranchProtection) ID

ID is this resource's unique identifier assigned by its provider.

func (*BranchProtection) MergeAccessLevel

func (r *BranchProtection) MergeAccessLevel() pulumi.StringOutput

One of five levels of access to the project.

func (*BranchProtection) Project

func (r *BranchProtection) Project() pulumi.StringOutput

The id of the project.

func (*BranchProtection) PushAccessLevel

func (r *BranchProtection) PushAccessLevel() pulumi.StringOutput

One of five levels of access to the project.

func (*BranchProtection) URN

URN is this resource's unique name assigned by Pulumi.

type BranchProtectionArgs

type BranchProtectionArgs struct {
	// Name of the branch.
	Branch interface{}
	// One of five levels of access to the project.
	MergeAccessLevel interface{}
	// The id of the project.
	Project interface{}
	// One of five levels of access to the project.
	PushAccessLevel interface{}
}

The set of arguments for constructing a BranchProtection resource.

type BranchProtectionState

type BranchProtectionState struct {
	// Name of the branch.
	Branch interface{}
	// One of five levels of access to the project.
	MergeAccessLevel interface{}
	// The id of the project.
	Project interface{}
	// One of five levels of access to the project.
	PushAccessLevel interface{}
}

Input properties used for looking up and filtering BranchProtection resources.

type DeployKey

type DeployKey struct {
	// contains filtered or unexported fields
}

This resource allows you to create and manage deploy keys for your GitLab projects.

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/deploy_key.html.markdown.

func GetDeployKey

func GetDeployKey(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DeployKeyState, opts ...pulumi.ResourceOpt) (*DeployKey, error)

GetDeployKey gets an existing DeployKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeployKey

func NewDeployKey(ctx *pulumi.Context,
	name string, args *DeployKeyArgs, opts ...pulumi.ResourceOpt) (*DeployKey, error)

NewDeployKey registers a new resource with the given unique name, arguments, and options.

func (*DeployKey) CanPush

func (r *DeployKey) CanPush() pulumi.BoolOutput

Allow this deploy key to be used to push changes to the project. Defaults to `false`. **NOTE::** this cannot currently be managed.

func (*DeployKey) ID

func (r *DeployKey) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*DeployKey) Key

func (r *DeployKey) Key() pulumi.StringOutput

The public ssh key body.

func (*DeployKey) Project

func (r *DeployKey) Project() pulumi.StringOutput

The name or id of the project to add the deploy key to.

func (*DeployKey) Title

func (r *DeployKey) Title() pulumi.StringOutput

A title to describe the deploy key with.

func (*DeployKey) URN

func (r *DeployKey) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type DeployKeyArgs

type DeployKeyArgs struct {
	// Allow this deploy key to be used to push changes to the project.  Defaults to `false`. **NOTE::** this cannot currently be managed.
	CanPush interface{}
	// The public ssh key body.
	Key interface{}
	// The name or id of the project to add the deploy key to.
	Project interface{}
	// A title to describe the deploy key with.
	Title interface{}
}

The set of arguments for constructing a DeployKey resource.

type DeployKeyEnable added in v1.0.0

type DeployKeyEnable struct {
	// contains filtered or unexported fields
}

This resource allows you to enable pre-existing deploy keys for your GitLab projects.

**the GITLAB KEY_ID for the deploy key must be known**

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/deploy_key_enable.html.markdown.

func GetDeployKeyEnable added in v1.0.0

func GetDeployKeyEnable(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DeployKeyEnableState, opts ...pulumi.ResourceOpt) (*DeployKeyEnable, error)

GetDeployKeyEnable gets an existing DeployKeyEnable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeployKeyEnable added in v1.0.0

func NewDeployKeyEnable(ctx *pulumi.Context,
	name string, args *DeployKeyEnableArgs, opts ...pulumi.ResourceOpt) (*DeployKeyEnable, error)

NewDeployKeyEnable registers a new resource with the given unique name, arguments, and options.

func (*DeployKeyEnable) CanPush added in v1.0.0

func (r *DeployKeyEnable) CanPush() pulumi.BoolOutput

func (*DeployKeyEnable) ID added in v1.0.0

ID is this resource's unique identifier assigned by its provider.

func (*DeployKeyEnable) Key added in v1.0.0

func (*DeployKeyEnable) KeyId added in v1.0.0

func (r *DeployKeyEnable) KeyId() pulumi.StringOutput

The Gitlab key id for the pre-existing deploy key

func (*DeployKeyEnable) Project added in v1.0.0

func (r *DeployKeyEnable) Project() pulumi.StringOutput

The name or id of the project to add the deploy key to.

func (*DeployKeyEnable) Title added in v1.0.0

func (r *DeployKeyEnable) Title() pulumi.StringOutput

func (*DeployKeyEnable) URN added in v1.0.0

func (r *DeployKeyEnable) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type DeployKeyEnableArgs added in v1.0.0

type DeployKeyEnableArgs struct {
	CanPush interface{}
	Key     interface{}
	// The Gitlab key id for the pre-existing deploy key
	KeyId interface{}
	// The name or id of the project to add the deploy key to.
	Project interface{}
	Title   interface{}
}

The set of arguments for constructing a DeployKeyEnable resource.

type DeployKeyEnableState added in v1.0.0

type DeployKeyEnableState struct {
	CanPush interface{}
	Key     interface{}
	// The Gitlab key id for the pre-existing deploy key
	KeyId interface{}
	// The name or id of the project to add the deploy key to.
	Project interface{}
	Title   interface{}
}

Input properties used for looking up and filtering DeployKeyEnable resources.

type DeployKeyState

type DeployKeyState struct {
	// Allow this deploy key to be used to push changes to the project.  Defaults to `false`. **NOTE::** this cannot currently be managed.
	CanPush interface{}
	// The public ssh key body.
	Key interface{}
	// The name or id of the project to add the deploy key to.
	Project interface{}
	// A title to describe the deploy key with.
	Title interface{}
}

Input properties used for looking up and filtering DeployKey resources.

type GetGroupArgs

type GetGroupArgs struct {
	// The full path of the group.
	FullPath interface{}
	// The ID of the group.
	GroupId interface{}
}

A collection of arguments for invoking getGroup.

type GetGroupResult

type GetGroupResult struct {
	// The description of the group.
	Description interface{}
	// The full name of the group.
	FullName interface{}
	// The full path of the group.
	FullPath interface{}
	GroupId  interface{}
	// Boolean, is LFS enabled for projects in this group.
	LfsEnabled interface{}
	// The name of this group.
	Name interface{}
	// Integer, ID of the parent group.
	ParentId interface{}
	// The path of the group.
	Path interface{}
	// Boolean, is request for access enabled to the group.
	RequestAccessEnabled interface{}
	// The group level registration token to use during runner setup.
	RunnersToken interface{}
	// Visibility level of the group. Possible values are `private`, `internal`, `public`.
	VisibilityLevel interface{}
	// Web URL of the group.
	WebUrl interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getGroup.

func LookupGroup

func LookupGroup(ctx *pulumi.Context, args *GetGroupArgs) (*GetGroupResult, error)

Provides details about a specific group in the gitlab provider.

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/d/group.html.markdown.

type GetProjectArgs

type GetProjectArgs struct {
	Archived      interface{}
	DefaultBranch interface{}
	Description   interface{}
	HttpUrlToRepo interface{}
	// The integer that uniquely identifies the project within the gitlab install.
	Id                   interface{}
	IssuesEnabled        interface{}
	LfsEnabled           interface{}
	MergeRequestsEnabled interface{}
	Name                 interface{}
	NamespaceId          interface{}
	Path                 interface{}
	PipelinesEnabled     interface{}
	RequestAccessEnabled interface{}
	RunnersToken         interface{}
	SnippetsEnabled      interface{}
	SshUrlToRepo         interface{}
	VisibilityLevel      interface{}
	WebUrl               interface{}
	WikiEnabled          interface{}
}

A collection of arguments for invoking getProject.

type GetProjectResult

type GetProjectResult struct {
	// Whether the project is in read-only mode (archived).
	Archived interface{}
	// The default branch for the project.
	DefaultBranch interface{}
	// A description of the project.
	Description interface{}
	// URL that can be provided to `git clone` to clone the
	// repository via HTTP.
	HttpUrlToRepo interface{}
	// Integer that uniquely identifies the project within the gitlab install.
	Id interface{}
	// Enable issue tracking for the project.
	IssuesEnabled interface{}
	// Enable LFS for the project.
	LfsEnabled interface{}
	// Enable merge requests for the project.
	MergeRequestsEnabled interface{}
	Name                 interface{}
	// The namespace (group or user) of the project. Defaults to your user.
	// See `.Group` for an example.
	NamespaceId interface{}
	// The path of the repository.
	Path interface{}
	// Enable pipelines for the project.
	PipelinesEnabled interface{}
	// Allow users to request member access.
	RequestAccessEnabled interface{}
	// Registration token to use during runner setup.
	RunnersToken interface{}
	// Enable snippets for the project.
	SnippetsEnabled interface{}
	// URL that can be provided to `git clone` to clone the
	// repository via SSH.
	SshUrlToRepo interface{}
	// Repositories are created as private by default.
	VisibilityLevel interface{}
	// URL that can be used to find the project in a browser.
	WebUrl interface{}
	// Enable wiki for the project.
	WikiEnabled interface{}
}

A collection of values returned by getProject.

func LookupProject

func LookupProject(ctx *pulumi.Context, args *GetProjectArgs) (*GetProjectResult, error)

Provides details about a specific project in the gitlab provider. The results include the name of the project, path, description, default branch, etc.

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/d/project.html.markdown.

type GetUserArgs

type GetUserArgs struct {
	// The e-mail address of the user. (Requires administrator privileges)
	Email interface{}
	// The ID of the user.
	UserId interface{}
	// The username of the user.
	Username interface{}
}

A collection of arguments for invoking getUser.

type GetUserResult

type GetUserResult struct {
	// The avatar URL of the user.
	AvatarUrl interface{}
	// The bio of the user.
	Bio interface{}
	// Whether the user can create groups.
	CanCreateGroup interface{}
	// Whether the user can create projects.
	CanCreateProject interface{}
	// User's color scheme ID.
	ColorSchemeId interface{}
	// Date the user was created at.
	CreatedAt interface{}
	// Current user's sign-in date.
	CurrentSignInAt interface{}
	// The e-mail address of the user.
	Email interface{}
	// The external UID of the user.
	ExternUid interface{}
	// Whether the user is external.
	External interface{}
	// Whether the user is an admin.
	IsAdmin interface{}
	// Last user's sign-in date.
	LastSignInAt interface{}
	// Linkedin profile of the user.
	Linkedin interface{}
	// The location of the user.
	Location interface{}
	// The name of the user.
	Name interface{}
	// The organization of the user.
	Organization interface{}
	// Number of projects the user can create.
	ProjectsLimit interface{}
	// Skype username of the user.
	Skype interface{}
	// Whether the user is active or blocked.
	State interface{}
	// User's theme ID.
	ThemeId interface{}
	// Twitter username of the user.
	Twitter interface{}
	// Whether user's two factor auth is enabled.
	TwoFactorEnabled interface{}
	UserId           interface{}
	// The UID provider of the user.
	UserProvider interface{}
	// The username of the user.
	Username interface{}
	// User's website URL.
	WebsiteUrl interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getUser.

func LookupUser

func LookupUser(ctx *pulumi.Context, args *GetUserArgs) (*GetUserResult, error)

Provides details about a specific user in the gitlab provider. Especially the ability to lookup the id for linking to other resources.

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/d/user.html.markdown.

type GetUsersArgs

type GetUsersArgs struct {
	// Filter users that are active.
	Active interface{}
	// Filter users that are blocked.
	Blocked interface{}
	// Search for users created after a specific date. (Requires administrator privileges)
	CreatedAfter interface{}
	// Search for users created before a specific date. (Requires administrator privileges)
	CreatedBefore interface{}
	// Lookup users by external provider. (Requires administrator privileges)
	ExternProvider interface{}
	// Lookup users by external UID. (Requires administrator privileges)
	ExternUid interface{}
	// Order the users' list by `id`, `name`, `username`, `createdAt` or `updatedAt`. (Requires administrator privileges)
	OrderBy interface{}
	// Search users by username, name or email.
	Search interface{}
	// Sort users' list in asc or desc order. (Requires administrator privileges)
	Sort interface{}
}

A collection of arguments for invoking getUsers.

type GetUsersResult

type GetUsersResult struct {
	Active         interface{}
	Blocked        interface{}
	CreatedAfter   interface{}
	CreatedBefore  interface{}
	ExternProvider interface{}
	// The external UID of the user.
	ExternUid interface{}
	OrderBy   interface{}
	Search    interface{}
	Sort      interface{}
	// The list of users.
	Users interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getUsers.

func LookupUsers

func LookupUsers(ctx *pulumi.Context, args *GetUsersArgs) (*GetUsersResult, error)

Provides details about a list of users in the gitlab provider. The results include id, username, email, name and more about the requested users. Users can also be sorted and filtered using several options.

**NOTE**: Some of the available options require administrator privileges. Please visit [Gitlab API documentation][usersForAdmins] for more information.

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/d/users.html.markdown.

type Group

type Group struct {
	// contains filtered or unexported fields
}

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/group.html.markdown.

func GetGroup

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.ID, state *GroupState, opts ...pulumi.ResourceOpt) (*Group, error)

GetGroup gets an existing Group resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroup

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOpt) (*Group, error)

NewGroup registers a new resource with the given unique name, arguments, and options.

func (*Group) Description

func (r *Group) Description() pulumi.StringOutput

The description of the group.

func (*Group) FullName

func (r *Group) FullName() pulumi.StringOutput

The full name of the group.

func (*Group) FullPath

func (r *Group) FullPath() pulumi.StringOutput

The full path of the group.

func (*Group) ID

func (r *Group) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Group) LfsEnabled

func (r *Group) LfsEnabled() pulumi.BoolOutput

Boolean, defaults to true. Whether to enable LFS support for projects in this group.

func (*Group) Name

func (r *Group) Name() pulumi.StringOutput

The name of this group.

func (*Group) ParentId

func (r *Group) ParentId() pulumi.IntOutput

Integer, id of the parent group (creates a nested group).

func (*Group) Path

func (r *Group) Path() pulumi.StringOutput

The path of the group.

func (*Group) RequestAccessEnabled

func (r *Group) RequestAccessEnabled() pulumi.BoolOutput

Boolean, defaults to false. Whether to enable users to request access to the group.

func (*Group) RunnersToken added in v1.2.0

func (r *Group) RunnersToken() pulumi.StringOutput

The group level registration token to use during runner setup.

func (*Group) URN

func (r *Group) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Group) VisibilityLevel

func (r *Group) VisibilityLevel() pulumi.StringOutput

Set to `public` to create a public group. Valid values are `private`, `internal`, `public`. Groups are created as private by default.

func (*Group) WebUrl

func (r *Group) WebUrl() pulumi.StringOutput

Web URL of the group.

type GroupArgs

type GroupArgs struct {
	// The description of the group.
	Description interface{}
	// Boolean, defaults to true.  Whether to enable LFS
	// support for projects in this group.
	LfsEnabled interface{}
	// The name of this group.
	Name interface{}
	// Integer, id of the parent group (creates a nested group).
	ParentId interface{}
	// The path of the group.
	Path interface{}
	// Boolean, defaults to false.  Whether to
	// enable users to request access to the group.
	RequestAccessEnabled interface{}
	// Set to `public` to create a public group.
	// Valid values are `private`, `internal`, `public`.
	// Groups are created as private by default.
	VisibilityLevel interface{}
}

The set of arguments for constructing a Group resource.

type GroupCluster added in v1.2.0

type GroupCluster struct {
	// contains filtered or unexported fields
}

This resource allows you to create and manage group clusters for your GitLab groups. For further information on clusters, consult the [gitlab documentation](https://docs.gitlab.com/ce/user/group/clusters/index.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/group_cluster.html.markdown.

func GetGroupCluster added in v1.2.0

func GetGroupCluster(ctx *pulumi.Context,
	name string, id pulumi.ID, state *GroupClusterState, opts ...pulumi.ResourceOpt) (*GroupCluster, error)

GetGroupCluster gets an existing GroupCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupCluster added in v1.2.0

func NewGroupCluster(ctx *pulumi.Context,
	name string, args *GroupClusterArgs, opts ...pulumi.ResourceOpt) (*GroupCluster, error)

NewGroupCluster registers a new resource with the given unique name, arguments, and options.

func (*GroupCluster) ClusterType added in v1.2.0

func (r *GroupCluster) ClusterType() pulumi.StringOutput

func (*GroupCluster) CreatedAt added in v1.2.0

func (r *GroupCluster) CreatedAt() pulumi.StringOutput

func (*GroupCluster) Domain added in v1.2.0

func (r *GroupCluster) Domain() pulumi.StringOutput

The base domain of the cluster.

func (*GroupCluster) Enabled added in v1.2.0

func (r *GroupCluster) Enabled() pulumi.BoolOutput

Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.

func (*GroupCluster) EnvironmentScope added in v1.2.0

func (r *GroupCluster) EnvironmentScope() pulumi.StringOutput

The associated environment to the cluster. Defaults to `*`.

func (*GroupCluster) Group added in v1.2.0

func (r *GroupCluster) Group() pulumi.StringOutput

The id of the group to add the cluster to.

func (*GroupCluster) ID added in v1.2.0

func (r *GroupCluster) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*GroupCluster) KubernetesApiUrl added in v1.2.0

func (r *GroupCluster) KubernetesApiUrl() pulumi.StringOutput

The URL to access the Kubernetes API.

func (*GroupCluster) KubernetesAuthorizationType added in v1.2.0

func (r *GroupCluster) KubernetesAuthorizationType() pulumi.StringOutput

The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.

func (*GroupCluster) KubernetesCaCert added in v1.2.0

func (r *GroupCluster) KubernetesCaCert() pulumi.StringOutput

TLS certificate (needed if API is using a self-signed TLS certificate).

func (*GroupCluster) KubernetesToken added in v1.2.0

func (r *GroupCluster) KubernetesToken() pulumi.StringOutput

The token to authenticate against Kubernetes.

func (*GroupCluster) Managed added in v1.2.0

func (r *GroupCluster) Managed() pulumi.BoolOutput

Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.

func (*GroupCluster) Name added in v1.2.0

func (r *GroupCluster) Name() pulumi.StringOutput

The name of cluster.

func (*GroupCluster) PlatformType added in v1.2.0

func (r *GroupCluster) PlatformType() pulumi.StringOutput

func (*GroupCluster) ProviderType added in v1.2.0

func (r *GroupCluster) ProviderType() pulumi.StringOutput

func (*GroupCluster) URN added in v1.2.0

func (r *GroupCluster) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type GroupClusterArgs added in v1.2.0

type GroupClusterArgs struct {
	// The base domain of the cluster.
	Domain interface{}
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled interface{}
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope interface{}
	// The id of the group to add the cluster to.
	Group interface{}
	// The URL to access the Kubernetes API.
	KubernetesApiUrl interface{}
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType interface{}
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert interface{}
	// The token to authenticate against Kubernetes.
	KubernetesToken interface{}
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed interface{}
	// The name of cluster.
	Name interface{}
}

The set of arguments for constructing a GroupCluster resource.

type GroupClusterState added in v1.2.0

type GroupClusterState struct {
	ClusterType interface{}
	CreatedAt   interface{}
	// The base domain of the cluster.
	Domain interface{}
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled interface{}
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope interface{}
	// The id of the group to add the cluster to.
	Group interface{}
	// The URL to access the Kubernetes API.
	KubernetesApiUrl interface{}
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType interface{}
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert interface{}
	// The token to authenticate against Kubernetes.
	KubernetesToken interface{}
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed interface{}
	// The name of cluster.
	Name         interface{}
	PlatformType interface{}
	ProviderType interface{}
}

Input properties used for looking up and filtering GroupCluster resources.

type GroupLabel added in v1.2.0

type GroupLabel struct {
	// contains filtered or unexported fields
}

This resource allows you to create and manage labels for your GitLab groups. For further information on labels, consult the [gitlab documentation](https://docs.gitlab.com/ee/user/group/labels.htm).

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/group_label.html.markdown.

func GetGroupLabel added in v1.2.0

func GetGroupLabel(ctx *pulumi.Context,
	name string, id pulumi.ID, state *GroupLabelState, opts ...pulumi.ResourceOpt) (*GroupLabel, error)

GetGroupLabel gets an existing GroupLabel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupLabel added in v1.2.0

func NewGroupLabel(ctx *pulumi.Context,
	name string, args *GroupLabelArgs, opts ...pulumi.ResourceOpt) (*GroupLabel, error)

NewGroupLabel registers a new resource with the given unique name, arguments, and options.

func (*GroupLabel) Color added in v1.2.0

func (r *GroupLabel) Color() pulumi.StringOutput

The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).

func (*GroupLabel) Description added in v1.2.0

func (r *GroupLabel) Description() pulumi.StringOutput

The description of the label.

func (*GroupLabel) Group added in v1.2.0

func (r *GroupLabel) Group() pulumi.StringOutput

The name or id of the group to add the label to.

func (*GroupLabel) ID added in v1.2.0

func (r *GroupLabel) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*GroupLabel) Name added in v1.2.0

func (r *GroupLabel) Name() pulumi.StringOutput

The name of the label.

func (*GroupLabel) URN added in v1.2.0

func (r *GroupLabel) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type GroupLabelArgs added in v1.2.0

type GroupLabelArgs struct {
	// The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
	Color interface{}
	// The description of the label.
	Description interface{}
	// The name or id of the group to add the label to.
	Group interface{}
	// The name of the label.
	Name interface{}
}

The set of arguments for constructing a GroupLabel resource.

type GroupLabelState added in v1.2.0

type GroupLabelState struct {
	// The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
	Color interface{}
	// The description of the label.
	Description interface{}
	// The name or id of the group to add the label to.
	Group interface{}
	// The name of the label.
	Name interface{}
}

Input properties used for looking up and filtering GroupLabel resources.

type GroupMembership

type GroupMembership struct {
	// contains filtered or unexported fields
}

This resource allows you to add a user to an existing group.

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/group_membership.html.markdown.

func GetGroupMembership

func GetGroupMembership(ctx *pulumi.Context,
	name string, id pulumi.ID, state *GroupMembershipState, opts ...pulumi.ResourceOpt) (*GroupMembership, error)

GetGroupMembership gets an existing GroupMembership resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupMembership

func NewGroupMembership(ctx *pulumi.Context,
	name string, args *GroupMembershipArgs, opts ...pulumi.ResourceOpt) (*GroupMembership, error)

NewGroupMembership registers a new resource with the given unique name, arguments, and options.

func (*GroupMembership) AccessLevel

func (r *GroupMembership) AccessLevel() pulumi.StringOutput

Acceptable values are: guest, reporter, developer, maintainer, owner.

func (*GroupMembership) ExpiresAt

func (r *GroupMembership) ExpiresAt() pulumi.StringOutput

Expiration date for the group membership. Format: `YYYY-MM-DD`

func (*GroupMembership) GroupId

func (r *GroupMembership) GroupId() pulumi.StringOutput

The id of the group.

func (*GroupMembership) ID

ID is this resource's unique identifier assigned by its provider.

func (*GroupMembership) URN

func (r *GroupMembership) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*GroupMembership) UserId

func (r *GroupMembership) UserId() pulumi.IntOutput

The id of the user.

type GroupMembershipArgs

type GroupMembershipArgs struct {
	// Acceptable values are: guest, reporter, developer, maintainer, owner.
	AccessLevel interface{}
	// Expiration date for the group membership. Format: `YYYY-MM-DD`
	ExpiresAt interface{}
	// The id of the group.
	GroupId interface{}
	// The id of the user.
	UserId interface{}
}

The set of arguments for constructing a GroupMembership resource.

type GroupMembershipState

type GroupMembershipState struct {
	// Acceptable values are: guest, reporter, developer, maintainer, owner.
	AccessLevel interface{}
	// Expiration date for the group membership. Format: `YYYY-MM-DD`
	ExpiresAt interface{}
	// The id of the group.
	GroupId interface{}
	// The id of the user.
	UserId interface{}
}

Input properties used for looking up and filtering GroupMembership resources.

type GroupState

type GroupState struct {
	// The description of the group.
	Description interface{}
	// The full name of the group.
	FullName interface{}
	// The full path of the group.
	FullPath interface{}
	// Boolean, defaults to true.  Whether to enable LFS
	// support for projects in this group.
	LfsEnabled interface{}
	// The name of this group.
	Name interface{}
	// Integer, id of the parent group (creates a nested group).
	ParentId interface{}
	// The path of the group.
	Path interface{}
	// Boolean, defaults to false.  Whether to
	// enable users to request access to the group.
	RequestAccessEnabled interface{}
	// The group level registration token to use during runner setup.
	RunnersToken interface{}
	// Set to `public` to create a public group.
	// Valid values are `private`, `internal`, `public`.
	// Groups are created as private by default.
	VisibilityLevel interface{}
	// Web URL of the group.
	WebUrl interface{}
}

Input properties used for looking up and filtering Group resources.

type GroupVariable

type GroupVariable struct {
	// contains filtered or unexported fields
}

This resource allows you to create and manage CI/CD variables for your GitLab groups. For further information on variables, consult the [gitlab documentation](https://docs.gitlab.com/ce/ci/variables/README.html#variables).

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/group_variable.html.markdown.

func GetGroupVariable

func GetGroupVariable(ctx *pulumi.Context,
	name string, id pulumi.ID, state *GroupVariableState, opts ...pulumi.ResourceOpt) (*GroupVariable, error)

GetGroupVariable gets an existing GroupVariable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupVariable

func NewGroupVariable(ctx *pulumi.Context,
	name string, args *GroupVariableArgs, opts ...pulumi.ResourceOpt) (*GroupVariable, error)

NewGroupVariable registers a new resource with the given unique name, arguments, and options.

func (*GroupVariable) Group

func (r *GroupVariable) Group() pulumi.StringOutput

The name or id of the group to add the hook to.

func (*GroupVariable) ID

func (r *GroupVariable) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*GroupVariable) Key

The name of the variable.

func (*GroupVariable) Protected

func (r *GroupVariable) Protected() pulumi.BoolOutput

If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.

func (*GroupVariable) URN

func (r *GroupVariable) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*GroupVariable) Value

func (r *GroupVariable) Value() pulumi.StringOutput

The value of the variable.

func (*GroupVariable) VariableType added in v1.0.0

func (r *GroupVariable) VariableType() pulumi.StringOutput

The type of a variable. Available types are: envVar (default) and file.

type GroupVariableArgs

type GroupVariableArgs struct {
	// The name or id of the group to add the hook to.
	Group interface{}
	// The name of the variable.
	Key interface{}
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected interface{}
	// The value of the variable.
	Value interface{}
	// The type of a variable. Available types are: envVar (default) and file.
	VariableType interface{}
}

The set of arguments for constructing a GroupVariable resource.

type GroupVariableState

type GroupVariableState struct {
	// The name or id of the group to add the hook to.
	Group interface{}
	// The name of the variable.
	Key interface{}
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected interface{}
	// The value of the variable.
	Value interface{}
	// The type of a variable. Available types are: envVar (default) and file.
	VariableType interface{}
}

Input properties used for looking up and filtering GroupVariable resources.

type Label

type Label struct {
	// contains filtered or unexported fields
}

This resource allows you to create and manage labels for your GitLab projects. For further information on labels, consult the [gitlab documentation](https://docs.gitlab.com/ee/user/project/labels.htm).

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/label.html.markdown.

func GetLabel

func GetLabel(ctx *pulumi.Context,
	name string, id pulumi.ID, state *LabelState, opts ...pulumi.ResourceOpt) (*Label, error)

GetLabel gets an existing Label resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLabel

func NewLabel(ctx *pulumi.Context,
	name string, args *LabelArgs, opts ...pulumi.ResourceOpt) (*Label, error)

NewLabel registers a new resource with the given unique name, arguments, and options.

func (*Label) Color

func (r *Label) Color() pulumi.StringOutput

The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).

func (*Label) Description

func (r *Label) Description() pulumi.StringOutput

The description of the label.

func (*Label) ID

func (r *Label) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Label) Name

func (r *Label) Name() pulumi.StringOutput

The name of the label.

func (*Label) Project

func (r *Label) Project() pulumi.StringOutput

The name or id of the project to add the label to.

func (*Label) URN

func (r *Label) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type LabelArgs

type LabelArgs struct {
	// The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
	Color interface{}
	// The description of the label.
	Description interface{}
	// The name of the label.
	Name interface{}
	// The name or id of the project to add the label to.
	Project interface{}
}

The set of arguments for constructing a Label resource.

type LabelState

type LabelState struct {
	// The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
	Color interface{}
	// The description of the label.
	Description interface{}
	// The name of the label.
	Name interface{}
	// The name or id of the project to add the label to.
	Project interface{}
}

Input properties used for looking up and filtering Label resources.

type PipelineSchedule

type PipelineSchedule struct {
	// contains filtered or unexported fields
}

This resource allows you to create and manage pipeline schedules. For further information on clusters, consult the [gitlab documentation](https://docs.gitlab.com/ce/user/project/pipelines/schedules.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/pipeline_schedule.html.markdown.

func GetPipelineSchedule

func GetPipelineSchedule(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PipelineScheduleState, opts ...pulumi.ResourceOpt) (*PipelineSchedule, error)

GetPipelineSchedule gets an existing PipelineSchedule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPipelineSchedule

func NewPipelineSchedule(ctx *pulumi.Context,
	name string, args *PipelineScheduleArgs, opts ...pulumi.ResourceOpt) (*PipelineSchedule, error)

NewPipelineSchedule registers a new resource with the given unique name, arguments, and options.

func (*PipelineSchedule) Active

func (r *PipelineSchedule) Active() pulumi.BoolOutput

The activation of pipeline schedule. If false is set, the pipeline schedule will deactivated initially.

func (*PipelineSchedule) Cron

The cron (e.g. `0 1 * * *`).

func (*PipelineSchedule) CronTimezone

func (r *PipelineSchedule) CronTimezone() pulumi.StringOutput

The timezone.

func (*PipelineSchedule) Description

func (r *PipelineSchedule) Description() pulumi.StringOutput

The description of the pipeline schedule.

func (*PipelineSchedule) ID

ID is this resource's unique identifier assigned by its provider.

func (*PipelineSchedule) Project

func (r *PipelineSchedule) Project() pulumi.StringOutput

The name or id of the project to add the schedule to.

func (*PipelineSchedule) Ref

The branch/tag name to be triggered.

func (*PipelineSchedule) URN

URN is this resource's unique name assigned by Pulumi.

type PipelineScheduleArgs

type PipelineScheduleArgs struct {
	// The activation of pipeline schedule. If false is set, the pipeline schedule will deactivated initially.
	Active interface{}
	// The cron (e.g. `0 1 * * *`).
	Cron interface{}
	// The timezone.
	CronTimezone interface{}
	// The description of the pipeline schedule.
	Description interface{}
	// The name or id of the project to add the schedule to.
	Project interface{}
	// The branch/tag name to be triggered.
	Ref interface{}
}

The set of arguments for constructing a PipelineSchedule resource.

type PipelineScheduleState

type PipelineScheduleState struct {
	// The activation of pipeline schedule. If false is set, the pipeline schedule will deactivated initially.
	Active interface{}
	// The cron (e.g. `0 1 * * *`).
	Cron interface{}
	// The timezone.
	CronTimezone interface{}
	// The description of the pipeline schedule.
	Description interface{}
	// The name or id of the project to add the schedule to.
	Project interface{}
	// The branch/tag name to be triggered.
	Ref interface{}
}

Input properties used for looking up and filtering PipelineSchedule resources.

type PipelineScheduleVariable added in v1.2.0

type PipelineScheduleVariable struct {
	// contains filtered or unexported fields
}

This resource allows you to create and manage variables for pipeline schedules.

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/pipeline_schedule_variable.html.markdown.

func GetPipelineScheduleVariable added in v1.2.0

func GetPipelineScheduleVariable(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PipelineScheduleVariableState, opts ...pulumi.ResourceOpt) (*PipelineScheduleVariable, error)

GetPipelineScheduleVariable gets an existing PipelineScheduleVariable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPipelineScheduleVariable added in v1.2.0

func NewPipelineScheduleVariable(ctx *pulumi.Context,
	name string, args *PipelineScheduleVariableArgs, opts ...pulumi.ResourceOpt) (*PipelineScheduleVariable, error)

NewPipelineScheduleVariable registers a new resource with the given unique name, arguments, and options.

func (*PipelineScheduleVariable) ID added in v1.2.0

ID is this resource's unique identifier assigned by its provider.

func (*PipelineScheduleVariable) Key added in v1.2.0

Name of the variable.

func (*PipelineScheduleVariable) PipelineScheduleId added in v1.2.0

func (r *PipelineScheduleVariable) PipelineScheduleId() pulumi.IntOutput

The id of the pipeline schedule.

func (*PipelineScheduleVariable) Project added in v1.2.0

The id of the project to add the schedule to.

func (*PipelineScheduleVariable) URN added in v1.2.0

URN is this resource's unique name assigned by Pulumi.

func (*PipelineScheduleVariable) Value added in v1.2.0

Value of the variable.

type PipelineScheduleVariableArgs added in v1.2.0

type PipelineScheduleVariableArgs struct {
	// Name of the variable.
	Key interface{}
	// The id of the pipeline schedule.
	PipelineScheduleId interface{}
	// The id of the project to add the schedule to.
	Project interface{}
	// Value of the variable.
	Value interface{}
}

The set of arguments for constructing a PipelineScheduleVariable resource.

type PipelineScheduleVariableState added in v1.2.0

type PipelineScheduleVariableState struct {
	// Name of the variable.
	Key interface{}
	// The id of the pipeline schedule.
	PipelineScheduleId interface{}
	// The id of the project to add the schedule to.
	Project interface{}
	// Value of the variable.
	Value interface{}
}

Input properties used for looking up and filtering PipelineScheduleVariable resources.

type PipelineTrigger

type PipelineTrigger struct {
	// contains filtered or unexported fields
}

This resource allows you to create and manage pipeline triggers

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/pipeline_trigger.html.markdown.

func GetPipelineTrigger

func GetPipelineTrigger(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PipelineTriggerState, opts ...pulumi.ResourceOpt) (*PipelineTrigger, error)

GetPipelineTrigger gets an existing PipelineTrigger resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPipelineTrigger

func NewPipelineTrigger(ctx *pulumi.Context,
	name string, args *PipelineTriggerArgs, opts ...pulumi.ResourceOpt) (*PipelineTrigger, error)

NewPipelineTrigger registers a new resource with the given unique name, arguments, and options.

func (*PipelineTrigger) Description

func (r *PipelineTrigger) Description() pulumi.StringOutput

The description of the pipeline trigger.

func (*PipelineTrigger) ID

ID is this resource's unique identifier assigned by its provider.

func (*PipelineTrigger) Project

func (r *PipelineTrigger) Project() pulumi.StringOutput

The name or id of the project to add the trigger to.

func (*PipelineTrigger) Token

func (r *PipelineTrigger) Token() pulumi.StringOutput

func (*PipelineTrigger) URN

func (r *PipelineTrigger) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type PipelineTriggerArgs

type PipelineTriggerArgs struct {
	// The description of the pipeline trigger.
	Description interface{}
	// The name or id of the project to add the trigger to.
	Project interface{}
}

The set of arguments for constructing a PipelineTrigger resource.

type PipelineTriggerState

type PipelineTriggerState struct {
	// The description of the pipeline trigger.
	Description interface{}
	// The name or id of the project to add the trigger to.
	Project interface{}
	Token   interface{}
}

Input properties used for looking up and filtering PipelineTrigger resources.

type Project

type Project struct {
	// contains filtered or unexported fields
}

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/project.html.markdown.

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ProjectState, opts ...pulumi.ResourceOpt) (*Project, error)

GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOpt) (*Project, error)

NewProject registers a new resource with the given unique name, arguments, and options.

func (*Project) ApprovalsBeforeMerge

func (r *Project) ApprovalsBeforeMerge() pulumi.IntOutput

Number of merge request approvals required for merging. Default is 0.

func (*Project) Archived

func (r *Project) Archived() pulumi.BoolOutput

Whether the project is in read-only mode (archived). Repositories can be archived/unarchived by toggling this parameter.

func (*Project) ContainerRegistryEnabled

func (r *Project) ContainerRegistryEnabled() pulumi.BoolOutput

Enable container registry for the project.

func (*Project) DefaultBranch

func (r *Project) DefaultBranch() pulumi.StringOutput

The default branch for the project.

func (*Project) Description

func (r *Project) Description() pulumi.StringOutput

A description of the project.

func (*Project) HttpUrlToRepo

func (r *Project) HttpUrlToRepo() pulumi.StringOutput

URL that can be provided to `git clone` to clone the repository via HTTP.

func (*Project) ID

func (r *Project) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Project) InitializeWithReadme added in v1.0.0

func (r *Project) InitializeWithReadme() pulumi.BoolOutput

Create master branch with first commit containing a README.md file.

func (*Project) IssuesEnabled

func (r *Project) IssuesEnabled() pulumi.BoolOutput

Enable issue tracking for the project.

func (*Project) LfsEnabled added in v1.3.0

func (r *Project) LfsEnabled() pulumi.BoolOutput

Enable LFS for the project.

func (*Project) MergeMethod

func (r *Project) MergeMethod() pulumi.StringOutput

Set to `ff` to create fast-forward merges Valid values are `merge`, `rebaseMerge`, `ff` Repositories are created with `merge` by default

func (*Project) MergeRequestsEnabled

func (r *Project) MergeRequestsEnabled() pulumi.BoolOutput

Enable merge requests for the project.

func (*Project) Name

func (r *Project) Name() pulumi.StringOutput

The name of the project.

func (*Project) NamespaceId

func (r *Project) NamespaceId() pulumi.IntOutput

The namespace (group or user) of the project. Defaults to your user. See `.Group` for an example.

func (*Project) OnlyAllowMergeIfAllDiscussionsAreResolved

func (r *Project) OnlyAllowMergeIfAllDiscussionsAreResolved() pulumi.BoolOutput

Set to true if you want allow merges only if all discussions are resolved.

func (*Project) OnlyAllowMergeIfPipelineSucceeds

func (r *Project) OnlyAllowMergeIfPipelineSucceeds() pulumi.BoolOutput

Set to true if you want allow merges only if a pipeline succeeds.

func (*Project) Path

func (r *Project) Path() pulumi.StringOutput

The path of the repository.

func (*Project) PipelinesEnabled added in v1.3.0

func (r *Project) PipelinesEnabled() pulumi.BoolOutput

Enable pipelines for the project.

func (*Project) RequestAccessEnabled added in v1.3.0

func (r *Project) RequestAccessEnabled() pulumi.BoolOutput

Allow users to request member access.

func (*Project) RunnersToken

func (r *Project) RunnersToken() pulumi.StringOutput

Registration token to use during runner setup.

func (*Project) SharedRunnersEnabled

func (r *Project) SharedRunnersEnabled() pulumi.BoolOutput

Enable shared runners for this project.

func (*Project) SharedWithGroups

func (r *Project) SharedWithGroups() pulumi.ArrayOutput

Enable sharing the project with a list of groups (maps).

func (*Project) SnippetsEnabled

func (r *Project) SnippetsEnabled() pulumi.BoolOutput

Enable snippets for the project.

func (*Project) SshUrlToRepo

func (r *Project) SshUrlToRepo() pulumi.StringOutput

URL that can be provided to `git clone` to clone the repository via SSH.

func (*Project) Tags

func (r *Project) Tags() pulumi.ArrayOutput

Tags (topics) of the project.

func (*Project) URN

func (r *Project) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Project) VisibilityLevel

func (r *Project) VisibilityLevel() pulumi.StringOutput

Set to `public` to create a public project. Valid values are `private`, `internal`, `public`. Repositories are created as private by default.

func (*Project) WebUrl

func (r *Project) WebUrl() pulumi.StringOutput

URL that can be used to find the project in a browser.

func (*Project) WikiEnabled

func (r *Project) WikiEnabled() pulumi.BoolOutput

Enable wiki for the project.

type ProjectArgs

type ProjectArgs struct {
	// Number of merge request approvals required for merging. Default is 0.
	ApprovalsBeforeMerge interface{}
	// Whether the project is in read-only mode (archived). Repositories can be archived/unarchived by toggling this parameter.
	Archived interface{}
	// Enable container registry for the project.
	ContainerRegistryEnabled interface{}
	// The default branch for the project.
	DefaultBranch interface{}
	// A description of the project.
	Description interface{}
	// Create master branch with first commit containing a README.md file.
	InitializeWithReadme interface{}
	// Enable issue tracking for the project.
	IssuesEnabled interface{}
	// Enable LFS for the project.
	LfsEnabled interface{}
	// Set to `ff` to create fast-forward merges
	// Valid values are `merge`, `rebaseMerge`, `ff`
	// Repositories are created with `merge` by default
	MergeMethod interface{}
	// Enable merge requests for the project.
	MergeRequestsEnabled interface{}
	// The name of the project.
	Name interface{}
	// The namespace (group or user) of the project. Defaults to your user.
	// See `.Group` for an example.
	NamespaceId interface{}
	// Set to true if you want allow merges only if all discussions are resolved.
	OnlyAllowMergeIfAllDiscussionsAreResolved interface{}
	// Set to true if you want allow merges only if a pipeline succeeds.
	OnlyAllowMergeIfPipelineSucceeds interface{}
	// The path of the repository.
	Path interface{}
	// Enable pipelines for the project.
	PipelinesEnabled interface{}
	// Allow users to request member access.
	RequestAccessEnabled interface{}
	// Enable shared runners for this project.
	SharedRunnersEnabled interface{}
	// Enable sharing the project with a list of groups (maps).
	SharedWithGroups interface{}
	// Enable snippets for the project.
	SnippetsEnabled interface{}
	// Tags (topics) of the project.
	Tags interface{}
	// Set to `public` to create a public project.
	// Valid values are `private`, `internal`, `public`.
	// Repositories are created as private by default.
	VisibilityLevel interface{}
	// Enable wiki for the project.
	WikiEnabled interface{}
}

The set of arguments for constructing a Project resource.

type ProjectCluster

type ProjectCluster struct {
	// contains filtered or unexported fields
}

This resource allows you to create and manage project clusters for your GitLab projects. For further information on clusters, consult the [gitlab documentation](https://docs.gitlab.com/ce/user/project/clusters/index.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/project_cluster.html.markdown.

func GetProjectCluster

func GetProjectCluster(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ProjectClusterState, opts ...pulumi.ResourceOpt) (*ProjectCluster, error)

GetProjectCluster gets an existing ProjectCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectCluster

func NewProjectCluster(ctx *pulumi.Context,
	name string, args *ProjectClusterArgs, opts ...pulumi.ResourceOpt) (*ProjectCluster, error)

NewProjectCluster registers a new resource with the given unique name, arguments, and options.

func (*ProjectCluster) ClusterType

func (r *ProjectCluster) ClusterType() pulumi.StringOutput

func (*ProjectCluster) CreatedAt

func (r *ProjectCluster) CreatedAt() pulumi.StringOutput

func (*ProjectCluster) Domain

func (r *ProjectCluster) Domain() pulumi.StringOutput

The base domain of the cluster.

func (*ProjectCluster) Enabled

func (r *ProjectCluster) Enabled() pulumi.BoolOutput

Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.

func (*ProjectCluster) EnvironmentScope

func (r *ProjectCluster) EnvironmentScope() pulumi.StringOutput

The associated environment to the cluster. Defaults to `*`.

func (*ProjectCluster) ID

func (r *ProjectCluster) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ProjectCluster) KubernetesApiUrl

func (r *ProjectCluster) KubernetesApiUrl() pulumi.StringOutput

The URL to access the Kubernetes API.

func (*ProjectCluster) KubernetesAuthorizationType

func (r *ProjectCluster) KubernetesAuthorizationType() pulumi.StringOutput

The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.

func (*ProjectCluster) KubernetesCaCert

func (r *ProjectCluster) KubernetesCaCert() pulumi.StringOutput

TLS certificate (needed if API is using a self-signed TLS certificate).

func (*ProjectCluster) KubernetesNamespace

func (r *ProjectCluster) KubernetesNamespace() pulumi.StringOutput

The unique namespace related to the project.

func (*ProjectCluster) KubernetesToken

func (r *ProjectCluster) KubernetesToken() pulumi.StringOutput

The token to authenticate against Kubernetes.

func (*ProjectCluster) Managed

func (r *ProjectCluster) Managed() pulumi.BoolOutput

Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.

func (*ProjectCluster) Name

The name of cluster.

func (*ProjectCluster) PlatformType

func (r *ProjectCluster) PlatformType() pulumi.StringOutput

func (*ProjectCluster) Project

func (r *ProjectCluster) Project() pulumi.StringOutput

The id of the project to add the cluster to.

func (*ProjectCluster) ProviderType

func (r *ProjectCluster) ProviderType() pulumi.StringOutput

func (*ProjectCluster) URN

func (r *ProjectCluster) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ProjectClusterArgs

type ProjectClusterArgs struct {
	// The base domain of the cluster.
	Domain interface{}
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled interface{}
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope interface{}
	// The URL to access the Kubernetes API.
	KubernetesApiUrl interface{}
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType interface{}
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert interface{}
	// The unique namespace related to the project.
	KubernetesNamespace interface{}
	// The token to authenticate against Kubernetes.
	KubernetesToken interface{}
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed interface{}
	// The name of cluster.
	Name interface{}
	// The id of the project to add the cluster to.
	Project interface{}
}

The set of arguments for constructing a ProjectCluster resource.

type ProjectClusterState

type ProjectClusterState struct {
	ClusterType interface{}
	CreatedAt   interface{}
	// The base domain of the cluster.
	Domain interface{}
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled interface{}
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope interface{}
	// The URL to access the Kubernetes API.
	KubernetesApiUrl interface{}
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType interface{}
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert interface{}
	// The unique namespace related to the project.
	KubernetesNamespace interface{}
	// The token to authenticate against Kubernetes.
	KubernetesToken interface{}
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed interface{}
	// The name of cluster.
	Name         interface{}
	PlatformType interface{}
	// The id of the project to add the cluster to.
	Project      interface{}
	ProviderType interface{}
}

Input properties used for looking up and filtering ProjectCluster resources.

type ProjectHook

type ProjectHook struct {
	// contains filtered or unexported fields
}

This resource allows you to create and manage hooks for your GitLab projects. For further information on hooks, consult the [gitlab documentation](https://docs.gitlab.com/ce/user/project/integrations/webhooks.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/project_hook.html.markdown.

func GetProjectHook

func GetProjectHook(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ProjectHookState, opts ...pulumi.ResourceOpt) (*ProjectHook, error)

GetProjectHook gets an existing ProjectHook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectHook

func NewProjectHook(ctx *pulumi.Context,
	name string, args *ProjectHookArgs, opts ...pulumi.ResourceOpt) (*ProjectHook, error)

NewProjectHook registers a new resource with the given unique name, arguments, and options.

func (*ProjectHook) EnableSslVerification

func (r *ProjectHook) EnableSslVerification() pulumi.BoolOutput

Enable ssl verification when invoking the hook.

func (*ProjectHook) ID

func (r *ProjectHook) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ProjectHook) IssuesEvents

func (r *ProjectHook) IssuesEvents() pulumi.BoolOutput

Invoke the hook for issues events.

func (*ProjectHook) JobEvents

func (r *ProjectHook) JobEvents() pulumi.BoolOutput

Invoke the hook for job events.

func (*ProjectHook) MergeRequestsEvents

func (r *ProjectHook) MergeRequestsEvents() pulumi.BoolOutput

Invoke the hook for merge requests.

func (*ProjectHook) NoteEvents

func (r *ProjectHook) NoteEvents() pulumi.BoolOutput

Invoke the hook for notes events.

func (*ProjectHook) PipelineEvents

func (r *ProjectHook) PipelineEvents() pulumi.BoolOutput

Invoke the hook for pipeline events.

func (*ProjectHook) Project

func (r *ProjectHook) Project() pulumi.StringOutput

The name or id of the project to add the hook to.

func (*ProjectHook) PushEvents

func (r *ProjectHook) PushEvents() pulumi.BoolOutput

Invoke the hook for push events.

func (*ProjectHook) TagPushEvents

func (r *ProjectHook) TagPushEvents() pulumi.BoolOutput

Invoke the hook for tag push events.

func (*ProjectHook) Token

func (r *ProjectHook) Token() pulumi.StringOutput

A token to present when invoking the hook.

func (*ProjectHook) URN

func (r *ProjectHook) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*ProjectHook) Url

func (r *ProjectHook) Url() pulumi.StringOutput

The url of the hook to invoke.

func (*ProjectHook) WikiPageEvents

func (r *ProjectHook) WikiPageEvents() pulumi.BoolOutput

Invoke the hook for wiki page events.

type ProjectHookArgs

type ProjectHookArgs struct {
	// Enable ssl verification when invoking
	// the hook.
	EnableSslVerification interface{}
	// Invoke the hook for issues events.
	IssuesEvents interface{}
	// Invoke the hook for job events.
	JobEvents interface{}
	// Invoke the hook for merge requests.
	MergeRequestsEvents interface{}
	// Invoke the hook for notes events.
	NoteEvents interface{}
	// Invoke the hook for pipeline events.
	PipelineEvents interface{}
	// The name or id of the project to add the hook to.
	Project interface{}
	// Invoke the hook for push events.
	PushEvents interface{}
	// Invoke the hook for tag push events.
	TagPushEvents interface{}
	// A token to present when invoking the hook.
	Token interface{}
	// The url of the hook to invoke.
	Url interface{}
	// Invoke the hook for wiki page events.
	WikiPageEvents interface{}
}

The set of arguments for constructing a ProjectHook resource.

type ProjectHookState

type ProjectHookState struct {
	// Enable ssl verification when invoking
	// the hook.
	EnableSslVerification interface{}
	// Invoke the hook for issues events.
	IssuesEvents interface{}
	// Invoke the hook for job events.
	JobEvents interface{}
	// Invoke the hook for merge requests.
	MergeRequestsEvents interface{}
	// Invoke the hook for notes events.
	NoteEvents interface{}
	// Invoke the hook for pipeline events.
	PipelineEvents interface{}
	// The name or id of the project to add the hook to.
	Project interface{}
	// Invoke the hook for push events.
	PushEvents interface{}
	// Invoke the hook for tag push events.
	TagPushEvents interface{}
	// A token to present when invoking the hook.
	Token interface{}
	// The url of the hook to invoke.
	Url interface{}
	// Invoke the hook for wiki page events.
	WikiPageEvents interface{}
}

Input properties used for looking up and filtering ProjectHook resources.

type ProjectMembership

type ProjectMembership struct {
	// contains filtered or unexported fields
}

This resource allows you to add a current user to an existing project with a set access level.

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/project_membership.html.markdown.

func GetProjectMembership

func GetProjectMembership(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ProjectMembershipState, opts ...pulumi.ResourceOpt) (*ProjectMembership, error)

GetProjectMembership gets an existing ProjectMembership resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectMembership

func NewProjectMembership(ctx *pulumi.Context,
	name string, args *ProjectMembershipArgs, opts ...pulumi.ResourceOpt) (*ProjectMembership, error)

NewProjectMembership registers a new resource with the given unique name, arguments, and options.

func (*ProjectMembership) AccessLevel

func (r *ProjectMembership) AccessLevel() pulumi.StringOutput

One of five levels of access to the project.

func (*ProjectMembership) ID

ID is this resource's unique identifier assigned by its provider.

func (*ProjectMembership) ProjectId

func (r *ProjectMembership) ProjectId() pulumi.StringOutput

The id of the project.

func (*ProjectMembership) URN

URN is this resource's unique name assigned by Pulumi.

func (*ProjectMembership) UserId

func (r *ProjectMembership) UserId() pulumi.IntOutput

The id of the user.

type ProjectMembershipArgs

type ProjectMembershipArgs struct {
	// One of five levels of access to the project.
	AccessLevel interface{}
	// The id of the project.
	ProjectId interface{}
	// The id of the user.
	UserId interface{}
}

The set of arguments for constructing a ProjectMembership resource.

type ProjectMembershipState

type ProjectMembershipState struct {
	// One of five levels of access to the project.
	AccessLevel interface{}
	// The id of the project.
	ProjectId interface{}
	// The id of the user.
	UserId interface{}
}

Input properties used for looking up and filtering ProjectMembership resources.

type ProjectPushRules added in v1.0.0

type ProjectPushRules struct {
	// contains filtered or unexported fields
}

This resource allows you to create and manage push rules for your GitLab projects. For further information on push rules, consult the [gitlab documentation](https://docs.gitlab.com/ce/push_rules/push_rules.html#push-rules).

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/project_push_rules.html.markdown.

func GetProjectPushRules added in v1.0.0

func GetProjectPushRules(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ProjectPushRulesState, opts ...pulumi.ResourceOpt) (*ProjectPushRules, error)

GetProjectPushRules gets an existing ProjectPushRules resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectPushRules added in v1.0.0

func NewProjectPushRules(ctx *pulumi.Context,
	name string, args *ProjectPushRulesArgs, opts ...pulumi.ResourceOpt) (*ProjectPushRules, error)

NewProjectPushRules registers a new resource with the given unique name, arguments, and options.

func (*ProjectPushRules) AuthorEmailRegex added in v1.0.0

func (r *ProjectPushRules) AuthorEmailRegex() pulumi.StringOutput

All commit author emails must match this regex, e.g. "@my-company.com$"

func (*ProjectPushRules) BranchNameRegex added in v1.0.0

func (r *ProjectPushRules) BranchNameRegex() pulumi.StringOutput

All branch names must match this regex, e.g. "(feature|hotfix)\/*"

func (*ProjectPushRules) CommitMessageRegex added in v1.0.0

func (r *ProjectPushRules) CommitMessageRegex() pulumi.StringOutput

All commit messages must match this regex, e.g. "Fixed \d+\..*"

func (*ProjectPushRules) DenyDeleteTag added in v1.0.0

func (r *ProjectPushRules) DenyDeleteTag() pulumi.BoolOutput

Deny deleting a tag

func (*ProjectPushRules) FileNameRegex added in v1.0.0

func (r *ProjectPushRules) FileNameRegex() pulumi.StringOutput

All commited filenames must not match this regex, e.g. "(jar|exe)$"

func (*ProjectPushRules) ID added in v1.0.0

ID is this resource's unique identifier assigned by its provider.

func (*ProjectPushRules) MaxFileSize added in v1.0.0

func (r *ProjectPushRules) MaxFileSize() pulumi.IntOutput

Maximum file size (MB)

func (*ProjectPushRules) MemberCheck added in v1.0.0

func (r *ProjectPushRules) MemberCheck() pulumi.BoolOutput

Restrict commits by author (email) to existing GitLab users

func (*ProjectPushRules) PreventSecrets added in v1.0.0

func (r *ProjectPushRules) PreventSecrets() pulumi.BoolOutput

GitLab will reject any files that are likely to contain secrets

func (*ProjectPushRules) Project added in v1.0.0

func (r *ProjectPushRules) Project() pulumi.StringOutput

The name or id of the project to add the push rules to.

func (*ProjectPushRules) URN added in v1.0.0

URN is this resource's unique name assigned by Pulumi.

type ProjectPushRulesArgs added in v1.0.0

type ProjectPushRulesArgs struct {
	// All commit author emails must match this regex, e.g. "@my-company.com$"
	AuthorEmailRegex interface{}
	// All branch names must match this regex, e.g. "(feature|hotfix)\/*"
	BranchNameRegex interface{}
	// All commit messages must match this regex, e.g. "Fixed \d+\..*"
	CommitMessageRegex interface{}
	// Deny deleting a tag
	DenyDeleteTag interface{}
	// All commited filenames must not match this regex, e.g. "(jar|exe)$"
	FileNameRegex interface{}
	// Maximum file size (MB)
	MaxFileSize interface{}
	// Restrict commits by author (email) to existing GitLab users
	MemberCheck interface{}
	// GitLab will reject any files that are likely to contain secrets
	PreventSecrets interface{}
	// The name or id of the project to add the push rules to.
	Project interface{}
}

The set of arguments for constructing a ProjectPushRules resource.

type ProjectPushRulesState added in v1.0.0

type ProjectPushRulesState struct {
	// All commit author emails must match this regex, e.g. "@my-company.com$"
	AuthorEmailRegex interface{}
	// All branch names must match this regex, e.g. "(feature|hotfix)\/*"
	BranchNameRegex interface{}
	// All commit messages must match this regex, e.g. "Fixed \d+\..*"
	CommitMessageRegex interface{}
	// Deny deleting a tag
	DenyDeleteTag interface{}
	// All commited filenames must not match this regex, e.g. "(jar|exe)$"
	FileNameRegex interface{}
	// Maximum file size (MB)
	MaxFileSize interface{}
	// Restrict commits by author (email) to existing GitLab users
	MemberCheck interface{}
	// GitLab will reject any files that are likely to contain secrets
	PreventSecrets interface{}
	// The name or id of the project to add the push rules to.
	Project interface{}
}

Input properties used for looking up and filtering ProjectPushRules resources.

type ProjectShareGroup added in v1.0.0

type ProjectShareGroup struct {
	// contains filtered or unexported fields
}

This resource allows you to share a project with a group

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/project_share_group.html.markdown.

func GetProjectShareGroup added in v1.0.0

func GetProjectShareGroup(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ProjectShareGroupState, opts ...pulumi.ResourceOpt) (*ProjectShareGroup, error)

GetProjectShareGroup gets an existing ProjectShareGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectShareGroup added in v1.0.0

func NewProjectShareGroup(ctx *pulumi.Context,
	name string, args *ProjectShareGroupArgs, opts ...pulumi.ResourceOpt) (*ProjectShareGroup, error)

NewProjectShareGroup registers a new resource with the given unique name, arguments, and options.

func (*ProjectShareGroup) AccessLevel added in v1.0.0

func (r *ProjectShareGroup) AccessLevel() pulumi.StringOutput

One of five levels of access to the project.

func (*ProjectShareGroup) GroupId added in v1.0.0

func (r *ProjectShareGroup) GroupId() pulumi.IntOutput

The id of the group.

func (*ProjectShareGroup) ID added in v1.0.0

ID is this resource's unique identifier assigned by its provider.

func (*ProjectShareGroup) ProjectId added in v1.0.0

func (r *ProjectShareGroup) ProjectId() pulumi.StringOutput

The id of the project.

func (*ProjectShareGroup) URN added in v1.0.0

URN is this resource's unique name assigned by Pulumi.

type ProjectShareGroupArgs added in v1.0.0

type ProjectShareGroupArgs struct {
	// One of five levels of access to the project.
	AccessLevel interface{}
	// The id of the group.
	GroupId interface{}
	// The id of the project.
	ProjectId interface{}
}

The set of arguments for constructing a ProjectShareGroup resource.

type ProjectShareGroupState added in v1.0.0

type ProjectShareGroupState struct {
	// One of five levels of access to the project.
	AccessLevel interface{}
	// The id of the group.
	GroupId interface{}
	// The id of the project.
	ProjectId interface{}
}

Input properties used for looking up and filtering ProjectShareGroup resources.

type ProjectState

type ProjectState struct {
	// Number of merge request approvals required for merging. Default is 0.
	ApprovalsBeforeMerge interface{}
	// Whether the project is in read-only mode (archived). Repositories can be archived/unarchived by toggling this parameter.
	Archived interface{}
	// Enable container registry for the project.
	ContainerRegistryEnabled interface{}
	// The default branch for the project.
	DefaultBranch interface{}
	// A description of the project.
	Description interface{}
	// URL that can be provided to `git clone` to clone the
	// repository via HTTP.
	HttpUrlToRepo interface{}
	// Create master branch with first commit containing a README.md file.
	InitializeWithReadme interface{}
	// Enable issue tracking for the project.
	IssuesEnabled interface{}
	// Enable LFS for the project.
	LfsEnabled interface{}
	// Set to `ff` to create fast-forward merges
	// Valid values are `merge`, `rebaseMerge`, `ff`
	// Repositories are created with `merge` by default
	MergeMethod interface{}
	// Enable merge requests for the project.
	MergeRequestsEnabled interface{}
	// The name of the project.
	Name interface{}
	// The namespace (group or user) of the project. Defaults to your user.
	// See `.Group` for an example.
	NamespaceId interface{}
	// Set to true if you want allow merges only if all discussions are resolved.
	OnlyAllowMergeIfAllDiscussionsAreResolved interface{}
	// Set to true if you want allow merges only if a pipeline succeeds.
	OnlyAllowMergeIfPipelineSucceeds interface{}
	// The path of the repository.
	Path interface{}
	// Enable pipelines for the project.
	PipelinesEnabled interface{}
	// Allow users to request member access.
	RequestAccessEnabled interface{}
	// Registration token to use during runner setup.
	RunnersToken interface{}
	// Enable shared runners for this project.
	SharedRunnersEnabled interface{}
	// Enable sharing the project with a list of groups (maps).
	SharedWithGroups interface{}
	// Enable snippets for the project.
	SnippetsEnabled interface{}
	// URL that can be provided to `git clone` to clone the
	// repository via SSH.
	SshUrlToRepo interface{}
	// Tags (topics) of the project.
	Tags interface{}
	// Set to `public` to create a public project.
	// Valid values are `private`, `internal`, `public`.
	// Repositories are created as private by default.
	VisibilityLevel interface{}
	// URL that can be used to find the project in a browser.
	WebUrl interface{}
	// Enable wiki for the project.
	WikiEnabled interface{}
}

Input properties used for looking up and filtering Project resources.

type ProjectVariable

type ProjectVariable struct {
	// contains filtered or unexported fields
}

This resource allows you to create and manage CI/CD variables for your GitLab projects. For further information on variables, consult the [gitlab documentation](https://docs.gitlab.com/ce/ci/variables/README.html#variables).

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/project_variable.html.markdown.

func GetProjectVariable

func GetProjectVariable(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ProjectVariableState, opts ...pulumi.ResourceOpt) (*ProjectVariable, error)

GetProjectVariable gets an existing ProjectVariable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectVariable

func NewProjectVariable(ctx *pulumi.Context,
	name string, args *ProjectVariableArgs, opts ...pulumi.ResourceOpt) (*ProjectVariable, error)

NewProjectVariable registers a new resource with the given unique name, arguments, and options.

func (*ProjectVariable) EnvironmentScope added in v1.0.0

func (r *ProjectVariable) EnvironmentScope() pulumi.StringOutput

The environmentScope of the variable

func (*ProjectVariable) ID

ID is this resource's unique identifier assigned by its provider.

func (*ProjectVariable) Key

The name of the variable.

func (*ProjectVariable) Masked added in v1.0.0

func (r *ProjectVariable) Masked() pulumi.BoolOutput

If set to `true`, the variable will be masked if it would have been written to the logs. Defaults to `false`.

func (*ProjectVariable) Project

func (r *ProjectVariable) Project() pulumi.StringOutput

The name or id of the project to add the hook to.

func (*ProjectVariable) Protected

func (r *ProjectVariable) Protected() pulumi.BoolOutput

If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.

func (*ProjectVariable) URN

func (r *ProjectVariable) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*ProjectVariable) Value

func (r *ProjectVariable) Value() pulumi.StringOutput

The value of the variable.

func (*ProjectVariable) VariableType added in v1.0.0

func (r *ProjectVariable) VariableType() pulumi.StringOutput

The type of a variable. Available types are: envVar (default) and file.

type ProjectVariableArgs

type ProjectVariableArgs struct {
	// The environmentScope of the variable
	EnvironmentScope interface{}
	// The name of the variable.
	Key interface{}
	// If set to `true`, the variable will be masked if it would have been written to the logs. Defaults to `false`.
	Masked interface{}
	// The name or id of the project to add the hook to.
	Project interface{}
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected interface{}
	// The value of the variable.
	Value interface{}
	// The type of a variable. Available types are: envVar (default) and file.
	VariableType interface{}
}

The set of arguments for constructing a ProjectVariable resource.

type ProjectVariableState

type ProjectVariableState struct {
	// The environmentScope of the variable
	EnvironmentScope interface{}
	// The name of the variable.
	Key interface{}
	// If set to `true`, the variable will be masked if it would have been written to the logs. Defaults to `false`.
	Masked interface{}
	// The name or id of the project to add the hook to.
	Project interface{}
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected interface{}
	// The value of the variable.
	Value interface{}
	// The type of a variable. Available types are: envVar (default) and file.
	VariableType interface{}
}

Input properties used for looking up and filtering ProjectVariable resources.

type ServiceJira

type ServiceJira struct {
	// contains filtered or unexported fields
}

This resource allows you to manage Jira integration.

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/service_jira.html.markdown.

func GetServiceJira

func GetServiceJira(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ServiceJiraState, opts ...pulumi.ResourceOpt) (*ServiceJira, error)

GetServiceJira gets an existing ServiceJira resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceJira

func NewServiceJira(ctx *pulumi.Context,
	name string, args *ServiceJiraArgs, opts ...pulumi.ResourceOpt) (*ServiceJira, error)

NewServiceJira registers a new resource with the given unique name, arguments, and options.

func (*ServiceJira) Active

func (r *ServiceJira) Active() pulumi.BoolOutput

func (*ServiceJira) CreatedAt

func (r *ServiceJira) CreatedAt() pulumi.StringOutput

func (*ServiceJira) ID

func (r *ServiceJira) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ServiceJira) JiraIssueTransitionId

func (r *ServiceJira) JiraIssueTransitionId() pulumi.StringOutput

The ID of a transition that moves issues to a closed state. You can find this number under the JIRA workflow administration (Administration > Issues > Workflows) by selecting View under Operations of the desired workflow of your project. By default, this ID is set to 2.

func (*ServiceJira) Password

func (r *ServiceJira) Password() pulumi.StringOutput

The password of the user created to be used with GitLab/JIRA.

func (*ServiceJira) Project

func (r *ServiceJira) Project() pulumi.StringOutput

ID of the project you want to activate integration on.

func (*ServiceJira) ProjectKey

func (r *ServiceJira) ProjectKey() pulumi.StringOutput

The short identifier for your JIRA project, all uppercase, e.g., PROJ.

func (*ServiceJira) Title

func (r *ServiceJira) Title() pulumi.StringOutput

func (*ServiceJira) URN

func (r *ServiceJira) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*ServiceJira) UpdatedAt

func (r *ServiceJira) UpdatedAt() pulumi.StringOutput

func (*ServiceJira) Url

func (r *ServiceJira) Url() pulumi.StringOutput

The URL to the JIRA project which is being linked to this GitLab project. For example, https://jira.example.com.

func (*ServiceJira) Username

func (r *ServiceJira) Username() pulumi.StringOutput

The username of the user created to be used with GitLab/JIRA.

type ServiceJiraArgs

type ServiceJiraArgs struct {
	// The ID of a transition that moves issues to a closed state. You can find this number under the JIRA workflow administration (Administration > Issues > Workflows) by selecting View under Operations of the desired workflow of your project. By default, this ID is set to 2.
	JiraIssueTransitionId interface{}
	// The password of the user created to be used with GitLab/JIRA.
	Password interface{}
	// ID of the project you want to activate integration on.
	Project interface{}
	// The short identifier for your JIRA project, all uppercase, e.g., PROJ.
	ProjectKey interface{}
	// The URL to the JIRA project which is being linked to this GitLab project. For example, https://jira.example.com.
	Url interface{}
	// The username of the user created to be used with GitLab/JIRA.
	Username interface{}
}

The set of arguments for constructing a ServiceJira resource.

type ServiceJiraState

type ServiceJiraState struct {
	Active    interface{}
	CreatedAt interface{}
	// The ID of a transition that moves issues to a closed state. You can find this number under the JIRA workflow administration (Administration > Issues > Workflows) by selecting View under Operations of the desired workflow of your project. By default, this ID is set to 2.
	JiraIssueTransitionId interface{}
	// The password of the user created to be used with GitLab/JIRA.
	Password interface{}
	// ID of the project you want to activate integration on.
	Project interface{}
	// The short identifier for your JIRA project, all uppercase, e.g., PROJ.
	ProjectKey interface{}
	Title      interface{}
	UpdatedAt  interface{}
	// The URL to the JIRA project which is being linked to this GitLab project. For example, https://jira.example.com.
	Url interface{}
	// The username of the user created to be used with GitLab/JIRA.
	Username interface{}
}

Input properties used for looking up and filtering ServiceJira resources.

type ServiceSlack

type ServiceSlack struct {
	// contains filtered or unexported fields
}

This resource allows you to manage Slack notifications integration.

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/service_slack.html.markdown.

func GetServiceSlack

func GetServiceSlack(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ServiceSlackState, opts ...pulumi.ResourceOpt) (*ServiceSlack, error)

GetServiceSlack gets an existing ServiceSlack resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceSlack

func NewServiceSlack(ctx *pulumi.Context,
	name string, args *ServiceSlackArgs, opts ...pulumi.ResourceOpt) (*ServiceSlack, error)

NewServiceSlack registers a new resource with the given unique name, arguments, and options.

func (*ServiceSlack) ConfidentialIssueChannel

func (r *ServiceSlack) ConfidentialIssueChannel() pulumi.StringOutput

The name of the channel to receive confidential issue events notifications.

func (*ServiceSlack) ConfidentialIssuesEvents

func (r *ServiceSlack) ConfidentialIssuesEvents() pulumi.BoolOutput

Enable notifications for confidential issues events.

func (*ServiceSlack) ConfidentialNoteEvents

func (r *ServiceSlack) ConfidentialNoteEvents() pulumi.BoolOutput

Enable notifications for confidential note events.

func (*ServiceSlack) ID

func (r *ServiceSlack) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ServiceSlack) IssueChannel

func (r *ServiceSlack) IssueChannel() pulumi.StringOutput

The name of the channel to receive issue events notifications.

func (*ServiceSlack) IssuesEvents

func (r *ServiceSlack) IssuesEvents() pulumi.BoolOutput

Enable notifications for issues events.

func (*ServiceSlack) JobEvents

func (r *ServiceSlack) JobEvents() pulumi.BoolOutput

func (*ServiceSlack) MergeRequestChannel

func (r *ServiceSlack) MergeRequestChannel() pulumi.StringOutput

The name of the channel to receive merge request events notifications.

func (*ServiceSlack) MergeRequestsEvents

func (r *ServiceSlack) MergeRequestsEvents() pulumi.BoolOutput

Enable notifications for merge requests events.

func (*ServiceSlack) NoteChannel

func (r *ServiceSlack) NoteChannel() pulumi.StringOutput

The name of the channel to receive note events notifications.

func (*ServiceSlack) NoteEvents

func (r *ServiceSlack) NoteEvents() pulumi.BoolOutput

Enable notifications for note events.

func (*ServiceSlack) NotifyOnlyBrokenPipelines

func (r *ServiceSlack) NotifyOnlyBrokenPipelines() pulumi.BoolOutput

Send notifications for broken pipelines.

func (*ServiceSlack) NotifyOnlyDefaultBranch

func (r *ServiceSlack) NotifyOnlyDefaultBranch() pulumi.BoolOutput

Send notifications only for the default branch.

func (*ServiceSlack) PipelineChannel

func (r *ServiceSlack) PipelineChannel() pulumi.StringOutput

The name of the channel to receive pipeline events notifications.

func (*ServiceSlack) PipelineEvents

func (r *ServiceSlack) PipelineEvents() pulumi.BoolOutput

Enable notifications for pipeline events.

func (*ServiceSlack) Project

func (r *ServiceSlack) Project() pulumi.StringOutput

ID of the project you want to activate integration on.

func (*ServiceSlack) PushChannel

func (r *ServiceSlack) PushChannel() pulumi.StringOutput

The name of the channel to receive push events notifications.

func (*ServiceSlack) PushEvents

func (r *ServiceSlack) PushEvents() pulumi.BoolOutput

Enable notifications for push events.

func (*ServiceSlack) TagPushChannel

func (r *ServiceSlack) TagPushChannel() pulumi.StringOutput

The name of the channel to receive tag push events notifications.

func (*ServiceSlack) TagPushEvents

func (r *ServiceSlack) TagPushEvents() pulumi.BoolOutput

Enable notifications for tag push events.

func (*ServiceSlack) URN

func (r *ServiceSlack) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*ServiceSlack) Username

func (r *ServiceSlack) Username() pulumi.StringOutput

Username to use.

func (*ServiceSlack) Webhook

func (r *ServiceSlack) Webhook() pulumi.StringOutput

Webhook URL (ex.: https://hooks.slack.com/services/...)

func (*ServiceSlack) WikiPageChannel

func (r *ServiceSlack) WikiPageChannel() pulumi.StringOutput

The name of the channel to receive wiki page events notifications.

func (*ServiceSlack) WikiPageEvents

func (r *ServiceSlack) WikiPageEvents() pulumi.BoolOutput

Enable notifications for wiki page events.

type ServiceSlackArgs

type ServiceSlackArgs struct {
	// The name of the channel to receive confidential issue events notifications.
	ConfidentialIssueChannel interface{}
	// Enable notifications for confidential issues events.
	ConfidentialIssuesEvents interface{}
	// Enable notifications for confidential note events.
	ConfidentialNoteEvents interface{}
	// The name of the channel to receive issue events notifications.
	IssueChannel interface{}
	// Enable notifications for issues events.
	IssuesEvents interface{}
	// The name of the channel to receive merge request events notifications.
	MergeRequestChannel interface{}
	// Enable notifications for merge requests events.
	MergeRequestsEvents interface{}
	// The name of the channel to receive note events notifications.
	NoteChannel interface{}
	// Enable notifications for note events.
	NoteEvents interface{}
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines interface{}
	// Send notifications only for the default branch.
	NotifyOnlyDefaultBranch interface{}
	// The name of the channel to receive pipeline events notifications.
	PipelineChannel interface{}
	// Enable notifications for pipeline events.
	PipelineEvents interface{}
	// ID of the project you want to activate integration on.
	Project interface{}
	// The name of the channel to receive push events notifications.
	PushChannel interface{}
	// Enable notifications for push events.
	PushEvents interface{}
	// The name of the channel to receive tag push events notifications.
	TagPushChannel interface{}
	// Enable notifications for tag push events.
	TagPushEvents interface{}
	// Username to use.
	Username interface{}
	// Webhook URL (ex.: https://hooks.slack.com/services/...)
	Webhook interface{}
	// The name of the channel to receive wiki page events notifications.
	WikiPageChannel interface{}
	// Enable notifications for wiki page events.
	WikiPageEvents interface{}
}

The set of arguments for constructing a ServiceSlack resource.

type ServiceSlackState

type ServiceSlackState struct {
	// The name of the channel to receive confidential issue events notifications.
	ConfidentialIssueChannel interface{}
	// Enable notifications for confidential issues events.
	ConfidentialIssuesEvents interface{}
	// Enable notifications for confidential note events.
	ConfidentialNoteEvents interface{}
	// The name of the channel to receive issue events notifications.
	IssueChannel interface{}
	// Enable notifications for issues events.
	IssuesEvents interface{}
	JobEvents    interface{}
	// The name of the channel to receive merge request events notifications.
	MergeRequestChannel interface{}
	// Enable notifications for merge requests events.
	MergeRequestsEvents interface{}
	// The name of the channel to receive note events notifications.
	NoteChannel interface{}
	// Enable notifications for note events.
	NoteEvents interface{}
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines interface{}
	// Send notifications only for the default branch.
	NotifyOnlyDefaultBranch interface{}
	// The name of the channel to receive pipeline events notifications.
	PipelineChannel interface{}
	// Enable notifications for pipeline events.
	PipelineEvents interface{}
	// ID of the project you want to activate integration on.
	Project interface{}
	// The name of the channel to receive push events notifications.
	PushChannel interface{}
	// Enable notifications for push events.
	PushEvents interface{}
	// The name of the channel to receive tag push events notifications.
	TagPushChannel interface{}
	// Enable notifications for tag push events.
	TagPushEvents interface{}
	// Username to use.
	Username interface{}
	// Webhook URL (ex.: https://hooks.slack.com/services/...)
	Webhook interface{}
	// The name of the channel to receive wiki page events notifications.
	WikiPageChannel interface{}
	// Enable notifications for wiki page events.
	WikiPageEvents interface{}
}

Input properties used for looking up and filtering ServiceSlack resources.

type TagProtection

type TagProtection struct {
	// contains filtered or unexported fields
}

This resource allows you to protect a specific tag or wildcard by an access level so that the user with less access level cannot Create the tags.

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/tag_protection.html.markdown.

func GetTagProtection

func GetTagProtection(ctx *pulumi.Context,
	name string, id pulumi.ID, state *TagProtectionState, opts ...pulumi.ResourceOpt) (*TagProtection, error)

GetTagProtection gets an existing TagProtection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTagProtection

func NewTagProtection(ctx *pulumi.Context,
	name string, args *TagProtectionArgs, opts ...pulumi.ResourceOpt) (*TagProtection, error)

NewTagProtection registers a new resource with the given unique name, arguments, and options.

func (*TagProtection) CreateAccessLevel

func (r *TagProtection) CreateAccessLevel() pulumi.StringOutput

One of five levels of access to the project.

func (*TagProtection) ID

func (r *TagProtection) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*TagProtection) Project

func (r *TagProtection) Project() pulumi.StringOutput

The id of the project.

func (*TagProtection) Tag

Name of the tag or wildcard.

func (*TagProtection) URN

func (r *TagProtection) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type TagProtectionArgs

type TagProtectionArgs struct {
	// One of five levels of access to the project.
	CreateAccessLevel interface{}
	// The id of the project.
	Project interface{}
	// Name of the tag or wildcard.
	Tag interface{}
}

The set of arguments for constructing a TagProtection resource.

type TagProtectionState

type TagProtectionState struct {
	// One of five levels of access to the project.
	CreateAccessLevel interface{}
	// The id of the project.
	Project interface{}
	// Name of the tag or wildcard.
	Tag interface{}
}

Input properties used for looking up and filtering TagProtection resources.

type User

type User struct {
	// contains filtered or unexported fields
}

> This content is derived from https://github.com/terraform-providers/terraform-provider-gitlab/blob/master/website/docs/r/user.html.markdown.

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.ID, state *UserState, opts ...pulumi.ResourceOpt) (*User, error)

GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOpt) (*User, error)

NewUser registers a new resource with the given unique name, arguments, and options.

func (*User) CanCreateGroup

func (r *User) CanCreateGroup() pulumi.BoolOutput

Boolean, defaults to false. Whether to allow the user to create groups.

func (*User) Email

func (r *User) Email() pulumi.StringOutput

The e-mail address of the user.

func (*User) ID

func (r *User) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*User) IsAdmin

func (r *User) IsAdmin() pulumi.BoolOutput

Boolean, defaults to false. Whether to enable administrative priviledges for the user.

func (*User) IsExternal

func (r *User) IsExternal() pulumi.BoolOutput

Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only access projects to which they are explicitly granted access.

func (*User) Name

func (r *User) Name() pulumi.StringOutput

The name of the user.

func (*User) Password

func (r *User) Password() pulumi.StringOutput

The password of the user.

func (*User) ProjectsLimit

func (r *User) ProjectsLimit() pulumi.IntOutput

Integer, defaults to 0. Number of projects user can create.

func (*User) ResetPassword added in v1.2.0

func (r *User) ResetPassword() pulumi.BoolOutput

Boolean, defaults to false. Send user password reset link.

func (*User) SkipConfirmation

func (r *User) SkipConfirmation() pulumi.BoolOutput

Boolean, defaults to true. Whether to skip confirmation.

func (*User) URN

func (r *User) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*User) Username

func (r *User) Username() pulumi.StringOutput

The username of the user.

type UserArgs

type UserArgs struct {
	// Boolean, defaults to false. Whether to allow the user to create groups.
	CanCreateGroup interface{}
	// The e-mail address of the user.
	Email interface{}
	// Boolean, defaults to false.  Whether to enable administrative priviledges
	// for the user.
	IsAdmin interface{}
	// Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only access projects to which they are explicitly granted access.
	IsExternal interface{}
	// The name of the user.
	Name interface{}
	// The password of the user.
	Password interface{}
	// Integer, defaults to 0.  Number of projects user can create.
	ProjectsLimit interface{}
	// Boolean, defaults to false. Send user password reset link.
	ResetPassword interface{}
	// Boolean, defaults to true. Whether to skip confirmation.
	SkipConfirmation interface{}
	// The username of the user.
	Username interface{}
}

The set of arguments for constructing a User resource.

type UserState

type UserState struct {
	// Boolean, defaults to false. Whether to allow the user to create groups.
	CanCreateGroup interface{}
	// The e-mail address of the user.
	Email interface{}
	// Boolean, defaults to false.  Whether to enable administrative priviledges
	// for the user.
	IsAdmin interface{}
	// Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only access projects to which they are explicitly granted access.
	IsExternal interface{}
	// The name of the user.
	Name interface{}
	// The password of the user.
	Password interface{}
	// Integer, defaults to 0.  Number of projects user can create.
	ProjectsLimit interface{}
	// Boolean, defaults to false. Send user password reset link.
	ResetPassword interface{}
	// Boolean, defaults to true. Whether to skip confirmation.
	SkipConfirmation interface{}
	// The username of the user.
	Username interface{}
}

Input properties used for looking up and filtering User resources.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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