Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseAddresses ¶ added in v0.7.0
func ParseAddresses(clientset kubernetes.Interface, namespace string) ([]string, error)
ParseAddresses parses the whitelist IP address from Namespace's annotation
Types ¶
type Controller ¶ added in v0.7.0
type Controller struct {
// contains filtered or unexported fields
}
Controller represents the controller of service
func NewController ¶
func NewController( cfg *config.Config, clientset kubernetes.Interface, blendedset blended.Interface, informer informerv1.ServiceInformer) *Controller
NewController creates an instance of the service controller
func (*Controller) Run ¶ added in v0.7.0
func (c *Controller) Run(ctx context.Context, threadiness int) error
Run serves the service controller
func (*Controller) Stop ¶ added in v0.7.0
func (c *Controller) Stop()
Stop stops the service controller
Click to show internal directories.
Click to hide internal directories.