Documentation
¶
Overview ¶
Api classes for clustermgmt's golang SDK
Index ¶
- type ClusterApi
- func (api *ClusterApi) AddNode(extId *string, body *import1.ExpandClusterParams, ...) (*import1.AddNodeTaskResponse, error)
- func (api *ClusterApi) AddRsyslogServer(extId *string, body *import1.RsyslogServer, args ...map[string]interface{}) (*import1.AddRsyslogServerTaskApiResponse, error)
- func (api *ClusterApi) AddSnmpTransport(extId *string, body *import1.SnmpTransport, args ...map[string]interface{}) (*import1.AddSnmpTransportsTaskApiResponse, error)
- func (api *ClusterApi) AddSnmpTrap(extId *string, body *import1.SnmpTrap, args ...map[string]interface{}) (*import1.AddSnmpTrapTaskApiResponse, error)
- func (api *ClusterApi) AddSnmpUser(extId *string, body *import1.SnmpUser, args ...map[string]interface{}) (*import1.AddSnmpUserTaskApiResponse, error)
- func (api *ClusterApi) CreateCluster(body *import1.Cluster, args ...map[string]interface{}) (*import1.ClusterCreateTaskResponse, error)
- func (api *ClusterApi) DeleteRsyslogServer(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteRsyslogServerTaskApiResponse, error)
- func (api *ClusterApi) DeleteSnmpTrap(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteSnmpTrapTaskApiResponse, error)
- func (api *ClusterApi) DeleteSnmpUser(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteSnmpUserTaskApiResponse, error)
- func (api *ClusterApi) DiscoverUnconfiguredNodes(extId *string, body *import1.NodeDiscoveryParams, ...) (*import1.DiscoverNodeTaskApiResponse, error)
- func (api *ClusterApi) GetAllHosts(page_ *int, limit_ *int, filter_ *string, orderby_ *string, apply_ *string, ...) (*import1.GetAllHostsResponse, error)
- func (api *ClusterApi) GetCluster(extId *string, args ...map[string]interface{}) (*import1.GetClusterResponse, error)
- func (api *ClusterApi) GetClusterStatsInfo(clusterExtId *string, startTime_ *string, endTime_ *string, ...) (*import2.ClusterStatsInfoApiResponse, error)
- func (api *ClusterApi) GetClusters(page_ *int, limit_ *int, filter_ *string, orderby_ *string, apply_ *string, ...) (*import1.GetClustersResponse, error)
- func (api *ClusterApi) GetDomainFaultToleranceStatus(extId *string, args ...map[string]interface{}) (*import1.GetDomainFaultToleranceResponse, error)
- func (api *ClusterApi) GetHost(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetHostResponse, error)
- func (api *ClusterApi) GetHostNic(clusterExtId *string, hostExtId *string, extId *string, ...) (*import1.GetHostNicResponse, error)
- func (api *ClusterApi) GetHostNics(clusterExtId *string, extId *string, page_ *int, limit_ *int, filter_ *string, ...) (*import1.GetHostNicsResponse, error)
- func (api *ClusterApi) GetHostStatsInfo(clusterExtId *string, hostExtId *string, startTime_ *string, endTime_ *string, ...) (*import2.HostStatsInfoApiResponse, error)
- func (api *ClusterApi) GetHosts(extId *string, page_ *int, limit_ *int, filter_ *string, orderby_ *string, ...) (*import1.GetHostsResponse, error)
- func (api *ClusterApi) GetRackableUnit(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetRackableUnitResponse, error)
- func (api *ClusterApi) GetRackableUnits(extId *string, args ...map[string]interface{}) (*import1.GetRackableUnitsResponse, error)
- func (api *ClusterApi) GetRsyslogServer(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetRsyslogServerResponse, error)
- func (api *ClusterApi) GetRsyslogServers(extId *string, args ...map[string]interface{}) (*import1.GetRsyslogServersResponse, error)
- func (api *ClusterApi) GetSnmp(extId *string, args ...map[string]interface{}) (*import1.GetSnmpResponse, error)
- func (api *ClusterApi) GetSnmpTrap(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetSnmpTrapResponse, error)
- func (api *ClusterApi) GetSnmpUser(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetSnmpUserResponse, error)
- func (api *ClusterApi) GetVirtualNic(clusterExtId *string, hostExtId *string, extId *string, ...) (*import1.GetVirtualNicResponse, error)
- func (api *ClusterApi) GetVirtualNics(clusterExtId *string, extId *string, page_ *int, limit_ *int, filter_ *string, ...) (*import1.GetVirtualNicsResponse, error)
- func (api *ClusterApi) IsHypervisorUploadRequired(extId *string, body *import1.HypervisorUploadParam, ...) (*import1.HypervisorUplpadRequiredTaskResponse, error)
- func (api *ClusterApi) NodesNetworkingDetails(extId *string, body *import1.NodeDetails, args ...map[string]interface{}) (*import1.GetNodeNetworkingTaskApiResponse, error)
- func (api *ClusterApi) RemoveNode(extId *string, body *import1.NodeRemovalParams, args ...map[string]interface{}) (*import1.RemoveNodeTaskResponse, error)
- func (api *ClusterApi) RemoveSnmpTransport(extId *string, body *import1.SnmpTransport, args ...map[string]interface{}) (*import1.RemoveSnmpTransportsTaskApiResponse, error)
- func (api *ClusterApi) SearchTask(extId *string, body *import1.SearchParams, args ...map[string]interface{}) (*import1.GetSearchResponse, error)
- func (api *ClusterApi) UpdateCluster(extId *string, body *import1.Cluster, args ...map[string]interface{}) (*import1.UpdateClusterTaskApiResponse, error)
- func (api *ClusterApi) UpdateRsyslogServer(clusterExtId *string, extId *string, body *import1.RsyslogServer, ...) (*import1.UpdateRsyslogServerTaskApiResponse, error)
- func (api *ClusterApi) UpdateSnmpStatus(extId *string, body *import1.SnmpStatusParam, args ...map[string]interface{}) (*import1.UpdateSnmpStatusTaskApiResponse, error)
- func (api *ClusterApi) UpdateSnmpTrap(clusterExtId *string, extId *string, body *import1.SnmpTrap, ...) (*import1.UpdateSnmpTrapTaskApiResponse, error)
- func (api *ClusterApi) UpdateSnmpUser(clusterExtId *string, extId *string, body *import1.SnmpUser, ...) (*import1.UpdateSnmpUserTaskApiResponse, error)
- func (api *ClusterApi) ValidateNode(extId *string, body *import1.ValidateNodeParam, args ...map[string]interface{}) (*import1.ValidateNodeTaskResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterApi ¶
func NewClusterApi ¶
func NewClusterApi(apiClient *client.ApiClient) *ClusterApi
func (*ClusterApi) AddNode ¶
func (api *ClusterApi) AddNode(extId *string, body *import1.ExpandClusterParams, args ...map[string]interface{}) (*import1.AddNodeTaskResponse, error)
Add node on a cluster. This API is not supported for XEN hypervisor type.
func (*ClusterApi) AddRsyslogServer ¶
func (api *ClusterApi) AddRsyslogServer(extId *string, body *import1.RsyslogServer, args ...map[string]interface{}) (*import1.AddRsyslogServerTaskApiResponse, error)
Add new RSYSLOG server configuration
func (*ClusterApi) AddSnmpTransport ¶
func (api *ClusterApi) AddSnmpTransport(extId *string, body *import1.SnmpTransport, args ...map[string]interface{}) (*import1.AddSnmpTransportsTaskApiResponse, error)
Add SNMP transports
func (*ClusterApi) AddSnmpTrap ¶
func (api *ClusterApi) AddSnmpTrap(extId *string, body *import1.SnmpTrap, args ...map[string]interface{}) (*import1.AddSnmpTrapTaskApiResponse, error)
Add SNMP trap. For SNMP trap v3 version, SNMP username is required parameter.
func (*ClusterApi) AddSnmpUser ¶
func (api *ClusterApi) AddSnmpUser(extId *string, body *import1.SnmpUser, args ...map[string]interface{}) (*import1.AddSnmpUserTaskApiResponse, error)
Add SNMP user
func (*ClusterApi) CreateCluster ¶
func (api *ClusterApi) CreateCluster(body *import1.Cluster, args ...map[string]interface{}) (*import1.ClusterCreateTaskResponse, error)
Cluster create operation.
func (*ClusterApi) DeleteRsyslogServer ¶
func (api *ClusterApi) DeleteRsyslogServer(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteRsyslogServerTaskApiResponse, error)
Delete RSYSLOG Server
func (*ClusterApi) DeleteSnmpTrap ¶
func (api *ClusterApi) DeleteSnmpTrap(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteSnmpTrapTaskApiResponse, error)
Delete SNMP trap
func (*ClusterApi) DeleteSnmpUser ¶
func (api *ClusterApi) DeleteSnmpUser(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteSnmpUserTaskApiResponse, error)
Delete SNMP user
func (*ClusterApi) DiscoverUnconfiguredNodes ¶
func (api *ClusterApi) DiscoverUnconfiguredNodes(extId *string, body *import1.NodeDiscoveryParams, args ...map[string]interface{}) (*import1.DiscoverNodeTaskApiResponse, error)
Get the unconfigured node details such as node UUID, node position, node IP, foundation version and more.
func (*ClusterApi) GetAllHosts ¶
func (api *ClusterApi) GetAllHosts(page_ *int, limit_ *int, filter_ *string, orderby_ *string, apply_ *string, select_ *string, args ...map[string]interface{}) (*import1.GetAllHostsResponse, error)
Get all host entities
func (*ClusterApi) GetCluster ¶
func (api *ClusterApi) GetCluster(extId *string, args ...map[string]interface{}) (*import1.GetClusterResponse, error)
Get cluster entity
func (*ClusterApi) GetClusterStatsInfo ¶
func (api *ClusterApi) GetClusterStatsInfo(clusterExtId *string, startTime_ *string, endTime_ *string, samplingInterval_ *int, statType_ *import3.DownSamplingOperator, args ...map[string]interface{}) (*import2.ClusterStatsInfoApiResponse, error)
Get cluster statistics
func (*ClusterApi) GetClusters ¶
func (api *ClusterApi) GetClusters(page_ *int, limit_ *int, filter_ *string, orderby_ *string, apply_ *string, select_ *string, args ...map[string]interface{}) (*import1.GetClustersResponse, error)
Get cluster entities
func (*ClusterApi) GetDomainFaultToleranceStatus ¶
func (api *ClusterApi) GetDomainFaultToleranceStatus(extId *string, args ...map[string]interface{}) (*import1.GetDomainFaultToleranceResponse, error)
Get domain fault tolerance status
func (*ClusterApi) GetHost ¶
func (api *ClusterApi) GetHost(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetHostResponse, error)
Get host entity
func (*ClusterApi) GetHostNic ¶
func (api *ClusterApi) GetHostNic(clusterExtId *string, hostExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetHostNicResponse, error)
Get host NIC
func (*ClusterApi) GetHostNics ¶
func (api *ClusterApi) GetHostNics(clusterExtId *string, extId *string, page_ *int, limit_ *int, filter_ *string, orderby_ *string, select_ *string, args ...map[string]interface{}) (*import1.GetHostNicsResponse, error)
Get host NICs
func (*ClusterApi) GetHostStatsInfo ¶
func (api *ClusterApi) GetHostStatsInfo(clusterExtId *string, hostExtId *string, startTime_ *string, endTime_ *string, samplingInterval_ *int, statType_ *import3.DownSamplingOperator, args ...map[string]interface{}) (*import2.HostStatsInfoApiResponse, error)
Get host statistics
func (*ClusterApi) GetHosts ¶
func (api *ClusterApi) GetHosts(extId *string, page_ *int, limit_ *int, filter_ *string, orderby_ *string, apply_ *string, select_ *string, args ...map[string]interface{}) (*import1.GetHostsResponse, error)
Get host entities of a cluster
func (*ClusterApi) GetRackableUnit ¶
func (api *ClusterApi) GetRackableUnit(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetRackableUnitResponse, error)
Get rackable unit entity
func (*ClusterApi) GetRackableUnits ¶
func (api *ClusterApi) GetRackableUnits(extId *string, args ...map[string]interface{}) (*import1.GetRackableUnitsResponse, error)
Get rackable unit entities of a cluster
func (*ClusterApi) GetRsyslogServer ¶
func (api *ClusterApi) GetRsyslogServer(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetRsyslogServerResponse, error)
Get RSYSLOG server configuration
func (*ClusterApi) GetRsyslogServers ¶
func (api *ClusterApi) GetRsyslogServers(extId *string, args ...map[string]interface{}) (*import1.GetRsyslogServersResponse, error)
Get RSYSLOG servers configuration details
func (*ClusterApi) GetSnmp ¶
func (api *ClusterApi) GetSnmp(extId *string, args ...map[string]interface{}) (*import1.GetSnmpResponse, error)
Get SNMP information
func (*ClusterApi) GetSnmpTrap ¶
func (api *ClusterApi) GetSnmpTrap(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetSnmpTrapResponse, error)
Get SNMP trap configuration
func (*ClusterApi) GetSnmpUser ¶
func (api *ClusterApi) GetSnmpUser(clusterExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetSnmpUserResponse, error)
Get SNMP user configuration
func (*ClusterApi) GetVirtualNic ¶
func (api *ClusterApi) GetVirtualNic(clusterExtId *string, hostExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetVirtualNicResponse, error)
Get virtual NIC
func (*ClusterApi) GetVirtualNics ¶
func (api *ClusterApi) GetVirtualNics(clusterExtId *string, extId *string, page_ *int, limit_ *int, filter_ *string, orderby_ *string, select_ *string, args ...map[string]interface{}) (*import1.GetVirtualNicsResponse, error)
Get virtual NICs
func (*ClusterApi) IsHypervisorUploadRequired ¶
func (api *ClusterApi) IsHypervisorUploadRequired(extId *string, body *import1.HypervisorUploadParam, args ...map[string]interface{}) (*import1.HypervisorUplpadRequiredTaskResponse, error)
Provides information on whether hypervisor ISO upload is required or not. This API is not supported for XEN hypervisor type.
func (*ClusterApi) NodesNetworkingDetails ¶
func (api *ClusterApi) NodesNetworkingDetails(extId *string, body *import1.NodeDetails, args ...map[string]interface{}) (*import1.GetNodeNetworkingTaskApiResponse, error)
Get a dictionary of cluster networks and available uplinks on the given nodes. This API is not supported for XEN hypervisor type.
func (*ClusterApi) RemoveNode ¶
func (api *ClusterApi) RemoveNode(extId *string, body *import1.NodeRemovalParams, args ...map[string]interface{}) (*import1.RemoveNodeTaskResponse, error)
Removes nodes from cluster
func (*ClusterApi) RemoveSnmpTransport ¶
func (api *ClusterApi) RemoveSnmpTransport(extId *string, body *import1.SnmpTransport, args ...map[string]interface{}) (*import1.RemoveSnmpTransportsTaskApiResponse, error)
Remove SNMP transports
func (*ClusterApi) SearchTask ¶
func (api *ClusterApi) SearchTask(extId *string, body *import1.SearchParams, args ...map[string]interface{}) (*import1.GetSearchResponse, error)
Get task response based on the type of request
func (*ClusterApi) UpdateCluster ¶
func (api *ClusterApi) UpdateCluster(extId *string, body *import1.Cluster, args ...map[string]interface{}) (*import1.UpdateClusterTaskApiResponse, error)
Update cluster operation.
func (*ClusterApi) UpdateRsyslogServer ¶
func (api *ClusterApi) UpdateRsyslogServer(clusterExtId *string, extId *string, body *import1.RsyslogServer, args ...map[string]interface{}) (*import1.UpdateRsyslogServerTaskApiResponse, error)
Update RSYSLOG server configuration except RSYSLOG server name as it is a primary key of the entity.
func (*ClusterApi) UpdateSnmpStatus ¶
func (api *ClusterApi) UpdateSnmpStatus(extId *string, body *import1.SnmpStatusParam, args ...map[string]interface{}) (*import1.UpdateSnmpStatusTaskApiResponse, error)
Update SNMP status
func (*ClusterApi) UpdateSnmpTrap ¶
func (api *ClusterApi) UpdateSnmpTrap(clusterExtId *string, extId *string, body *import1.SnmpTrap, args ...map[string]interface{}) (*import1.UpdateSnmpTrapTaskApiResponse, error)
Update SNMP trap. For SNMP trap v3 version, SNMP username is required parameter.
func (*ClusterApi) UpdateSnmpUser ¶
func (api *ClusterApi) UpdateSnmpUser(clusterExtId *string, extId *string, body *import1.SnmpUser, args ...map[string]interface{}) (*import1.UpdateSnmpUserTaskApiResponse, error)
Update SNMP user
func (*ClusterApi) ValidateNode ¶
func (api *ClusterApi) ValidateNode(extId *string, body *import1.ValidateNodeParam, args ...map[string]interface{}) (*import1.ValidateNodeTaskResponse, error)
Validates hypervisor bundle and node uplinks of the node. This API is not supported for XEN hypervisor type.