controllers

package
v0.0.0-...-a025ef4 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: BSD-3-Clause Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLDNSEntryReconciler

type ACLDNSEntryReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Resolver ACLDNSResolver
}

ACLDNSEntryReconciler reconciles a ACLDNSEntry object

func (*ACLDNSEntryReconciler) FillStatus

func (r *ACLDNSEntryReconciler) FillStatus(ctx context.Context, dnsEntry *v1alpha1.ACLDNSEntry) error

func (*ACLDNSEntryReconciler) Reconcile

func (r *ACLDNSEntryReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*ACLDNSEntryReconciler) SetupWithManager

func (r *ACLDNSEntryReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ACLDNSResolver

type ACLDNSResolver interface {
	LookupIPAddr(context.Context, string) ([]net.IPAddr, error)
}
var DefaultResolver ACLDNSResolver = &net.Resolver{}

type ACLGarbageCollector

type ACLGarbageCollector struct {
	client.Client
	DryRun       bool
	DryRunOutput io.Writer
	Logger       logr.Logger
}

func (*ACLGarbageCollector) Loop

func (*ACLGarbageCollector) Run

func (a *ACLGarbageCollector) Run(ctx context.Context)

type ACLReconciler

type ACLReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	TsuruAPI tsuruapi.Client
	Resolver ACLDNSResolver
	// contains filtered or unexported fields
}

ACLReconciler reconciles a ACL object

func (*ACLReconciler) Reconcile

func (r *ACLReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*ACLReconciler) SetupWithManager

func (r *ACLReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type RpaasInstanceAddressReconciler

type RpaasInstanceAddressReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Resolver ACLDNSResolver
	TsuruAPI tsuruapi.Client
}

RpaasInstanceAddressReconciler reconciles a RpaasInstanceAddress object

func (*RpaasInstanceAddressReconciler) FillStatus

func (r *RpaasInstanceAddressReconciler) FillStatus(ctx context.Context, rpaasInstanceAddress *v1alpha1.RpaasInstanceAddress) error

func (*RpaasInstanceAddressReconciler) Reconcile

func (*RpaasInstanceAddressReconciler) SetupWithManager

func (r *RpaasInstanceAddressReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type RpaasInstanceReconciler

type RpaasInstanceReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

TsuruAppReconciler reconciles a Tsuru App object

func (*RpaasInstanceReconciler) Reconcile

func (r *RpaasInstanceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*RpaasInstanceReconciler) SetupWithManager

func (r *RpaasInstanceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TsuruAppAddressReconciler

type TsuruAppAddressReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Resolver ACLDNSResolver
	TsuruAPI tsuruapi.Client
}

TsuruAppAddressReconciler reconciles a TsuruAppAddress object

func (*TsuruAppAddressReconciler) FillStatus

func (r *TsuruAppAddressReconciler) FillStatus(ctx context.Context, appAddress *v1alpha1.TsuruAppAddress) error

func (*TsuruAppAddressReconciler) Reconcile

func (*TsuruAppAddressReconciler) SetupWithManager

func (r *TsuruAppAddressReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TsuruAppReconciler

type TsuruAppReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	ACLAPI aclapi.Client
}

TsuruAppReconciler reconciles a Tsuru App object

func (*TsuruAppReconciler) Reconcile

func (r *TsuruAppReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*TsuruAppReconciler) SetupWithManager

func (r *TsuruAppReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TsuruCronJobReconciler

type TsuruCronJobReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	ACLAPI aclapi.Client
}

TsuruAppReconciler reconciles a Tsuru App object

func (*TsuruCronJobReconciler) Reconcile

func (r *TsuruCronJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*TsuruCronJobReconciler) SetupWithManager

func (r *TsuruCronJobReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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