class Pyrite::Api::Rbac::V1alpha1::ClusterRole
- Pyrite::Api::Rbac::V1alpha1::ClusterRole
- Pyrite::Kubernetes::Object
- Pyrite::Kubernetes::Resource
- Pyrite::Kubernetes::Spec
- Reference
- Object
Overview
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
Defined in:
versions/v1.14/api/rbac/v1alpha1/cluster_role.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
-
.new(pull : JSON::PullParser)
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
- .new(*, aggregation_rule : Api::Rbac::V1alpha1::AggregationRule? = nil, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, rules : Array? = nil)
Instance Method Summary
- #aggregation_rule : Api::Rbac::V1alpha1::AggregationRule?
- #aggregation_rule=(aggregation_rule : Api::Rbac::V1alpha1::AggregationRule?)
- #rules : Array(Api::Rbac::V1alpha1::PolicyRule)?
- #rules=(rules : Array(Api::Rbac::V1alpha1::PolicyRule)?)
Instance methods inherited from class Pyrite::Kubernetes::Object
metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
metadata,
metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
metadata=
Constructor methods inherited from class Pyrite::Kubernetes::Object
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Instance methods inherited from class Pyrite::Kubernetes::Resource
api_version : String
api_version,
kind : String
kind
Constructor methods inherited from class Pyrite::Kubernetes::Resource
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
def self.new(pull : JSON::PullParser)
#
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
def self.new(*, aggregation_rule : Api::Rbac::V1alpha1::AggregationRule? = nil, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, rules : Array? = nil)
#