extension

package
v2.0.1-0...-d4b4061 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 21 Imported by: ? 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

This section is empty.

Functions

func NewCmdExtension

func NewCmdExtension(f *cmdutil.Factory) *cobra.Command

Types

type Extension

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

func (*Extension) IsLocal

func (e *Extension) IsLocal() bool

func (*Extension) Name

func (e *Extension) Name() string

func (*Extension) Path

func (e *Extension) Path() string

func (*Extension) URL

func (e *Extension) URL() string

func (*Extension) UpdateAvailable

func (e *Extension) UpdateAvailable() bool

type Manager

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

func NewManager

func NewManager() *Manager

func (*Manager) Create

func (m *Manager) Create(name string) error

func (*Manager) Dispatch

func (m *Manager) Dispatch(args []string, stdin io.Reader, stdout, stderr io.Writer) (bool, error)

func (*Manager) Install

func (m *Manager) Install(cloneURL string, stdout, stderr io.Writer) error

func (*Manager) InstallLocal

func (m *Manager) InstallLocal(dir string) error

func (*Manager) List

func (m *Manager) List(includeMetadata bool) []extensions.Extension

func (*Manager) Remove

func (m *Manager) Remove(name string) error

func (*Manager) Upgrade

func (m *Manager) Upgrade(name string, force bool, stdout, stderr io.Writer) error

Jump to

Keyboard shortcuts

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