Class: Ansible::Ruby::Modules::Github_release

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/source_control/github_release.rb

Overview

Fetch metadata about GitHub Releases

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#action:latest_release, :create_release

Returns Action to perform.

Returns:

  • (:latest_release, :create_release)

    Action to perform



28
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 28

attribute :action

#bodyString?

Returns Description of the release when creating a release.

Returns:

  • (String, nil)

    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).

Returns:

  • (:yes, :no, nil)

    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

#nameString?

Returns Name of release when creating a release.

Returns:

  • (String, nil)

    Name of release when creating a release



40
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 40

attribute :name

#passwordString?

Returns The GitHub account password for the user.

Returns:

  • (String, nil)

    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).

Returns:

  • (:yes, :no, nil)

    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

#repoString

Returns Repository name.

Returns:

  • (String)

    Repository name



24
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 24

attribute :repo

#tagString?

Returns Tag name when creating a release. Required when using action is set to C(create_release).

Returns:

  • (String, nil)

    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

#targetString?

Returns Target of release when creating a release.

Returns:

  • (String, nil)

    Target of release when creating a release



36
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 36

attribute :target

#tokenString?

Returns GitHub Personal Access Token for authenticating.

Returns:

  • (String, nil)

    GitHub Personal Access Token for authenticating



12
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 12

attribute :token

#userString

Returns The GitHub account that owns the repository.

Returns:

  • (String)

    The GitHub account that owns the repository



16
# File 'lib/ansible/ruby/modules/generated/source_control/github_release.rb', line 16

attribute :user