plasmactlupdate

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

README

launchr-update

Launchrctl plugin to fetch and install a latest version of launchr

Documentation

Overview

Package plasmactlupdate implements an update launchr plugin

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfigFromBytesAndSet added in v1.1.0

func LoadConfigFromBytesAndSet(data []byte) error

LoadConfigFromBytesAndSet parses the configuration from a byte slice and sets it as the global default configuration.

func SetUpdateConfig added in v1.1.0

func SetUpdateConfig(cfg *config)

SetUpdateConfig sets the global default configuration of update

Types

type Plugin

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

Plugin is launchr.Plugin providing update action.

func (*Plugin) DiscoverActions added in v0.3.0

func (p *Plugin) DiscoverActions(_ context.Context) ([]*action.Action, error)

DiscoverActions implements launchr.ActionDiscoveryPlugin interface.

func (*Plugin) Generate added in v1.1.0

func (p *Plugin) Generate(config launchr.GenerateConfig) error

Generate implements launchr.GeneratePlugin interface.

func (*Plugin) OnAppInit

func (p *Plugin) OnAppInit(app launchr.App) error

OnAppInit implements launchr.OnAppInitPlugin interface.

func (*Plugin) PluginInfo

func (p *Plugin) PluginInfo() launchr.PluginInfo

PluginInfo implements launchr.Plugin interface.

Directories

Path Synopsis
cmd
launchr command
Package executes Launchr application.
Package executes Launchr application.

Jump to

Keyboard shortcuts

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