plugin

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 12 Imported by: 0

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
	Repo string
}

func (*Plugin) Get

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

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) 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