builder

package
v0.0.0-...-48ff17a Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func ControllerManagedBy

func ControllerManagedBy(mgr manager.Manager, clusterName string) *Builder

func (*Builder) Build

func (*Builder) Complete

func (b *Builder) Complete(r reconcile.Reconciler) error

func (*Builder) FilterNoTargetNamespace

func (b *Builder) FilterNoTargetNamespace() *Builder

func (*Builder) For

func (b *Builder) For(object client.Object, opts ...ForOption) *Builder

func (*Builder) Named

func (b *Builder) Named(name string) *Builder

func (*Builder) Owns

func (b *Builder) Owns(object client.Object, opts ...OwnsOption) *Builder

func (*Builder) OwnsTarget

func (b *Builder) OwnsTarget(object client.Object, opts ...OwnsTargetOption) *Builder

func (*Builder) ReferencesTargetViaField

func (b *Builder) ReferencesTargetViaField(object client.Object, field string, opts ...ReferencesTargetViaFieldOption) *Builder

func (*Builder) ReferencesViaField

func (b *Builder) ReferencesViaField(object client.Object, field string, opts ...ReferencesViaFieldOption) *Builder

func (*Builder) WatchTargetNamespaceCreated

func (b *Builder) WatchTargetNamespaceCreated() *Builder

func (*Builder) Watches

func (b *Builder) Watches(src source.Source, eventHandler handler.EventHandler, opts ...WatchesOption) *Builder

func (*Builder) WatchesTarget

func (b *Builder) WatchesTarget(src source.Source, eventHandler handler.EventHandler, opts ...WatchesTargetOption) *Builder

func (*Builder) WithEventFilter

func (b *Builder) WithEventFilter(p predicate.Predicate) *Builder

func (*Builder) WithOptions

func (b *Builder) WithOptions(opts brokercontroller.Options) *Builder

func (*Builder) WithTargetEventFilter

func (b *Builder) WithTargetEventFilter(p predicate.Predicate) *Builder

type ForInput

type ForInput struct {
	// contains filtered or unexported fields
}

type ForOption

type ForOption interface {
	ApplyToFor(o *ForInput)
}

type OwnsInput

type OwnsInput struct {
	// contains filtered or unexported fields
}

type OwnsOption

type OwnsOption interface {
	ApplyToOwns(o *OwnsInput)
}

type OwnsTargetInput

type OwnsTargetInput struct {
	// contains filtered or unexported fields
}

type OwnsTargetOption

type OwnsTargetOption interface {
	ApplyToOwnsTarget(o *OwnsTargetInput)
}

type Predicates

type Predicates struct {
	// contains filtered or unexported fields
}

func WithPredicates

func WithPredicates(predicates ...predicate.Predicate) Predicates

func (Predicates) ApplyToFor

func (p Predicates) ApplyToFor(o *ForInput)

func (Predicates) ApplyToOwns

func (p Predicates) ApplyToOwns(o *OwnsInput)

func (Predicates) ApplyToOwnsTarget

func (p Predicates) ApplyToOwnsTarget(o *OwnsTargetInput)

func (Predicates) ApplyToReferencesTargetViaField

func (p Predicates) ApplyToReferencesTargetViaField(o *ReferencesTargetViaFieldInput)

func (Predicates) ApplyToReferencesViaField

func (p Predicates) ApplyToReferencesViaField(o *ReferencesViaFieldInput)

func (Predicates) ApplyToWatches

func (p Predicates) ApplyToWatches(o *WatchesInput)

func (Predicates) ApplyToWatchesTarget

func (p Predicates) ApplyToWatchesTarget(o *WatchesTargetInput)

type ReferencesTargetViaFieldInput

type ReferencesTargetViaFieldInput struct {
	// contains filtered or unexported fields
}

type ReferencesTargetViaFieldOption

type ReferencesTargetViaFieldOption interface {
	ApplyToReferencesTargetViaField(o *ReferencesTargetViaFieldInput)
}

type ReferencesViaFieldInput

type ReferencesViaFieldInput struct {
	// contains filtered or unexported fields
}

type ReferencesViaFieldOption

type ReferencesViaFieldOption interface {
	ApplyToReferencesViaField(o *ReferencesViaFieldInput)
}

type WatchesInput

type WatchesInput struct {
	// contains filtered or unexported fields
}

type WatchesOption

type WatchesOption interface {
	ApplyToWatches(o *WatchesInput)
}

type WatchesTargetInput

type WatchesTargetInput struct {
	// contains filtered or unexported fields
}

type WatchesTargetOption

type WatchesTargetOption interface {
	ApplyToWatchesTarget(o *WatchesTargetInput)
}

Jump to

Keyboard shortcuts

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