deleteFlowcontrolApiserverV1beta1FlowSchema method
Delete a FlowSchema.
name
Name of the FlowSchema.
pretty
If true, then the output is pretty printed.
Implementation
Future<apimachinery_pkg_apis_meta_v1.Status>
deleteFlowcontrolApiserverV1beta1FlowSchema({
required String name,
bool? pretty,
}) async {
final queryStrings = <String, Object>{};
if (pretty != null) {
queryStrings['pretty'] = pretty;
}
final query =
queryStrings.isEmpty ? '' : '?${_joinQueryStrings(queryStrings)}';
final result = await _deleteJsonMap(
'/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/$name$query');
return apimachinery_pkg_apis_meta_v1.Status.fromJson(result);
}