plasmactlupdate

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

plasmactl-update

Launchrctl plugin to fetch and install latest version of plasmactl

Documentation

Overview

Package plasmactlupdate implements an update launchr plugin

Index

Constants

View Source
const (
	BaseUrl = "https://repositories.skilld.cloud/repository/pla-plasmactl-raw"
)

Define the URL pattern for the file.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Plugin is launchr plugin providing update action.

func (*Plugin) CobraAddCommands

func (p *Plugin) CobraAddCommands(rootCmd *cobra.Command) error

CobraAddCommands implements launchr.CobraPlugin interface to provide bump functionality.

func (*Plugin) OnAppInit

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

OnAppInit implements launchr.Plugin interface.

func (*Plugin) PluginInfo

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

PluginInfo implements launchr.Plugin interface.

type Update

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

Update stored update definition.

func CreateUpdate

func CreateUpdate(cr keyring.CredentialsItem) (*Update, error)

CreateUpdate instance.

Directories

Path Synopsis
cmd
launchr
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