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, clusterBuildpackInformer buildinformers.ClusterBuildpackInformer, clusterStackInformer buildinformers.ClusterStackInformer, clusterLifecycleInformer buildinformers.ClusterLifecycleInformer, secretFetcher Fetcher, ) *controller.Impl
Types ¶
type BuilderCreator ¶
type BuilderCreator interface {
CreateBuilder(
ctx context.Context,
builderKeychain authn.Keychain,
stackKeychain authn.Keychain,
lifecycleKeychain authn.Keychain,
fetcher cnb.RemoteBuildpackFetcher,
clusterStack *buildapi.ClusterStack,
clusterLifecycle *buildapi.ClusterLifecycle,
spec buildapi.BuilderSpec,
serviceAccountSecrets []*corev1.Secret,
resolvedBuilderRef string,
) (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
ClusterBuildpackLister buildlisters.ClusterBuildpackLister
ClusterStackLister buildlisters.ClusterStackLister
ClusterLifecycleLister buildlisters.ClusterLifecycleLister
SecretFetcher Fetcher
}
Click to show internal directories.
Click to hide internal directories.