package v1
Type Members
-
final
case class
AggregationRule(clusterRoleSelectors: Option[Seq[LabelSelector]] = None) extends Product with Serializable
AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
-
final
case class
ClusterRole(aggregationRule: Option[AggregationRule] = None, metadata: Option[ObjectMeta] = None, rules: Option[Seq[PolicyRule]] = None) extends KObject with Product with Serializable
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
-
final
case class
ClusterRoleBinding(subjects: Option[Seq[Subject]] = None, metadata: Option[ObjectMeta] = None, roleRef: RoleRef) extends KObject with Product with Serializable
ClusterRoleBinding references a ClusterRole, but not contain it.
ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.
-
final
case class
ClusterRoleBindingList(items: Seq[ClusterRoleBinding], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
ClusterRoleBindingList is a collection of ClusterRoleBindings
-
final
case class
ClusterRoleList(items: Seq[ClusterRole], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
ClusterRoleList is a collection of ClusterRoles
-
final
case class
PolicyRule(verbs: Seq[String], apiGroups: Option[Seq[String]] = None, resources: Option[Seq[String]] = None, resourceNames: Option[Seq[String]] = None, nonResourceURLs: Option[Seq[String]] = None) extends Product with Serializable
PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.
-
final
case class
Role(metadata: Option[ObjectMeta] = None, rules: Option[Seq[PolicyRule]] = None) extends KObject with Product with Serializable
Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
-
final
case class
RoleBinding(subjects: Option[Seq[Subject]] = None, metadata: Option[ObjectMeta] = None, roleRef: RoleRef) extends KObject with Product with Serializable
RoleBinding references a role, but does not contain it.
RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.
-
final
case class
RoleBindingList(items: Seq[RoleBinding], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
RoleBindingList is a collection of RoleBindings
-
final
case class
RoleList(items: Seq[Role], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
RoleList is a collection of Roles
-
final
case class
RoleRef(apiGroup: String, name: String) extends Product with Serializable
RoleRef contains information that points to the role being used
-
final
case class
Subject(apiGroup: Option[String] = None, name: String, namespace: Option[String] = None) extends Product with Serializable
Subject contains a reference to the object or user identities a role binding applies to.
Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.