Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReconcilerName = "CustomBuilders" Kind = "CustomBuilder" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( opt reconciler.Options, informer v1alpha1informers.CustomClusterBuilderInformer, repoFactory NewBuildpackRepository, builderCreator BuilderCreator, keychainFactory registry.KeychainFactory, storeInformer v1alpha1informers.StoreInformer, stackInformer v1alpha1informers.StackInformer, ) *controller.Impl
Types ¶
type BuilderCreator ¶
type BuilderCreator interface {
CreateBuilder(keychain authn.Keychain, buildpackRepo cnb.BuildpackRepository, stack *expv1alpha1.Stack, spec expv1alpha1.CustomBuilderSpec) (v1alpha1.BuilderRecord, error)
}
type NewBuildpackRepository ¶
type NewBuildpackRepository func(store *expv1alpha1.Store) cnb.BuildpackRepository
type Reconciler ¶
type Reconciler struct { Client versioned.Interface CustomClusterBuilderLister v1alpha1Listers.CustomClusterBuilderLister RepoFactory NewBuildpackRepository BuilderCreator BuilderCreator KeychainFactory registry.KeychainFactory Tracker reconciler.Tracker StoreLister v1alpha1Listers.StoreLister StackLister v1alpha1Listers.StackLister }
Click to show internal directories.
Click to hide internal directories.