update

package module
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

README

launchr-update

Launchrctl plugin to fetch and install a latest version of launchr build.

Documentation

Overview

Package update implements an update launchr plugin

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfigFromBytesAndSet

func LoadConfigFromBytesAndSet(data []byte) error

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

func SetUpdateConfig

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

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

DiscoverActions implements launchr.ActionDiscoveryPlugin interface.

func (*Plugin) Generate

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