Documentation ¶
Index ¶
- type Kube
- func (k *Kube) ConnectivityCheck() error
- func (k *Kube) CreateKubeTunnelResource(resourceSpec models.KubeTunnelResourceSpec) error
- func (k *Kube) GetPodLabelsByLabelSelector(namespace string, podLabelSelectors map[string]string) (map[string]string, error)
- func (k *Kube) GetServiceContext(name string) (*servicecontext.ServiceContext, error)
- func (k *Kube) GetServiceContextWithNamespace(name string, namespace string) (*servicecontext.ServiceContext, error)
- func (k *Kube) ListServiceNamesWithoutKubeTunnel() (serviceNames []string, err error)
- func (k *Kube) PortForward(serviceName string, port string) (listeningPort int, err error)
- func (k *Kube) RBACCheck() error
- type PatchOperation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kube ¶
type Kube struct { InnerKubeClient *kubernetes.Clientset Config *rest.Config Namespace string }
func (*Kube) ConnectivityCheck ¶
func (*Kube) CreateKubeTunnelResource ¶
func (k *Kube) CreateKubeTunnelResource(resourceSpec models.KubeTunnelResourceSpec) error
func (*Kube) GetPodLabelsByLabelSelector ¶
func (*Kube) GetServiceContext ¶
func (k *Kube) GetServiceContext(name string) (*servicecontext.ServiceContext, error)
func (*Kube) GetServiceContextWithNamespace ¶
func (k *Kube) GetServiceContextWithNamespace(name string, namespace string) (*servicecontext.ServiceContext, error)
func (*Kube) ListServiceNamesWithoutKubeTunnel ¶
func (*Kube) PortForward ¶
type PatchOperation ¶
Click to show internal directories.
Click to hide internal directories.