Class Perspective

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<PerspectiveBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class Perspective
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<PerspectiveBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    Perspective defines a perspective that cluster admins want to show/hide in the perspective switcher dropdown
    See Also:
    Serialized Form
    • Method Detail

      • getId

        public String getId()
        id defines the id of the perspective. Example: "dev", "admin". The available perspective ids can be found in the code snippet section next to the yaml editor. Incorrect or unknown ids will be ignored.
      • setId

        public void setId​(String id)
        id defines the id of the perspective. Example: "dev", "admin". The available perspective ids can be found in the code snippet section next to the yaml editor. Incorrect or unknown ids will be ignored.
      • getPinnedResources

        public List<PinnedResourceReference> getPinnedResources()
        pinnedResources defines the list of default pinned resources that users will see on the perspective navigation if they have not customized these pinned resources themselves. The list of available Kubernetes resources could be read via `kubectl api-resources`. The console will also provide a configuration UI and a YAML snippet that will list the available resources that can be pinned to the navigation. Incorrect or unknown resources will be ignored.
      • setPinnedResources

        public void setPinnedResources​(List<PinnedResourceReference> pinnedResources)
        pinnedResources defines the list of default pinned resources that users will see on the perspective navigation if they have not customized these pinned resources themselves. The list of available Kubernetes resources could be read via `kubectl api-resources`. The console will also provide a configuration UI and a YAML snippet that will list the available resources that can be pinned to the navigation. Incorrect or unknown resources will be ignored.
      • getVisibility

        public PerspectiveVisibility getVisibility()
        Perspective defines a perspective that cluster admins want to show/hide in the perspective switcher dropdown
      • setVisibility

        public void setVisibility​(PerspectiveVisibility visibility)
        Perspective defines a perspective that cluster admins want to show/hide in the perspective switcher dropdown
      • getAdditionalProperties

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

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

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