spaces_fetcher

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpacesFetcher

type SpacesFetcher struct {
	Spaces []cfclient.Space
	// contains filtered or unexported fields
}

func NewSpacesFetcher

func NewSpacesFetcher(
	schedule time.Duration,
	logger lager.Logger,
	cfClient cfclient.CloudFoundryClient,
) *SpacesFetcher

func (*SpacesFetcher) GetSpaces

func (fetcher *SpacesFetcher) GetSpaces() []cfclient.Space

func (*SpacesFetcher) Run

func (fetcher *SpacesFetcher) Run(ctx context.Context) error

type SpacesStore

type SpacesStore interface {
	GetSpaces() []cfclient.Space
}

Jump to

Keyboard shortcuts

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