dumper

package
v2.2.4+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageDumper

type ImageDumper struct {
	// contains filtered or unexported fields
}

ImageDumper handles sending all images to the perceptor periodically

func NewImageDumper

func NewImageDumper(ic imageclient.ImageV1Interface, perceptorURL string) *ImageDumper

NewImageDumper creates a new ImageDumper object

func (*ImageDumper) Run

func (id *ImageDumper) Run(interval time.Duration, stopCh <-chan struct{})

Run starts a controller that will send all images to the perceptor periodically

type PodDumper

type PodDumper struct {
	// contains filtered or unexported fields
}

PodDumper handles sending all pods to the perceptor periodically

func NewPodDumper

func NewPodDumper(core corev1.CoreV1Interface, perceptorURL string, nsFilter string) *PodDumper

NewPodDumper creates a new PodDumper object

func (*PodDumper) Run

func (pd *PodDumper) Run(interval time.Duration, stopCh <-chan struct{})

Run starts a controller that will send all pods to the perceptor periodically

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL