clusterBuilder

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 15 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,
	clusterBuilderInformer v1alpha1informers.ClusterBuilderInformer,
	builderCreator BuilderCreator,
	keychainFactory registry.KeychainFactory,
	clusterStoreInformer v1alpha1informers.ClusterStoreInformer,
	clusterStackInformer v1alpha1informers.ClusterStackInformer,
) (*controller.Impl, func())

Types

type BuilderCreator

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

type Reconciler

type Reconciler struct {
	Client               versioned.Interface
	ClusterBuilderLister v1alpha1Listers.ClusterBuilderLister
	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