service

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NginxConfig

type NginxConfig struct {
	NginxNamespace           string
	NginxTcpServiceConfigMap string
	NginxUdpServiceConfigMap string
}

type Reconciler added in v1.7.0

type Reconciler struct {
	*NginxConfig
	client.Client

	Informer cache.Informer
	// contains filtered or unexported fields
}

func NewServiceReconciler added in v1.7.0

func NewServiceReconciler(mgr manager.Manager, opts *NginxConfig) (*Reconciler, error)

func SetupWithManager

func SetupWithManager(mgr ctrl.Manager, opts *NginxConfig) (*Reconciler, error)

SetupWithManager sets up the controller with the Manager.

func (*Reconciler) OnServiceAdd added in v1.7.0

func (s *Reconciler) OnServiceAdd(obj interface{})

func (*Reconciler) OnServiceDelete added in v1.7.0

func (s *Reconciler) OnServiceDelete(obj interface{})

func (*Reconciler) OnServiceUpdate added in v1.7.0

func (s *Reconciler) OnServiceUpdate(oldObj, newObj interface{})

func (*Reconciler) Start added in v1.7.0

func (s *Reconciler) Start(ctx context.Context) error

Start keep sync cluster change by informer

Jump to

Keyboard shortcuts

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