istio: istio.io/istio/galley/pkg/runtime/publish Index | Files

package publish

import "istio.io/istio/galley/pkg/runtime/publish"

Index

Package Files

strategy.go

type Strategy Uses

type Strategy struct {

    // Publish channel is used to trigger the publication of snapshots.
    Publish chan struct{}
    // contains filtered or unexported fields
}

Strategy is a heuristic model for deciding when to publish snapshots. It tries to detect quiesce points for events with a total bounded wait time.

func NewStrategy Uses

func NewStrategy(
    maxWaitDuration time.Duration,
    quiesceDuration time.Duration,
    timerFrequency time.Duration) *Strategy

NewStrategy creates a new strategy with the given values.

func NewStrategyWithDefaults Uses

func NewStrategyWithDefaults() *Strategy

NewStrategyWithDefaults creates a new strategy with default values.

func (*Strategy) Close Uses

func (s *Strategy) Close()

func (*Strategy) OnChange Uses

func (s *Strategy) OnChange()

Package publish imports 6 packages (graph) and is imported by 2 packages. Updated 2019-10-03. Refresh now. Tools for package owners.