Class: KubeDSL::DSL::Flowcontrol::V1beta2::FlowSchemaSpec
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
27
28
29
|
# File 'lib/kube-dsl/dsl/flowcontrol/v1beta2/flow_schema_spec.rb', line 27
def kind_sym
:flow_schema_spec
end
|
#serialize ⇒ Object
18
19
20
21
22
23
24
25
|
# File 'lib/kube-dsl/dsl/flowcontrol/v1beta2/flow_schema_spec.rb', line 18
def serialize
{}.tap do |result|
result[:distinguisherMethod] = distinguisher_method.serialize
result[:matchingPrecedence] = matching_precedence
result[:priorityLevelConfiguration] = priority_level_configuration.serialize
result[:rules] = rules.map(&:serialize)
end
end
|