Class: Ansible::Ruby::Modules::Oc
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Oc
- Defined in:
- lib/ansible/ruby/modules/generated/clustering/openshift/oc.rb
Overview
This module allows management of resources in an OpenShift cluster. The inventory host can be any host with network connectivity to the OpenShift cluster; the default port being 8443/TCP. This module relies on a token to authenticate to OpenShift. This can either be a user or a service account.
Instance Method Summary collapse
-
#host ⇒ String?
Hostname or address of the OpenShift API endpoint.
-
#inline ⇒ Hash?
The inline definition of the resource.
-
#kind ⇒ String
The kind of the resource upon which to take action.
-
#name ⇒ String?
The name of the resource on which to take action.
-
#namespace ⇒ String?
The namespace of the resource upon which to take action.
-
#port ⇒ Integer?
The port number of the API endpoint.
-
#state ⇒ :present, :absent
If the state is present, and the resource doesn’t exist, it shall be created using the inline definition.
-
#token ⇒ String
The token with which to authenticate against the OpenShift cluster.
-
#validate_certs ⇒ Boolean?
If C(no), SSL certificates for the target url will not be validated.
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
#host ⇒ String?
13 |
# File 'lib/ansible/ruby/modules/generated/clustering/openshift/oc.rb', line 13 attribute :host |
#inline ⇒ Hash?
21 |
# File 'lib/ansible/ruby/modules/generated/clustering/openshift/oc.rb', line 21 attribute :inline |
#kind ⇒ String
25 |
# File 'lib/ansible/ruby/modules/generated/clustering/openshift/oc.rb', line 25 attribute :kind |
#name ⇒ String?
29 |
# File 'lib/ansible/ruby/modules/generated/clustering/openshift/oc.rb', line 29 attribute :name |
#namespace ⇒ String?
33 |
# File 'lib/ansible/ruby/modules/generated/clustering/openshift/oc.rb', line 33 attribute :namespace |
#port ⇒ Integer?
17 |
# File 'lib/ansible/ruby/modules/generated/clustering/openshift/oc.rb', line 17 attribute :port |
#state ⇒ :present, :absent
45 |
# File 'lib/ansible/ruby/modules/generated/clustering/openshift/oc.rb', line 45 attribute :state |
#token ⇒ String
37 |
# File 'lib/ansible/ruby/modules/generated/clustering/openshift/oc.rb', line 37 attribute :token |
#validate_certs ⇒ Boolean?
41 |
# File 'lib/ansible/ruby/modules/generated/clustering/openshift/oc.rb', line 41 attribute :validate_certs |