We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7399a3a + 371f601 commit 8ad090eCopy full SHA for 8ad090e
pkg/client/interfaces.go
@@ -60,7 +60,8 @@ type Reader interface {
60
61
// Writer knows how to create, delete, and update Kubernetes objects.
62
type Writer interface {
63
- // Create saves the object obj in the Kubernetes cluster.
+ // Create saves the object obj in the Kubernetes cluster. obj must be a
64
+ // struct pointer so that obj can be updated with the content returned by the Server.
65
Create(ctx context.Context, obj Object, opts ...CreateOption) error
66
67
// Delete deletes the given obj from Kubernetes cluster.
0 commit comments