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 }
type PackagePluginBase ¶
type PackagePluginBase interface { AddRepository(o *tkgpackagedatamodel.RepositoryOptions) PackagePluginResult GetRepository(o *tkgpackagedatamodel.RepositoryOptions) PackagePluginResult UpdateRepository(o *tkgpackagedatamodel.RepositoryOptions) PackagePluginResult DeleteRepository(o *tkgpackagedatamodel.RepositoryOptions) PackagePluginResult ListRepository(o *tkgpackagedatamodel.RepositoryOptions) PackagePluginResult GetAvailablePackage(packageName string, o *tkgpackagedatamodel.PackageAvailableOptions) PackagePluginResult ListAvailablePackage(packageName string, o *tkgpackagedatamodel.PackageAvailableOptions) PackagePluginResult CreateInstalledPackage(o *tkgpackagedatamodel.PackageOptions) PackagePluginResult GetInstalledPackage(o *tkgpackagedatamodel.PackageOptions) PackagePluginResult UpdateInstalledPackage(o *tkgpackagedatamodel.PackageOptions) PackagePluginResult DeleteInstalledPackage(o *tkgpackagedatamodel.PackageOptions) PackagePluginResult ListInstalledPackage(o *tkgpackagedatamodel.PackageOptions) PackagePluginResult }
type PackagePluginHelpers ¶
type PackagePluginHelpers interface { AddOrUpdateRepository(o *tkgpackagedatamodel.RepositoryOptions) PackagePluginResult CheckRepositoryAvailable(o *tkgpackagedatamodel.RepositoryOptions) PackagePluginResult CheckAndDeleteRepository(o *tkgpackagedatamodel.RepositoryOptions) PackagePluginResult CheckRepositoryDeleted(o *tkgpackagedatamodel.RepositoryOptions) PackagePluginResult CheckPackageAvailable(packageName string, o *tkgpackagedatamodel.PackageAvailableOptions) PackagePluginResult CheckAndInstallPackage(o *tkgpackagedatamodel.PackageOptions) PackagePluginResult CheckPackageInstalled(o *tkgpackagedatamodel.PackageOptions) PackagePluginResult CheckAndUninstallPackage(o *tkgpackagedatamodel.PackageOptions) PackagePluginResult CheckPackageDeleted(o *tkgpackagedatamodel.PackageOptions) PackagePluginResult }
Click to show internal directories.
Click to hide internal directories.