Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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, _ 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
Click to show internal directories.
Click to hide internal directories.