k8sdefaultendpoint

package
v0.19.8 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register added in v0.9.0

func Register(ctx *options.ControllerContext) error

func ShouldUseLegacy added in v0.9.0

func ShouldUseLegacy(discoveryClient discovery.DiscoveryInterface) (bool, error)

Types

type EndpointController added in v0.9.0

type EndpointController struct {
	ServiceName      string
	ServiceNamespace string

	LocalClient         client.Client
	VirtualClient       client.Client
	VirtualManagerCache cache.Cache

	Log loghelper.Logger
	// contains filtered or unexported fields
}

func NewEndpointController added in v0.9.0

func NewEndpointController(ctx *options.ControllerContext, provider provider) *EndpointController

func (*EndpointController) Reconcile added in v0.9.0

func (e *EndpointController) Reconcile(ctx context.Context, _ ctrl.Request) (ctrl.Result, error)

func (*EndpointController) Register added in v0.9.0

func (e *EndpointController) Register(mgr ctrl.Manager) error

func (*EndpointController) SetupWithManager added in v0.9.0

func (e *EndpointController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager adds the controller to the manager

Jump to

Keyboard shortcuts

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