Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.03 KB

FleetSpec.md

File metadata and controls

32 lines (23 loc) · 1.03 KB

FleetSpec

FleetSpec is a description of a fleet's target state.

Properties

Name Type Description Notes
selector LabelSelector [optional]
rollout_policy RolloutPolicy [optional]
template FleetSpecTemplate

Example

from flightctl.models.fleet_spec import FleetSpec

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

# convert the object into a dict
fleet_spec_dict = fleet_spec_instance.to_dict()
# create an instance of FleetSpec from a dict
fleet_spec_from_dict = FleetSpec.from_dict(fleet_spec_dict)

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