doc : Update CHEATSHEET with up to date examples regarding KubernetesClient (#5057) #5552
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fix #5057
get()
calls withitem()
create(foo)
calls withresource(foo).create()
WatcherException
instead ofKubernetesClientException
in onCloseupdateImage()
method to not userolling()
beforehand, it's not required anymore.client.discovery().v1beta1().endpointSlices()
example withclient.discovery().v1().endpointSlices()
client.policy().podDisruptionBudget()
example withclient.policy().v1().podDisruptionBudget()
client.apiextensions().v1beta1().customResourceDefinitions()
example withclient.apiextensions().v1().customResourceDefinitions()
withRunConfig()
call withwithNewRunConfig()
list(limit, continue)
call withlist(ListOptions)
replaceStatus(cr)
withupdateStatus()
tektonClient.v1beta1().pipelineRuns()
withtektonClient.v1().pipelineRuns()
Type of change
test, version modification, documentation, etc.)
Checklist