Interface KubernetesPermissionCheckedDetails.Builder

  • Method Details

    • verb

      The verb component of the Kubernetes API call. For example, when you check whether or not you have the permission to call the CreatePod API, the verb component will be Create.

      Parameters:
      verb - The verb component of the Kubernetes API call. For example, when you check whether or not you have the permission to call the CreatePod API, the verb component will be Create.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resource

      The Kubernetes resource with which your Kubernetes API call will interact.

      Parameters:
      resource - The Kubernetes resource with which your Kubernetes API call will interact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespace

      The namespace where the Kubernetes API action will take place.

      Parameters:
      namespace - The namespace where the Kubernetes API action will take place.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowed

      Information whether the user has the permission to call the Kubernetes API.

      Parameters:
      allowed - Information whether the user has the permission to call the Kubernetes API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.