linode_api4-python
linode_api4-python copied to clipboard
new: Add support for LKE Control Plane ACLs
📝 Description
This pull request adds support for configuring and viewing the ACL configuration for an LKE cluster's control plane.
New Endpoint Methods
control_plane_acl- GET/lke/clusters/{cluster_id}/control_plane_aclcontrol_plane_acl_update(...)- PUT/lke/clusters/{cluster_id}/control_plane_aclcontrol_plane_acl_delete()- POST/lke/clusters/{cluster_id}/control_plane_acl
Updated Endpoint Methods
LKEGroup.cluster_create(...)- Add control_plane field to method arguments
Misc Changes
- Added data classes for LKE cluster control plane and all substructures
- Added logic to JSONObject to remove
Optionalvalues from the generated dict if None- Added a new
Nullabletype hint to represent an optional value that should always be included in the generated dict
- Added a new
- Updated test fixture framework to support underscores in path
✔️ How to Test
What are the steps to reproduce the issue or verify the changes?
How do I run the relevant unit/integration tests?
📷 Preview
If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.