fleetpoller

package
v0.0.0-...-2e562c1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 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 PollResult

type PollResult struct {
	MembershipsErr error
	Memberships    []*gkehubv1.Membership

	ScopesErr error
	Scopes    []*gkehubv1.Scope

	BindingsErrs []error
	Bindings     []*gkehubv1.MembershipBinding
}

func (*PollResult) ErrorSummary

func (pr *PollResult) ErrorSummary() error

func (*PollResult) HasError

func (pr *PollResult) HasError() bool

type Poller

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

func NewPoller

func NewPoller(channel chan event.GenericEvent) *Poller

func (*Poller) LatestResult

func (p *Poller) LatestResult(projectId string) (*PollResult, bool)

func (*Poller) Start

func (p *Poller) Start()

func (*Poller) StopPollingForFleetSync

func (p *Poller) StopPollingForFleetSync(fleetSync types.NamespacedName)

func (*Poller) VerifyProjectIdsForFleetSync

func (p *Poller) VerifyProjectIdsForFleetSync(fleetSync types.NamespacedName, projectIds []string)

Jump to

Keyboard shortcuts

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