Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(serviceFwd *fwdservice.ServiceFWD)
Add will add this service to the registry of services configured to do forwarding (if it wasn't already configured) and start the port-forwarding process.
func RemoveByName ¶
func RemoveByName(name string)
RemoveByName will shutdown and remove the service, identified by svcName.svcNamespace, from the inventory of services, if it was currently being configured to do forwarding.
func ShutDownAll ¶
func ShutDownAll()
ShutDownAll will shutdown all active services and remove them from the registry
Types ¶
type ServicesRegistry ¶
type ServicesRegistry struct {
// contains filtered or unexported fields
}
ServicesRegistry is a structure to hold all of the kubernetes services to do port-forwarding for.
Click to show internal directories.
Click to hide internal directories.