Documentation ¶
Overview ¶
kubernetes package provides access to log collections on k8s
Index ¶
- type KubeArgs
- type KubectlK8sActions
- func (c *KubectlK8sActions) CopyFromHost(hostString string, isCoordinator bool, source, destination string) (out string, err error)
- func (c *KubectlK8sActions) CopyFromHostSudo(hostString string, isCoordinator bool, _, source, destination string) (out string, err error)
- func (c *KubectlK8sActions) CopyToHost(hostString string, isCoordinator bool, source, destination string) (out string, err error)
- func (c *KubectlK8sActions) CopyToHostSudo(hostString string, isCoordinator bool, _, source, destination string) (out string, err error)
- func (c *KubectlK8sActions) FindHosts(searchTerm string) (podName []string, err error)
- func (c *KubectlK8sActions) HelpText() string
- func (c *KubectlK8sActions) HostExecute(mask bool, hostString string, isCoordinator bool, args ...string) (out string, err error)
- func (c *KubectlK8sActions) HostExecuteAndStream(mask bool, hostString string, output cli.OutputHandler, isCoordinator bool, ...) (err error)
- func (c *KubectlK8sActions) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubectlK8sActions ¶
type KubectlK8sActions struct {
// contains filtered or unexported fields
}
KubectlK8sActions provides a way to collect and copy files using kubectl
func NewKubectlK8sActions ¶
func NewKubectlK8sActions(kubeArgs KubeArgs) *KubectlK8sActions
NewKubectlK8sActions is the only supported way to initialize the KubectlK8sActions struct one must pass the path to kubectl
func (*KubectlK8sActions) CopyFromHost ¶
func (*KubectlK8sActions) CopyFromHostSudo ¶
func (*KubectlK8sActions) CopyToHost ¶
func (*KubectlK8sActions) CopyToHostSudo ¶
func (*KubectlK8sActions) FindHosts ¶
func (c *KubectlK8sActions) FindHosts(searchTerm string) (podName []string, err error)
func (*KubectlK8sActions) HelpText ¶
func (c *KubectlK8sActions) HelpText() string
func (*KubectlK8sActions) HostExecute ¶
func (*KubectlK8sActions) HostExecuteAndStream ¶
func (c *KubectlK8sActions) HostExecuteAndStream(mask bool, hostString string, output cli.OutputHandler, isCoordinator bool, args ...string) (err error)
func (*KubectlK8sActions) Name ¶ added in v0.8.0
func (c *KubectlK8sActions) Name() string
Click to show internal directories.
Click to hide internal directories.