Documentation ¶
Index ¶
- Constants
- Variables
- func AddDeployerToManager(...) error
- func NewDeployItemBuilder() *utils.DeployItemBuilder
- func NewDeployer(lsRestConfig *rest.Config, ...) (deployerlib.Deployer, error)
- type Manifest
- func (m *Manifest) CheckResourcesReady(ctx context.Context, client client.Client) error
- func (m *Manifest) Delete(ctx context.Context) error
- func (m *Manifest) Reconcile(ctx context.Context) error
- func (m *Manifest) SetLsRestConfig(lsRestConfig *rest.Config)
- func (m *Manifest) Writer() *read_write_layer.Writer
Constants ¶
View Source
const ( TimeoutCheckpointManifestStartReconcile = "manifest deployer: start reconcile" TimeoutCheckpointManifestBeforeReadinessCheck = "manifest deployer: before readiness check" TimeoutCheckpointManifestBeforeReadingExportValues = "manifest deployer: before reading export values" TimeoutCheckpointManifestDefaultReadinessChecks = "manifest deployer: default readiness checks" TimeoutCheckpointManifestCustomReadinessChecks = "manifest deployer: custom readiness checks" TimeoutCheckpointManifestStartDelete = "manifest deployer: start delete" )
View Source
const ( Type lsv1alpha1.DeployItemType = "landscaper.gardener.cloud/kubernetes-manifest" Name string = "manifest.deployer.landscaper.gardener.cloud" )
Variables ¶
View Source
var Scheme = runtime.NewScheme()
Functions ¶
func AddDeployerToManager ¶
func AddDeployerToManager(lsUncachedClient, lsCachedClient, hostUncachedClient, hostCachedClient client.Client, finishedObjectCache *utils.FinishedObjectCache, logger logging.Logger, lsMgr, hostMgr manager.Manager, config manifestv1alpha2.Configuration, callerName string) error
AddDeployerToManager adds a new helm deployers to a controller manager.
func NewDeployItemBuilder ¶
func NewDeployItemBuilder() *utils.DeployItemBuilder
NewDeployItemBuilder creates a new deployitem builder for manifest deployitems
func NewDeployer ¶
func NewDeployer(lsRestConfig *rest.Config, lsUncachedClient, lsCachedClient, hostUncachedClient, hostCachedClient client.Client, log logging.Logger, config manifestv1alpha2.Configuration) (deployerlib.Deployer, error)
NewDeployer creates a new deployer that reconciles deploy items of type helm.
Types ¶
type Manifest ¶
type Manifest struct { Configuration *manifestv1alpha2.Configuration DeployItem *lsv1alpha1.DeployItem Target *lsv1alpha1.ResolvedTarget ProviderConfiguration *manifestv1alpha2.ProviderConfiguration ProviderStatus *manifestv1alpha2.ProviderStatus // contains filtered or unexported fields }
Manifest is the internal representation of a DeployItem of Type Manifest
func New ¶
func New(lsUncachedClient client.Client, hostUncachedClient client.Client, configuration *manifestv1alpha2.Configuration, item *lsv1alpha1.DeployItem, rt *lsv1alpha1.ResolvedTarget) (*Manifest, error)
New creates a new internal manifest item
func (*Manifest) CheckResourcesReady ¶
CheckResourcesReady checks if the managed resources are Ready/Healthy.
func (*Manifest) SetLsRestConfig ¶ added in v0.120.0
func (*Manifest) Writer ¶
func (m *Manifest) Writer() *read_write_layer.Writer
Click to show internal directories.
Click to hide internal directories.