podcache

package
v0.119.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const PodCacheTimeout = 1 * time.Minute

Variables

This section is empty.

Functions

This section is empty.

Types

type PodCache

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

func NewPodCache

func NewPodCache(hostClient client.Client) *PodCache

func (*PodCache) PodExists

func (p *PodCache) PodExists(ctx context.Context, podKey client.ObjectKey) (bool, error)

func (*PodCache) TestSetLastUpdateTime

func (p *PodCache) TestSetLastUpdateTime(time time.Time)

only for testing purposes

Jump to

Keyboard shortcuts

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