Documentation ¶
Index ¶
- type Inspector
- func (i *Inspector) AvailablePorts() map[dockerapi.Port]dockerapi.PortBinding
- func (i *Inspector) Exec(cmd string, args ...string) ([]byte, error)
- func (i *Inspector) FinishMonitoring()
- func (i *Inspector) HasCollectedData() bool
- func (i *Inspector) PodName() string
- func (i *Inspector) PodPortList() string
- func (i *Inspector) PodPortsInfo() string
- func (i *Inspector) ProcessCollectedData() error
- func (i *Inspector) RunPod() error
- func (i *Inspector) ShowPodLogs()
- func (i *Inspector) ShutdownPod(resetChanges bool)
- func (i *Inspector) TargetHost() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inspector ¶
type Inspector struct {
// contains filtered or unexported fields
}
func NewInspector ¶
func NewInspector( ctx context.Context, xc *app.ExecutionContext, logger *log.Entry, workload *kubernetes.Workload, kubectl kubernetes.Kubectl, kubeClient *kubernetes.Client, imageInspector *image.Inspector, keepPerms bool, pathPerms map[string]*fsutil.AccessInfo, doDebug bool, logLevel string, logFormat string, rtaSourcePT bool, statePath string, contOverrides *config.ContainerOverrides, sensorIPCEndpoint string, portBindings map[dockerapi.Port][]dockerapi.PortBinding, doPublishExposedPorts bool, ) (*Inspector, error)
func (*Inspector) AvailablePorts ¶
func (i *Inspector) AvailablePorts() map[dockerapi.Port]dockerapi.PortBinding
func (*Inspector) FinishMonitoring ¶
func (i *Inspector) FinishMonitoring()
func (*Inspector) HasCollectedData ¶
func (*Inspector) PodPortList ¶
func (*Inspector) PodPortsInfo ¶
func (*Inspector) ProcessCollectedData ¶
func (*Inspector) ShowPodLogs ¶
func (i *Inspector) ShowPodLogs()
func (*Inspector) ShutdownPod ¶
func (*Inspector) TargetHost ¶
Click to show internal directories.
Click to hide internal directories.