struct

FunctionAccessRule

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
new(*, target_function : FunctionAccessRule::TargetFunction, from : Array(FunctionAccessRule::From) = Array(From).new)
Source

Instance methods

from

List of allowed sources (NetworkPolicy-style peer)

target_function

Target function selector. Use 'name' for name/pattern/regex matching, 'matchLabels'/'matchExpressions' for label-based selection. Patterns: exact name, glob (prefix*), or regex (/pattern/).

Nested types