metacache

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetaCachePluginOptions

type MetaCachePluginOptions struct {
	SyncPeriod time.Duration
}

MetaCachePluginOptions holds the configurations for metacache plugin.

func NewMetaCachePluginOptions

func NewMetaCachePluginOptions() *MetaCachePluginOptions

NewMetaCachePluginOptions creates a new Options with a default config.

func (*MetaCachePluginOptions) AddFlags

func (o *MetaCachePluginOptions) AddFlags(fss *cliflag.NamedFlagSets)

AddFlags adds flags to the specified FlagSet.

func (*MetaCachePluginOptions) ApplyTo

ApplyTo fills up config with options

Jump to

Keyboard shortcuts

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