k8s.models.role module

class k8s.models.role.PolicyRule(new=True, **kwargs)[source]

Bases: Model

apiGroups

ListField is a list (array) of a single type on a model

nonResourceURLs

ListField is a list (array) of a single type on a model

resourceNames

ListField is a list (array) of a single type on a model

resources

ListField is a list (array) of a single type on a model

verbs

ListField is a list (array) of a single type on a model

class k8s.models.role.Role(new=True, **kwargs)[source]

Bases: Model, ApiMixIn

metadata

Generic field on a k8s model

rules

ListField is a list (array) of a single type on a model