public class Types extends Object
| Constructor and Description |
|---|
Types() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<io.sundr.codegen.model.Property> |
findStatusProperty(CustomResourceConfig config,
io.sundr.codegen.model.TypeDef typeDef)
Finds the status property.
|
static Optional<io.sundr.codegen.model.TypeRef> |
findStatusType(CustomResourceConfig config,
io.sundr.codegen.model.TypeDef typeDef)
Finds the status type.
|
void |
getSpecReplicasPath(io.sundr.codegen.model.TypeDef def,
List<String> path,
List<String> visited) |
static boolean |
isStatusProperty(io.sundr.codegen.model.Property property)
Returns true if the specified property corresponds to status.
|
public static Optional<io.sundr.codegen.model.TypeRef> findStatusType(CustomResourceConfig config, io.sundr.codegen.model.TypeDef typeDef)
public static Optional<io.sundr.codegen.model.Property> findStatusProperty(CustomResourceConfig config, io.sundr.codegen.model.TypeDef typeDef)
public static boolean isStatusProperty(io.sundr.codegen.model.Property property)
Copyright © 2018–2021 Red Hat. All rights reserved.