Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RemoteSSHProxyPort is the SSH proxy port used by the 'ekofr/monday-proxy' docker image // to make a remote-forward on the Kubernetes pod to be able to next forward trafic locally RemoteSSHProxyPort = 5022 // ProxyDockerImage is the path to the public Docker image acting as a proxy in the // Kubernetes cluster ProxyDockerImage = "ekofr/monday-proxy" // ProxyPortName is the name given to the SSH port used when deploying the proxy image into the // cluster ProxyPortName = "ssh-proxy" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentBackup ¶ added in v0.0.5
type DeploymentBackup struct { OldImage string OldPorts []apiv1.ContainerPort Deployment *appsv1.Deployment }
type Forwarder ¶
type Forwarder struct {
// contains filtered or unexported fields
}
func NewForwarder ¶
func (*Forwarder) GetForwardType ¶ added in v0.0.5
GetForwardType returns the type of the forward specified in the configuration (ssh, ssh-remote, kubernetes, ...)
func (*Forwarder) GetReadyChannel ¶ added in v0.0.6
func (f *Forwarder) GetReadyChannel() chan struct{}
GetReadyChannel returns the Kubernetes go client channel for ready event
func (*Forwarder) GetStopChannel ¶ added in v0.0.6
func (f *Forwarder) GetStopChannel() chan struct{}
GetStopChannel returns the Kubernetes go client channel for stop event
type Logstreamer ¶
type Logstreamer struct {
// contains filtered or unexported fields
}
func NewLogstreamer ¶
func NewLogstreamer(podName string) *Logstreamer
Click to show internal directories.
Click to hide internal directories.