builder

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReconcilerName = "Builders"
	Kind           = "Builder"
)

Variables

This section is empty.

Functions

func NewController

func NewController(opt reconciler.Options,
	builderInformer v1alpha1informers.BuilderInformer,
	repoFactory NewBuildpackRepository,
	builderCreator BuilderCreator,
	keychainFactory registry.KeychainFactory,
	clusterStoreInformer v1alpha1informers.ClusterStoreInformer,
	clusterStackInformer v1alpha1informers.ClusterStackInformer,
) *controller.Impl

Types

type BuilderCreator

type BuilderCreator interface {
	CreateBuilder(keychain authn.Keychain, buildpackRepo cnb.BuildpackRepository, clusterStack *v1alpha1.ClusterStack, spec v1alpha1.BuilderSpec) (v1alpha1.BuilderRecord, error)
}

type NewBuildpackRepository added in v0.1.0

type NewBuildpackRepository func(clusterStore *v1alpha1.ClusterStore) cnb.BuildpackRepository

type Reconciler

type Reconciler struct {
	Client             versioned.Interface
	BuilderLister      v1alpha1Listers.BuilderLister
	RepoFactory        NewBuildpackRepository
	BuilderCreator     BuilderCreator
	KeychainFactory    registry.KeychainFactory
	Tracker            reconciler.Tracker
	ClusterStoreLister v1alpha1Listers.ClusterStoreLister
	ClusterStackLister v1alpha1Listers.ClusterStackLister
}

func (*Reconciler) Reconcile

func (c *Reconciler) Reconcile(ctx context.Context, key string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL