plugin

package
v1.4.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: Apache-2.0 Imports: 8 Imported by: 1

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(op trace.Operation, sess *session.Session, 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