service

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Types

type NginxConfig

type NginxConfig struct {
	NginxNamespace           string
	NginxTcpServiceConfigMap string
	NginxUdpServiceConfigMap string
}

type ServiceReconciler

type ServiceReconciler struct {
	*NginxConfig
	client.Client
}

ServiceReconciler reconciles a Tenant object

func (*ServiceReconciler) DeleteExternalAccess

func (s *ServiceReconciler) DeleteExternalAccess(ctx context.Context, namespaceName types.NamespacedName) (ctrl.Result, error)

func (*ServiceReconciler) Reconcile

func (s *ServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*ServiceReconciler) UpdateExternalAccess

func (s *ServiceReconciler) UpdateExternalAccess(ctx context.Context, namespaceName types.NamespacedName, svc *v1.Service) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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