Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientset ¶
func GetClientset(kubeconfig string) (*kubernetes.Clientset, error)
GetClientset returns kubernetes clientset built based on either kubectl config file or for in-cluster mode on a mounted service account token
Types ¶
type EndpointSliceController ¶
type EndpointSliceController interface {
Start(<-chan struct{}) error
}
EndpointSliceController defines interface for managing EndpointSlice controller
func NewEndpointSliceController ¶
func NewEndpointSliceController( proxy proxy.Proxy, kubeClientset kubernetes.Interface, epSliceInformer v1beta1.EndpointSliceInformer) EndpointSliceController
NewEndpointSliceController returns a new EndpointSlice controller
type EndpointsController ¶
type EndpointsController interface {
Start(<-chan struct{}) error
}
EndpointsController defines interface for managing Endpoints controller
func NewEndpointsController ¶
func NewEndpointsController( proxy proxy.Proxy, kubeClientset kubernetes.Interface, epInformer corev1informer.EndpointsInformer) EndpointsController
NewEndpointsController returns a new Endpoints controller
type ServiceController ¶
type ServiceController interface {
Start(<-chan struct{}) error
}
ServiceController defines interface for managing Services controller
func NewServiceController ¶
func NewServiceController( proxy proxy.Proxy, kubeClientset kubernetes.Interface, svcInformer corev1informer.ServiceInformer) ServiceController
NewServiceController returns a new serices controller wathing and calling Proxy methods for services add/delete/update events.
Click to show internal directories.
Click to hide internal directories.