Class: KubeDSL::DSL::Apiregistration::V1beta1::APIServiceSpec

Inherits:
KubeDSL::DSLObject show all
Defined in:
lib/kube-dsl/dsl/apiregistration/v1beta1/api_service_spec.rb

Instance Method Summary collapse

Methods inherited from KubeDSL::DSLObject

#initialize, #to_resource

Methods included from ValueFields

extended

Methods included from Validations

extended

Constructor Details

This class inherits a constructor from KubeDSL::DSLObject

Instance Method Details

#kind_symObject



31
32
33
# File 'lib/kube-dsl/dsl/apiregistration/v1beta1/api_service_spec.rb', line 31

def kind_sym
  :api_service_spec
end

#serializeObject



19
20
21
22
23
24
25
26
27
28
29
# File 'lib/kube-dsl/dsl/apiregistration/v1beta1/api_service_spec.rb', line 19

def serialize
  {}.tap do |result|
    result[:caBundle] = ca_bundle
    result[:group] = group
    result[:groupPriorityMinimum] = group_priority_minimum
    result[:insecureSkipTLSVerify] = insecure_skip_tls_verify
    result[:service] = service.serialize
    result[:version] = version
    result[:versionPriority] = version_priority
  end
end