File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ type Reader interface {
6161
6262// Writer knows how to create, delete, and update Kubernetes objects.
6363type Writer interface {
64+ // Apply applies the given apply configuration to the Kubernetes cluster.
65+ Apply (ctx context.Context , obj runtime.ApplyConfiguration , opts ... ApplyOption ) error
66+
6467 // Create saves the object obj in the Kubernetes cluster. obj must be a
6568 // struct pointer so that obj can be updated with the content returned by the Server.
6669 Create (ctx context.Context , obj Object , opts ... CreateOption ) error
@@ -78,9 +81,6 @@ type Writer interface {
7881
7982 // DeleteAllOf deletes all objects of the given type matching the given options.
8083 DeleteAllOf (ctx context.Context , obj Object , opts ... DeleteAllOfOption ) error
81-
82- // Apply applies the given apply configuration to the Kubernetes cluster.
83- Apply (ctx context.Context , obj runtime.ApplyConfiguration , opts ... ApplyOption ) error
8484}
8585
8686// StatusClient knows how to create a client which can update status subresource
You can’t perform that action at this time.
0 commit comments