Class CustomResourceDefinitionNames

    • Constructor Detail

      • CustomResourceDefinitionNames

        public CustomResourceDefinitionNames()
        No args constructor for use in serialization
    • Method Detail

      • getCategories

        public List<String> getCategories()
        categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.
      • setCategories

        public void setCategories​(List<String> categories)
        categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.
      • getKind

        public String getKind()
        kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.
      • setKind

        public void setKind​(String kind)
        kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.
      • getListKind

        public String getListKind()
        listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
      • setListKind

        public void setListKind​(String listKind)
        listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
      • getPlural

        public String getPlural()
        plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.
      • setPlural

        public void setPlural​(String plural)
        plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.
      • getShortNames

        public List<String> getShortNames()
        shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.
      • setShortNames

        public void setShortNames​(List<String> shortNames)
        shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.
      • getSingular

        public String getSingular()
        singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
      • setSingular

        public void setSingular​(String singular)
        singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)