Documentation ¶
Index ¶
- func CacheExpires(r *http.Response) time.Time
- func NewConfiguration(region string, apiKeys ...*ncloud.APIKey) *ncloud.Configuration
- func NewConfigurationWithUserAgent(region string, userAgent string, apiKeys ...*ncloud.APIKey) *ncloud.Configuration
- type APIClient
- type APIResponse
- type AddSubnetDto
- type AuditLogDto
- type AutoscaleOption
- type AutoscalerUpdate
- type Cluster
- type ClusterInputBody
- type ClusterLogInput
- type ClusterRes
- type ClustersRes
- type CreateClusterRes
- type DefaultNodePoolParam
- type IpAclsDto
- type IpAclsEntriesDto
- type IpAclsEntriesRes
- type IpAclsRes
- type KubeconfigRes
- type NodePool
- type NodePoolCreationBody
- type NodePoolDto
- type NodePoolLabel
- type NodePoolRes
- type NodePoolTaint
- type NodePoolUpdateBody
- type OidcRes
- type OptionRes
- type OptionResForServerProduct
- type OptionsRes
- type OptionsResForServerProduct
- type ReturnProtectionDto
- type ServerProduct
- type SubnetDto
- type UpdateClusterLbSubnetRes
- type UpdateClusterRes
- type UpdateNodePoolRes
- type UpdateNodepoolLabelDto
- type UpdateNodepoolSubnetDto
- type UpdateNodepoolTaintDto
- type UpdateOidcDto
- type V2ApiService
- func (a *V2ApiService) ClustersGet(ctx context.Context) (*ClustersRes, error)
- func (a *V2ApiService) ClustersPost(ctx context.Context, body *ClusterInputBody) (*CreateClusterRes, error)
- func (a *V2ApiService) ClustersUuidAddSubnetPatch(ctx context.Context, body *AddSubnetDto, uuid *string) (*UpdateClusterRes, error)
- func (a *V2ApiService) ClustersUuidDelete(ctx context.Context, uuid *string) error
- func (a *V2ApiService) ClustersUuidGet(ctx context.Context, uuid *string) (*ClusterRes, error)
- func (a *V2ApiService) ClustersUuidIpAclGet(ctx context.Context, uuid *string) (*IpAclsRes, error)
- func (a *V2ApiService) ClustersUuidIpAclPatch(ctx context.Context, body *IpAclsDto, uuid *string) (*UpdateClusterRes, error)
- func (a *V2ApiService) ClustersUuidKubeconfigGet(ctx context.Context, uuid *string) (*KubeconfigRes, error)
- func (a *V2ApiService) ClustersUuidKubeconfigResetPatch(ctx context.Context, uuid *string) (*UpdateClusterRes, error)
- func (a *V2ApiService) ClustersUuidLbSubnetPatch(ctx context.Context, uuid *string, lbSubnetNo *int32, ...) (*UpdateClusterLbSubnetRes, error)
- func (a *V2ApiService) ClustersUuidLogPatch(ctx context.Context, body *AuditLogDto, uuid *string) (*UpdateClusterRes, error)
- func (a *V2ApiService) ClustersUuidNodePoolGet(ctx context.Context, uuid *string) (*NodePoolRes, error)
- func (a *V2ApiService) ClustersUuidNodePoolInstanceNoDelete(ctx context.Context, uuid *string, instanceNo *string) error
- func (a *V2ApiService) ClustersUuidNodePoolInstanceNoLabelsPut(ctx context.Context, body *UpdateNodepoolLabelDto, uuid *string, ...) (*UpdateNodePoolRes, error)
- func (a *V2ApiService) ClustersUuidNodePoolInstanceNoPatch(ctx context.Context, body *NodePoolUpdateBody, uuid *string, ...) error
- func (a *V2ApiService) ClustersUuidNodePoolInstanceNoSubnetsPatch(ctx context.Context, body *UpdateNodepoolSubnetDto, uuid *string, ...) (*UpdateNodePoolRes, error)
- func (a *V2ApiService) ClustersUuidNodePoolInstanceNoTaintsPut(ctx context.Context, body *UpdateNodepoolTaintDto, uuid *string, ...) (*UpdateNodePoolRes, error)
- func (a *V2ApiService) ClustersUuidNodePoolInstanceNoUpgradePatch(ctx context.Context, uuid *string, instanceNo *string, k8sVersion *string, ...) (*UpdateNodePoolRes, error)
- func (a *V2ApiService) ClustersUuidNodePoolPost(ctx context.Context, body *NodePoolCreationBody, uuid *string) (*UpdateClusterRes, error)
- func (a *V2ApiService) ClustersUuidNodesGet(ctx context.Context, uuid *string) (*WorkerNodeRes, error)
- func (a *V2ApiService) ClustersUuidNodesInstanceNoDelete(ctx context.Context, uuid *string, instanceNo *string, ...) error
- func (a *V2ApiService) ClustersUuidOidcGet(ctx context.Context, uuid *string) (*OidcRes, error)
- func (a *V2ApiService) ClustersUuidOidcPatch(ctx context.Context, body *UpdateOidcDto, uuid *string) (*UpdateClusterRes, error)
- func (a *V2ApiService) ClustersUuidReturnProtectionPatch(ctx context.Context, body *ReturnProtectionDto, uuid *string) (*UpdateClusterRes, error)
- func (a *V2ApiService) ClustersUuidUpgradePatch(ctx context.Context, uuid *string, k8sVersion *string, ...) (*UpdateClusterRes, error)
- func (a *V2ApiService) OptionServerImageGet(ctx context.Context, localVarOptionals map[string]interface{}) (*OptionsRes, error)
- func (a *V2ApiService) OptionServerProductCodeGet(ctx context.Context, softwareCode *string, ...) (*OptionsResForServerProduct, error)
- func (a *V2ApiService) OptionVersionGet(ctx context.Context, localVarOptionals map[string]interface{}) (*OptionsRes, error)
- func (a *V2ApiService) RootGet(ctx context.Context) error
- type WorkerNode
- type WorkerNodeRes
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
func NewConfigurationWithUserAgent ¶ added in v1.6.4
Types ¶
type APIClient ¶
type APIClient struct { // API Services V2Api *V2ApiService // contains filtered or unexported fields }
APIClient manages communication with the vnks API v2023-03-23T09:23:10Z 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 APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AddSubnetDto ¶ added in v1.6.3
type AddSubnetDto struct {
Subnets []*SubnetDto `json:"subnets"`
}
type AuditLogDto ¶ added in v1.6.3
type AuditLogDto struct {
Audit *bool `json:"audit"`
}
type AutoscaleOption ¶
type AutoscalerUpdate ¶
type Cluster ¶
type Cluster struct { // 클러스터 uuid Uuid *string `json:"uuid"` // 클러스터 acg 이름 AcgName *string `json:"acgName"` // 클러스터 acg no AcgNo *int32 `json:"acgNo"` // 클러스터 이름 Name *string `json:"name"` // 클러스터 용량 Capacity *string `json:"capacity"` // 클러스터 타입 ClusterType *string `json:"clusterType"` // Hypervisor Code HypervisorCode *string `json:"hypervisorCode"` // 등록된 노드 총 개수 NodeCount *int32 `json:"nodeCount"` // 사용할 수 있는 노드의 최대 개수 NodeMaxCount *int32 `json:"nodeMaxCount"` // cpu 개수 CpuCount *int32 `json:"cpuCount"` // 메모리 용량 MemorySize *int64 `json:"memorySize"` // 생성 일자 CreatedAt *string `json:"createdAt"` // Control Plane API 주소 Endpoint *string `json:"endpoint"` // 쿠버네티스 버전 K8sVersion *string `json:"k8sVersion"` // region의 코드 RegionCode *string `json:"regionCode"` // 클러스터 상태 Status *string `json:"status"` // CNI Plugin Code KubeNetworkPlugin *string `json:"kubeNetworkPlugin"` // 로드밸런서 전용 서브넷 이름 SubnetLbName *string `json:"subnetLbName,omitempty"` // 로드밸런서 전용 Private Subnet No SubnetLbNo *int32 `json:"subnetLbNo,omitempty"` // 로드밸런서 전용 Private Subnet No LbPrivateSubnetNo *int32 `json:"lbPrivateSubnetNo"` // 로드밸런서 전용 Public Subnet No LbPublicSubnetNo *int32 `json:"lbPublicSubnetNo,omitempty"` // 서브넷 이름 SubnetName *string `json:"subnetName,omitempty"` // 서브넷 No 목록 SubnetNoList []*int32 `json:"subnetNoList"` // 최근 업데이트 일자 UpdatedAt *string `json:"updatedAt"` // vpc 이름 VpcName *string `json:"vpcName"` // vpc 번호 VpcNo *int32 `json:"vpcNo"` // zone 코드 ZoneCode *string `json:"zoneCode"` // zone 번호 ZoneNo *int32 `json:"zoneNo"` // InitScript 번호 InitScriptNo *int32 `json:"initScriptNo,omitempty"` // InitScript 이름 InitScriptName *string `json:"initScriptName,omitempty"` // Pod Security Policy 설정 여부 PodSecurityPolicyEnabled *bool `json:"podSecurityPolicyEnabled,omitempty"` // 로그인 키 이름 LoginKeyName *string `json:"loginKeyName"` // 노드풀 NodePool []*NodePool `json:"nodePool"` Log *ClusterLogInput `json:"log"` // Public Network PublicNetwork *bool `json:"publicNetwork"` ReturnProtection *bool `json:"returnProtection"` }
type ClusterInputBody ¶
type ClusterInputBody struct { // 클러스터 이름 Name *string `json:"name"` // 클러스터 타입 ClusterType *string `json:"clusterType"` // 쿠버네티스 버전 [Version 조회 API](/docs/compute-vpckubernetesservice-nksv2#k8sSupportedVersion) K8sVersion *string `json:"k8sVersion,omitempty"` // 로그인 키 이름 LoginKeyName *string `json:"loginKeyName"` // Hypervisor Code HypervisorCode *string `json:"hypervisorCode,omitempty"` // Region의 코드 RegionCode *string `json:"regionCode"` // Zone 코드 ZoneCode *string `json:"zoneCode,omitempty"` // Zone 번호 ZoneNo *int32 `json:"zoneNo,omitempty"` // Public network PublicNetwork *bool `json:"publicNetwork,omitempty"` // CNI Plugin Code (ncloud-vpc-cni or cilium) KubeNetworkPlugin *string `json:"kubeNetworkPlugin,omitempty"` // [VPC 번호](/docs/networking-vpc-vpcmanagement-getvpclist) VpcNo *int32 `json:"vpcNo"` // [서브넷 번호 목록](/docs/networking-vpc-subnetmanagement-getsubnetlist) SubnetNoList []*int32 `json:"subnetNoList"` // [로드밸런서 전용 Private Subnet 번호](/docs/networking-vpc-subnetmanagement-getsubnetlist) SubnetLbNo *int32 `json:"subnetLbNo,omitempty"` // [로드밸런서 전용 Private Subnet 번호](/docs/networking-vpc-subnetmanagement-getsubnetlist) LbPrivateSubnetNo *int32 `json:"lbPrivateSubnetNo,omitempty"` // [로드밸런서 전용 Public Subnet 번호](/docs/networking-vpc-subnetmanagement-getsubnetlist) LbPublicSubnetNo *int32 `json:"lbPublicSubnetNo,omitempty"` // Log *ClusterLogInput `json:"log,omitempty"` // DefaultNodePool *DefaultNodePoolParam `json:"defaultNodePool,omitempty"` // 추가 노드풀 NodePool []*NodePoolDto `json:"nodePool,omitempty"` }
type ClusterLogInput ¶
type ClusterLogInput struct { // Audit Log 설정 Audit *bool `json:"audit"` }
type ClusterRes ¶
type ClusterRes struct { // Cluster *Cluster `json:"cluster"` }
type ClustersRes ¶
type ClustersRes struct { // 클러스터 목록 Clusters []*Cluster `json:"clusters"` }
type CreateClusterRes ¶
type CreateClusterRes struct { // 클러스터 UUID Uuid *string `json:"uuid"` }
type DefaultNodePoolParam ¶
type DefaultNodePoolParam struct { // 노드풀 이름 Name *string `json:"name"` // 노드 개수 NodeCount *int32 `json:"nodeCount"` // Subnet 번호 SubnetNo *int32 `json:"subnetNo,omitempty"` // Subnet 번호 SubnetNoList []*int32 `json:"subnetNoList,omitempty"` // Server image code SoftwareCode *string `json:"softwareCode,omitempty"` // 상품 코드 ProductCode *string `json:"productCode,omitempty"` Labels []*NodePoolLabel `json:"labels,omitempty"` Taints []*NodePoolTaint `json:"taints,omitempty"` // Server spec code ServerSpecCode *string `json:"serverSpecCode,omitempty"` // Storage size StorageSize *int32 `json:"storageSize,omitempty"` ServerRoleId *string `json:"serverRoleId,omitempty"` }
type IpAclsDto ¶ added in v1.6.3
type IpAclsDto struct { DefaultAction *string `json:"defaultAction"` Entries []*IpAclsEntriesDto `json:"entries,omitempty"` }
type IpAclsEntriesDto ¶ added in v1.6.3
type IpAclsEntriesRes ¶ added in v1.6.3
type IpAclsRes ¶ added in v1.6.3
type IpAclsRes struct { DefaultAction *string `json:"defaultAction"` Entries []*IpAclsEntriesRes `json:"entries,omitempty"` }
type KubeconfigRes ¶
type KubeconfigRes struct { // Kubeconfig Kubeconfig *string `json:"kubeconfig"` }
type NodePool ¶
type NodePool struct { // 인스턴스 번호 InstanceNo *int32 `json:"instanceNo"` // default pool 여부 IsDefault *bool `json:"isDefault"` // 노드풀 이름 Name *string `json:"name"` // 노드 개수 NodeCount *int32 `json:"nodeCount"` // Subnet 번호 목록 SubnetNoList []*int32 `json:"subnetNoList"` // Subnet 이름 목록 SubnetNameList []*string `json:"subnetNameList"` // 노드풀 상태 Status *string `json:"status"` // Autoscale *AutoscaleOption `json:"autoscale"` // Software Code(OS) SoftwareCode *string `json:"softwareCode"` // 상품 코드 ProductCode *string `json:"productCode,omitempty"` // 쿠버네티스 버전 K8sVersion *string `json:"k8sVersion"` // 서버 스펙 코드 ServerSpecCode *string `json:"serverSpecCode,omitempty"` // 스토리지 크기 StorageSize *int32 `json:"storageSize,omitempty"` Labels []*NodePoolLabel `json:"labels"` Taints []*NodePoolTaint `json:"taints"` ServerRoleId *string `json:"serverRoleId,omitempty"` }
type NodePoolCreationBody ¶
type NodePoolCreationBody struct { // 노드풀 이름 Name *string `json:"name"` // 등록 될 노드 개수 NodeCount *int32 `json:"nodeCount,omitempty"` // Subnet 번호 SubnetNo *int32 `json:"subnetNo,omitempty"` // Subnet 번호 SubnetNoList []*int32 `json:"subnetNoList,omitempty"` // Server image code SoftwareCode *string `json:"softwareCode,omitempty"` // 상품 코드 [서버 스펙 목록](/docs/compute-vserver-server-common-getserverproductlist) ProductCode *string `json:"productCode,omitempty"` // Server spec code ServerSpecCode *string `json:"serverSpecCode,omitempty"` // Storage size StorageSize *int32 `json:"storageSize,omitempty"` // Autoscale *AutoscalerUpdate `json:"autoscale,omitempty"` Labels []*NodePoolLabel `json:"labels,omitempty"` Taints []*NodePoolTaint `json:"taints,omitempty"` ServerRoleId *string `json:"serverRoleId,omitempty"` }
type NodePoolDto ¶ added in v1.6.3
type NodePoolDto struct { // 노드풀 이름 Name *string `json:"name"` // 노드 개수 NodeCount *int32 `json:"nodeCount"` // Subnet 번호 SubnetNo *int32 `json:"subnetNo,omitempty"` // Subnet 번호 SubnetNoList []*int32 `json:"subnetNoList,omitempty"` // Server image code SoftwareCode *string `json:"softwareCode,omitempty"` // 상품 코드 ProductCode *string `json:"productCode,omitempty"` Labels []*NodePoolLabel `json:"labels,omitempty"` Taints []*NodePoolTaint `json:"taints,omitempty"` // Server spec code ServerSpecCode *string `json:"serverSpecCode,omitempty"` // Storage size StorageSize *int32 `json:"storageSize,omitempty"` ServerRoleId *string `json:"serverRoleId,omitempty"` }
type NodePoolLabel ¶ added in v1.6.7
type NodePoolRes ¶
type NodePoolRes struct { // 노드풀 NodePool []*NodePool `json:"nodePool"` }
type NodePoolTaint ¶ added in v1.6.7
type NodePoolUpdateBody ¶
type NodePoolUpdateBody struct { // 노드 개수 NodeCount *int32 `json:"nodeCount"` // Autoscale *AutoscalerUpdate `json:"autoscale,omitempty"` }
type OidcRes ¶ added in v1.6.3
type OidcRes struct { ClientId *string `json:"clientId,omitempty"` GroupsClaim *string `json:"groupsClaim,omitempty"` GroupsPrefix *string `json:"groupsPrefix,omitempty"` IssuerURL *string `json:"issuerURL,omitempty"` RequiredClaim *string `json:"requiredClaim,omitempty"` Status *bool `json:"status"` UsernameClaim *string `json:"usernameClaim,omitempty"` UsernamePrefix *string `json:"usernamePrefix,omitempty"` }
type OptionResForServerProduct ¶ added in v1.6.3
type OptionResForServerProduct struct { Label *string `json:"label"` Value *string `json:"value"` Disabled *bool `json:"disabled"` Detail *ServerProduct `json:"detail"` }
type OptionsRes ¶
type OptionsRes []*OptionRes
type OptionsResForServerProduct ¶ added in v1.6.3
type OptionsResForServerProduct []*OptionResForServerProduct
type ReturnProtectionDto ¶ added in v1.6.11
type ReturnProtectionDto struct {
ReturnProtection *bool `json:"returnProtection"`
}
type ServerProduct ¶ added in v1.6.3
type ServerProduct struct { CpuCount *int32 `json:"cpuCount"` ProductKoreanDesc *string `json:"productKoreanDesc"` SoftwareTypeCode *string `json:"softwareTypeCode"` PackageProductYn *string `json:"packageProductYn"` ProductKindCode *string `json:"productKindCode"` ProductType2Code *string `json:"productType2Code"` ProductCode *string `json:"productCode"` ProductEnglishName *string `json:"productEnglishName"` ProductDesc *string `json:"productDesc"` DiskType2Code *string `json:"diskType2Code"` DiskType2DetailCode *string `json:"diskType2DetailCode"` ProductName *string `json:"productName"` ProductEnglishDesc *string `json:"productEnglishDesc"` MemorySizeGb *int32 `json:"memorySizeGb"` GpuCount *int32 `json:"gpuCount"` GpuMemorySizeGb *int32 `json:"gpuMemorySizeGb"` }
type UpdateClusterLbSubnetRes ¶ added in v1.6.7
type UpdateClusterLbSubnetRes struct {
Uuid *string `json:"uuid"`
}
type UpdateClusterRes ¶ added in v1.6.3
type UpdateClusterRes struct {
Uuid *string `json:"uuid"`
}
type UpdateNodePoolRes ¶ added in v1.6.3
type UpdateNodepoolLabelDto ¶ added in v1.6.7
type UpdateNodepoolLabelDto struct {
Labels []*NodePoolLabel `json:"labels"`
}
type UpdateNodepoolSubnetDto ¶ added in v1.6.7
type UpdateNodepoolSubnetDto struct {
Subnets []*int32 `json:"subnets"`
}
type UpdateNodepoolTaintDto ¶ added in v1.6.7
type UpdateNodepoolTaintDto struct {
Taints []*NodePoolTaint `json:"taints"`
}
type UpdateOidcDto ¶ added in v1.6.3
type UpdateOidcDto struct { ClientId *string `json:"clientId"` IssuerURL *string `json:"issuerURL"` Status *bool `json:"status"` GroupsClaim *string `json:"groupsClaim,omitempty"` GroupsPrefix *string `json:"groupsPrefix,omitempty"` UsernameClaim *string `json:"usernameClaim,omitempty"` UsernamePrefix *string `json:"usernamePrefix,omitempty"` RequiredClaim *string `json:"requiredClaim,omitempty"` }
type V2ApiService ¶
type V2ApiService service
func (*V2ApiService) ClustersGet ¶
func (a *V2ApiService) ClustersGet(ctx context.Context) (*ClustersRes, error)
V2ApiService
@return *ClustersRes
func (*V2ApiService) ClustersPost ¶
func (a *V2ApiService) ClustersPost(ctx context.Context, body *ClusterInputBody) (*CreateClusterRes, error)
V2ApiService
@param body @return *CreateClusterRes
func (*V2ApiService) ClustersUuidAddSubnetPatch ¶ added in v1.6.3
func (a *V2ApiService) ClustersUuidAddSubnetPatch(ctx context.Context, body *AddSubnetDto, uuid *string) (*UpdateClusterRes, error)
V2ApiService
@param body @param uuid uuid @return *UpdateClusterRes
func (*V2ApiService) ClustersUuidDelete ¶
func (a *V2ApiService) ClustersUuidDelete(ctx context.Context, uuid *string) error
V2ApiService
@param uuid uuid @return
func (*V2ApiService) ClustersUuidGet ¶
func (a *V2ApiService) ClustersUuidGet(ctx context.Context, uuid *string) (*ClusterRes, error)
V2ApiService
@param uuid uuid @return *ClusterRes
func (*V2ApiService) ClustersUuidIpAclGet ¶ added in v1.6.3
V2ApiService
@param uuid uuid @return *IpAclsRes
func (*V2ApiService) ClustersUuidIpAclPatch ¶ added in v1.6.3
func (a *V2ApiService) ClustersUuidIpAclPatch(ctx context.Context, body *IpAclsDto, uuid *string) (*UpdateClusterRes, error)
V2ApiService
@param body @param uuid uuid @return *UpdateClusterRes
func (*V2ApiService) ClustersUuidKubeconfigGet ¶
func (a *V2ApiService) ClustersUuidKubeconfigGet(ctx context.Context, uuid *string) (*KubeconfigRes, error)
V2ApiService
@param uuid uuid @return *KubeconfigRes
func (*V2ApiService) ClustersUuidKubeconfigResetPatch ¶
func (a *V2ApiService) ClustersUuidKubeconfigResetPatch(ctx context.Context, uuid *string) (*UpdateClusterRes, error)
V2ApiService
@param uuid uuid @return *UpdateClusterRes
func (*V2ApiService) ClustersUuidLbSubnetPatch ¶ added in v1.6.7
func (a *V2ApiService) ClustersUuidLbSubnetPatch(ctx context.Context, uuid *string, lbSubnetNo *int32, localVarOptionals map[string]interface{}) (*UpdateClusterLbSubnetRes, error)
V2ApiService
@param uuid uuid @param lbSubnetNo @param optional (nil or map[string]interface{}) with one or more of:
@param "igwYn" (string)
@return *UpdateClusterLbSubnetRes
func (*V2ApiService) ClustersUuidLogPatch ¶ added in v1.6.3
func (a *V2ApiService) ClustersUuidLogPatch(ctx context.Context, body *AuditLogDto, uuid *string) (*UpdateClusterRes, error)
V2ApiService
@param body @param uuid uuid @return *UpdateClusterRes
func (*V2ApiService) ClustersUuidNodePoolGet ¶
func (a *V2ApiService) ClustersUuidNodePoolGet(ctx context.Context, uuid *string) (*NodePoolRes, error)
V2ApiService
@param uuid uuid @return *NodePoolRes
func (*V2ApiService) ClustersUuidNodePoolInstanceNoDelete ¶
func (a *V2ApiService) ClustersUuidNodePoolInstanceNoDelete(ctx context.Context, uuid *string, instanceNo *string) error
V2ApiService
@param uuid uuid @param instanceNo instanceNo @return
func (*V2ApiService) ClustersUuidNodePoolInstanceNoLabelsPut ¶ added in v1.6.7
func (a *V2ApiService) ClustersUuidNodePoolInstanceNoLabelsPut(ctx context.Context, body *UpdateNodepoolLabelDto, uuid *string, instanceNo *string) (*UpdateNodePoolRes, error)
V2ApiService
@param body @param uuid uuid @param instanceNo instanceNo @return *UpdateNodePoolRes
func (*V2ApiService) ClustersUuidNodePoolInstanceNoPatch ¶
func (a *V2ApiService) ClustersUuidNodePoolInstanceNoPatch(ctx context.Context, body *NodePoolUpdateBody, uuid *string, instanceNo *string) error
V2ApiService
@param body @param uuid uuid @param instanceNo instanceNo @return
func (*V2ApiService) ClustersUuidNodePoolInstanceNoSubnetsPatch ¶ added in v1.6.7
func (a *V2ApiService) ClustersUuidNodePoolInstanceNoSubnetsPatch(ctx context.Context, body *UpdateNodepoolSubnetDto, uuid *string, instanceNo *string) (*UpdateNodePoolRes, error)
V2ApiService
@param body @param uuid uuid @param instanceNo instanceNo @return *UpdateNodePoolRes
func (*V2ApiService) ClustersUuidNodePoolInstanceNoTaintsPut ¶ added in v1.6.7
func (a *V2ApiService) ClustersUuidNodePoolInstanceNoTaintsPut(ctx context.Context, body *UpdateNodepoolTaintDto, uuid *string, instanceNo *string) (*UpdateNodePoolRes, error)
V2ApiService
@param body @param uuid uuid @param instanceNo instanceNo @return *UpdateNodePoolRes
func (*V2ApiService) ClustersUuidNodePoolInstanceNoUpgradePatch ¶ added in v1.6.3
func (a *V2ApiService) ClustersUuidNodePoolInstanceNoUpgradePatch(ctx context.Context, uuid *string, instanceNo *string, k8sVersion *string, localVarOptionals map[string]interface{}) (*UpdateNodePoolRes, error)
V2ApiService
@param uuid uuid @param instanceNo instanceNo @param k8sVersion @param optional (nil or map[string]interface{}) with one or more of:
@param "maxSurge" (int32) @param "maxUnavailable" (int32)
@return *UpdateNodePoolRes
func (*V2ApiService) ClustersUuidNodePoolPost ¶
func (a *V2ApiService) ClustersUuidNodePoolPost(ctx context.Context, body *NodePoolCreationBody, uuid *string) (*UpdateClusterRes, error)
V2ApiService
@param body @param uuid uuid @return *UpdateClusterRes
func (*V2ApiService) ClustersUuidNodesGet ¶
func (a *V2ApiService) ClustersUuidNodesGet(ctx context.Context, uuid *string) (*WorkerNodeRes, error)
V2ApiService
@param uuid uuid @return *WorkerNodeRes
func (*V2ApiService) ClustersUuidNodesInstanceNoDelete ¶ added in v1.4.5
func (a *V2ApiService) ClustersUuidNodesInstanceNoDelete(ctx context.Context, uuid *string, instanceNo *string, localVarOptionals map[string]interface{}) error
V2ApiService
@param uuid uuid @param instanceNo instanceNo @param optional (nil or map[string]interface{}) with one or more of:
@param "nodePoolId" (string) 노드풀 인스턴스 번호
@return
func (*V2ApiService) ClustersUuidOidcGet ¶ added in v1.6.3
V2ApiService
@param uuid uuid @return *OidcRes
func (*V2ApiService) ClustersUuidOidcPatch ¶ added in v1.6.3
func (a *V2ApiService) ClustersUuidOidcPatch(ctx context.Context, body *UpdateOidcDto, uuid *string) (*UpdateClusterRes, error)
V2ApiService
@param body @param uuid uuid @return *UpdateClusterRes
func (*V2ApiService) ClustersUuidReturnProtectionPatch ¶ added in v1.6.11
func (a *V2ApiService) ClustersUuidReturnProtectionPatch(ctx context.Context, body *ReturnProtectionDto, uuid *string) (*UpdateClusterRes, error)
V2ApiService
@param body @param uuid uuid @return *UpdateClusterRes
func (*V2ApiService) ClustersUuidUpgradePatch ¶ added in v1.6.3
func (a *V2ApiService) ClustersUuidUpgradePatch(ctx context.Context, uuid *string, k8sVersion *string, localVarOptionals map[string]interface{}) (*UpdateClusterRes, error)
V2ApiService
@param uuid uuid @param k8sVersion @param optional (nil or map[string]interface{}) with one or more of:
@param "maxSurge" (int32) @param "maxUnavailable" (int32)
@return *UpdateClusterRes
func (*V2ApiService) OptionServerImageGet ¶ added in v1.6.3
func (a *V2ApiService) OptionServerImageGet(ctx context.Context, localVarOptionals map[string]interface{}) (*OptionsRes, error)
V2ApiService
@param optional (nil or map[string]interface{}) with one or more of:
@param "hypervisorCode" (string)
@return *OptionsRes
func (*V2ApiService) OptionServerProductCodeGet ¶ added in v1.6.3
func (a *V2ApiService) OptionServerProductCodeGet(ctx context.Context, softwareCode *string, localVarOptionals map[string]interface{}) (*OptionsResForServerProduct, error)
V2ApiService
@param softwareCode @param optional (nil or map[string]interface{}) with one or more of:
@param "zoneCode" (string) @param "zoneNo" (string)
@return *OptionsResForServerProduct
func (*V2ApiService) OptionVersionGet ¶
func (a *V2ApiService) OptionVersionGet(ctx context.Context, localVarOptionals map[string]interface{}) (*OptionsRes, error)
V2ApiService
@param optional (nil or map[string]interface{}) with one or more of:
@param "from" (string) @param "to" (string)
@return *OptionsRes
type WorkerNode ¶
type WorkerNode struct { // 워커노드 id Id *int32 `json:"id"` // 워커노드 이름 Name *string `json:"name"` // 워커노드 서버이름 ServerName *string `json:"serverName"` // 워커노드 서버 스펙 ServerSpec *string `json:"serverSpec"` // 비 공인 IP PrivateIp *string `json:"privateIp"` // 공인 IP PublicIp *string `json:"publicIp"` // 반납 보호 설정 ReturnProtectionYn *string `json:"returnProtectionYn"` // 워커노드 현재 상태 Status *string `json:"status"` // 상태 코드 StatusCode *string `json:"statusCode"` // 상태 아이콘 StatusIcon *string `json:"statusIcon"` // 상태 색깔 StatusColor *string `json:"statusColor"` // 상태 이름 StatusName *string `json:"statusName"` // 서버 이미지 이름 ServerImageName *string `json:"serverImageName"` // cpu 수 CpuCount *int32 `json:"cpuCount"` // 총 메모리 용량 MemorySize *int64 `json:"memorySize"` // 서버 이미지 코드 SoftwareCode *string `json:"softwareCode"` // 스펙 코드 SpecCode *string `json:"specCode"` // 스펙 코드 ProductCode *string `json:"productCode"` // 로그인 키 이름 LoginKeyName *string `json:"loginKeyName"` // 쿠버네티스 상태 K8sStatus *string `json:"k8sStatus"` // 도커 버전 DockerVersion *string `json:"dockerVersion"` // 커널 버전 KernelVersion *string `json:"kernelVersion"` // providerID ProviderID *string `json:"providerID"` // 노드풀 ID NodePoolId *int32 `json:"nodePoolId"` // 노드풀 이름 NodePoolName *string `json:"nodePoolName"` }
type WorkerNodeRes ¶
type WorkerNodeRes struct { // 워커노드 목록 Nodes []*WorkerNode `json:"nodes"` }
Source Files ¶
- add_subnet_dto.go
- api_client.go
- api_response.go
- audit_log_dto.go
- autoscale_option.go
- autoscaler_update.go
- cluster.go
- cluster_input_body.go
- cluster_log_input.go
- cluster_res.go
- clusters_res.go
- configuration.go
- create_cluster_res.go
- default_node_pool_param.go
- ip_acls_dto.go
- ip_acls_entries_dto.go
- ip_acls_entries_res.go
- ip_acls_res.go
- kubeconfig_res.go
- node_pool.go
- node_pool_creation_body.go
- node_pool_dto.go
- node_pool_label.go
- node_pool_res.go
- node_pool_taint.go
- node_pool_update_body.go
- oidc_res.go
- option_res.go
- option_res_for_server_product.go
- options_res.go
- options_res_for_server_product.go
- return_protection_dto.go
- server_product.go
- subnet_dto.go
- update_cluster_lb_subnet_res.go
- update_cluster_res.go
- update_node_pool_res.go
- update_nodepool_label_dto.go
- update_nodepool_subnet_dto.go
- update_nodepool_taint_dto.go
- update_oidc_dto.go
- v2_api.go
- worker_node.go
- worker_node_res.go