plugin

package
v1.4.2-patch Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: Apache-2.0 Imports: 12 Imported by: 0 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

This section is empty.

Types

type Info

type Info struct {
	*ManagedEntityInfo

	Company               string
	Key                   string
	Name                  string
	ServerThumbprint      string
	ShowInSolutionManager bool
	Summary               string
	Type                  string
	URL                   string
	Version               string
}

type ManagedEntityInfo

type ManagedEntityInfo struct {
	Description  string
	IconURL      string
	SmallIconURL string
	EntityType   string
}

type Pluginator

type Pluginator struct {
	Session          *session.Session
	ExtensionManager *object.ExtensionManager
	Context          context.Context
	// contains filtered or unexported fields
}

func NewPluginator

func NewPluginator(ctx context.Context, target *url.URL, thumbprint string, i *Info) (*Pluginator, error)

func (*Pluginator) GetPlugin

func (p *Pluginator) GetPlugin(key string) (*types.Extension, error)

IsRegistered checks for presence of an extension on the target

func (*Pluginator) IsRegistered

func (p *Pluginator) IsRegistered(key string) (bool, error)

IsRegistered checks for presence of an extension on the target

func (*Pluginator) Register

func (p *Pluginator) Register() error

Register installs an extension to the target

func (*Pluginator) Unregister

func (p *Pluginator) Unregister(key string) error

Unregister removes an extension from the target

Jump to

Keyboard shortcuts

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