Class: Ansible::Ruby::Modules::Github_release
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Github_release
- Defined in:
- lib/ansible/ruby/modules/generated/source_control/github_release.rb
Overview
Fetch metadata about GitHub Releases
Instance Method Summary collapse
-
#action ⇒ :latest_release, :create_release
Action to perform.
-
#body ⇒ String?
Description of the release when creating a release.
-
#draft ⇒ :yes, ...
Sets if the release is a draft or not.
-
#name ⇒ String?
Name of release when creating a release.
-
#password ⇒ String?
The GitHub account password for the user.
-
#prerelease ⇒ :yes, ...
Sets if the release is a prerelease or not.
-
#repo ⇒ String
Repository name.
-
#tag ⇒ String?
Tag name when creating a release.
-
#target ⇒ String?
Target of release when creating a release.
-
#token ⇒ String?
GitHub Personal Access Token for authenticating.
-
#user ⇒ String
The GitHub account that owns the repository.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#action ⇒ :latest_release, :create_release
Returns Action to perform.
28 |
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 28 attribute :action |
#body ⇒ String?
Returns Description of the release when creating a release.
44 |
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 44 attribute :body |
#draft ⇒ :yes, ...
Returns Sets if the release is a draft or not. (boolean).
48 |
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 48 attribute :draft |
#name ⇒ String?
Returns Name of release when creating a release.
40 |
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 40 attribute :name |
#password ⇒ String?
Returns The GitHub account password for the user.
20 |
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 20 attribute :password |
#prerelease ⇒ :yes, ...
Returns Sets if the release is a prerelease or not. (boolean).
52 |
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 52 attribute :prerelease |
#repo ⇒ String
Returns Repository name.
24 |
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 24 attribute :repo |
#tag ⇒ String?
Returns Tag name when creating a release. Required when using action is set to C(create_release).
32 |
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 32 attribute :tag |
#target ⇒ String?
Returns Target of release when creating a release.
36 |
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 36 attribute :target |
#token ⇒ String?
Returns GitHub Personal Access Token for authenticating.
12 |
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 12 attribute :token |
#user ⇒ String
Returns The GitHub account that owns the repository.
16 |
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 16 attribute :user |