Interface KubernetesType

All Known Subinterfaces:
KubernetesListObject, KubernetesObject
All Known Implementing Classes:
AuthenticationV1TokenRequest, CoreV1Event, CoreV1EventList, EventsV1Event, EventsV1EventList, NodeMetrics, NodeMetricsList, PodMetrics, PodMetricsList, V1alpha1ClusterCIDR, V1alpha1ClusterCIDRList, V1alpha1ClusterTrustBundle, V1alpha1ClusterTrustBundleList, V1alpha1IPAddress, V1alpha1IPAddressList, V1alpha1SelfSubjectReview, V1alpha1StorageVersion, V1alpha1StorageVersionList, V1alpha1ValidatingAdmissionPolicy, V1alpha1ValidatingAdmissionPolicyBinding, V1alpha1ValidatingAdmissionPolicyBindingList, V1alpha1ValidatingAdmissionPolicyList, V1alpha2PodSchedulingContext, V1alpha2PodSchedulingContextList, V1alpha2ResourceClaim, V1alpha2ResourceClaimList, V1alpha2ResourceClaimTemplate, V1alpha2ResourceClaimTemplateList, V1alpha2ResourceClass, V1alpha2ResourceClassList, V1APIService, V1APIServiceList, V1beta1SelfSubjectReview, V1beta1ValidatingAdmissionPolicy, V1beta1ValidatingAdmissionPolicyBinding, V1beta1ValidatingAdmissionPolicyBindingList, V1beta1ValidatingAdmissionPolicyList, V1beta2FlowSchema, V1beta2FlowSchemaList, V1beta2PriorityLevelConfiguration, V1beta2PriorityLevelConfigurationList, V1beta3FlowSchema, V1beta3FlowSchemaList, V1beta3PriorityLevelConfiguration, V1beta3PriorityLevelConfigurationList, V1Binding, V1CertificateSigningRequest, V1CertificateSigningRequestList, V1ClusterRole, V1ClusterRoleBinding, V1ClusterRoleBindingList, V1ClusterRoleList, V1ComponentStatus, V1ComponentStatusList, V1ConfigMap, V1ConfigMapList, V1ControllerRevision, V1ControllerRevisionList, V1CronJob, V1CronJobList, V1CSIDriver, V1CSIDriverList, V1CSINode, V1CSINodeList, V1CSIStorageCapacity, V1CSIStorageCapacityList, V1CustomResourceDefinition, V1CustomResourceDefinitionList, V1DaemonSet, V1DaemonSetList, V1Deployment, V1DeploymentList, V1Endpoints, V1EndpointSlice, V1EndpointSliceList, V1EndpointsList, V1Eviction, V1HorizontalPodAutoscaler, V1HorizontalPodAutoscalerList, V1Ingress, V1IngressClass, V1IngressClassList, V1IngressList, V1Job, V1JobList, V1Lease, V1LeaseList, V1LimitRange, V1LimitRangeList, V1LocalSubjectAccessReview, V1MutatingWebhookConfiguration, V1MutatingWebhookConfigurationList, V1Namespace, V1NamespaceList, V1NetworkPolicy, V1NetworkPolicyList, V1Node, V1NodeList, V1PersistentVolume, V1PersistentVolumeClaim, V1PersistentVolumeClaimList, V1PersistentVolumeList, V1Pod, V1PodDisruptionBudget, V1PodDisruptionBudgetList, V1PodList, V1PodTemplate, V1PodTemplateList, V1PriorityClass, V1PriorityClassList, V1ReplicaSet, V1ReplicaSetList, V1ReplicationController, V1ReplicationControllerList, V1ResourceQuota, V1ResourceQuotaList, V1Role, V1RoleBinding, V1RoleBindingList, V1RoleList, V1RuntimeClass, V1RuntimeClassList, V1Scale, V1Secret, V1SecretList, V1SelfSubjectAccessReview, V1SelfSubjectReview, V1SelfSubjectRulesReview, V1Service, V1ServiceAccount, V1ServiceAccountList, V1ServiceList, V1StatefulSet, V1StatefulSetList, V1StorageClass, V1StorageClassList, V1SubjectAccessReview, V1TokenReview, V1ValidatingWebhookConfiguration, V1ValidatingWebhookConfigurationList, V1VolumeAttachment, V1VolumeAttachmentList, V2HorizontalPodAutoscaler, V2HorizontalPodAutoscalerList

public interface KubernetesType
Equivalence to TypeMeta from kubernetes/client-go.

TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version. Structures that are versioned or persisted should inline TypeMeta.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets api version.
    Gets kind.
  • Method Details

    • getApiVersion

      String getApiVersion()
      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

      Returns:
      the api version
    • getKind

      String getKind()
      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

      Returns:
      the kind