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