1
0
mirror of synced 2026-05-03 10:03:32 +00:00

Make plugin types public

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2026-04-14 00:02:13 +03:00
parent c0938d351f
commit 5256361d8c
6 changed files with 192 additions and 153 deletions

View File

@@ -16,6 +16,10 @@ limitations under the License.
package plugin
import (
plugintypes "github.com/fluxcd/flux2/v2/pkg/plugin"
)
const (
SkipReasonManual = "manually installed"
SkipReasonUpToDate = "already up to date"
@@ -41,13 +45,13 @@ type UpdateResult struct {
SkipReason string
// Manifest is the resolved plugin manifest for the update.
Manifest *PluginManifest
Manifest *plugintypes.Manifest
// Version is the resolved target version for the update.
Version *PluginVersion
Version *plugintypes.Version
// Platform is the resolved platform entry for the update.
Platform *PluginPlatform
Platform *plugintypes.Platform
// Err is set when the update check itself failed.
Err error