CustomResourceHandler instead.@Deprecated public class CustomResourceHandler extends AbstractCustomResourceHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
VERSION
Deprecated.
Use
CustomResourceHandler.VERSION instead. |
resources| Constructor and Description |
|---|
CustomResourceHandler(Resources resources,
boolean parallel)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDecorators(CustomResourceInfo config,
io.sundr.model.TypeDef def,
Optional<String> specReplicasPath,
Optional<String> statusReplicasPath,
Optional<String> labelSelectorPath)
Deprecated.
Adds all the necessary decorators to build the specific CRD version.
|
protected Decorator<?> |
getPrinterColumnDecorator(String name,
String version,
String path,
String type,
String column,
String description,
String format,
int priority)
Deprecated.
Provides the decorator implementation associated with the CRD generation version.
|
void |
handle(CustomResourceInfo config)
Deprecated.
|
@Deprecated public static final String VERSION
CustomResourceHandler.VERSION instead.public CustomResourceHandler(Resources resources, boolean parallel)
protected Decorator<?> getPrinterColumnDecorator(String name, String version, String path, String type, String column, String description, String format, int priority)
AbstractCustomResourceHandlergetPrinterColumnDecorator in class AbstractCustomResourceHandlername - the resource nameversion - the associated versionpath - the path from which the printer column is extractedtype - the data type of the printer columncolumn - the name of the columndescription - the description of the columnformat - the format of the printer columnprotected void addDecorators(CustomResourceInfo config, io.sundr.model.TypeDef def, Optional<String> specReplicasPath, Optional<String> statusReplicasPath, Optional<String> labelSelectorPath)
AbstractCustomResourceHandleraddDecorators in class AbstractCustomResourceHandlerconfig - the gathered CustomResourceInfo used as basis for the CRD generationdef - the TypeDef associated with the CustomResource from which the CRD
is generatedspecReplicasPath - an optionally detected path of field defining spec replicasstatusReplicasPath - an optionally detected path of field defining status replicaslabelSelectorPath - an optionally detected path of field defining `status.selector`public void handle(CustomResourceInfo config)
handle in class AbstractCustomResourceHandlerCopyright © 2015–2024 Red Hat. All rights reserved.