Documentation
¶
Overview ¶
Api classes for lcm's golang SDK
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK ¶
Api classes for lcm's golang SDK
Index ¶
- type BundlesApi
- func (api *BundlesApi) DeleteBundle(uuid *string, args ...map[string]interface{}) (*import1.DelBundleApiResponse, error)
- func (api *BundlesApi) GetBundle(uuid *string, args ...map[string]interface{}) (*import1.GetBundleInfoApiResponse, error)
- func (api *BundlesApi) GetBundles(page_ *int, limit_ *int, filter_ *string, args ...map[string]interface{}) (*import1.GetBundlesApiResponse, error)
- func (api *BundlesApi) PostBundle(body *import1.LcmBundlesSpec, args ...map[string]interface{}) (*import1.PostBundlesApiResponse, error)
- func (api *BundlesApi) PutBundle(uuid *string, body *string, args ...map[string]interface{}) (*import1.PutBundleApiResponse, error)
- type CancelUpdateApi
- type ConfigApi
- type DownloadApi
- type EntityApi
- type HistoryApi
- type ImagesApi
- type InventoryApi
- type LogBayApi
- type ModuleConfigApi
- type NodePriorityConfigApi
- func (api *NodePriorityConfigApi) GetNodePriorities(args ...map[string]interface{}) (*import1.GetNodePrioritiesApiResponse, error)
- func (api *NodePriorityConfigApi) GetNodePriority(nodeUuid *string, args ...map[string]interface{}) (*import1.GetNodePriorityNodeApiResponse, error)
- func (api *NodePriorityConfigApi) PostNodePriorities(body *import1.NodePriorityConfig, args ...map[string]interface{}) (*import1.PostNodePrioritiesApiResponse, error)
- type NotificationsApi
- type PlanApi
- type PrecheckApi
- type RecommendationsApi
- type StatusApi
- type TaskApi
- type UpdateApi
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundlesApi ¶
func NewBundlesApi ¶
func NewBundlesApi(apiClient *client.ApiClient) *BundlesApi
func (*BundlesApi) DeleteBundle ¶
func (api *BundlesApi) DeleteBundle(uuid *string, args ...map[string]interface{}) (*import1.DelBundleApiResponse, error)
*
DeleteBundle Delete bundle for the specified UUID. parameters:- -> uuid (string) (required) : UUID of the LCM bundle -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.DelBundleApiResponse, error)
func (*BundlesApi) GetBundle ¶
func (api *BundlesApi) GetBundle(uuid *string, args ...map[string]interface{}) (*import1.GetBundleInfoApiResponse, error)
*
GetBundle Get bundle details for bundle UUID. parameters:- -> uuid (string) (required) : UUID of the LCM bundle -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetBundleInfoApiResponse, error)
func (*BundlesApi) GetBundles ¶
func (api *BundlesApi) GetBundles(page_ *int, limit_ *int, filter_ *string, args ...map[string]interface{}) (*import1.GetBundlesApiResponse, error)
*
GetBundles Query list of bundles parameters:- -> page_ (int) (optional) : A URL query parameter that specifies the page number of the result set. Must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range will be set to its nearest bound. In other words, a page number of less than 0 would be set to 0 and a page number greater than the total available pages would be set to the last page. -> limit_ (int) (optional) : A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 0 and 100. Any number out of this range will be set to the default maximum number of records, which is 100. -> filter_ (string) (optional) : A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. The filter can be applied on the following fields: - type -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetBundlesApiResponse, error)
func (*BundlesApi) PostBundle ¶
func (api *BundlesApi) PostBundle(body *import1.LcmBundlesSpec, args ...map[string]interface{}) (*import1.PostBundlesApiResponse, error)
*
PostBundle Create a bundle parameters:- -> body (lcm.v4.resources.LcmBundlesSpec) (optional) -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.PostBundlesApiResponse, error)
func (*BundlesApi) PutBundle ¶
func (api *BundlesApi) PutBundle(uuid *string, body *string, args ...map[string]interface{}) (*import1.PutBundleApiResponse, error)
*
PutBundle Update bundle information for a specified UUID parameters:- -> uuid (string) (required) : UUID of the LCM bundle -> body (string) (optional) : The file stream being uploaded into a bundle -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.PutBundleApiResponse, error)
type CancelUpdateApi ¶
func NewCancelUpdateApi ¶
func NewCancelUpdateApi(apiClient *client.ApiClient) *CancelUpdateApi
func (*CancelUpdateApi) PostCancelUpdate ¶
func (api *CancelUpdateApi) PostCancelUpdate(args ...map[string]interface{}) (*import2.CancelUpdateApiResponse, error)
*
Set intent to cancel ongoing LCM update Cancel LCM Update parameters:- -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.operations.CancelUpdateApiResponse, error)
type ConfigApi ¶
func NewConfigApi ¶
func (*ConfigApi) GetConfig ¶
func (api *ConfigApi) GetConfig(args ...map[string]interface{}) (*import1.GetLcmConfigApiResponse, error)
*
Get the present LCM configuration Get LCM configuration parameters:- -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetLcmConfigApiResponse, error)
func (*ConfigApi) PutConfig ¶
func (api *ConfigApi) PutConfig(body *import1.LcmConfig, args ...map[string]interface{}) (*import1.PutLcmConfigApiResponse, error)
*
Change the LCM configuration Update LCM configuration parameters:- -> body (lcm.v4.resources.LcmConfig) (optional) -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.PutLcmConfigApiResponse, error)
type DownloadApi ¶
func NewDownloadApi ¶
func NewDownloadApi(apiClient *client.ApiClient) *DownloadApi
func (*DownloadApi) Download ¶
func (api *DownloadApi) Download(body *import3.ImageDownloadSpecs, args ...map[string]interface{}) (*import2.GetDownloadApiResponse, error)
*
Download an image of a product through LCM Initiate LCM image download parameters:- -> body (lcm.v4.common.ImageDownloadSpecs) (optional) -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.operations.GetDownloadApiResponse, error)
type EntityApi ¶
func NewEntityApi ¶
func (*EntityApi) GetEntities ¶
func (api *EntityApi) GetEntities(page_ *int, limit_ *int, filter_ *string, args ...map[string]interface{}) (*import1.GetEntitiesApiResponse, error)
*
Get details about all LCM entities Query list of LCM entities parameters:- -> page_ (int) (optional) : A URL query parameter that specifies the page number of the result set. Must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range will be set to its nearest bound. In other words, a page number of less than 0 would be set to 0 and a page number greater than the total available pages would be set to the last page. -> limit_ (int) (optional) : A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 0 and 100. Any number out of this range will be set to the default maximum number of records, which is 100. -> filter_ (string) (optional) : A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. The filter can be applied on the following fields: - entityClass - entityModel - entityType -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetEntitiesApiResponse, error)
func (*EntityApi) GetEntity ¶
func (api *EntityApi) GetEntity(uuid *string, args ...map[string]interface{}) (*import1.GetEntityApiResponse, error)
*
Get details about an LCM entity Get details about an LCM entity parameters:- -> uuid (string) (required) : UUID of the entity to be used -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetEntityApiResponse, error)
type HistoryApi ¶
func NewHistoryApi ¶
func NewHistoryApi(apiClient *client.ApiClient) *HistoryApi
func (*HistoryApi) GetHistory ¶
func (api *HistoryApi) GetHistory(page_ *int, limit_ *int, filter_ *string, args ...map[string]interface{}) (*import1.GetHistoryApiResponse, error)
*
Get history of all LCM operations on this cluster Get history of LCM operations parameters:- -> page_ (int) (optional) : A URL query parameter that specifies the page number of the result set. Must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range will be set to its nearest bound. In other words, a page number of less than 0 would be set to 0 and a page number greater than the total available pages would be set to the last page. -> limit_ (int) (optional) : A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 0 and 100. Any number out of this range will be set to the default maximum number of records, which is 100. -> filter_ (string) (optional) : A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. The filter can be applied on the following fields: - operationId - operationType - startTime -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetHistoryApiResponse, error)
func (*HistoryApi) GetHistoryByUuid ¶
func (api *HistoryApi) GetHistoryByUuid(uuid *string, args ...map[string]interface{}) (*import1.GetHistoryByUuidApiResponse, error)
*
Get history of a specific LCM operation on this cluster Get LCM operation history for a specified UUID parameters:- -> uuid (string) (required) : UUID of an LCM operation -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetHistoryByUuidApiResponse, error)
type ImagesApi ¶
func NewImagesApi ¶
func (*ImagesApi) GetImages ¶
func (api *ImagesApi) GetImages(page_ *int, limit_ *int, filter_ *string, args ...map[string]interface{}) (*import1.GetImagesApiResponse, error)
*
Get the list of downloaded LCM images Get the list of downloaded LCM images parameters:- -> page_ (int) (optional) : A URL query parameter that specifies the page number of the result set. Must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range will be set to its nearest bound. In other words, a page number of less than 0 would be set to 0 and a page number greater than the total available pages would be set to the last page. -> limit_ (int) (optional) : A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 0 and 100. Any number out of this range will be set to the default maximum number of records, which is 100. -> filter_ (string) (optional) : A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. The filter can be applied on the following fields: - entityClass - entityModel - hardwareFamily - version -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetImagesApiResponse, error)
type InventoryApi ¶
func NewInventoryApi ¶
func NewInventoryApi(apiClient *client.ApiClient) *InventoryApi
func (*InventoryApi) Inventory ¶
func (api *InventoryApi) Inventory(args ...map[string]interface{}) (*import2.InventoryApiResponse, error)
*
Perform an inventory operation to identify entities that can be updated through LCM Perform an LCM inventory operation parameters:- -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.operations.InventoryApiResponse, error)
type LogBayApi ¶
func NewLogBayApi ¶
func (*LogBayApi) GetLogbayItems ¶
func (api *LogBayApi) GetLogbayItems(page_ *int, limit_ *int, args ...map[string]interface{}) (*import1.GetLogBayItemsApiResponse, error)
*
Get Logbay items needed for collecting LCM logs Get NCC Logbay items needed for collecting LCM logs parameters:- -> page_ (int) (optional) : A URL query parameter that specifies the page number of the result set. Must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range will be set to its nearest bound. In other words, a page number of less than 0 would be set to 0 and a page number greater than the total available pages would be set to the last page. -> limit_ (int) (optional) : A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 0 and 100. Any number out of this range will be set to the default maximum number of records, which is 100. -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetLogBayItemsApiResponse, error)
func (*LogBayApi) GetLogbayTags ¶
func (api *LogBayApi) GetLogbayTags(page_ *int, limit_ *int, args ...map[string]interface{}) (*import1.GetLogBayTagsApiResponse, error)
*
Get Logbay tags used for collecting LCM logs Get NCC Logbay tags used for collecting LCM logs parameters:- -> page_ (int) (optional) : A URL query parameter that specifies the page number of the result set. Must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range will be set to its nearest bound. In other words, a page number of less than 0 would be set to 0 and a page number greater than the total available pages would be set to the last page. -> limit_ (int) (optional) : A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 0 and 100. Any number out of this range will be set to the default maximum number of records, which is 100. -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetLogBayTagsApiResponse, error)
type ModuleConfigApi ¶
func NewModuleConfigApi ¶
func NewModuleConfigApi(apiClient *client.ApiClient) *ModuleConfigApi
func (*ModuleConfigApi) GetModuleConfig ¶
func (api *ModuleConfigApi) GetModuleConfig(args ...map[string]interface{}) (*import1.GetModuleConfigApiResponse, error)
*
Get LCM module configuration Get LCM module configuration parameters:- -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetModuleConfigApiResponse, error)
func (*ModuleConfigApi) SetModuleConfig ¶
func (api *ModuleConfigApi) SetModuleConfig(body *import1.ModuleConfig, args ...map[string]interface{}) (*import1.PutModuleConfigApiResponse, error)
*
Update the LCM module configuration Update LCM module configuration parameters:- -> body (lcm.v4.resources.ModuleConfig) (optional) -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.PutModuleConfigApiResponse, error)
type NodePriorityConfigApi ¶
func NewNodePriorityConfigApi ¶
func NewNodePriorityConfigApi(apiClient *client.ApiClient) *NodePriorityConfigApi
func (*NodePriorityConfigApi) GetNodePriorities ¶
func (api *NodePriorityConfigApi) GetNodePriorities(args ...map[string]interface{}) (*import1.GetNodePrioritiesApiResponse, error)
*
Get the order in which nodes will be upgraded Get node priorities parameters:- -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetNodePrioritiesApiResponse, error)
func (*NodePriorityConfigApi) GetNodePriority ¶
func (api *NodePriorityConfigApi) GetNodePriority(nodeUuid *string, args ...map[string]interface{}) (*import1.GetNodePriorityNodeApiResponse, error)
*
Get the node priority of a node by UUID Get node priority value of a node parameters:- -> nodeUuid (string) (required) : UUID of a node in the cluster -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetNodePriorityNodeApiResponse, error)
func (*NodePriorityConfigApi) PostNodePriorities ¶
func (api *NodePriorityConfigApi) PostNodePriorities(body *import1.NodePriorityConfig, args ...map[string]interface{}) (*import1.PostNodePrioritiesApiResponse, error)
*
Set the order in which nodes will be upgraded Update node priority of the node parameters:- -> body (lcm.v4.resources.NodePriorityConfig) (optional) -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.PostNodePrioritiesApiResponse, error)
type NotificationsApi ¶
func NewNotificationsApi ¶
func NewNotificationsApi(apiClient *client.ApiClient) *NotificationsApi
func (*NotificationsApi) GenUpgradeNotifications ¶
func (api *NotificationsApi) GenUpgradeNotifications(body *import3.EntityUpdateSpecs, args ...map[string]interface{}) (*import1.GenUpgradeNotifApiResponse, error)
*
Generate LCM upgrade notifications Generate LCM upgrade notifications parameters:- -> body (lcm.v4.common.EntityUpdateSpecs) (optional) -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GenUpgradeNotifApiResponse, error)
type PlanApi ¶
func NewPlanApi ¶
func (*PlanApi) GetPlan ¶
func (api *PlanApi) GetPlan(body *import3.EntityUpdateSpecs, args ...map[string]interface{}) (*import1.GenUpgradePlanApiResponse, error)
*
Generate an upgrade plan that specifies the impact of the upgrade on the cluster Generate an LCM upgrade plan parameters:- -> body (lcm.v4.common.EntityUpdateSpecs) (optional) -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GenUpgradePlanApiResponse, error)
type PrecheckApi ¶
func NewPrecheckApi ¶
func NewPrecheckApi(apiClient *client.ApiClient) *PrecheckApi
func (*PrecheckApi) Precheck ¶
func (api *PrecheckApi) Precheck(body *import3.PrecheckSpec, args ...map[string]interface{}) (*import2.PrecheckApiResponse, error)
*
Perform a LCM precheck operation Perform LCM precheck parameters:- -> body (lcm.v4.common.PrecheckSpec) (optional) -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.operations.PrecheckApiResponse, error)
type RecommendationsApi ¶
func NewRecommendationsApi ¶
func NewRecommendationsApi(apiClient *client.ApiClient) *RecommendationsApi
func (*RecommendationsApi) GetRecommendations ¶
func (api *RecommendationsApi) GetRecommendations(body *import1.RecommendationSpec, args ...map[string]interface{}) (*import1.GetUpdateRecApiResponse, error)
*
Get a list of update recommendations from LCM Get LCM update recommendations parameters:- -> body (lcm.v4.resources.RecommendationSpec) (optional) -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetUpdateRecApiResponse, error)
type StatusApi ¶
func NewStatusApi ¶
func (*StatusApi) GetStatus ¶
func (api *StatusApi) GetStatus(args ...map[string]interface{}) (*import1.GetLcmStatusApiResponse, error)
*
Get the LCM framework status Get the LCM framework status parameters:- -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetLcmStatusApiResponse, error)
type TaskApi ¶
func NewTaskApi ¶
func (*TaskApi) GetTaskByUuid ¶
func (api *TaskApi) GetTaskByUuid(uuid *string, args ...map[string]interface{}) (*import1.GetTaskByUuidApiResponse, error)
*
Get details of an LCM task identified by the UUID Get details of an LCM task identified by the UUID parameters:- -> uuid (string) (required) : UUID of LCM task -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.resources.GetTaskByUuidApiResponse, error)
type UpdateApi ¶
func NewUpdateApi ¶
func (*UpdateApi) Update ¶
func (api *UpdateApi) Update(body *import3.UpdateSpec, args ...map[string]interface{}) (*import2.UpdateApiResponse, error)
*
Perform an LCM update operation Perform an LCM update operation parameters:- -> body (lcm.v4.common.UpdateSpec) (optional) -> args (map[string]interface{}) (optional) : Additional Arguments returns: (*lcm.v4.operations.UpdateApiResponse, error)
Source Files
¶
- bundles_api.go
- cancel_update_api.go
- config_api.go
- download_api.go
- entity_api.go
- history_api.go
- images_api.go
- inventory_api.go
- log_bay_api.go
- module_config_api.go
- node_priority_config_api.go
- notifications_api.go
- plan_api.go
- precheck_api.go
- recommendations_api.go
- status_api.go
- task_api.go
- update_api.go
Click to show internal directories.
Click to hide internal directories.