Skip to content

Commit

Permalink
feat(k8s): add filter on PrivateNetworkID (scaleway#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Sep 20, 2023
1 parent 76a1c30 commit 01b010a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/clients/src/api/k8s/v1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export class API extends ParentAPI {
'page_size',
request.pageSize ?? this.client.settings.defaultPageSize,
],
['private_network_id', request.privateNetworkId],
['project_id', request.projectId],
['status', request.status ?? 'unknown'],
['type', request.type],
Expand Down
5 changes: 5 additions & 0 deletions packages/clients/src/api/k8s/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,11 @@ export type ListClustersRequest = {
status?: ClusterStatus
/** Type to filter on, only clusters with this type will be returned. */
type?: string
/**
* Private Network ID to filter on, only clusters within this Private Network
* will be returned.
*/
privateNetworkId?: string
}

export type CreateClusterRequest = {
Expand Down

0 comments on commit 01b010a

Please sign in to comment.