mock

package
v0.103.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL