Documentation ¶
Index ¶
- type Builder
- func (b *Builder) Build(r reconcile.Reconciler) (controller.Controller, error)
- func (b *Builder) Complete(r reconcile.Reconciler) error
- func (b *Builder) FilterNoTargetNamespace() *Builder
- func (b *Builder) For(object client.Object, opts ...ForOption) *Builder
- func (b *Builder) Named(name string) *Builder
- func (b *Builder) Owns(object client.Object, opts ...OwnsOption) *Builder
- func (b *Builder) OwnsTarget(object client.Object, opts ...OwnsTargetOption) *Builder
- func (b *Builder) ReferencesTargetViaField(object client.Object, field string, opts ...ReferencesTargetViaFieldOption) *Builder
- func (b *Builder) ReferencesViaField(object client.Object, field string, opts ...ReferencesViaFieldOption) *Builder
- func (b *Builder) WatchTargetNamespaceCreated() *Builder
- func (b *Builder) Watches(src source.Source, eventHandler handler.EventHandler, opts ...WatchesOption) *Builder
- func (b *Builder) WatchesTarget(src source.Source, eventHandler handler.EventHandler, ...) *Builder
- func (b *Builder) WithEventFilter(p predicate.Predicate) *Builder
- func (b *Builder) WithOptions(opts brokercontroller.Options) *Builder
- func (b *Builder) WithTargetEventFilter(p predicate.Predicate) *Builder
- type ForInput
- type ForOption
- type OwnsInput
- type OwnsOption
- type OwnsTargetInput
- type OwnsTargetOption
- type Predicates
- func (p Predicates) ApplyToFor(o *ForInput)
- func (p Predicates) ApplyToOwns(o *OwnsInput)
- func (p Predicates) ApplyToOwnsTarget(o *OwnsTargetInput)
- func (p Predicates) ApplyToReferencesTargetViaField(o *ReferencesTargetViaFieldInput)
- func (p Predicates) ApplyToReferencesViaField(o *ReferencesViaFieldInput)
- func (p Predicates) ApplyToWatches(o *WatchesInput)
- func (p Predicates) ApplyToWatchesTarget(o *WatchesTargetInput)
- type ReferencesTargetViaFieldInput
- type ReferencesTargetViaFieldOption
- type ReferencesViaFieldInput
- type ReferencesViaFieldOption
- type WatchesInput
- type WatchesOption
- type WatchesTargetInput
- type WatchesTargetOption
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 (*Builder) Build ¶
func (b *Builder) Build(r reconcile.Reconciler) (controller.Controller, error)
func (*Builder) FilterNoTargetNamespace ¶
func (*Builder) OwnsTarget ¶
func (b *Builder) OwnsTarget(object client.Object, opts ...OwnsTargetOption) *Builder
func (*Builder) ReferencesTargetViaField ¶
func (*Builder) ReferencesViaField ¶
func (*Builder) WatchTargetNamespaceCreated ¶
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) WithOptions ¶
func (b *Builder) WithOptions(opts brokercontroller.Options) *Builder
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)
}
Click to show internal directories.
Click to hide internal directories.