Skip to content

Commit 398c378

Browse files
authored
docs(k8s): fixed typos (#1582)
1 parent 48f39a8 commit 398c378

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

api/k8s/v1/k8s_sdk.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ type Cluster struct {
505505
ID string `json:"id"`
506506
// Type: type of the cluster.
507507
Type string `json:"type"`
508-
// Name: nqme of the cluster.
508+
// Name: name of the cluster.
509509
Name string `json:"name"`
510510
// Status: status of the cluster.
511511
// Default value: unknown
@@ -1017,10 +1017,10 @@ type CreateClusterRequest struct {
10171017
// Deprecated: OrganizationID: organization ID in which the cluster will be created.
10181018
// Precisely one of OrganizationID, ProjectID must be set.
10191019
OrganizationID *string `json:"organization_id,omitempty"`
1020-
// ProjectID: poject ID in which the cluster will be created.
1020+
// ProjectID: project ID in which the cluster will be created.
10211021
// Precisely one of OrganizationID, ProjectID must be set.
10221022
ProjectID *string `json:"project_id,omitempty"`
1023-
// Type: the type of the cluster (possible values are kapsule, multicloud).
1023+
// Type: type of the cluster (possible values are kapsule, multicloud).
10241024
Type string `json:"type"`
10251025
// Name: name of the cluster.
10261026
Name string `json:"name"`
@@ -1054,7 +1054,7 @@ type CreateClusterRequest struct {
10541054
ApiserverCertSans []string `json:"apiserver_cert_sans"`
10551055
}
10561056

1057-
// CreateCluster: creates a new Kubernetes cluster on a Scaleway account.
1057+
// CreateCluster: create a new Kubernetes cluster on a Scaleway account.
10581058
func (s *API) CreateCluster(req *CreateClusterRequest, opts ...scw.RequestOption) (*Cluster, error) {
10591059
var err error
10601060

@@ -1216,7 +1216,7 @@ type DeleteClusterRequest struct {
12161216
WithAdditionalResources bool `json:"-"`
12171217
}
12181218

1219-
// DeleteCluster: deletes a specific cluster and all its associated pools and nodes. Note that this method will not delete any Load Balancers or Block Volumes that are associated with the cluster.
1219+
// DeleteCluster: delete a specific cluster and all its associated pools and nodes. Note that this method will not delete any Load Balancers or Block Volumes that are associated with the cluster.
12201220
func (s *API) DeleteCluster(req *DeleteClusterRequest, opts ...scw.RequestOption) (*Cluster, error) {
12211221
var err error
12221222

@@ -1263,7 +1263,7 @@ type UpgradeClusterRequest struct {
12631263
UpgradePools bool `json:"upgrade_pools"`
12641264
}
12651265

1266-
// UpgradeCluster: upgrades a specific Kubernetes cluster and/or its associated pools to a specific and supported Kubernetes version.
1266+
// UpgradeCluster: upgrade a specific Kubernetes cluster and/or its associated pools to a specific and supported Kubernetes version.
12671267
func (s *API) UpgradeCluster(req *UpgradeClusterRequest, opts ...scw.RequestOption) (*Cluster, error) {
12681268
var err error
12691269

0 commit comments

Comments
 (0)