Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "mock.deployer.landscaper.gardener.cloud"
View Source
const Type lsv1alpha1.DeployItemType = "landscaper.gardener.cloud/mock"
Type is the type name of the deployer.
Variables ¶
View Source
var ( MockScheme = runtime.NewScheme() Decoder runtime.Decoder )
Functions ¶
func AddDeployerToManager ¶
func AddDeployerToManager(lsUncachedClient, lsCachedClient, hostUncachedClient, hostCachedClient client.Client, finishedObjectCache *utils.FinishedObjectCache, logger logging.Logger, lsMgr, hostMgr manager.Manager, config mockv1alpha1.Configuration, callerName string) error
AddDeployerToManager adds a new helm deployers to a controller manager.
func NewController ¶
func NewController(lsUncachedClient, lsCachedClient, hostUncachedClient, hostCachedClient client.Client, finishedObjectCache *utils.FinishedObjectCache, log logging.Logger, scheme *runtime.Scheme, eventRecorder record.EventRecorder, config mockv1alpha1.Configuration, callerName string) (reconcile.Reconciler, error)
NewController creates a new simple controller. This method should only be used for testing.
func NewDeployItemBuilder ¶
func NewDeployItemBuilder() *utils.DeployItemBuilder
NewDeployItemBuilder creates a new deployitem builder for mock deployitems
func NewDeployer ¶
func NewDeployer(lsUncachedClient, lsCachedClient, hostUncachedClient, hostCachedClient client.Client, log logging.Logger, config mockv1alpha1.Configuration) (deployerlib.Deployer, error)
NewDeployer creates a new deployer that reconciles deploy items of type mock.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.