Package org.openrewrite.kubernetes.tree
Interface K8S
- All Known Implementing Classes:
K8S.Annotations,K8S.Containers,K8S.Ingress,K8S.InitContainers,K8S.Labels,K8S.Metadata,K8S.Pod,K8S.RBAC,K8S.Resource,K8S.ResourceLimits,K8S.Service
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic K8S.AnnotationsasAnnotations(@Nullable org.openrewrite.yaml.tree.Yaml.Mapping m) Deprecated.static K8S.LabelsasLabels(@Nullable org.openrewrite.yaml.tree.Yaml.Mapping m) Deprecated.static K8S.MetadataasMetadata(org.openrewrite.yaml.tree.Yaml.Mapping m) Deprecated.static K8S.ResourceasResource(org.openrewrite.yaml.tree.Yaml.Mapping m) Deprecated.static K8S.ResourceLimitsasResourceLimits(@Nullable org.openrewrite.yaml.tree.Yaml.Scalar s) Deprecated.static @Nullable K8S.ServiceasService(@Nullable org.openrewrite.yaml.tree.Yaml.Mapping m) Deprecated.static Optional<org.openrewrite.Cursor>firstEnclosingEntryMatching(String jsonPath, @Nullable org.openrewrite.Cursor cursor) Deprecated.static Optional<org.openrewrite.Cursor>firstEnclosingEntryMatching(org.openrewrite.yaml.JsonPathMatcher jsonPath, @Nullable org.openrewrite.Cursor cursor) Deprecated.static booleaninDaemonSet(org.openrewrite.Cursor cursor) Deprecated.static booleaninDeployment(org.openrewrite.Cursor cursor) Deprecated.static booleanDeprecated.static booleaninMappingEntry(String jsonPath, @Nullable org.openrewrite.Cursor cursor) Deprecated.static booleaninMappingEntry(org.openrewrite.yaml.JsonPathMatcher jsonPath, @Nullable org.openrewrite.Cursor cursor) Deprecated.static booleaninPod(org.openrewrite.Cursor cursor) Deprecated.static booleaninService(org.openrewrite.Cursor cursor) Deprecated.static booleaninStatefulSet(org.openrewrite.Cursor cursor) Deprecated.
-
Method Details
-
inKind
Deprecated. -
inPod
static boolean inPod(org.openrewrite.Cursor cursor) Deprecated. -
inDaemonSet
static boolean inDaemonSet(org.openrewrite.Cursor cursor) Deprecated. -
inStatefulSet
static boolean inStatefulSet(org.openrewrite.Cursor cursor) Deprecated. -
inDeployment
static boolean inDeployment(org.openrewrite.Cursor cursor) Deprecated. -
inService
static boolean inService(org.openrewrite.Cursor cursor) Deprecated. -
asResource
Deprecated. -
asMetadata
Deprecated. -
asAnnotations
Deprecated. -
asLabels
Deprecated. -
asResourceLimits
Deprecated. -
asService
Deprecated. -
inMappingEntry
Deprecated. -
inMappingEntry
static boolean inMappingEntry(org.openrewrite.yaml.JsonPathMatcher jsonPath, @Nullable org.openrewrite.Cursor cursor) Deprecated. -
firstEnclosingEntryMatching
static Optional<org.openrewrite.Cursor> firstEnclosingEntryMatching(String jsonPath, @Nullable org.openrewrite.Cursor cursor) Deprecated. -
firstEnclosingEntryMatching
static Optional<org.openrewrite.Cursor> firstEnclosingEntryMatching(org.openrewrite.yaml.JsonPathMatcher jsonPath, @Nullable org.openrewrite.Cursor cursor) Deprecated.
-
Traits.