chore: remove cloud config deprecated code #78
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to the
agent/config
package, primarily focusing on removing the cloud configuration manager and updating type definitions. The most important changes are summarized below:Removal of Cloud Configuration Manager:
agent/configmgr/cloud.go
: Entire file removed, which included thecloudConfigManager
class and its associated methods for handling cloud configurations.agent/configmgr/manager.go
: Removed the case for creating acloudConfigManager
instance in theNew
function.Type Definition Updates:
agent/config/types.go
: Updated thePolicyPayload
struct to useany
instead ofinterface{}
for theData
field.agent/config/types.go
: Updated theOrbAgent
struct to useany
instead ofinterface{}
for theBackends
andPolicies
fields.agent/config/types.go
: Removed theCloudManager
struct and its associated fields from theManagerSources
struct.