Class: Ansible::Ruby::Modules::Gitlab_project
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gitlab_project
- Defined in:
- lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb
Overview
When the project does not exist in Gitlab, it will be created. When the project does exists and state=absent, the project will be deleted. When changes are made to the project, the project will be updated.
Instance Method Summary collapse
-
#description ⇒ Object?
An description for the project.
-
#group ⇒ String?
The name of the group of which this projects belongs to.,When not provided, project will belong to user which is configured in ‘login_user’ or ‘login_token’,When provided with username, project will be created for this user.
-
#import_url ⇒ :yes, ...
Git repository which will be imported into gitlab.,Gitlab server needs read access to this git repository.
-
#issues_enabled ⇒ :yes, ...
Whether you want to create issues or not.,Possible values are true and false.
-
#login_password ⇒ String?
Gitlab password for login_user.
-
#login_token ⇒ String?
Gitlab token for logging in.
-
#login_user ⇒ String?
Gitlab user name.
-
#merge_requests_enabled ⇒ :yes, ...
If merge requests can be made or not.,Possible values are true and false.
-
#name ⇒ String
The name of the project.
-
#path ⇒ Object?
The path of the project you want to create, this will be server_url/<group>/path,If not supplied, name will be used.
-
#public ⇒ :yes, ...
If the project is public available or not.,Setting this to true is same as setting visibility_level to 20.,Possible values are true and false.
-
#server_url ⇒ String
Url of Gitlab server, with protocol (http or https).
-
#snippets_enabled ⇒ :yes, ...
If creating snippets should be available or not.,Possible values are true and false.
-
#state ⇒ :present, ...
Create or delete project.,Possible values are present and absent.
-
#validate_certs ⇒ :yes, ...
When using https if SSL certificate needs to be verified.
-
#visibility_level ⇒ Integer?
Private.
-
#wiki_enabled ⇒ :yes, ...
If an wiki for this project should be available or not.,Possible values are true and false.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#description ⇒ Object?
45 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 45 attribute :description |
#group ⇒ String?
34 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 34 attribute :group |
#import_url ⇒ :yes, ...
72 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 72 attribute :import_url |
#issues_enabled ⇒ :yes, ...
48 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 48 attribute :issues_enabled |
#login_password ⇒ String?
26 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 26 attribute :login_password |
#login_token ⇒ String?
30 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 30 attribute :login_token |
#login_user ⇒ String?
22 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 22 attribute :login_user |
#merge_requests_enabled ⇒ :yes, ...
52 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 52 attribute :merge_requests_enabled |
#name ⇒ String
38 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 38 attribute :name |
#path ⇒ Object?
42 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 42 attribute :path |
#public ⇒ :yes, ...
64 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 64 attribute :public |
#server_url ⇒ String
14 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 14 attribute :server_url |
#snippets_enabled ⇒ :yes, ...
60 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 60 attribute :snippets_enabled |
#state ⇒ :present, ...
76 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 76 attribute :state |
#validate_certs ⇒ :yes, ...
18 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 18 attribute :validate_certs |
#visibility_level ⇒ Integer?
68 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 68 attribute :visibility_level |
#wiki_enabled ⇒ :yes, ...
56 |
# File 'lib/ansible/ruby/modules/generated/source_control/gitlab_project.rb', line 56 attribute :wiki_enabled |