Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPackageRepoApp ¶
func NewPackageRepoApp(pkgRepository *pkgingv1alpha1.PackageRepository) (*kcv1alpha1.App, error)
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (App) HasImageOrImgpkgBundle ¶ added in v0.24.0
HasImageOrImgpkgBundle is used to determine if the App's spec contains a fetch stage for an image or imgpkgbundle. It is mainly used to determine whether to retry a fetch attempt when placeholder secrets are involved with authenticating to private registries. Placeholder secrets are not always populated quick enough for Apps to use the secret, and private auth is only supported for images/bundles, so this helps to narrow down when to retry a fetch attempt.
func (*App) SecretRefs ¶
func (a *App) SecretRefs() map[reftracker.RefKey]struct{}
type CRDApp ¶
type CRDApp struct {
// contains filtered or unexported fields
}
func NewCRDApp ¶
func NewCRDApp(appModel *kcv1alpha1.App, packageRepo *pkgingv1alpha1.PackageRepository, log logr.Logger, appClient kcclient.Interface, fetchFactory fetch.Factory, templateFactory template.Factory, deployFactory deploy.Factory) *CRDApp
func (*CRDApp) ResourceRefs ¶
func (a *CRDApp) ResourceRefs() map[reftracker.RefKey]struct{}
type ReconcileTimer ¶
type ReconcileTimer struct {
// contains filtered or unexported fields
}
func NewReconcileTimer ¶
func NewReconcileTimer(app v1alpha1.App) ReconcileTimer
func (ReconcileTimer) DurationUntilReady ¶
func (rt ReconcileTimer) DurationUntilReady(err error) time.Duration
Click to show internal directories.
Click to hide internal directories.