cloudblob

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Invoke(
		fx.Annotate(
			NewProvider,
			fx.OnStart(func(ctx context.Context, p *Provider) error { return p.Start(ctx) }),
			fx.OnStop(func(ctx context.Context, p *Provider) error { return p.Stop(ctx) }),
		),
	),
)

Module is used on app bootstrap. nolint: gochecknoglobals

Functions

This section is empty.

Types

type BucketState

type BucketState map[string][]byte

type Provider added in v0.16.0

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

func NewProvider added in v0.16.0

func NewProvider(app app.Context, rsp rule.SetProcessor) (*Provider, error)

func (*Provider) Start added in v0.16.0

func (p *Provider) Start(_ context.Context) error

func (*Provider) Stop added in v0.16.0

func (p *Provider) Stop(_ context.Context) error

type RuleSetFetcher

type RuleSetFetcher interface {
	FetchRuleSets(ctx context.Context, app app.Context) ([]*config.RuleSet, error)
	ID() string
}

Jump to

Keyboard shortcuts

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