Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReconcilerName = "Builds" Kind = "Build" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(opt reconciler.Options, k8sClient k8sclient.Interface, informer v1alpha1informer.BuildInformer, podInformer corev1Informers.PodInformer, metadataRetriever MetadataRetriever, podGenerator PodGenerator) *controller.Impl
Types ¶
type ByCreationTimestamp ¶
func (ByCreationTimestamp) Len ¶
func (o ByCreationTimestamp) Len() int
func (ByCreationTimestamp) Less ¶
func (o ByCreationTimestamp) Less(i, j int) bool
func (ByCreationTimestamp) Swap ¶
func (o ByCreationTimestamp) Swap(i, j int)
type MetadataRetriever ¶
type MetadataRetriever interface {
GetBuiltImage(repoName *v1alpha1.Build) (cnb.BuiltImage, error)
}
type PodGenerator ¶
type PodGenerator interface {
Generate(build buildpod.BuildPodable) (*corev1.Pod, error)
}
type Reconciler ¶
type Reconciler struct { Client versioned.Interface Lister v1alpha1lister.BuildLister MetadataRetriever MetadataRetriever K8sClient k8sclient.Interface PodLister v1Listers.PodLister PodGenerator PodGenerator }
Click to show internal directories.
Click to hide internal directories.