=begin
#Rancher Solution API
#Simplify enterprise-grade Kubernetes cluster operations and management with Rancher on Bare Metal Cloud. Deploy Kubernetes clusters using a few API calls.
Knowledge base articles to help you can be found here
All URLs are relative to (https://api.phoenixnap.com/solutions/rancher/v1beta)
The version of the OpenAPI document: 0.1
Contact: support@phoenixnap.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.4.0
=end
require 'spec_helper'
require 'json'
# Unit tests for RancherApi::ClustersApi
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'ClustersApi' do
before do
# run before each test
@api_instance = RancherApi::ClustersApi.new
end
after do
# run after each test
end
describe 'test an instance of ClustersApi' do
it 'should create an instance of ClustersApi' do
expect(@api_instance).to be_instance_of(RancherApi::ClustersApi)
end
end
# unit tests for clusters_get
# Cluster list.
# Cluster list.
# @param [Hash] opts the optional parameters
# @return [Array]
describe 'clusters_get test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
# unit tests for clusters_id_delete
# Delete a cluster.
# Delete a cluster.
# @param id The Cluster identifier.
# @param [Hash] opts the optional parameters
# @return [DeleteResult]
describe 'clusters_id_delete test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
# unit tests for clusters_id_get
# Retrieve a Cluster
# Retrieve a Cluster
# @param id The Cluster identifier.
# @param [Hash] opts the optional parameters
# @return [Cluster]
describe 'clusters_id_get test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
# unit tests for clusters_post
# Create a Rancher Server Deployment.
# Create a Rancher Server Deployment as described in <a href='https://rancher.com/docs/rancher/v2.5/en/overview/architecture/#rancher-server-architecture' target='_blank'>Rancher Docs Architecture</a>. Rancher Server allows the creation, import and management of multiple Downstream User Kubernetes Clusters. <b>This is not a Downstream User Cluster</b>.
# @param [Hash] opts the optional parameters
# @option opts [Cluster] :cluster
# @return [Cluster]
describe 'clusters_post test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
end