Documentation
¶
Index ¶
- type Kubectl
- func (k *Kubectl) ApplyFromPath(path string)
- func (k *Kubectl) BinaryName() string
- func (k *Kubectl) BinaryPath() string
- func (k *Kubectl) Command() string
- func (k *Kubectl) CurrentVersion() string
- func (k *Kubectl) DeleteFromPath(path string)
- func (k *Kubectl) DesiredVersion() string
- func (k *Kubectl) ForwardPort(forwarder *PortForwarder)
- func (k *Kubectl) ReleaseURL() *url.URL
- func (k *Kubectl) SetBinaryPath(path string)
- func (k *Kubectl) WaitForDaemonSetReady(pod Pod, timeout time.Duration)
- func (k *Kubectl) WaitForStatefulSetReady(pod Pod, timeout time.Duration)
- type Label
- type Pod
- type PortForwarder
- func (pf *PortForwarder) ContainerPort() int32
- func (pf *PortForwarder) IsForwarding() bool
- func (pf *PortForwarder) Kind() string
- func (pf *PortForwarder) LocalPort() int32
- func (pf *PortForwarder) Name() string
- func (pf *PortForwarder) Namespace() string
- func (pf *PortForwarder) Stop()
- func (pf *PortForwarder) String() string
- func (pf *PortForwarder) URL() *url.URL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kubectl ¶
type Kubectl struct {
// contains filtered or unexported fields
}
func (*Kubectl) ApplyFromPath ¶
func (*Kubectl) BinaryName ¶
func (*Kubectl) BinaryPath ¶
func (*Kubectl) CurrentVersion ¶
func (*Kubectl) DeleteFromPath ¶
func (*Kubectl) DesiredVersion ¶
func (*Kubectl) ForwardPort ¶
func (k *Kubectl) ForwardPort(forwarder *PortForwarder)
func (*Kubectl) SetBinaryPath ¶
func (*Kubectl) WaitForDaemonSetReady ¶
type PortForwarder ¶
type PortForwarder struct {
// contains filtered or unexported fields
}
func NewPortForwarder ¶
func NewPortForwarder(pod Pod, targetPort int32) *PortForwarder
func (*PortForwarder) ContainerPort ¶
func (pf *PortForwarder) ContainerPort() int32
func (*PortForwarder) IsForwarding ¶
func (pf *PortForwarder) IsForwarding() bool
func (*PortForwarder) Kind ¶
func (pf *PortForwarder) Kind() string
func (*PortForwarder) LocalPort ¶
func (pf *PortForwarder) LocalPort() int32
func (*PortForwarder) Name ¶
func (pf *PortForwarder) Name() string
func (*PortForwarder) Namespace ¶
func (pf *PortForwarder) Namespace() string
func (*PortForwarder) Stop ¶
func (pf *PortForwarder) Stop()
func (*PortForwarder) String ¶
func (pf *PortForwarder) String() string
func (*PortForwarder) URL ¶
func (pf *PortForwarder) URL() *url.URL
Click to show internal directories.
Click to hide internal directories.