Class: KubeDSL::DSL::Flowcontrol::V1alpha1::FlowSchemaSpec
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
22
23
24
|
# File 'lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_schema_spec.rb', line 22
def kind_sym
:flow_schema_spec
end
|
#serialize ⇒ Object
13
14
15
16
17
18
19
20
|
# File 'lib/kube-dsl/dsl/flowcontrol/v1alpha1/flow_schema_spec.rb', line 13
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
|