clusterBuilder

package
v0.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ReconcilerName = "ClusterBuilders"
	Kind           = "ClusterBuilder"
)

Variables

This section is empty.

Functions

func NewController

func NewController(
	opt reconciler.Options,
	informer v1alpha1informers.ClusterBuilderInformer,
	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
	ClusterBuilderLister v1alpha1Listers.ClusterBuilderLister
	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