Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.5.0
-
None
Description
public interface CreateOrReplaceable<T> extends Replaceable<T> {
/**
* Creates a provided resource in a Kubernetes Cluster. If creation
* fails with a HTTP_CONFLICT, it tries to replace resource.
*
* @return created item returned in kubernetes api response
*
* @deprecated please use {@link ServerSideApplicable#serverSideApply()} or attempt a create and edit/patch operation.
*/
@Deprecated
T createOrReplace();
/**
* Creates an item
*
* @return the item from the api server
*/
T create();
}