Package io.kubernetes.client.custom
Class PodMetrics
java.lang.Object
io.kubernetes.client.custom.PodMetrics
- All Implemented Interfaces:
KubernetesObject
,KubernetesType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets api version.getKind()
Gets kind.Gets metadata.void
setApiVersion
(String apiVersion) void
setContainers
(List<ContainerMetrics> containers) void
void
setMetadata
(V1ObjectMeta metadata) void
setTimestamp
(String timestamp) void
-
Constructor Details
-
PodMetrics
public PodMetrics()
-
-
Method Details
-
getApiVersion
Description copied from interface:KubernetesType
Gets api version.APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
- Specified by:
getApiVersion
in interfaceKubernetesType
- Returns:
- the api version
-
getKind
Description copied from interface:KubernetesType
Gets kind.Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- Specified by:
getKind
in interfaceKubernetesType
- Returns:
- the kind
-
getMetadata
Description copied from interface:KubernetesObject
Gets metadata.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
- Specified by:
getMetadata
in interfaceKubernetesObject
- Returns:
- the metadata
-
getTimestamp
-
getWindow
-
getContainers
-
setApiVersion
-
setKind
-
setMetadata
-
setTimestamp
-
setWindow
-
setContainers
-