Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackagePlugin ¶
type PackagePlugin interface { // Base commands are implemented by the below interface PackagePluginBase // Extra helper commands will be implemented by other interface PackagePluginHelpers }
func NewPackagePlugin ¶
type PackagePluginBase ¶
type PackagePluginBase interface { AddRepository(o *packagedatamodel.RepositoryOptions) PackagePluginResult GetRepository(o *packagedatamodel.RepositoryOptions) PackagePluginResult UpdateRepository(o *packagedatamodel.RepositoryOptions) PackagePluginResult DeleteRepository(o *packagedatamodel.RepositoryOptions) PackagePluginResult ListRepository(o *packagedatamodel.RepositoryOptions) PackagePluginResult GetAvailablePackage(packageName string, o *packagedatamodel.PackageAvailableOptions) PackagePluginResult ListAvailablePackage(packageName string, o *packagedatamodel.PackageAvailableOptions) PackagePluginResult CreateInstalledPackage(o *packagedatamodel.PackageOptions) PackagePluginResult GetInstalledPackage(o *packagedatamodel.PackageOptions) PackagePluginResult UpdateInstalledPackage(o *packagedatamodel.PackageOptions) PackagePluginResult DeleteInstalledPackage(o *packagedatamodel.PackageOptions) PackagePluginResult ListInstalledPackage(o *packagedatamodel.PackageOptions) PackagePluginResult }
type PackagePluginHelpers ¶
type PackagePluginHelpers interface { AddOrUpdateRepository(o *packagedatamodel.RepositoryOptions) PackagePluginResult CheckRepositoryAvailable(o *packagedatamodel.RepositoryOptions) PackagePluginResult CheckAndDeleteRepository(o *packagedatamodel.RepositoryOptions) PackagePluginResult CheckRepositoryDeleted(o *packagedatamodel.RepositoryOptions) PackagePluginResult CheckPackageAvailable(packageName string, o *packagedatamodel.PackageAvailableOptions) PackagePluginResult CheckAndInstallPackage(o *packagedatamodel.PackageOptions) PackagePluginResult CheckPackageInstalled(o *packagedatamodel.PackageOptions) PackagePluginResult CheckAndUninstallPackage(o *packagedatamodel.PackageOptions) PackagePluginResult CheckPackageDeleted(o *packagedatamodel.PackageOptions) PackagePluginResult }
Click to show internal directories.
Click to hide internal directories.