service

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToManager

func AddToManager(mgr manager.Manager, portforwardImage *string) error

add adds a new Controller to mgr with r as the reconcile.Reconciler

Types

type ServiceReconciler

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

ReconcileService reconciles a Service object

func (*ServiceReconciler) Reconcile

func (r *ServiceReconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Service object and makes changes based on the state read and what is in the Service.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

type ServiceWrangler

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

func (*ServiceWrangler) ExistingIPs

func (sw *ServiceWrangler) ExistingIPs() []string

func (*ServiceWrangler) FindPods

func (sw *ServiceWrangler) FindPods(ctx context.Context) (*corev1.PodList, error)

func (*ServiceWrangler) UpdateAddresses

func (sw *ServiceWrangler) UpdateAddresses(ctx context.Context, ips []string) error

Jump to

Keyboard shortcuts

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