Documentation ¶
Index ¶
Constants ¶
View Source
const (
ReconcilerName = "SourceResolvers"
)
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( opt reconciler.Options, sourceResolverInformer buildinformers.SourceResolverInformer, gitResolver Resolver, blobResolver Resolver, registryResolver Resolver, ) *controller.Impl
Types ¶
type Enqueuer ¶
type Enqueuer interface {
Enqueue(*buildapi.SourceResolver) error
}
type Reconciler ¶
type Reconciler struct { GitResolver Resolver BlobResolver Resolver RegistryResolver Resolver Enqueuer Enqueuer Client versioned.Interface SourceResolverLister buildlisters.SourceResolverLister }
type Resolver ¶
type Resolver interface { Resolve(context.Context, *buildapi.SourceResolver) (corev1alpha1.ResolvedSourceConfig, error) CanResolve(*buildapi.SourceResolver) bool }
Click to show internal directories.
Click to hide internal directories.