builder

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 17 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 buildinformers.BuilderInformer,
	builderCreator BuilderCreator,
	keychainFactory registry.KeychainFactory,
	clusterStoreInformer buildinformers.ClusterStoreInformer,
	clusterStackInformer buildinformers.ClusterStackInformer,
) (*controller.Impl, func())

Types

type BuilderCreator

type BuilderCreator interface {
	CreateBuilder(keychain authn.Keychain, clusterStore *buildapi.ClusterStore, clusterStack *buildapi.ClusterStack, spec buildapi.BuilderSpec) (buildapi.BuilderRecord, error)
}

type NewBuildpackRepository added in v0.1.0

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

type Reconciler

type Reconciler struct {
	Client             versioned.Interface
	BuilderLister      buildlisters.BuilderLister
	BuilderCreator     BuilderCreator
	KeychainFactory    registry.KeychainFactory
	Tracker            reconciler.Tracker
	ClusterStoreLister buildlisters.ClusterStoreLister
	ClusterStackLister buildlisters.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