class Pyrite::Api::Policy::V1beta1::RunAsUserStrategyOptions

Overview

RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.

Defined in:

versions/v1.14/api/policy/v1beta1/run_as_user_strategy_options.cr

Constructors

Instance Method Summary

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) #

RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.


def self.new(pull : JSON::PullParser) #

RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.


def self.new(*, ranges : Array? = nil, rule : String) #

Instance Method Detail

def ranges : Array(Api::Policy::V1beta1::IDRange)? #

def ranges=(ranges : Array(Api::Policy::V1beta1::IDRange)?) #

def rule : String #

def rule=(rule : String) #