k8sdefaultendpoint

package
v0.9.1-beta.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register added in v0.9.0

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 *controllercontext.ControllerContext, provider provider) *EndpointController

func (*EndpointController) Reconcile added in v0.9.0

func (e *EndpointController) Reconcile(ctx context.Context, req 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