All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.k8s.api.authorization.v1.NonResourceRule Maven / Gradle / Ivy

package io.k8s.api.authorization.v1;

import java.lang.String;
import java.util.List;

/**
 * NonResourceRule holds information that describes a rule for the non-resource
 */
public class NonResourceRule {
  public List nonResourceURLs;

  public List verbs;

  /**
   * NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full, final step in the path.  "*" means all.
   */
  public NonResourceRule nonResourceURLs(List nonResourceURLs) {
    this.nonResourceURLs = nonResourceURLs;
    return this;
  }

  /**
   * Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.  "*" means all.
   */
  public NonResourceRule verbs(List verbs) {
    this.verbs = verbs;
    return this;
  }

  public static NonResourceRule nonResourceRule() {
    return new NonResourceRule();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy