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