plugin

package
v1.26.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CollectionPrefix = "dev"

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	Type    string
	Name    string
	Aliases []string
	Repo    string
}

func (*Plugin) Get

func (p *Plugin) Get(ctx context.Context, db *firestore.Client) (*registry.Plugin, error)

func (*Plugin) GetAliases added in v1.10.0

func (p *Plugin) GetAliases() []string

func (*Plugin) GetFullName

func (p *Plugin) GetFullName() string

func (*Plugin) GetRelease

func (p *Plugin) GetRelease(ctx context.Context, db *firestore.Client, version string) (*registry.PluginRelease, error)

func (*Plugin) GetReleaseWithVersionConstraint

func (p *Plugin) GetReleaseWithVersionConstraint(ctx context.Context, db *firestore.Client, versionConstraint string) (*registry.PluginRelease, error)

func (*Plugin) GetVersions added in v1.11.0

func (p *Plugin) GetVersions(ctx context.Context, db *firestore.Client) ([]string, error)

func (*Plugin) Update

func (p *Plugin) Update(ctx context.Context, db *firestore.Client, ghClient *github.Client, version string) error

type Plugins

type Plugins []*Plugin

func (Plugins) Find

func (l Plugins) Find(name string) *Plugin

Jump to

Keyboard shortcuts

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