Class: Ansible::Ruby::Modules::Kubernetes
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Kubernetes
- Defined in:
- lib/ansible/ruby/modules/generated/extras/clustering/kubernetes.rb
Instance Method Summary collapse
-
#api_endpoint ⇒ String
The IPv4 API endpoint of the Kubernetes cluster.
-
#certificate_authority_data ⇒ Object?
Certificate Authority data for Kubernetes server.
-
#file_reference ⇒ String?
Specify full path to a Kubernets YAML file to send to API I(endpoint).
-
#inline_data ⇒ Hash
The Kubernetes YAML data to send to the API I(endpoint).
-
#insecure ⇒ Boolean?
Reverts the connection to using HTTP instead of HTTPS.
-
#state ⇒ :present, ...
The desired action to take on the Kubernetes data.
-
#url_password ⇒ String?
The HTTP Basic Auth password for the API I(endpoint).
-
#url_username ⇒ String?
The HTTP Basic Auth username for the API I(endpoint).
-
#validate_certs ⇒ Boolean?
Enable/disable certificate validation.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#api_endpoint ⇒ String
Returns The IPv4 API endpoint of the Kubernetes cluster.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/kubernetes.rb', line 10 attribute :api_endpoint |
#certificate_authority_data ⇒ Object?
Returns Certificate Authority data for Kubernetes server. Should be in either standard PEM format or base64 encoded PEM data. Note that certificate verification is broken until ansible supports a version of ‘match_hostname’ that can match the IP address against the CA data.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/kubernetes.rb', line 22 attribute :certificate_authority_data |
#file_reference ⇒ String?
Returns Specify full path to a Kubernets YAML file to send to API I(endpoint). This option is mutually exclusive with C(‘inline_data’).
18 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/kubernetes.rb', line 18 attribute :file_reference |
#inline_data ⇒ Hash
Returns The Kubernetes YAML data to send to the API I(endpoint). This option is mutually exclusive with C(‘file_reference’).
14 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/kubernetes.rb', line 14 attribute :inline_data |
#insecure ⇒ Boolean?
Returns Reverts the connection to using HTTP instead of HTTPS. This option should only be used when execuing the M(‘kubernetes’) module local to the Kubernetes cluster using the insecure local port (locahost:8080 by default).
37 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/kubernetes.rb', line 37 attribute :insecure |
#state ⇒ :present, ...
Returns The desired action to take on the Kubernetes data.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/kubernetes.rb', line 25 attribute :state |
#url_password ⇒ String?
Returns The HTTP Basic Auth password for the API I(endpoint). This should be set unless using the C(‘insecure’) option.
29 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/kubernetes.rb', line 29 attribute :url_password |
#url_username ⇒ String?
Returns The HTTP Basic Auth username for the API I(endpoint). This should be set unless using the C(‘insecure’) option.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/kubernetes.rb', line 33 attribute :url_username |
#validate_certs ⇒ Boolean?
Returns Enable/disable certificate validation. Note that this is set to C(false) until Ansible can support IP address based certificate hostname matching (exists in >= python3.5.0).
41 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/kubernetes.rb', line 41 attribute :validate_certs |