Documentation ¶
Index ¶
- func CacheExpires(r *http.Response) time.Time
- func NewConfiguration(region string, apiKeys ...*ncloud.APIKey) *ncloud.Configuration
- type APIClient
- type AcgRuleResponseDetailVo
- type AddNodesInClusterRequestVo
- type AllowedSearchEngineClusterInfo
- type ChangeSpecNodeRequestVo
- type ChangeSpecNodeResponseVo
- type ClusterNode
- type CreateClusterRequestVo
- type CreateClusterResponseVo
- type DateTimeVo
- type DisallowedSearchEngineClusterInfo
- type GenericSwaggerError
- type GetOpenApiAccessControlGroupRuleListResponseVo
- type GetOpenApiAcgInfoList
- type GetOpenApiHwProductListResponseVo
- type GetOpenApiOsProductListResponseVo
- type GetOpenApiServiceGroupResponseVo
- type GetSearchEngineClusterInfoListResponse
- type GetSearchEngineVersionListResponseVo
- type OpenApiGetClusterInfoResponseVo
- type OpenApiGetComputeInstanceListResponseDetailVo
- type OpenApiHwProductVo
- type OpenApiOsProductVo
- type ResetSearchEngineUserPasswordRequestVo
- type ResponseVoChangeSpecNodeResponseVo
- type ResponseVoCreateClusterResponseVo
- type ResponseVoGetOpenApiAcgInfoList
- type ResponseVoGetOpenApiHwProductListResponseVo
- type ResponseVoGetOpenApiOsProductListResponseVo
- type ResponseVoGetOpenApiServiceGroupResponseVo
- type ResponseVoGetSearchEngineClusterInfoListResponse
- type ResponseVoGetSearchEngineVersionListResponseVo
- type ResponseVoOpenApiGetClusterInfoResponseVo
- type ResponseVoboolean
- type SearchEngineVersion
- type V2ApiGetNodeProductListWithGetMethodUsingGETOpts
- type V2ControllerApiGetClusterInfoListUsingGETOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration(region string, apiKeys ...*ncloud.APIKey) *ncloud.Configuration
Types ¶
type APIClient ¶
type APIClient struct { V2Api *v2ApiService // contains filtered or unexported fields }
APIClient manages communication with the api API v2021-12-21T11:54:01Z In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *ncloud.Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type AcgRuleResponseDetailVo ¶
type AcgRuleResponseDetailVo struct { AccessControlGroupName string `json:"accessControlGroupName,omitempty"` AccessControlGroupNo int32 `json:"accessControlGroupNo,omitempty"` AccessControlGroupRuleNo int32 `json:"accessControlGroupRuleNo,omitempty"` AccessControlGroupSequence int32 `json:"accessControlGroupSequence,omitempty"` CreatedYmdt *DateTimeVo `json:"createdYmdt,omitempty"` Description string `json:"description,omitempty"` IpBlock string `json:"ipBlock,omitempty"` IsInboundRule bool `json:"isInboundRule,omitempty"` PortRange string `json:"portRange,omitempty"` ProtocolTypeCode string `json:"protocolTypeCode,omitempty"` StatusCode string `json:"statusCode,omitempty"` }
type AddNodesInClusterRequestVo ¶
type AddNodesInClusterRequestVo struct {
NewDataNodeCount *string `json:"newDataNodeCount,omitempty"`
}
type AllowedSearchEngineClusterInfo ¶
type AllowedSearchEngineClusterInfo struct { ClusterName *string `json:"clusterName,omitempty"` ClusterStatus *string `json:"clusterStatus"` CreateDate *string `json:"createDate,omitempty"` DataNodeAccessControlGroupName *string `json:"dataNodeAccessControlGroupName,omitempty"` DataNodeAccessControlGroupSequence *int32 `json:"dataNodeAccessControlGroupSequence,omitempty"` DataNodeCount *int32 `json:"dataNodeCount,omitempty"` DataNodeProductName *string `json:"dataNodeProductName,omitempty"` DataNodeSubnetName *string `json:"dataNodeSubnetName,omitempty"` DataNodeSubnetNo *int32 `json:"dataNodeSubnetNo,omitempty"` DataNodeType *string `json:"dataNodeType,omitempty"` DataStorageVolumeSize *int64 `json:"dataStorageVolumeSize,omitempty"` IsDualManager *bool `json:"isDualManager,omitempty"` IsMasterOnlyNodeActivated *bool `json:"isMasterOnlyNodeActivated,omitempty"` IsPluginInstalled *bool `json:"isPluginInstalled,omitempty"` LoginKeyName *string `json:"loginKeyName,omitempty"` ManagerNodeAccessControlGroupName *string `json:"managerNodeAccessControlGroupName,omitempty"` ManagerNodeAccessControlGroupSequence *int `json:"managerNodeAccessControlGroupSequence,omitempty"` ManagerNodeCount *int `json:"managerNodeCount,omitempty"` ManagerNodeSubnetName *string `json:"managerNodeSubnetName,omitempty"` ManagerNodeSubnetNo *int `json:"managerNodeSubnetNo,omitempty"` ManagerNodeType *string `json:"managerNodeType,omitempty"` MasterNodeAccessControlGroupName *string `json:"masterNodeAccessControlGroupName,omitempty"` MasterNodeAccessControlGroupSequence *int `json:"masterNodeAccessControlGroupSequence,omitempty"` MasterNodeCount *int `json:"masterNodeCount,omitempty"` MasterNodeProductName *string `json:"masterNodeProductName,omitempty"` MasterNodeSubnetName string `json:"masterNodeSubnetName,omitempty"` MasterNodeSubnetNo *int `json:"masterNodeSubnetNo,omitempty"` MasterNodeType *string `json:"masterNodeType,omitempty"` MemberNo *string `json:"memberNo,omitempty"` SearchEngineDashboardPort *string `json:"searchEngineDashboardPort,omitempty"` SearchEnginePort *string `json:"searchEnginePort,omitempty"` SearchEngineStatus *string `json:"searchEngineStatus"` SearchEngineUserName *string `json:"searchEngineUserName,omitempty"` SearchEngineVersion *string `json:"searchEngineVersion,omitempty"` ServiceGroupInstanceNo *string `json:"serviceGroupInstanceNo,omitempty"` SoftwareProductName *string `json:"softwareProductName,omitempty"` VpcName *string `json:"vpcName,omitempty"` VpcNo *int32 `json:"vpcNo,omitempty"` }
type ChangeSpecNodeRequestVo ¶
type ChangeSpecNodeRequestVo struct { DataNodeProductCode *string `json:"dataNodeProductCode,omitempty"` ManagerNodeProductCode *string `json:"managerNodeProductCode,omitempty"` MasterNodeProductCode *string `json:"masterNodeProductCode,omitempty"` ServiceGroupInstanceNo *string `json:"serviceGroupInstanceNo"` }
type ChangeSpecNodeResponseVo ¶
type ChangeSpecNodeResponseVo struct {
IsAllPossible bool `json:"isAllPossible,omitempty"`
}
type ClusterNode ¶
type ClusterNode struct { ComputeInstanceName string `json:"computeInstanceName,omitempty"` ComputeInstanceNo int `json:"computeInstanceNo,omitempty"` PrivateIp string `json:"privateIp,omitempty"` ServerStatus string `json:"serverStatus,omitempty"` NodeType string `json:"nodeType,omitempty"` Subnet string `json:"subnet,omitempty"` }
type CreateClusterRequestVo ¶
type CreateClusterRequestVo struct { ClusterName *string `json:"clusterName"` DataNodeCount *int32 `json:"dataNodeCount"` DataNodeProductCode *string `json:"dataNodeProductCode"` DataNodeStorageSize *int32 `json:"dataNodeStorageSize"` DataNodeSubnetNo *int32 `json:"dataNodeSubnetNo"` IsDualManager *bool `json:"isDualManager"` IsMasterOnlyNodeActivated *bool `json:"isMasterOnlyNodeActivated"` LoginKeyName *string `json:"loginKeyName"` ManagerNodeCount *int32 `json:"managerNodeCount"` ManagerNodeProductCode *string `json:"managerNodeProductCode"` ManagerNodeSubnetNo *int32 `json:"managerNodeSubnetNo,omitempty"` MasterNodeCount *int32 `json:"masterNodeCount"` MasterNodeProductCode *string `json:"masterNodeProductCode"` MasterNodeSubnetNo *int32 `json:"masterNodeSubnetNo"` SearchEngineUserName *string `json:"searchEngineUserName,omitempty"` SearchEngineUserPassword *string `json:"searchEngineUserPassword,omitempty"` SearchEngineVersionCode *string `json:"searchEngineVersionCode,omitempty"` SearchEngineDashboardPort *string `json:"searchEngineDashboardPort,omitempty"` SoftwareProductCode *string `json:"softwareProductCode"` VpcNo *int32 `json:"vpcNo,omitempty"` }
type CreateClusterResponseVo ¶
type CreateClusterResponseVo struct { // 서비스 그룹 인스턴스 번호 ServiceGroupInstanceNo *int32 `json:"serviceGroupInstanceNo"` }
type DateTimeVo ¶
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type GetOpenApiAccessControlGroupRuleListResponseVo ¶
type GetOpenApiAccessControlGroupRuleListResponseVo struct { InboundAcgRules []AcgRuleResponseDetailVo `json:"inboundAcgRules,omitempty"` OutboundAcgRules []AcgRuleResponseDetailVo `json:"outboundAcgRules,omitempty"` }
type GetOpenApiAcgInfoList ¶
type GetOpenApiAcgInfoList struct { DataNodeAcgRule *GetOpenApiAccessControlGroupRuleListResponseVo `json:"dataNodeAcgRule,omitempty"` ManagerNodeAcgRule *GetOpenApiAccessControlGroupRuleListResponseVo `json:"managerNodeAcgRule,omitempty"` MasterNodeAcgRule *GetOpenApiAccessControlGroupRuleListResponseVo `json:"masterNodeAcgRule,omitempty"` }
type GetOpenApiHwProductListResponseVo ¶
type GetOpenApiHwProductListResponseVo struct {
ProductList []OpenApiHwProductVo `json:"productList,omitempty"`
}
type GetOpenApiOsProductListResponseVo ¶
type GetOpenApiOsProductListResponseVo struct {
ProductList []OpenApiOsProductVo `json:"productList,omitempty"`
}
type GetOpenApiServiceGroupResponseVo ¶
type GetOpenApiServiceGroupResponseVo struct { ComputeList []OpenApiGetComputeInstanceListResponseDetailVo `json:"computeList,omitempty"` ContractNo int32 `json:"contractNo,omitempty"` CreatedDate *DateTimeVo `json:"createdDate,omitempty"` ProductCode string `json:"productCode,omitempty"` RegionNo int32 `json:"regionNo,omitempty"` ServiceGroupInstanceNo int32 `json:"serviceGroupInstanceNo,omitempty"` ServiceGroupInstanceTypeCode string `json:"serviceGroupInstanceTypeCode,omitempty"` ServiceGroupName string `json:"serviceGroupName,omitempty"` StatusCode string `json:"statusCode,omitempty"` VpcNo int32 `json:"vpcNo,omitempty"` }
type GetSearchEngineClusterInfoListResponse ¶
type GetSearchEngineClusterInfoListResponse struct { AllowedClusters []AllowedSearchEngineClusterInfo `json:"allowedClusters,omitempty"` CurrentPage int `json:"currentPage,omitempty"` DisallowedClusters []DisallowedSearchEngineClusterInfo `json:"disallowedClusters,omitempty"` IsFirst bool `json:"isFirst,omitempty"` IsLast bool `json:"isLast,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalCount int64 `json:"totalCount,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type GetSearchEngineVersionListResponseVo ¶
type GetSearchEngineVersionListResponseVo struct {
SearchEngineVersionList []SearchEngineVersion `json:"searchEngineVersionList,omitempty"`
}
type OpenApiGetClusterInfoResponseVo ¶
type OpenApiGetClusterInfoResponseVo struct { ClusterName *string `json:"clusterName,omitempty"` ClusterStatus *string `json:"clusterStatus,omitempty"` CreatedDate *string `json:"createDate,omitempty"` DataNodeCount *int `json:"dataNodeCount,omitempty"` DataNodeProductCode *string `json:"dataNodeProductCode,omitempty"` DataNodeSubnetNo *int `json:"dataNodeSubnetNo,omitempty"` DataNodeType *string `json:"dataNodeType,omitempty"` DataNodeAcgId *int `json:"dataNodeAcgId,omitempty"` DataNodeAcgName *string `json:"dataNodeAcgName,omitempty"` DataNodeStorageSize *string `json:"dataNodeStorageSize,omitempty"` LoginKeyName *string `json:"loginKeyName,omitempty"` IsDualManager *bool `json:"isDualManager,omitempty"` ManagerNodeCount *int `json:"managerNodeCount,omitempty"` ManagerNodeProductCode *string `json:"managerNodeProductCode,omitempty"` ManagerNodeSubnetNo *int `json:"managerNodeSubnetNo,omitempty"` ManagerNodeType *string `json:"managerNodeType,omitempty"` ManagerNodeAcgId *int `json:"managerNodeAcgId,omitempty"` ManagerNodeAcgName *string `json:"managerNodeAcgName,omitempty"` ManagerNodeInstanceNoList []*int `json:"managerNodeInstanceNoList,omitempty"` IsMasterOnlyNodeActivated *bool `json:"isMasterOnlyNodeActivated,omitempty"` MasterNodeCount *int `json:"masterNodeCount,omitempty"` MasterNodeProductCode *string `json:"masterNodeProductCode,omitempty"` MasterNodeSubnetNo *int `json:"masterNodeSubnetNo,omitempty"` MasterNodeType *string `json:"masterNodeType,omitempty"` MasterNodeAcgId *int `json:"masterNodeAcgId,omitempty"` MasterNodeAcgName *string `json:"masterNodeAcgName,omitempty"` SearchEngineVersionCode *string `json:"searchEngineVersionCode,omitempty"` SearchEnginePort *string `json:"searchEnginePort,omitempty"` SearchEngineDashboardPort *string `json:"searchEngineDashboardPort,omitempty"` SearchEngineUserName *string `json:"searchEngineUserName,omitempty"` ServiceGroupInstanceNo *string `json:"serviceGroupInstanceNo,omitempty"` SoftwareProductCode *string `json:"softwareProductCode,omitempty"` VpcNo *int `json:"vpcNo,omitempty"` ClusterNodeList []ClusterNode `json:"clusterNodeList,omitempty"` }
type OpenApiGetComputeInstanceListResponseDetailVo ¶
type OpenApiGetComputeInstanceListResponseDetailVo struct { ComputeInstanceNo int32 `json:"computeInstanceNo,omitempty"` ComputeInstanceProductCode string `json:"computeInstanceProductCode,omitempty"` ComputeInstanceStatus string `json:"computeInstanceStatus,omitempty"` CpuCount int32 `json:"cpuCount,omitempty"` CreatedYmdt *DateTimeVo `json:"createdYmdt,omitempty"` HostName string `json:"hostName,omitempty"` MacAddress string `json:"macAddress,omitempty"` MemorySize int64 `json:"memorySize,omitempty"` NodeRoleCode string `json:"nodeRoleCode,omitempty"` OperationYmdt *DateTimeVo `json:"operationYmdt,omitempty"` OsInfo string `json:"osInfo,omitempty"` PrivateIp string `json:"privateIp,omitempty"` RegionCode string `json:"regionCode,omitempty"` RegionName string `json:"regionName,omitempty"` RegionNo string `json:"regionNo,omitempty"` SelfManaged bool `json:"selfManaged,omitempty"` ServiceGroupInstanceNo int32 `json:"serviceGroupInstanceNo,omitempty"` SubnetName string `json:"subnetName,omitempty"` SubnetNo int32 `json:"subnetNo,omitempty"` Uuid string `json:"uuid,omitempty"` VpcName string `json:"vpcName,omitempty"` VpcNo int32 `json:"vpcNo,omitempty"` ZoneName string `json:"zoneName,omitempty"` ZoneNo int32 `json:"zoneNo,omitempty"` }
type OpenApiHwProductVo ¶
type OpenApiHwProductVo struct { CpuCount string `json:"cpuCount,omitempty"` DiskType2Code string `json:"diskType2Code,omitempty"` InfraResourceTypeCode string `json:"infraResourceTypeCode,omitempty"` MemorySize int64 `json:"memorySize,omitempty"` ProductCode string `json:"productCode,omitempty"` ProductEnglishDesc string `json:"productEnglishDesc,omitempty"` ProductName string `json:"productName,omitempty"` ProductType2Code string `json:"productType2Code,omitempty"` }
type OpenApiOsProductVo ¶
type OpenApiOsProductVo struct { InfraResourceTypeCode string `json:"infraResourceTypeCode,omitempty"` ProductCode string `json:"productCode,omitempty"` ProductEnglishDesc string `json:"productEnglishDesc,omitempty"` ProductName string `json:"productName,omitempty"` ProductType2Code string `json:"productType2Code,omitempty"` SoftwareTypeCode string `json:"softwareTypeCode,omitempty"` }
type ResetSearchEngineUserPasswordRequestVo ¶
type ResetSearchEngineUserPasswordRequestVo struct {
SearchEngineUserPassword *string `json:"searchEngineUserPassword,omitempty"`
}
type ResponseVoChangeSpecNodeResponseVo ¶
type ResponseVoChangeSpecNodeResponseVo struct { Code int32 `json:"code,omitempty"` Message string `json:"message,omitempty"` RequestId string `json:"requestId,omitempty"` Result *ChangeSpecNodeResponseVo `json:"result,omitempty"` }
type ResponseVoCreateClusterResponseVo ¶
type ResponseVoCreateClusterResponseVo struct { Code int32 `json:"code,omitempty"` Message string `json:"message,omitempty"` RequestId string `json:"requestId,omitempty"` Result *CreateClusterResponseVo `json:"result,omitempty"` }
type ResponseVoGetOpenApiAcgInfoList ¶
type ResponseVoGetOpenApiAcgInfoList struct { Code int32 `json:"code,omitempty"` Message string `json:"message,omitempty"` RequestId string `json:"requestId,omitempty"` Result *GetOpenApiAcgInfoList `json:"result,omitempty"` }
type ResponseVoGetOpenApiHwProductListResponseVo ¶
type ResponseVoGetOpenApiHwProductListResponseVo struct { Code int32 `json:"code,omitempty"` Message string `json:"message,omitempty"` RequestId string `json:"requestId,omitempty"` Result *GetOpenApiHwProductListResponseVo `json:"result,omitempty"` }
type ResponseVoGetOpenApiOsProductListResponseVo ¶
type ResponseVoGetOpenApiOsProductListResponseVo struct { Code int32 `json:"code,omitempty"` Message string `json:"message,omitempty"` RequestId string `json:"requestId,omitempty"` Result *GetOpenApiOsProductListResponseVo `json:"result,omitempty"` }
type ResponseVoGetOpenApiServiceGroupResponseVo ¶
type ResponseVoGetOpenApiServiceGroupResponseVo struct { Code int32 `json:"code,omitempty"` Message string `json:"message,omitempty"` RequestId string `json:"requestId,omitempty"` Result *GetOpenApiServiceGroupResponseVo `json:"result,omitempty"` }
type ResponseVoGetSearchEngineClusterInfoListResponse ¶
type ResponseVoGetSearchEngineClusterInfoListResponse struct { Code int32 `json:"code,omitempty"` Message string `json:"message,omitempty"` RequestId string `json:"requestId,omitempty"` Result *GetSearchEngineClusterInfoListResponse `json:"result,omitempty"` }
type ResponseVoGetSearchEngineVersionListResponseVo ¶
type ResponseVoGetSearchEngineVersionListResponseVo struct { Code int32 `json:"code,omitempty"` Message string `json:"message,omitempty"` RequestId string `json:"requestId,omitempty"` Result *GetSearchEngineVersionListResponseVo `json:"result,omitempty"` }
type ResponseVoOpenApiGetClusterInfoResponseVo ¶
type ResponseVoOpenApiGetClusterInfoResponseVo struct { Code int32 `json:"code,omitempty"` Message string `json:"message,omitempty"` RequestId string `json:"requestId,omitempty"` Result *OpenApiGetClusterInfoResponseVo `json:"result,omitempty"` }
type ResponseVoboolean ¶
type SearchEngineVersion ¶
type SearchEngineVersion struct { SearchEngineDashboardVersionName string `json:"searchEngineDashboardVersionName,omitempty"` SearchEngineVersionCode string `json:"searchEngineVersionCode,omitempty"` SearchEngineVersionName string `json:"searchEngineVersionName,omitempty"` Type_ string `json:"type,omitempty"` }
Source Files ¶
- acg_rule_response_detail_vo.go
- add_nodes_in_cluster_request_vo.go
- allowed_search_engine_cluster_info.go
- api_v2.go
- change_spec_node_request_vo.go
- change_spec_node_response_detail_vo.go
- change_spec_node_response_vo.go
- client.go
- cluster_node.go
- configuration.go
- create_cluster_request_vo.go
- create_cluster_response_vo.go
- date_time_vo.go
- disallowed_search_engine_cluster_info.go
- get_open_api_access_control_group_rule_list_response_vo.go
- get_open_api_acg_info_list.go
- get_open_api_hw_product_list_response_vo.go
- get_open_api_os_product_list_response_vo.go
- get_open_api_service_group_response_vo.go
- get_search_engine_cluster_info_list_response.go
- get_search_engine_version_list_response_vo.go
- model_get_search_engine_cluster_info_list_response.go
- open_api_get_cluster_info_response_vo.go
- open_api_get_compute_instance_list_response_detail_vo.go
- open_api_hw_product_vo.go
- open_api_os_product_vo.go
- reset_admin_password_request_vo.go
- response_vo_create_cluster_response_vo.go
- response_vo_get_open_api_acg_info_list.go
- response_vo_get_open_api_hw_product_list_response_vo.go
- response_vo_get_open_api_os_product_list_response_vo.go
- response_vo_get_open_api_service_group_response_vo.go
- response_vo_get_search_engine_version_list_response_vo.go
- response_vo_open_api_get_cluster_info_response_vo.go
- response_voboolean.go
- search_engine_version.go