NKS
NKSKubernetes Versions
List NKS Kubernetes Versions
client.NKS.KubernetesVersions.List(ctx, query) (*Cursor[KubernetesVersion], error)
GET/v1/nks/kubernetes_versions
NKSClusters
Get NKS Cluster Details
client.NKS.Clusters.Get(ctx, clusterID) (*NKSCluster, error)
GET/v1/nks/clusters/{cluster_id}
Update NKS Cluster
client.NKS.Clusters.Update(ctx, clusterID, body) (*Operation, error)
PATCH/v1/nks/clusters/{cluster_id}
Delete NKS Cluster
client.NKS.Clusters.Delete(ctx, clusterID) (*Operation, error)
DELETE/v1/nks/clusters/{cluster_id}
List NKS Clusters
client.NKS.Clusters.List(ctx, query) (*Cursor[NKSCluster], error)
GET/v1/nks/clusters
NKSClustersAvailability
Check Create NKS Cluster Availability
client.NKS.Clusters.Availability.New(ctx, body) error
POST/v1/nks/clusters/availability
Check Update NKS Cluster Availability
client.NKS.Clusters.Availability.Update(ctx, clusterID, body) error
PATCH/v1/nks/clusters/{cluster_id}/availability
NKSClustersPersistent Volume Claims
Get NKS Persistent Volume Claim Details
client.NKS.Clusters.PersistentVolumeClaims.Get(ctx, clusterID, persistentVolumeClaimID) (*PersistentVolumeClaim, error)
GET/v1/nks/clusters/{cluster_id}/persistent_volume_claims/{persistent_volume_claim_id}
List NKS Persistent Volume Claims
client.NKS.Clusters.PersistentVolumeClaims.List(ctx, clusterID, query) (*Cursor[PersistentVolumeClaim], error)
GET/v1/nks/clusters/{cluster_id}/persistent_volume_claims
NKSClustersKubeconfig
Get NKS Cluster Kubeconfig
client.NKS.Clusters.Kubeconfig.Get(ctx, clusterID) (*Kubeconfig, error)
GET/v1/nks/clusters/{cluster_id}/kubeconfig
NKSClustersControllers
Get NKS Controller Details
client.NKS.Clusters.Controllers.Get(ctx, clusterID, controllerID) (*NKSController, error)
GET/v1/nks/clusters/{cluster_id}/controllers/{controller_id}
List NKS Controllers
client.NKS.Clusters.Controllers.List(ctx, clusterID, query) (*Cursor[NKSController], error)
GET/v1/nks/clusters/{cluster_id}/controllers
NKSClustersControllersVolumes
Get NKS Controller Volume Details
client.NKS.Clusters.Controllers.Volumes.Get(ctx, clusterID, controllerID, volumeID) (*NKSControllerVolume, error)
GET/v1/nks/clusters/{cluster_id}/controllers/{controller_id}/volumes/{volume_id}
List NKS Controller Volumes
client.NKS.Clusters.Controllers.Volumes.List(ctx, clusterID, controllerID, query) (*Cursor[NKSControllerVolume], error)
GET/v1/nks/clusters/{cluster_id}/controllers/{controller_id}/volumes
NKSClustersLoad Balancers
Get NKS Load Balancer Details
client.NKS.Clusters.LoadBalancers.Get(ctx, clusterID, loadBalancerID) (*NKSLoadBalancer, error)
GET/v1/nks/clusters/{cluster_id}/load_balancers/{load_balancer_id}
Update NKS Load Balancer
client.NKS.Clusters.LoadBalancers.Update(ctx, clusterID, loadBalancerID, body) (*Operation, error)
PATCH/v1/nks/clusters/{cluster_id}/load_balancers/{load_balancer_id}
List NKS Load Balancers
client.NKS.Clusters.LoadBalancers.List(ctx, clusterID, query) (*Cursor[NKSLoadBalancer], error)
GET/v1/nks/clusters/{cluster_id}/load_balancers
NKSClustersPools
Create NKS Node Pool
client.NKS.Clusters.Pools.New(ctx, clusterID, body) (*Operation, error)
POST/v1/nks/clusters/{cluster_id}/pools
Get NKS Node Pool Details
client.NKS.Clusters.Pools.Get(ctx, clusterID, poolID) (*NKSNodePool, error)
GET/v1/nks/clusters/{cluster_id}/pools/{pool_id}
Update NKS Node Pool
client.NKS.Clusters.Pools.Update(ctx, clusterID, poolID, body) (*Operation, error)
PATCH/v1/nks/clusters/{cluster_id}/pools/{pool_id}
Delete NKS Node Pool
client.NKS.Clusters.Pools.Delete(ctx, clusterID, poolID) (*Operation, error)
DELETE/v1/nks/clusters/{cluster_id}/pools/{pool_id}
List NKS Node Pools
client.NKS.Clusters.Pools.List(ctx, clusterID, query) (*Cursor[NKSNodePool], error)
GET/v1/nks/clusters/{cluster_id}/pools
NKSClustersPoolsAvailability
Check Create NKS Node Pool Availability
client.NKS.Clusters.Pools.Availability.New(ctx, clusterID, body) error
POST/v1/nks/clusters/{cluster_id}/pools/availability
Check Update NKS Node Pool Availability
client.NKS.Clusters.Pools.Availability.Update(ctx, clusterID, poolID, body) error
PATCH/v1/nks/clusters/{cluster_id}/pools/{pool_id}/availability
NKSClustersPoolsNodes
Get NKS Node Details
client.NKS.Clusters.Pools.Nodes.Get(ctx, clusterID, poolID, nodeID) (*NKSNode, error)
GET/v1/nks/clusters/{cluster_id}/pools/{pool_id}/nodes/{node_id}
Delete NKS Node
client.NKS.Clusters.Pools.Nodes.Delete(ctx, clusterID, poolID, nodeID) (*Operation, error)
DELETE/v1/nks/clusters/{cluster_id}/pools/{pool_id}/nodes/{node_id}
List NKS Nodes
client.NKS.Clusters.Pools.Nodes.List(ctx, clusterID, poolID, query) (*Cursor[NKSNode], error)
GET/v1/nks/clusters/{cluster_id}/pools/{pool_id}/nodes
NKSClustersPoolsNodesVolumes
Get NKS Node Volume Details
client.NKS.Clusters.Pools.Nodes.Volumes.Get(ctx, clusterID, poolID, nodeID, volumeID) (*NKSNodeVolume, error)
GET/v1/nks/clusters/{cluster_id}/pools/{pool_id}/nodes/{node_id}/volumes/{volume_id}
List NKS Node Volumes
client.NKS.Clusters.Pools.Nodes.Volumes.List(ctx, clusterID, poolID, nodeID, query) (*Cursor[NKSNodeVolume], error)
GET/v1/nks/clusters/{cluster_id}/pools/{pool_id}/nodes/{node_id}/volumes