public enum Kind extends Enum<Kind>
| Enum Constant and Description |
|---|
BUILD |
BUILD_CONFIG |
DAEMON_SET |
DEPLOYMENT |
DEPLOYMENT_CONFIG |
IMAGESTREAM |
INGRESS |
JOB |
POD_SPEC |
REPLICA_SET |
REPLICATION_CONTROLLER |
SERVICE |
STATEFUL_SET |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNoVersionInSelector() |
boolean |
isController()
Returns true if the kind is a controller
|
boolean |
isDeployment() |
boolean |
isPodController() |
static Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Kind SERVICE
public static final Kind REPLICA_SET
public static final Kind REPLICATION_CONTROLLER
public static final Kind DEPLOYMENT
public static final Kind DEPLOYMENT_CONFIG
public static final Kind DAEMON_SET
public static final Kind STATEFUL_SET
public static final Kind IMAGESTREAM
public static final Kind JOB
public static final Kind POD_SPEC
public static final Kind BUILD_CONFIG
public static final Kind BUILD
public static final Kind INGRESS
public static Kind[] values()
for (Kind c : Kind.values()) System.out.println(c);
public static Kind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isController()
public boolean isPodController()
public boolean isDeployment()
public boolean hasNoVersionInSelector()
Copyright © 2020. All rights reserved.