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