orgs_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 OrgsFetcher

type OrgsFetcher struct {
	Orgs []cfclient.Org
	// contains filtered or unexported fields
}

func NewOrgsFetcher

func NewOrgsFetcher(
	schedule time.Duration,
	logger lager.Logger,
	cfClient cfclient.CloudFoundryClient,
) *OrgsFetcher

func (*OrgsFetcher) GetOrgs

func (fetcher *OrgsFetcher) GetOrgs() []cfclient.Org

func (*OrgsFetcher) Run

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

type OrgsStore

type OrgsStore interface {
	GetOrgs() []cfclient.Org
}

Jump to

Keyboard shortcuts

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