Interface KubernetesListObject
- All Superinterfaces:
KubernetesType
- All Known Implementing Classes:
CoreV1EventList
,EventsV1EventList
,V1alpha1ClusterCIDRList
,V1alpha1ClusterTrustBundleList
,V1alpha1IPAddressList
,V1alpha1StorageVersionList
,V1alpha1ValidatingAdmissionPolicyBindingList
,V1alpha1ValidatingAdmissionPolicyList
,V1alpha2PodSchedulingContextList
,V1alpha2ResourceClaimList
,V1alpha2ResourceClaimTemplateList
,V1alpha2ResourceClassList
,V1APIServiceList
,V1beta2FlowSchemaList
,V1beta2PriorityLevelConfigurationList
,V1beta3FlowSchemaList
,V1beta3PriorityLevelConfigurationList
,V1CertificateSigningRequestList
,V1ClusterRoleBindingList
,V1ClusterRoleList
,V1ComponentStatusList
,V1ConfigMapList
,V1ControllerRevisionList
,V1CronJobList
,V1CSIDriverList
,V1CSINodeList
,V1CSIStorageCapacityList
,V1CustomResourceDefinitionList
,V1DaemonSetList
,V1DeploymentList
,V1EndpointSliceList
,V1EndpointsList
,V1HorizontalPodAutoscalerList
,V1IngressClassList
,V1IngressList
,V1JobList
,V1LeaseList
,V1LimitRangeList
,V1MutatingWebhookConfigurationList
,V1NamespaceList
,V1NetworkPolicyList
,V1NodeList
,V1PersistentVolumeClaimList
,V1PersistentVolumeList
,V1PodDisruptionBudgetList
,V1PodList
,V1PodTemplateList
,V1PriorityClassList
,V1ReplicaSetList
,V1ReplicationControllerList
,V1ResourceQuotaList
,V1RoleBindingList
,V1RoleList
,V1RuntimeClassList
,V1SecretList
,V1ServiceAccountList
,V1ServiceList
,V1StatefulSetList
,V1StorageClassList
,V1ValidatingWebhookConfigurationList
,V1VolumeAttachmentList
,V2HorizontalPodAutoscalerList
Common accessors for kubernetes list objects.
The code has been copied from the official client and modified: KubernetesListObject
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends KubernetesObject>
getItems()
Gets the object items.Gets list metadata.Methods inherited from interface io.micronaut.kubernetes.client.openapi.common.KubernetesType
getApiVersion, getKind
-
Method Details
-
getMetadata
V1ListMeta getMetadata()Gets list metadata.ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
- Returns:
- the metadata
-
getItems
List<? extends KubernetesObject> getItems()Gets the object items.- Returns:
- the items
-