SYMBOL INDEX (136 symbols across 36 files) FILE: cmd/cli/cmds/completion.go constant defaultBoilerPlate (line 14) | defaultBoilerPlate = ` function NewCmdCompletion (line 109) | func NewCmdCompletion(out io.Writer, boilerPlate string) *cobra.Command { function RunCompletion (line 131) | func RunCompletion(out io.Writer, boilerPlate string, cmd *cobra.Command... function runCompletionBash (line 146) | func runCompletionBash(out io.Writer, boilerPlate string, kubectl *cobra... function runCompletionZsh (line 157) | func runCompletionZsh(out io.Writer, boilerPlate string, kubectl *cobra.... function runCompletionFish (line 171) | func runCompletionFish(out io.Writer, boilerPlate string, kubectl *cobra... function runCompletionPwsh (line 182) | func runCompletionPwsh(out io.Writer, boilerPlate string, kubectl *cobra... FILE: cmd/cli/kubetunnel.go function init (line 21) | func init() { function main (line 35) | func main() { function NewRootCmd (line 56) | func NewRootCmd() *cobra.Command { function NewVersionCmd (line 72) | func NewVersionCmd() *cobra.Command { function NewInstallKubeTunnelCmd (line 85) | func NewInstallKubeTunnelCmd() *cobra.Command { function NewCreateTunnelCmd (line 113) | func NewCreateTunnelCmd() *cobra.Command { FILE: cmd/operator/main.go type ServiceReq (line 55) | type ServiceReq struct function init (line 62) | func init() { function main (line 68) | func main() { function startGin (line 185) | func startGin() { function serviceHandler (line 194) | func serviceHandler(c *gin.Context) { function connectToKubernetes (line 213) | func connectToKubernetes(namespace string) *kube.Kube { function patchServiceWithLabel (line 225) | func patchServiceWithLabel(k *kube.Kube, serviceName string, connected b... function getEnvVar (line 337) | func getEnvVar(variable string) string { FILE: cmd/operator/main_test.go function TestPatchServiceWithLabel (line 8) | func TestPatchServiceWithLabel(t *testing.T) { FILE: cmd/server/kubetunnel-server.go function main (line 27) | func main() { function startJob (line 46) | func startJob() { function startGin (line 54) | func startGin() { function portChecker (line 61) | func portChecker() { function healthHandler (line 110) | func healthHandler(c *gin.Context) { function patchService (line 119) | func patchService(namespace string, serviceName string, isConnected bool... function getEnvVar (line 140) | func getEnvVar(variable string) string { FILE: pkg/clients/helm/helm.go type Helm (line 14) | type Helm struct method InstallKubeTunnelOperator (line 71) | func (c *Helm) InstallKubeTunnelOperator(chartVersion string) error { type EMPTY (line 19) | type EMPTY struct function MustNew (line 22) | func MustNew(kube *kube.Kube) *Helm { function install (line 78) | func install(c *Helm, chartName string, chartVersion string, releaseName... function installWithNamespace (line 83) | func installWithNamespace(c *Helm, chartName string, chartVersion string... FILE: pkg/clients/helm/helm_test.go function TestInstallingOperator (line 10) | func TestInstallingOperator(t *testing.T) { FILE: pkg/clients/helm/models/pod_selector_label.go type PodSelectorLabel (line 5) | type PodSelectorLabel struct method String (line 10) | func (p PodSelectorLabel) String() string { method MarshalYAML (line 15) | func (p PodSelectorLabel) MarshalYAML() (interface{}, error) { FILE: pkg/clients/kube/kube.go type Kube (line 22) | type Kube struct method GetPodLabelsByLabelSelector (line 64) | func (k *Kube) GetPodLabelsByLabelSelector(namespace string, podLabelS... method GetServiceContextWithNamespace (line 88) | func (k *Kube) GetServiceContextWithNamespace(name string, namespace s... method GetServiceContext (line 108) | func (k *Kube) GetServiceContext(name string) (*servicecontext.Service... method ListServiceNamesWithoutKubeTunnel (line 113) | func (k *Kube) ListServiceNamesWithoutKubeTunnel() (serviceNames []str... method PortForward (line 133) | func (k *Kube) PortForward(serviceName string, port string) (listening... method CreateKubeTunnelResource (line 168) | func (k *Kube) CreateKubeTunnelResource(resourceSpec models.KubeTunnel... method ConnectivityCheck (line 224) | func (k *Kube) ConnectivityCheck() error { method RBACCheck (line 234) | func (k *Kube) RBACCheck() error { function MustNew (line 28) | func MustNew(kubeConf string, namespace string) *Kube { function New (line 39) | func New(kubeConf string, namespace string) (kube *Kube, err error) { function createInClusterKubeClient (line 263) | func createInClusterKubeClient() (*kubernetes.Clientset, *rest.Config, e... function mustCreateOutOfClusterKubeClient (line 282) | func mustCreateOutOfClusterKubeClient(kubeConf string) (*kubernetes.Clie... FILE: pkg/clients/kube/kube_test.go function TestGetServiceWithSinglePortOnDefaultNamespace (line 10) | func TestGetServiceWithSinglePortOnDefaultNamespace(t *testing.T) { function TestGetServiceWithMultiplePortsOnDefaultNamespace (line 21) | func TestGetServiceWithMultiplePortsOnDefaultNamespace(t *testing.T) { function TestGetServiceFromExplicitNamespaceWithMultipleLables (line 32) | func TestGetServiceFromExplicitNamespaceWithMultipleLables(t *testing.T) { function TestKubePortForward (line 44) | func TestKubePortForward(t *testing.T) { function TestCreateKubeTunnelResource (line 54) | func TestCreateKubeTunnelResource(t *testing.T) { function TestGetPodLabelsByServiceName (line 69) | func TestGetPodLabelsByServiceName(t *testing.T) { FILE: pkg/clients/kube/patch_operation.go type PatchOperation (line 3) | type PatchOperation struct FILE: pkg/clients/kube/servicecontext/service_context.go type ServiceContext (line 5) | type ServiceContext struct FILE: pkg/clients/kube/servicecontext/utils.go function ToKubeTunnelResourceSpec (line 14) | func ToKubeTunnelResourceSpec(ctx *ServiceContext, podLabels map[string]... function ToFRPClientPairs (line 38) | func ToFRPClientPairs(localIP string, remotePortByLocal map[string]strin... FILE: pkg/clients/kube/servicecontext/utils_test.go function TestServiceContextToFRPSValues (line 10) | func TestServiceContextToFRPSValues(t *testing.T) { function TestWhenCallingToFRPClientPairs_AndNotAllPortMapFound_MapOnlyExistingPorts (line 38) | func TestWhenCallingToFRPClientPairs_AndNotAllPortMapFound_MapOnlyExisti... function TestWhenCallingToFRPClientPairs_AndAllPortMapFound_MapAllPorts (line 62) | func TestWhenCallingToFRPClientPairs_AndAllPortMapFound_MapAllPorts(t *t... FILE: pkg/constants/constants.go constant DcodeChartRepo (line 4) | DcodeChartRepo = "https://we-dcode.github.io/kubetunnel" constant DcodeSlug (line 5) | DcodeSlug = "we-dcode" constant KubetunnelOperatorChartName (line 6) | KubetunnelOperatorChartName = DcodeSlug + "/kubetunnel-operator" constant FRPServerPort (line 7) | FRPServerPort = "7000" constant KubetunnelSlug (line 8) | KubetunnelSlug = "kubetunnel" constant KubeTunnelApiVersion (line 9) | KubeTunnelApiVersion = "application.dcode.tech/v1" constant KubeTunnelKind (line 10) | KubeTunnelKind = "Kubetunnel" FILE: pkg/frp/frpc/frpclient.go type ServicePair (line 12) | type ServicePair struct function Execute (line 18) | func Execute(common models.Common, servicePair []ServicePair) (cancelCha... function createToml (line 46) | func createToml(common models.Common, servicePair []ServicePair) string { FILE: pkg/frp/frpc/frpclient_test.go function TestInstallingKubetunnelGC (line 10) | func TestInstallingKubetunnelGC(t *testing.T) { FILE: pkg/frp/frpc/manager.go type Manager (line 17) | type Manager struct method RunFRPc (line 30) | func (m *Manager) RunFRPc() { method WaitForLocalPortToBecomeAvailable (line 52) | func (m *Manager) WaitForLocalPortToBecomeAvailable() { method WaitForLocalPortToBecomeUnavailableAndCancel (line 63) | func (m *Manager) WaitForLocalPortToBecomeUnavailableAndCancel(channel... function NewManager (line 22) | func NewManager(common models.Common, servicePair []ServicePair, hostFil... function ChangeHostToKubeTunnel (line 78) | func ChangeHostToKubeTunnel(hostFile *fwdport.HostFileWithLock, kubeTunn... FILE: pkg/frp/frpc/manager_test.go function TestFrpClientManager (line 9) | func TestFrpClientManager(t *testing.T) { FILE: pkg/frp/frputil/parser.go function ParseClientConfig (line 11) | func ParseClientConfig(toml []byte) ( function getIncludeContents (line 59) | func getIncludeContents(paths []string) ([]byte, error) { FILE: pkg/frp/frputil/parser_test.go function TestGetServiceWithSinglePortOnDefaultNamespace (line 11) | func TestGetServiceWithSinglePortOnDefaultNamespace(t *testing.T) { FILE: pkg/frp/models/frp_client_config.go type FrpClientConfig (line 3) | type FrpClientConfig type Common (line 10) | type Common struct type Service (line 15) | type Service struct FILE: pkg/kubefwd/kubefwd.go function init (line 41) | func init() { function newRootCmd (line 55) | func newRootCmd() *cobra.Command { type LogOutputSplitter (line 78) | type LogOutputSplitter struct method Write (line 80) | func (splitter *LogOutputSplitter) Write(p []byte) (n int, err error) { function Execute (line 88) | func Execute(kubeClient *kube.Kube, frpsValues *models.KubeTunnelResourc... function WaitUntilKubeTunnelIsUp (line 162) | func WaitUntilKubeTunnelIsUp(frpsValues *models.KubeTunnelResourceSpec, ... function IsChannelClosed (line 178) | func IsChannelClosed(ch <-chan struct{}) bool { function watchServiceEvents (line 187) | func watchServiceEvents(opts *services.NamespaceOpts, stopListenCh <-cha... function AddServiceHandler (line 227) | func AddServiceHandler(opts *services.NamespaceOpts, obj interface{}) { function UpdateServiceHandler (line 289) | func UpdateServiceHandler(opts *services.NamespaceOpts, oldObj interface... FILE: pkg/kubetunnel.go type KubeTunnel (line 19) | type KubeTunnel struct method Install (line 63) | func (ct *KubeTunnel) Install(operatorVersion string) { method CreateTunnel (line 71) | func (ct *KubeTunnel) CreateTunnel(tunnelConf KubeTunnelConf) { type KubeTunnelConf (line 24) | type KubeTunnelConf struct function MustNewKubeTunnel (line 30) | func MustNewKubeTunnel(kubeConfig string, namespace string, privileged b... function CheckRootPermissions (line 117) | func CheckRootPermissions() error { FILE: pkg/kubetunnel_test.go function TestRunningKubeTunnelE2E2 (line 8) | func TestRunningKubeTunnelE2E2(t *testing.T) { FILE: pkg/models/kubetunnel_resource.go type KubeTunnelResource (line 9) | type KubeTunnelResource struct type KubeTunnelResourceSpec (line 15) | type KubeTunnelResourceSpec struct method KubeTunnelServiceName (line 21) | func (v *KubeTunnelResourceSpec) KubeTunnelServiceName() string { type Ports (line 26) | type Ports struct method String (line 30) | func (p Ports) String() string { method MarshalYAML (line 35) | func (p Ports) MarshalYAML() (interface{}, error) { method UnmarshalJSON (line 40) | func (p *Ports) UnmarshalJSON(b []byte) error { method MarshalJSON (line 53) | func (p Ports) MarshalJSON() ([]byte, error) { FILE: pkg/notify/cancellation_channel.go type CancellationChannel (line 5) | type CancellationChannel struct method WaitForCancellation (line 27) | func (s *CancellationChannel) WaitForCancellation() { method Cancel (line 31) | func (s *CancellationChannel) Cancel() { method CancelWithReason (line 40) | func (s *CancellationChannel) CancelWithReason(reason error) { method IsCancelled (line 45) | func (s *CancellationChannel) IsCancelled() bool { function NewCancellationChannel (line 12) | func NewCancellationChannel() *CancellationChannel { function NewCancellationChannelWithCallback (line 19) | func NewCancellationChannelWithCallback(callback func()) *CancellationCh... FILE: pkg/notify/cancellation_channel_test.go function TestSignal_HasNotified (line 9) | func TestSignal_HasNotified(t *testing.T) { function TestSignal_CancelledTwice (line 20) | func TestSignal_CancelledTwice(t *testing.T) { FILE: pkg/notify/killsignal/killsignal.go function init (line 16) | func init() { function WaitForKillSignal (line 36) | func WaitForKillSignal() { function HasKillSignaled (line 40) | func HasKillSignaled() bool { FILE: pkg/utils/hostsutils/hostsutils.go function HostsCleanup (line 10) | func HostsCleanup(hosts *txeh.Hosts) { function ReplaceAddressForHost (line 27) | func ReplaceAddressForHost(hosts *txeh.Hosts, srcHost, dstHost string) { FILE: pkg/utils/hostsutils/hostsutils_test.go function TestReplaceHostAddress (line 10) | func TestReplaceHostAddress(t *testing.T) { FILE: pkg/utils/logutil/logutil.go type LogOutputSplitter (line 8) | type LogOutputSplitter struct method Write (line 10) | func (splitter *LogOutputSplitter) Write(p []byte) (n int, err error) { FILE: pkg/utils/tcputil/tcputil.go function IsAvailable (line 9) | func IsAvailable(host string, port string) bool { FILE: pkg/utils/tcputil/tcputil_test.go function TestFRPConnectivityWhenFRPCDestinationIsNotAvailable (line 9) | func TestFRPConnectivityWhenFRPCDestinationIsNotAvailable(t *testing.T) { FILE: pkg/utils/tomlutil/tomlutil.go function Marshal (line 8) | func Marshal(v interface{}) (string, error) { FILE: pkg/utils/tomlutil/tomlutil_test.go function TestMarshalTomlWithCommonOnly (line 10) | func TestMarshalTomlWithCommonOnly(t *testing.T) { function TestMarshalTomlWithMultipleServices (line 25) | func TestMarshalTomlWithMultipleServices(t *testing.T) {