plugin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppsManagerPlugin

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

func NewAppsManagerPlugin

func NewAppsManagerPlugin(opts ...Option) *AppsManagerPlugin

func (*AppsManagerPlugin) Err

func (p *AppsManagerPlugin) Err() error

func (*AppsManagerPlugin) GetMetadata

func (p *AppsManagerPlugin) GetMetadata() plugin.PluginMetadata

func (*AppsManagerPlugin) Run

func (p *AppsManagerPlugin) Run(cliConnection plugin.CliConnection, args []string)

type Browser

type Browser interface {
	Open(url string) error
}

type Option

type Option func(p *AppsManagerPlugin)

func WithBrowser

func WithBrowser(b Browser) Option

func WithStdout

func WithStdout(w io.Writer) Option

func WithVersion

func WithVersion(v string) Option

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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