kube

package
v0.0.0-...-25ee96b Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageLister

type ImageLister interface {
	// GetImagesForNamespace returns a list of images for a namespace.
	GetImagesForNamespace(namespace string) ([]string, error)
}

ImageLister an interface to wrap getting an list of images from a namespace.

type Kuber

type Kuber struct {
}

Kuber type to interact with k8s.

func (*Kuber) GetImagesForNamespace

func (k *Kuber) GetImagesForNamespace(namespace string) ([]string, error)

GetImagesForNamespace lists all images within a namespace.

type Tracer

type Tracer struct {
	http.RoundTripper
}

Tracer implements http.RoundTripper. It prints each request and response/error to os.Stderr.

func (*Tracer) RoundTrip

func (t *Tracer) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip calls the nested RoundTripper while printing each request and response/error to os.Stderr on either side of the nested call.

Jump to

Keyboard shortcuts

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