Documentation ¶
Overview ¶
Package worker ensure the expected named ports are set on all node pools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortMapper ¶
type PortMapper struct {
// contains filtered or unexported fields
}
PortMapper is worker synchronizing GCP named ports and services annotations
func NewWorker ¶
func NewWorker(config *config.KnpConfig) *PortMapper
NewWorker returns a PortMapper worker
func (*PortMapper) Add ¶
func (p *PortMapper) Add(name string, port int64)
Add declares a named port we want to keep in sync with GCP
func (*PortMapper) AddMap ¶ added in v0.4.0
func (p *PortMapper) AddMap(ports np.PortList)
AddMap add several ports in one go
Click to show internal directories.
Click to hide internal directories.