Skip to content

Commit

Permalink
sort
Browse files Browse the repository at this point in the history
  • Loading branch information
mgyucht committed Dec 12, 2024
1 parent 59e16d5 commit e0dd84d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions internal/providers/pluginfw/pluginfw_rollout_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,33 @@ import (
)

// List of resources that have been migrated from SDK V2 to plugin framework
// Keep this list sorted.
var migratedResources = []func() resource.Resource{
qualitymonitor.ResourceQualityMonitor,
library.ResourceLibrary,
qualitymonitor.ResourceQualityMonitor,
}

// List of data sources that have been migrated from SDK V2 to plugin framework
// Keep this list sorted.
var migratedDataSources = []func() datasource.DataSource{
volume.DataSourceVolumes,
}

// List of resources that have been onboarded to the plugin framework - not migrated from sdkv2.
// Keep this list sorted.
var pluginFwOnlyResources = []func() resource.Resource{
sharing.ResourceShare,
app.ResourceApp,
sharing.ResourceShare,
}

// List of data sources that have been onboarded to the plugin framework - not migrated from sdkv2.
// Keep this list sorted.
var pluginFwOnlyDataSources = []func() datasource.DataSource{
serving.DataSourceServingEndpoints,
catalog.DataSourceFunctions,
notificationdestinations.DataSourceNotificationDestinations,
registered_model.DataSourceRegisteredModel,
registered_model.DataSourceRegisteredModelVersions,
notificationdestinations.DataSourceNotificationDestinations,
catalog.DataSourceFunctions,
serving.DataSourceServingEndpoints,
// TODO: Add DataSourceCluster into migratedDataSources after fixing unit tests.
cluster.DataSourceCluster, // Using the staging name (with pluginframework suffix)
sharing.DataSourceShare, // Using the staging name (with pluginframework suffix)
Expand Down

0 comments on commit e0dd84d

Please sign in to comment.