Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReconcilerName = "ClusterBuilders" Kind = "ClusterBuilder" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( opt reconciler.Options, informer v1alpha1informers.ClusterBuilderInformer, repoFactory NewBuildpackRepository, builderCreator BuilderCreator, keychainFactory registry.KeychainFactory, clusterStoreInformer v1alpha1informers.ClusterStoreInformer, clusterStackInformer v1alpha1informers.ClusterStackInformer, ) *controller.Impl
Types ¶
type BuilderCreator ¶
type BuilderCreator interface {
CreateBuilder(keychain authn.Keychain, buildpackRepo cnb.BuildpackRepository, clusterStack *v1alpha1.ClusterStack, spec v1alpha1.BuilderSpec) (v1alpha1.BuilderRecord, error)
}
type NewBuildpackRepository ¶ added in v0.1.0
type NewBuildpackRepository func(clusterStore *v1alpha1.ClusterStore) cnb.BuildpackRepository
type Reconciler ¶
type Reconciler struct { Client versioned.Interface ClusterBuilderLister v1alpha1Listers.ClusterBuilderLister RepoFactory NewBuildpackRepository BuilderCreator BuilderCreator KeychainFactory registry.KeychainFactory Tracker reconciler.Tracker ClusterStoreLister v1alpha1Listers.ClusterStoreLister ClusterStackLister v1alpha1Listers.ClusterStackLister }
Click to show internal directories.
Click to hide internal directories.