Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶ added in v0.9.0
func Register(ctx *synccontext.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 ServiceClient 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 *synccontext.ControllerContext, provider provider) *EndpointController
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
type EndpointsV1BetaProvider ¶ added in v0.26.0
type EndpointsV1BetaProvider struct{}
func (*EndpointsV1BetaProvider) CreateClientObject ¶ added in v0.26.0
func (p *EndpointsV1BetaProvider) CreateClientObject() client.Object
func (*EndpointsV1BetaProvider) CreateOrPatch ¶ added in v0.26.0
type EndpointsV1Provider ¶ added in v0.26.0
type EndpointsV1Provider struct{}
func (*EndpointsV1Provider) CreateClientObject ¶ added in v0.26.0
func (p *EndpointsV1Provider) CreateClientObject() client.Object
func (*EndpointsV1Provider) CreateOrPatch ¶ added in v0.26.0
Click to show internal directories.
Click to hide internal directories.