Documentation
¶
Index ¶
- type FilePluginRepo
- func (r *FilePluginRepo) GetK8sTransformPlugin(ctx context.Context, id string) (*pluginenginek8stransform.Plugin, error)
- func (r *FilePluginRepo) GetSLIPlugin(ctx context.Context, id string) (*pluginenginesli.SLIPlugin, error)
- func (r *FilePluginRepo) GetSLOPlugin(ctx context.Context, id string) (*pluginengineslo.Plugin, error)
- func (r *FilePluginRepo) ListK8sTransformPlugins(ctx context.Context) (map[string]pluginenginek8stransform.Plugin, error)
- func (r *FilePluginRepo) ListSLIPlugins(ctx context.Context) (map[string]pluginenginesli.SLIPlugin, error)
- func (r *FilePluginRepo) ListSLOPlugins(ctx context.Context) (map[string]pluginengineslo.Plugin, error)
- func (r *FilePluginRepo) Reload(ctx context.Context) error
- type K8sTransformPluginLoader
- type SLIPluginLoader
- type SLOPluginLoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilePluginRepo ¶
type FilePluginRepo struct {
// contains filtered or unexported fields
}
func NewFilePluginRepo ¶
func NewFilePluginRepo(logger log.Logger, failOnError bool, sliPluginLoader SLIPluginLoader, sloPluginLoader SLOPluginLoader, k8sTransformLoader K8sTransformPluginLoader, fss ...fs.FS) (*FilePluginRepo, error)
NewFilePluginRepo returns a new FilePluginRepo that loads SLI and SLO plugins from the given file system.
func (*FilePluginRepo) GetK8sTransformPlugin ¶ added in v0.16.0
func (r *FilePluginRepo) GetK8sTransformPlugin(ctx context.Context, id string) (*pluginenginek8stransform.Plugin, error)
func (*FilePluginRepo) GetSLIPlugin ¶
func (r *FilePluginRepo) GetSLIPlugin(ctx context.Context, id string) (*pluginenginesli.SLIPlugin, error)
func (*FilePluginRepo) GetSLOPlugin ¶
func (r *FilePluginRepo) GetSLOPlugin(ctx context.Context, id string) (*pluginengineslo.Plugin, error)
func (*FilePluginRepo) ListK8sTransformPlugins ¶ added in v0.16.0
func (r *FilePluginRepo) ListK8sTransformPlugins(ctx context.Context) (map[string]pluginenginek8stransform.Plugin, error)
func (*FilePluginRepo) ListSLIPlugins ¶
func (r *FilePluginRepo) ListSLIPlugins(ctx context.Context) (map[string]pluginenginesli.SLIPlugin, error)
func (*FilePluginRepo) ListSLOPlugins ¶
func (r *FilePluginRepo) ListSLOPlugins(ctx context.Context) (map[string]pluginengineslo.Plugin, error)
type K8sTransformPluginLoader ¶ added in v0.16.0
type SLIPluginLoader ¶
type SLOPluginLoader ¶
Click to show internal directories.
Click to hide internal directories.