controllers

package
v0.0.0-...-19e3442 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ActionUpsert = "UPSERT"
	ActionDelete = "DELETE"
)

Functions

func DoNotRequeue

func DoNotRequeue() (ctrl.Result, error)

func GetChangeStatus53

func GetChangeStatus53(ctx context.Context, changeId, accessId, accessSecret string) (*route53.GetChangeOutput, error)

func RequeueAfter

func RequeueAfter(t time.Duration) (ctrl.Result, error)

func RequeueWithError

func RequeueWithError(e error) (ctrl.Result, error)

func UpsertRoute53

func UpsertRoute53(ctx context.Context, record v1alpha1.Route53Record, action, accessId, accessSecret string) error

Types

type DnsRecordReconciler

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

DnsRecordReconciler reconciles a DnsRecord object

func (*DnsRecordReconciler) FinalizeAwsRoute53

func (r *DnsRecordReconciler) FinalizeAwsRoute53(ctx context.Context, ns string, record v1alpha1.Route53Record) error

func (*DnsRecordReconciler) GetSecret

func (r *DnsRecordReconciler) GetSecret(ctx context.Context, ns string, secretName string, secretKey string) (string, error)

func (*DnsRecordReconciler) LogEvent

func (r *DnsRecordReconciler) LogEvent(ctx context.Context, level, reason, message string, req ctrl.Request, crd *netv1alpha1.DnsRecord)

LogEvent Creates an Event resource. Level must be either Normal or Warning

func (*DnsRecordReconciler) Reconcile

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

func (*DnsRecordReconciler) ReconcileRoute53

func (r *DnsRecordReconciler) ReconcileRoute53(ctx context.Context, ns string, record v1alpha1.Route53Record) error

func (*DnsRecordReconciler) SetupWithManager

func (r *DnsRecordReconciler) 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