Class: Ansible::Ruby::Modules::K8s_facts

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/clustering/k8s/k8s_facts.rb

Overview

Use the OpenShift Python client to perform read operations on K8s objects. Access to the full range of K8s APIs. Authenticate using either a config file, certificates, password or token. Supports check mode.

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

#api_versionString?

Returns Use to specify the API version. in conjunction with I(kind), I(name), and I(namespace) to identify a specific object.

Returns:

  • (String, nil)

    Use to specify the API version. in conjunction with I(kind), I(name), and I(namespace) to identify a specific object.



15
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/k8s_facts.rb', line 15

attribute :api_version

#field_selectorsArray<String>, ...

Returns List of field selectors to use to filter results.

Returns:

  • (Array<String>, String, nil)

    List of field selectors to use to filter results



35
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/k8s_facts.rb', line 35

attribute :field_selectors

#kindString

Returns Use to specify an object model. Use in conjunction with I(api_version), I(name), and I(namespace) to identify a specific object.

Returns:

  • (String)

    Use to specify an object model. Use in conjunction with I(api_version), I(name), and I(namespace) to identify a specific object.



19
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/k8s_facts.rb', line 19

attribute :kind

#label_selectorsArray<String>, ...

Returns List of label selectors to use to filter results.

Returns:

  • (Array<String>, String, nil)

    List of label selectors to use to filter results



31
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/k8s_facts.rb', line 31

attribute :label_selectors

#nameString?

Returns Use to specify an object name. Use in conjunction with I(api_version), I(kind) and I(namespace) to identify a specific object.

Returns:

  • (String, nil)

    Use to specify an object name. Use in conjunction with I(api_version), I(kind) and I(namespace) to identify a specific object.



23
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/k8s_facts.rb', line 23

attribute :name

#namespaceString?

Returns Use to specify an object namespace. Use in conjunction with I(api_version), I(kind), and I(name) to identify a specfic object.

Returns:

  • (String, nil)

    Use to specify an object namespace. Use in conjunction with I(api_version), I(kind), and I(name) to identify a specfic object.



27
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/k8s_facts.rb', line 27

attribute :namespace