Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.52 KB

File metadata and controls

29 lines (22 loc) · 1.52 KB

V1IngressClassSpec

IngressClassSpec provides information about the class of an Ingress.

Properties

Name Type Description Notes
controller str controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable. [optional]
parameters V1IngressClassParametersReference [optional]

Example

from kubernetes.client.models.v1_ingress_class_spec import V1IngressClassSpec

# TODO update the JSON string below
json = "{}"
# create an instance of V1IngressClassSpec from a JSON string
v1_ingress_class_spec_instance = V1IngressClassSpec.from_json(json)
# print the JSON string representation of the object
print(V1IngressClassSpec.to_json())

# convert the object into a dict
v1_ingress_class_spec_dict = v1_ingress_class_spec_instance.to_dict()
# create an instance of V1IngressClassSpec from a dict
v1_ingress_class_spec_from_dict = V1IngressClassSpec.from_dict(v1_ingress_class_spec_dict)

[Back to Model list] [Back to API list] [Back to README]